[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCON
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region |
Date: |
Wed, 10 Feb 2021 03:31:57 -0500 |
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.
> > > + *
> > > + * Device(DRAC)
> > > + * {
> > > + * Name(_HID, EisaId("PNP0C01"))
> > > + * OperationRegion(DRR0, PCI_Config, 0x0000000000000060, 0x8)
> > > + * Field(DRR0, DWordAcc, Lock, Preserve)
> > > + * {
> > > + * PEBL, 4,
> > > + * PEBH, 4
> > > + * }
> >
> > why are you trying to fetch it dynamically?
> > what prevents you from getting MMCONFIG address in QEMU when building
> > ACPI tables and encode _CRS statically at that time?
>
> My motivation is to prepare for TDX where ACPI tables will be part of
> measurement. I wanted ACPI tables to remain same irrelevant of chipset
> configuration which guest can change.
I mean we are encoding lots of things like PCI description which is
guest controllable. Is there reason to think mmconfig specifically will
change after measurement?
--
MST
- Re: [PATCH v2 3/9] acpi/core: always set SCI_EN when SMM isn't supported, (continued)
[PATCH v2 1/9] checkpatch: don't emit warning on newly created acpi data files, isaku . yamahata, 2021/02/08
[PATCH v2 2/9] qtest: update tests/qtest/bios-tables-test-allowed-diff.h, isaku . yamahata, 2021/02/08
[PATCH v2 4/9] acpi: set fadt.smi_cmd to zero when SMM is not supported, isaku . yamahata, 2021/02/08
[PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region, isaku . yamahata, 2021/02/08
Re: [PATCH v2 6/9] hw/i386: declare ACPI mother board resource for MMCONFIG region, Michael S. Tsirkin, 2021/02/10
[PATCH v2 5/9] acpi: add test case for smm unsupported -machine smm=off, isaku . yamahata, 2021/02/08
[PATCH v2 9/9] qtest/acpi/bios-tables-test: update acpi tables, isaku . yamahata, 2021/02/08
[PATCH v2 7/9] i386: acpi: Don't build HPET ACPI entry if HPET is disabled, isaku . yamahata, 2021/02/08
[PATCH v2 8/9] acpi: add test case for -no-hpet, isaku . yamahata, 2021/02/08