]> git.baikalelectronics.ru Git - kernel.git/commit
arch_topology: Use the last level cache information from the cacheinfo
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 4 Jul 2022 10:15:54 +0000 (11:15 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 4 Jul 2022 15:22:29 +0000 (16:22 +0100)
commit0b272df7a95b26683cc0158facf13287e2ae2609
tree44178ab98a5701612f86832f74a9bb98eb61eb8a
parent6fedaa18260bfcc61b80faeb8843c14f94ec7e16
arch_topology: Use the last level cache information from the cacheinfo

The cacheinfo is now initialised early along with the CPU topology
initialisation. Instead of relying on the LLC ID information parsed
separately only with ACPI PPTT elsewhere, migrate to use the similar
information from the cacheinfo.

This is generic for both DT and ACPI systems. The ACPI LLC ID information
parsed separately can now be removed from arch specific code.

Link: https://lore.kernel.org/r/20220704101605.1318280-11-sudeep.holla@arm.com
Tested-by: Ionela Voinescu <ionela.voinescu@arm.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/base/arch_topology.c