mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-06-02 02:52:20 -04:00
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: b800e82feb ("RDMA/irdma: Add GEN3 support for AEQ and CEQ")
Signed-off-by: Krzysztof Czurylo <krzysztof.czurylo@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Link: https://patch.msgid.link/20251125025350.180-5-tatyana.e.nikolova@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
committed by
Leon Romanovsky
parent
9e13d880eb
commit
5eff1ecce3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user