diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2022-07-04 12:15:56 +0200 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-07-04 17:22:29 +0200 |
commit | 5b8dc787ce4a45c87254d1b0b22f161347ab7f81 (patch) | |
tree | 1b93d2512ffb4926ad6a1d43f3b5fbb7687a837c /drivers/base/arch_topology.c | |
parent | arm64: topology: Remove redundant setting of llc_id in CPU topology (diff) | |
download | linux-5b8dc787ce4a45c87254d1b0b22f161347ab7f81.tar.xz linux-5b8dc787ce4a45c87254d1b0b22f161347ab7f81.zip |
arch_topology: Drop LLC identifier stash from the CPU topology
Since the cacheinfo LLC information is used directly in arch_topology,
there is no need to parse and store the LLC ID information only for
ACPI systems in the CPU topology.
Remove the redundant LLC ID from the generic CPU arch_topology
information.
Link: https://lore.kernel.org/r/20220704101605.1318280-13-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>
Diffstat (limited to 'drivers/base/arch_topology.c')
-rw-r--r-- | drivers/base/arch_topology.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index 4f936c984fb6..8206990c679f 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -752,7 +752,6 @@ void __init reset_cpu_topology(void) cpu_topo->core_id = -1; cpu_topo->cluster_id = -1; cpu_topo->package_id = -1; - cpu_topo->llc_id = -1; clear_cpu_topology(cpu); } |