Read PA bits from ID_AA64MMFR0_EL1.PARange.
MFC after: 1 week
Sponsored by: Ampere Computing, Inc.
Paths
| Differential D26133 Authored by scottph on Aug 20 2020, 6:56 AM.
Details
Summary Read PA bits from ID_AA64MMFR0_EL1.PARange. MFC after: 1 week
Diff Detail
Event TimelineHerald added a reviewer: manu. · View Herald TranscriptAug 20 2020, 6:56 AM2020-08-20 06:56:37 (UTC+0) Comment Actions You should use get_kernel_reg to read the ID registers when we need a common version over all CPUs. It's not going to affect it here, but when use later in the boot it can as on a big.LITTLE system these ID registers can sometimes be different across the different core types.
scottph marked an inline comment as done. This revision is now accepted and ready to land.Aug 21 2020, 9:55 AM2020-08-21 09:55:02 (UTC+0) Closed by commit rS364797: arm64/acpi: Give the real PA limit to ACPI (authored by scottph). · Explain WhyAug 26 2020, 2:12 AM2020-08-26 02:12:37 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 76051 sys/arm64/acpica/acpi_machdep.c
sys/arm64/arm64/identcpu.c
|