summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2023-04-14 11:14:52 +0300
committerSudeep Holla <sudeep.holla@arm.com>2023-04-14 12:13:39 +0300
commitef9f643a9f8b62bcbcc51f0e0af8599adc2e17ed (patch)
tree81f76375f260f1d9db748114d5d98d91c062f9ca /arch/arm64
parent3522340199cc060b70f0094e3039bdb43c3f6ee1 (diff)
downloadlinux-ef9f643a9f8b62bcbcc51f0e0af8599adc2e17ed.tar.xz
cacheinfo: Add use_arch[|_cache]_info field/function
The cache information can be extracted from either a Device Tree (DT), the PPTT ACPI table, or arch registers (clidr_el1 for arm64). The clidr_el1 register is used only if DT/ACPI information is not available. It does not states how caches are shared among CPUs. Add a use_arch_cache_info field/function to identify when the DT/ACPI doesn't provide cache information. Use this information to assume L1 caches are privates and L2 and higher are shared among all CPUs. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Link: https://lore.kernel.org/r/20230414081453.244787-5-pierre.gondois@arm.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions