[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC PATCH V2 2/4] Tool/ACPI: DSDT extension to support more vcpus

>>> On 01.09.17 at 11:41, <roger.pau@xxxxxxxxxx> wrote:
> I'm not sure why lapic_id needs to be a hook in any case, both it's
> callers use the same exact formula (cpu_id * 2).

You're aware that this is meant to be improved rather sooner than
later. At that point I'm then not sure a suitable LAPIC_ID() macro
could be created, as the potential users of this may not have
available all necessary inputs. I'd strongly suggest finding a way
to dynamically insert the APIC IDs (as found while booting) into
the ACPI tables. That's pretty likely how real BIOSes have to do
it too.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.