|
From: | Alexander Graf |
Subject: | Re: [Qemu-ppc] [PATCH|RFC 1/1] pci: allow 0 address for PCI IO/MEM regions |
Date: | Wed, 22 Jul 2015 18:47:09 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 07/22/15 18:17, Michael S. Tsirkin wrote:
On Wed, Jul 22, 2015 at 01:54:59PM +0200, Laurent Vivier wrote:From: Michael Roth <address@hidden> Some kernels program a 0 address for io regions. PCI 3.0 spec section 6.2.5.1 doesn't seem to disallow this. Signed-off-by: Michael Roth <address@hidden> [lvivier: add accept_addr_0 in PCIBus to conditionally allow addr 0, as this can break other architectures] Signed-off-by: Laurent Vivier <address@hidden>I guess it's a solution - though I'd rather fix up priorities for PC and others.
Won't this break Linux? IIRC there was a check in Linux that declares IO==0 addresses as invalid on PCI enumeration.
Alex
[Prev in Thread] | Current Thread | [Next in Thread] |