Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4139859iog; Tue, 21 Jun 2022 12:55:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sA+PdYzcXeqHF4NN3/gqDmKSZsQ3baJRct7VkmwlvglJ14mHlZMdMdEe++g5+Hazv+7grv X-Received: by 2002:a63:ab01:0:b0:408:c856:f70a with SMTP id p1-20020a63ab01000000b00408c856f70amr27678774pgf.109.1655841344633; Tue, 21 Jun 2022 12:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655841344; cv=none; d=google.com; s=arc-20160816; b=B6SOyDGobwqOr8ScDOLwp3GsY6Kwx3sdGDyAYbEaZZ3KG0TR2jkoyS5yutTyAr9BL4 okJnng1Mu8VzYxhWm9hoAQMOvfRFMQbK2LCMCFlfnK8d/mal538eqjpB0OBBa8FHzL+U ANfOcIJx5f5pazjS9postkHZHOsjiithZkhF+nP3i/DvixzCg1bTWjAwj4X+7o7EjoeD fyCUl2USAqj0XOQ8qZZuj05VL61UQNq0fYML8/ZpylrR2k0weNQrAY36V2kOiFzapFkP B0aUjP8A13aUR36r/QYdP5OnzYODrc9lz/o+jT1EmcFMsxKKbcQxbEB5yOoUMkPa4r9+ xmag== 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=jNdsOf5ikh0+BGuYdaQ4Q1oHIC4nIPGtZ4bzSIkdIz4=; b=DGl93/amdYartlaNxg/iCulIGrRlItiWlz1KxZFTdGvZbGzPRA2VigcB76mp/xiQvj 7c+eSMT8AGJ2GHn3240ckDC1wzqSao/2gDHsk7xnK3VO3CqUL6q5O9O2qnK4LeB4t3+M uzE3qmbM67AaDt6PcFoB2CmizbBP8x2qKqenSyUw6MWIvHIf4xrlvamj6lkhqZCbi/dS awWXXY+Iz6ylW3P0YfMRq9+4l5mhWJN1ZTZ7oOETIKNABRiaJAojde44iUfqQRF7GyQj 3j3Mlm5XbEEcikarXcTJ9jJG7LbI06nAUzOUiYQoJOHqJiZ3PkYgAu4Ebx3z4A8VYCXn 3+4g== 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 z127-20020a636585000000b0040c9c626e78si219870pgb.813.2022.06.21.12.55.32; Tue, 21 Jun 2022 12:55:44 -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 S235647AbiFUTVp (ORCPT + 99 others); Tue, 21 Jun 2022 15:21:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353374AbiFUTVL (ORCPT ); Tue, 21 Jun 2022 15:21:11 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 64E8512AE0 for ; Tue, 21 Jun 2022 12:21:09 -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 5B154165C; Tue, 21 Jun 2022 12:21:09 -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 4ABE63F792; Tue, 21 Jun 2022 12:21:07 -0700 (PDT) From: Sudeep Holla To: linux-kernel@vger.kernel.org, Greg KH Cc: Sudeep Holla , Atish Patra , Atish Patra , Vincent Guittot , Dietmar Eggemann , Qing Wang , Rob Herring , "Rafael J . Wysocki" , Ionela Voinescu , Pierre Gondois , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, Gavin Shan Subject: [PATCH v4 11/20] arch_topology: Drop LLC identifier stash from the CPU topology Date: Tue, 21 Jun 2022 20:20:25 +0100 Message-Id: <20220621192034.3332546-12-sudeep.holla@arm.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220621192034.3332546-1-sudeep.holla@arm.com> References: <20220621192034.3332546-1-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_NONE,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. Reviewed-by: Gavin Shan 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 c314c7064397..b63cc52e12ce 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); } 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