Re: [tip:x86/urgent] x86/quirks: Add early quirk to reset Apple AirPort card

From: Ingo Molnar
Date: Thu Jun 09 2016 - 02:48:15 EST



* Lukas Wunner <lukas@xxxxxxxxx> wrote:

> > How do you know that sec is valid ?
> >
> > How about on the system that have one bridge that still have sec num register 0?
> >
> > it will be get into dead loop.
>
> Good point. I've just checked pci_scan_bridge() and it does verify that and
> avoids recursing to a child bus if it's number is zero. It also ensures that sec
> > num before recursing.
>
> I can provide a follow-up patch to fix that, will wait a bit though to see if
> there are further comments.

Please send a delta fix on top of x86/urgent. (I'll probably squash the two fixes
together.)

Thanks,

Ingo