Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-10 Thread Isaku Yamahata
On Wed, Feb 10, 2021 at 03:31:57AM -0500, "Michael S. Tsirkin" wrote: > On Tue, Feb 09, 2021 at 12:02:58PM -0800, Isaku Yamahata wrote: > > > > + * When the method of _CRS is called to determine MMCONFIG region, > > > > + * only port io is allowed to access PCI configuration space. > > >

Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-10 Thread Isaku Yamahata
On Wed, Feb 10, 2021 at 02:37:31PM +0100, Igor Mammedov wrote: > On Tue, 9 Feb 2021 12:02:58 -0800 > Isaku Yamahata wrote: > > > On Tue, Feb 09, 2021 at 04:52:41PM +0100, > > Igor Mammedov wrote: > > > > > On Mon, 8 Feb 2021 13:57:25 -0800 > > > isaku.yamah...@gmail.com wrote: > > > > > >

Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-10 Thread Igor Mammedov
On Tue, 9 Feb 2021 12:02:58 -0800 Isaku Yamahata wrote: > On Tue, Feb 09, 2021 at 04:52:41PM +0100, > Igor Mammedov wrote: > > > On Mon, 8 Feb 2021 13:57:25 -0800 > > isaku.yamah...@gmail.com wrote: > > > > > From: Isaku Yamahata > > > > > > Declare PNP0C01 device to reserve MMCONFIG regi

Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-10 Thread Michael S. Tsirkin
On Tue, Feb 09, 2021 at 12:02:58PM -0800, Isaku Yamahata wrote: > > > + * When the method of _CRS is called to determine MMCONFIG region, > > > + * only port io is allowed to access PCI configuration space. > > > + * It means qword access isn't allowed. > > > + * > > > + * Devic

Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-10 Thread Michael S. Tsirkin
On Tue, Feb 09, 2021 at 04:52:41PM +0100, Igor Mammedov wrote: > > --- > > hw/i386/acpi-build.c | 172 +++ > > 1 file changed, 172 insertions(+) > > > > diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c > > index c2f11d95d8..bcb1f65c1d 100644 > > ---

Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-09 Thread Isaku Yamahata
On Tue, Feb 09, 2021 at 04:52:41PM +0100, Igor Mammedov wrote: > On Mon, 8 Feb 2021 13:57:25 -0800 > isaku.yamah...@gmail.com wrote: > > > From: Isaku Yamahata > > > > Declare PNP0C01 device to reserve MMCONFIG region to conform to the > > spec better and play nice with guest BIOSes/OSes. > >

Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-09 Thread Igor Mammedov
On Mon, 8 Feb 2021 13:57:25 -0800 isaku.yamah...@gmail.com wrote: > From: Isaku Yamahata > > Declare PNP0C01 device to reserve MMCONFIG region to conform to the > spec better and play nice with guest BIOSes/OSes. > > According to PCI Firmware Specification, MMCONFIG region must be > reserved b

[PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region

2021-02-08 Thread isaku . yamahata
From: Isaku Yamahata Declare PNP0C01 device to reserve MMCONFIG region to conform to the spec better and play nice with guest BIOSes/OSes. According to PCI Firmware Specification, MMCONFIG region must be reserved by declaring a motherboard resource. It's optional to reserve the region in memory