Re: [PATCH v2 12/35] brcmfmac: pcie: Fix crashes due to early IRQs

From: Arend van Spriel
Date: Mon Jan 10 2022 - 02:20:19 EST


On 1/4/2022 8:26 AM, Hector Martin wrote:
The driver was enabling IRQs before the message processing was
initialized. This could cause IRQs to come in too early and crash the
driver. Instead, move the IRQ enable and hostready to a bus preinit
function, at which point everything is properly initialized.

Fixes: 9e37f045d5e7 ("brcmfmac: Adding PCIe bus layer support.")
Reviewed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
---
.../wireless/broadcom/brcm80211/brcmfmac/pcie.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature