Re: [Xen-devel] [PATCH v3 2/2] x86/mmcfg/drhd: Move acpi_mmcfg_init() call before calling acpi_parse_dmar()

2018-08-22 Thread Zhenzhong Duan
在 2018/8/22 16:42, Roger Pau Monné 写道: On Wed, Aug 22, 2018 at 04:39:05PM +0800, Zhenzhong Duan wrote: 在 2018/8/22 15:36, Roger Pau Monné 写道: On Tue, Aug 21, 2018 at 09:53:08PM -0700, Zhenzhong Duan wrote: pci_conf_read8() needs pci mmcfg mapping to work on multiple pci segments system such

Re: [Xen-devel] [PATCH v3 2/2] x86/mmcfg/drhd: Move acpi_mmcfg_init() call before calling acpi_parse_dmar()

2018-08-22 Thread Roger Pau Monné
On Wed, Aug 22, 2018 at 04:39:05PM +0800, Zhenzhong Duan wrote: > 在 2018/8/22 15:36, Roger Pau Monné 写道: > > On Tue, Aug 21, 2018 at 09:53:08PM -0700, Zhenzhong Duan wrote: > > > pci_conf_read8() needs pci mmcfg mapping to work on multiple pci > > > segments system such as HPE Superdome-Flex. > >

Re: [Xen-devel] [PATCH v3 2/2] x86/mmcfg/drhd: Move acpi_mmcfg_init() call before calling acpi_parse_dmar()

2018-08-22 Thread Zhenzhong Duan
在 2018/8/22 15:36, Roger Pau Monné 写道: On Tue, Aug 21, 2018 at 09:53:08PM -0700, Zhenzhong Duan wrote: pci_conf_read8() needs pci mmcfg mapping to work on multiple pci segments system such as HPE Superdome-Flex. Move acpi_mmcfg_init() call in acpi_boot_init() before calling acpi_parse_dmar()

Re: [Xen-devel] [PATCH v3 2/2] x86/mmcfg/drhd: Move acpi_mmcfg_init() call before calling acpi_parse_dmar()

2018-08-22 Thread Roger Pau Monné
On Tue, Aug 21, 2018 at 09:53:08PM -0700, Zhenzhong Duan wrote: > pci_conf_read8() needs pci mmcfg mapping to work on multiple pci > segments system such as HPE Superdome-Flex. > > Move acpi_mmcfg_init() call in acpi_boot_init() before calling > acpi_parse_dmar() so that when pci_conf_read8() is

[Xen-devel] [PATCH v3 2/2] x86/mmcfg/drhd: Move acpi_mmcfg_init() call before calling acpi_parse_dmar()

2018-08-21 Thread Zhenzhong Duan
pci_conf_read8() needs pci mmcfg mapping to work on multiple pci segments system such as HPE Superdome-Flex. Move acpi_mmcfg_init() call in acpi_boot_init() before calling acpi_parse_dmar() so that when pci_conf_read8() is called in acpi_parse_dev_scope(), we already have the mapping set up.