Commit da7a0533 authored by Ian Munsie's avatar Ian Munsie Committed by Sasha Levin

cxl: Add missing return statement after handling AFU errror

commit a6130ed2 upstream.

We were missing a return statement in the PSL interrupt handler in the
case of an AFU error, which would trigger an "Unhandled CXL PSL IRQ"
warning. We do actually handle these type of errors (by notifying
userspace), so add the missing return IRQ_HANDLED so we don't throw
unecessary warnings.
Signed-off-by: default avatarIan Munsie <imunsie@au1.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3bc64c1b
...@@ -174,6 +174,7 @@ static irqreturn_t cxl_irq(int irq, void *data) ...@@ -174,6 +174,7 @@ static irqreturn_t cxl_irq(int irq, void *data)
} }
cxl_ack_irq(ctx, CXL_PSL_TFC_An_A, 0); cxl_ack_irq(ctx, CXL_PSL_TFC_An_A, 0);
return IRQ_HANDLED;
} }
if (dsisr & CXL_PSL_DSISR_An_OC) if (dsisr & CXL_PSL_DSISR_An_OC)
pr_devel("CXL interrupt: OS Context Warning\n"); pr_devel("CXL interrupt: OS Context Warning\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment