Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4027493ioo; Wed, 25 May 2022 13:11:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyohKUFYVVWpZHY0DaCs2yTxets2I7GtxdWwG1kEeMtrr4layXbfIYlhctk5TMtNL1QdGAH X-Received: by 2002:a17:90b:180b:b0:1df:b2ac:faf9 with SMTP id lw11-20020a17090b180b00b001dfb2acfaf9mr12210035pjb.150.1653509498478; Wed, 25 May 2022 13:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653509498; cv=none; d=google.com; s=arc-20160816; b=DPBPoIrnbmGmC/wFv7dtq4hVF8nbzkWijkVzg0CX8g5FkLbaszgaJuqFJ6PPx+Ut2e ZkMof7c89KyOYCKDvsLbrdyHwPreiemn+9z2WNOS1Ew2xPqd7lpYYQ0v9vUGi4byhb2V Dsh7XSlVeUjvEBcDv1FSsvmzUHIP2+DifZn1RG1EvXHHe+5F0jVfp/hM0PZ+jjruYd5V tzDBzhBNORiEdN7KUVH8bVLxcTSqkv/t0Kf+CTlmoJAOFhGXyG2a3vt4J6xjmxd5FpsC nE6O/SEDnyE2IqgrJzqNlpjOZsQj3Gh0VsJDG7H5fagayGXLQWm/hXND1DoQAKs28yNO wccQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=MsFeynnHRTkq2U40ZNBNfBb/7RpPTqNP0NkzjL8OpXw=; b=GaK7IYzDliYBTtbtD26YfnEzqEApaloTmOtBNoIg6qDx3/Iw9wjic4BoqxOa0FRXY1 SfkT3C/FBoKtEplpEvH6K4JyBGhSVcszuTe0iyaxv/0YJjDnVJkmMAzGDUJJQ0S0JUoZ KK04ay6jozRcwcjpRWo24UZNfpwjmrK+u6/VUKDmhudBQowSjXdmD7I2hDS8BR9aDRDY 4G3v6HNdQgdNPa56OsclSIan4sHef1Q4ZRHTDpiTiKhgfeai4lSPiCFxsKYRgp5FZGG3 1WSUL3k4ukmQXeHbx6WXNiSgS1B+5UOUAa3jVlYTnWatWd3UqT9gJ9fGPGcKt4eQGIkS oFbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x17-20020a1709027c1100b00161a5dc2ea8si17360127pll.612.2022.05.25.13.11.25; Wed, 25 May 2022 13:11:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233919AbiEYIPl (ORCPT + 99 others); Wed, 25 May 2022 04:15:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239169AbiEYIOz (ORCPT ); Wed, 25 May 2022 04:14:55 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DEC1584A15 for ; Wed, 25 May 2022 01:14:51 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8B21B1FB; Wed, 25 May 2022 01:14:51 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AB6183F73D; Wed, 25 May 2022 01:14:49 -0700 (PDT) From: Sudeep Holla To: linux-kernel@vger.kernel.org Cc: Sudeep Holla , Atish Patra , Atish Patra , Vincent Guittot , Morten Rasmussen , Dietmar Eggemann , Qing Wang , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, Rob Herring Subject: [PATCH v3 09/16] arch_topology: Drop LLC identifier stash from the CPU topology Date: Wed, 25 May 2022 09:14:09 +0100 Message-Id: <20220525081416.3306043-10-sudeep.holla@arm.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220525081416.3306043-9-sudeep.holla@arm.com> References: <20220525081416.3306043-1-sudeep.holla@arm.com> <20220525081416.3306043-2-sudeep.holla@arm.com> <20220525081416.3306043-3-sudeep.holla@arm.com> <20220525081416.3306043-4-sudeep.holla@arm.com> <20220525081416.3306043-5-sudeep.holla@arm.com> <20220525081416.3306043-6-sudeep.holla@arm.com> <20220525081416.3306043-7-sudeep.holla@arm.com> <20220525081416.3306043-8-sudeep.holla@arm.com> <20220525081416.3306043-9-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Sudeep Holla --- drivers/base/arch_topology.c | 1 - include/linux/arch_topology.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index 4c486e4e6f2f..76c702c217c5 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -747,7 +747,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); } diff --git a/include/linux/arch_topology.h b/include/linux/arch_topology.h index 58cbe18d825c..a07b510e7dc5 100644 --- a/include/linux/arch_topology.h +++ b/include/linux/arch_topology.h @@ -68,7 +68,6 @@ struct cpu_topology { int core_id; int cluster_id; int package_id; - int llc_id; cpumask_t thread_sibling; cpumask_t core_sibling; cpumask_t cluster_sibling; -- 2.36.1