]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r341743-r341744
authorJayachandran C. <jchandra@FreeBSD.org>
Wed, 18 Sep 2019 22:55:24 +0000 (22:55 +0000)
committerJayachandran C. <jchandra@FreeBSD.org>
Wed, 18 Sep 2019 22:55:24 +0000 (22:55 +0000)
commitfe5b2873fbee9503f4a4df906d6e35272975b08b
tree8d241a246cd3c15099fd8ff05f7212bf3116a30e
parentab6615c012e887897549dc7d29e5e9acb3830892
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
sys/arm64/acpica/acpi_machdep.c
sys/arm64/arm64/mp_machdep.c
sys/conf/files.arm64
sys/dev/acpica/acpi_pxm.c