[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 3/3] hw/acpi: Add vmclock device
From: |
David Woodhouse |
Subject: |
Re: [PATCH v7 3/3] hw/acpi: Add vmclock device |
Date: |
Thu, 16 Jan 2025 16:32:43 +0100 |
User-agent: |
Evolution 3.52.3-0ubuntu1 |
On Thu, 2025-01-16 at 16:15 +0100, Philippe Mathieu-Daudé wrote:
>
> > --- a/hw/acpi/Kconfig
> > +++ b/hw/acpi/Kconfig
> > @@ -60,6 +60,11 @@ config ACPI_VMGENID
> > default y
> > depends on PC
> >
> > +config ACPI_VMCLOCK
> > + bool
> > + default y
> > + depends on PC
>
> This doesn't look right (apparently the kernel side also build on ARM).
I don't think it's strictly wrong; there are no circumstances in which
PC is set not I386 && ACPI, or vice versa? I was just going from the
existing setup for VMGENID, which I think could also theoretically
exist on Arm too?
> I'm only seeing e820_add_entry (I386) and ACPI API called. So:
>
> depends on I386 && ACPI
>
> If later we want ARM support we'll have to rework the e820_add_entry()
> call.
Sure, that certainly makes it easier to add Arm later, and I really do
intend to do so. I've done it in my tree. Thanks.
smime.p7s
Description: S/MIME cryptographic signature
[PATCH v7 1/3] linux-headers: Add vmclock-abi.h, David Woodhouse, 2025/01/16
Re: [PATCH v7 0/3] hw/acpi: Add vmclock device, Michael S. Tsirkin, 2025/01/16