Subject: Re: Out-of-tree mwlwifi driver crashes

From: Thomas Petazzoni <[email-masked]>
Date: Thu, 31 Jan 2019 17:10:01 +0100

On Thu, 31 Jan 2019 16:06:10 +0000
Leigh Brown <[email-masked]> wrote:

> > diff --git a/drivers/pci/pci-bridge-emul.c 
> > b/drivers/pci/pci-bridge-emul.c
> > index 129738362d90..f99b80c19809 100644
> > --- a/drivers/pci/pci-bridge-emul.c
> > +++ b/drivers/pci/pci-bridge-emul.c
> > @@ -142,11 +142,7 @@ const static struct pci_bridge_reg_behavior
> > pci_regs_behavior[] = {
> >         },
> > 
> >         [PCI_PREF_MEMORY_BASE / 4] = {
> > -               /* The high 12-bits of pref mem base/limit are RW */
> > -               .rw = GENMASK(31, 20) | GENMASK(15, 4),
> > -
> > -               /* The low four bits of pref mem base/limit are RO */
> > -               .ro = GENMASK(19, 16) | GENMASK(3, 0),
> > +               .ro = ~0,
> >         },
> > 
> >         [PCI_PREF_BASE_UPPER32 / 4] = {  
> 
> Thanks for responding. I had to manually apply the patch, but it 
> certainly fixes the issue.

Ah, good to hear this. Let's see if I can find a good fix for this then.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel