Commit 5eff1ecc authored by Krzysztof Czurylo's avatar Krzysztof Czurylo Committed by Leon Romanovsky
Browse files

RDMA/irdma: Fix SIGBUS in AEQ destroy



Removes write to IRDMA_PFINT_AEQCTL register prior to destroying AEQ,
as this register does not exist in GEN3+ hardware and this kind of IRQ
configuration is no longer required.

Fixes: b800e82f ("RDMA/irdma: Add GEN3 support for AEQ and CEQ")
Signed-off-by: default avatarKrzysztof Czurylo <krzysztof.czurylo@intel.com>
Signed-off-by: default avatarTatyana Nikolova <tatyana.e.nikolova@intel.com>
Link: https://patch.msgid.link/20251125025350.180-5-tatyana.e.nikolova@intel.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 9e13d880
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4635,7 +4635,8 @@ static int irdma_sc_aeq_destroy(struct irdma_sc_aeq *aeq, u64 scratch,
	u64 hdr;

	dev = aeq->dev;
	if (dev->privileged)

	if (dev->hw_attrs.uk_attrs.hw_rev <= IRDMA_GEN_2)
		writel(0, dev->hw_regs[IRDMA_PFINT_AEQCTL]);

	cqp = dev->cqp;