Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-10

Re: [v2] powerpc/pnv/pci: Fix incorrect PE reservation attempt on some 64-bit BARs

From: Michael Ellerman <hidden>
Date: 2016-08-10 12:46:35

On Fri, 2016-08-07 at 05:55:43 UTC, Benjamin Herrenschmidt wrote:
The generic allocation code may sometimes decide to assign a prefetchable
64-bit BAR to the M32 window. In fact it may also decide to allocate
a 64-bit non-prefetchable BAR to the M64 one ! So using the resource
flags as a test to decide which window was used for PE allocation is
just wrong and leads to insane PE numbers.

Instead, compare the addresses to figure it out.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/5958d19a143eb229e9ece20bd4

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help