accel/ivpu/40xx: Fix buttress interrupt handling
authorKarol Wachowski <karol.wachowski@linux.intel.com>
Tue, 22 Aug 2023 09:52:38 +0000 (11:52 +0200)
committerStanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Wed, 20 Sep 2023 11:00:40 +0000 (13:00 +0200)
commite2ee60ad9aba41afb68f4387574610ee390029f1
tree6088701f39004b46c0c190c281272fad205c1594
parentc5f9362307c685fe6a90d344bf81579578fd25d8
accel/ivpu/40xx: Fix buttress interrupt handling

Buttress spec requires that the interrupt status is cleared at
the source first (before clearing MTL_BUTTRESS_INTERRUPT_STAT),
that implies that we have to mask out the global interrupt while
handling buttress interrupts.

Fixes: 79cdc56c4a54 ("accel/ivpu: Add initial support for VPU 4")
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230822095238.3722815-1-stanislaw.gruszka@linux.intel.com
drivers/accel/ivpu/ivpu_hw_40xx.c