Only read the ACPI proximity tabled on arm64 when we are booting from
ACPI. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
99f65e3efe
commit
1242588828
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341814
@ -38,6 +38,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <vm/vm.h>
|
#include <vm/vm.h>
|
||||||
#include <vm/pmap.h>
|
#include <vm/pmap.h>
|
||||||
|
|
||||||
|
#include <machine/machdep.h>
|
||||||
|
|
||||||
#include <contrib/dev/acpica/include/acpi.h>
|
#include <contrib/dev/acpica/include/acpi.h>
|
||||||
#include <contrib/dev/acpica/include/accommon.h>
|
#include <contrib/dev/acpica/include/accommon.h>
|
||||||
#include <contrib/dev/acpica/include/actables.h>
|
#include <contrib/dev/acpica/include/actables.h>
|
||||||
@ -239,6 +241,10 @@ static void
|
|||||||
parse_pxm_tables(void *dummy)
|
parse_pxm_tables(void *dummy)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/* Only parse ACPI tables when booting via ACPI */
|
||||||
|
if (arm64_bus_method != ARM64_BUS_ACPI)
|
||||||
|
return;
|
||||||
|
|
||||||
acpi_pxm_init(MAXCPU, (vm_paddr_t)1 << 40);
|
acpi_pxm_init(MAXCPU, (vm_paddr_t)1 << 40);
|
||||||
acpi_pxm_parse_tables();
|
acpi_pxm_parse_tables();
|
||||||
acpi_pxm_set_mem_locality();
|
acpi_pxm_set_mem_locality();
|
||||||
|
Loading…
Reference in New Issue
Block a user