]> git.itanic.dy.fi Git - linux-stable/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)
commitf027db2f9a09e76858d06828b9ff817272d64ccc
tree44178ab98a5701612f86832f74a9bb98eb61eb8a
parent38db9b95464f82fed28794afe0214d9439d86f7c
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