Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5413676ioo; Wed, 1 Jun 2022 05:13:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx50AUuKnOOj3TPpw5hnbElzfUkAe7lXKq1VC1p51hkvldH71kzv3rbCDizCdruwhu4Tm1r X-Received: by 2002:a17:902:e883:b0:163:7abd:d06b with SMTP id w3-20020a170902e88300b001637abdd06bmr30863882plg.51.1654085590870; Wed, 01 Jun 2022 05:13:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654085590; cv=none; d=google.com; s=arc-20160816; b=wTntuKOdG1BrUGNpFsFkKwi0hGgLpNy20IkkJ0j0jWY2NVT+fzVSBYjj1cN28/18Sm O+CZaZfQoTDklUR9cziwOXILvKTE8/lXw96guNFFwINBZ+NEmFRVInvCJUrUWw0xrjvC rgT8HqD/5kUfB1NyA2mWiIY5kIjMOZMslwX1XK7XiwJya2hDujRRQI8s5OYUOBscWU1w RchxDwAp+eHz0k6a/8UwrDun1ORJZz3I66hAXnvE7/5oFvcpOs3+LGopB0sKeSBA8hEt TvYFxhFMspdySYbihneKMihKA6o7oPYwwHNeMQfyB2CcvzoLFyVnsaLMgYEMlOhqQTe/ Uicw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:reply-to:dkim-signature; bh=Gh0g9dEVsbyR/6sqN8ICEDn4s73VBSYVoAwroIoGnZU=; b=TL32yPSBybYCuvU3Vt7BeB0+OOso1zmOSIGQHvUKN7A/gC2n/ZKQ7sns6VWzEv5Kj6 wiPY7+cU6xJgwKLz07efVIqA/Vujgh4hTip3SweVhKo+xA/ihsupbmwKNCMhDTQGGCd9 W89rxq6MB0im9gj4C5rflHfUvCpa0LAclytCYNgji5um445y5byKBTt9KJj3l9hXscZr a7F+aIdtcQAyF9Ywl1AKKophvSQxO8pigSLBMRYf6bTGq1tYLrIyDLmvjbBE6lyLIkJu t9E7AEUnJexb3vARIvdXc0wogoX5WVEGachKxI2V1oayHcRg8IS55aJt2fiMPIMFXHmA auxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VU2LgSGy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t40-20020a056a0013a800b0050cfb4ff72dsi2356576pfg.52.2022.06.01.05.12.48; Wed, 01 Jun 2022 05:13:10 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VU2LgSGy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240608AbiFADfr (ORCPT + 99 others); Tue, 31 May 2022 23:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238155AbiFADfn (ORCPT ); Tue, 31 May 2022 23:35:43 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 08A079CF64 for ; Tue, 31 May 2022 20:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654054539; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gh0g9dEVsbyR/6sqN8ICEDn4s73VBSYVoAwroIoGnZU=; b=VU2LgSGyS0cCuFnBHXYD71DqhJvfAWvTBBEkqcPh6flCirufvsyyduy1c+rKF9FDAxVzvs Wud3EshurM8+2x0C8kzz/jFRz7O0shisJFBwqWKBYviAnijWjDm4JihIuNy5Ne07G3Wr/X 14Gv8l34W3wo56wlOMxsk3OljOER/VY= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-67-k-s4QdumPBegUQDSGqvETg-1; Tue, 31 May 2022 23:35:30 -0400 X-MC-Unique: k-s4QdumPBegUQDSGqvETg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DC0B029AB414; Wed, 1 Jun 2022 03:35:29 +0000 (UTC) Received: from [10.72.12.91] (ovpn-12-91.pek2.redhat.com [10.72.12.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 59CF5492C3B; Wed, 1 Jun 2022 03:35:23 +0000 (UTC) Reply-To: Gavin Shan Subject: Re: [PATCH v3 09/16] arch_topology: Drop LLC identifier stash from the CPU topology To: Sudeep Holla , linux-kernel@vger.kernel.org Cc: 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 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> <20220525081416.3306043-10-sudeep.holla@arm.com> From: Gavin Shan Message-ID: <3860bfcc-a323-c031-0fdd-77001d338bec@redhat.com> Date: Wed, 1 Jun 2022 11:35:20 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <20220525081416.3306043-10-sudeep.holla@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 Hi Sudeep, On 5/25/22 4:14 PM, Sudeep Holla wrote: > 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(-) > How about merge the changes to PATCH[08/16]? I don't see why we need put the changes into separate patches. > 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; > Thanks, Gavin