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

From
Matt Fleming <hidden>
Date
2016-05-04 10:29:11
Also in
lkml, stable
Reply to
Ingo Molnar, 2016-05-04
On Wed, 04 May, at 12:23:40PM, Ingo Molnar wrote:
* Matt Fleming [off-list ref] wrote:
quoted
On Wed, 04 May, at 08:35:24AM, Ingo Molnar wrote:
quoted
* Matt Fleming [off-list ref] wrote:
quoted
From: Wang YanQing <redacted>

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?
Thread (9 messages) 9 messages, 3 authors, last reply 2016-05-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help