Re: [PATCH 2/3] x86/sysfb_efi: Fix valid BAR address range check

From: Matt Fleming
Date: Wed May 04 2016 - 06:29:15 EST


On Wed, 04 May, at 12:23:40PM, Ingo Molnar wrote:
>
> * Matt Fleming <matt@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > On Wed, 04 May, at 08:35:24AM, Ingo Molnar wrote:
> > >
> > > * Matt Fleming <matt@xxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > > From: Wang YanQing <udknight@xxxxxxxxx>
> > > >
> > > > We can't just break out when meet start is equal to zero,
> > >
> > > Hm, wot?
> >
> > The existing code treats address 0x0 as invalid for a PCI BAR range
> > start address, but 0x0 is actually possible and legitimate, so we
> > shouldn't be breaking out of the loop.
>
> Yeah, so I just don't understand the 'when meet start is equal to zero' part -
> what does it mean?

I suspect it means "when start is equal to zero" or "when we encounter
the scenario where start is equal to zero".

Wang?