Skip to content
Commit 180740ca authored by Sudeep Holla's avatar Sudeep Holla Committed by Deepak Kumar Mishra
Browse files

arch_topology: Add support to parse and detect cache attributes



Currently ACPI populates just the minimum information about the last
level cache from PPTT in order to feed the same to build sched_domains.
Similar support for DT platforms is not present.

In order to enable the same, the entire cache hierarchy information can
be built as part of CPU topoplogy parsing both on ACPI and DT platforms.

Note that this change builds the cacheinfo early even on ACPI systems,
but the current mechanism of building llc_sibling mask remains unchanged.

Tested-by: Ionela Voinescu's avatarIonela Voinescu <ionela.voinescu@arm.com>
Reviewed-by: default avatarGavin Shan <gshan@redhat.com>
Signed-off-by: Sudeep Holla's avatarSudeep Holla <sudeep.holla@arm.com>

# Conflicts:
#	drivers/base/arch_topology.c
parent 504dfffa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment