Re: [PATCH] pci-scan: Fix setting the limit

2014-05-14 Thread Nikunj A Dadhania
Alexey Kardashevskiy writes: > PCI spec says that lower 20 bits are assumed 0xF. The existing code > seems to get it right in pci-bridge-set-mem-limit. > > However pci-bridge-set-mem-base does not account 0xF and poison > the limit. Since the limit is not stored anywhere in SLOF and only

Re: [PATCH] pci-scan: Fix setting the limit

2014-05-13 Thread Alexey Kardashevskiy
On 05/13/2014 08:48 PM, Alexey Kardashevskiy wrote: > PCI spec says that lower 20 bits are assumed 0xF. The existing code > seems to get it right in pci-bridge-set-mem-limit. > > However pci-bridge-set-mem-base does not account 0xF and poison > the limit. Since the limit is not stored anyw

[PATCH] pci-scan: Fix setting the limit

2014-05-13 Thread Alexey Kardashevskiy
PCI spec says that lower 20 bits are assumed 0xF. The existing code seems to get it right in pci-bridge-set-mem-limit. However pci-bridge-set-mem-base does not account 0xF and poison the limit. Since the limit is not stored anywhere in SLOF and only besides in the config space, it remains