]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/habanalabs: disable EQ interrupt after disabling pci
authorTal Cohen <talcohen@habana.ai>
Wed, 3 Apr 2024 10:09:42 +0000 (13:09 +0300)
committerOfir Bitton <obitton@habana.ai>
Sun, 23 Jun 2024 06:53:05 +0000 (09:53 +0300)
commit61f4f624eaaeefcdcbef368b31960b0336e014fb
tree9dacfba03a39f09486515612d926199448bd9719
parent52fbab90edb7cd29490422f2073e0f8a560eb150
accel/habanalabs: disable EQ interrupt after disabling pci

When sending disable pci msg towards firmware, there is a
possibility that an EQ packet is already pending,
disabling EQ interrupt will prevent this from happening.
The interrupt will be re-enabled after reset.

Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
Signed-off-by: Ofir Bitton <obitton@habana.ai>
drivers/accel/habanalabs/common/device.c