[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.0 1/2] hw/acpi/piix4: Add 'system-hotplug-support' prop
From: |
Marcelo Tosatti |
Subject: |
Re: [PATCH-for-5.0 1/2] hw/acpi/piix4: Add 'system-hotplug-support' property |
Date: |
Mon, 23 Mar 2020 08:04:52 -0300 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Mon, Mar 23, 2020 at 09:05:06AM +0100, Paolo Bonzini wrote:
> On 22/03/20 17:27, Philippe Mathieu-Daudé wrote:
> >>>
> >> That 'ugly' is typically used within QEMU to deal with such things
> >> probably due to its low complexity.
> >
> > OK. Can you point me to the documentation for this feature? I can find
> > reference of GPE in the ICH9, but I can't find where this IO address on
> > the PIIX4 comes from:
> >
> > #define GPE_BASE 0xafe0
>
> It's made up. The implementation is placed in PIIX4_PM because it is
> referenced by the ACPI tables. Real hardware would probably place this
> in the ACPI embedded controller or in the BMC.
>
> Paolo
Yes, there was nothing at 0xafe0 at the time ACPI support was written.
[PATCH-for-5.0 2/2] hw/acpi/piix4: Restrict system-hotplug-support to x86 i440fx PC machine, Philippe Mathieu-Daudé, 2020/03/18