HomeFreeBSD

MFC r341743-r341744

Description

MFC r341743-r341744

r341743:
acpica: support parsing of arm64 affinity in acpi_pxm.c

ACPI SRAT table on arm64 uses GICC entries to provide CPU locality
information. These entries use an AcpiProcessorUid to identify the
CPU (unlike on x86 where the entries have an APIC ID).

Update acpi_pxm.c to extend the cpu_add/cpu_find/cpu_get_info
functions to handle AcpiProcessorUid. Use the updated functions
while parsing ACPI_SRAT_GICC_AFFINITY entry for arm64.

Also update sys/conf/files.arm64 to build acpi_pxm.c when ACPI is
enabled.

Reviewed by: markj (previous version)
Differential Revision: https://reviews.freebsd.org/D17942

r341744:
arm64: add ACPI based NUMA support

Use the newly defined SRAT/SLIT parsing APIs in arm64 to support
ACPI based NUMA.

Reviewed by: markj

Details

Provenance
jchandraAuthored on
Reviewer
markj
Differential Revision
D17942: acpica: support parsing of arm64 affinity in acpi_pxm.c
Parents
rS352496: MFC r341741-r341742
Branches
Unknown
Tags
Unknown