Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1119642pxb; Wed, 6 Apr 2022 09:09:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLS5axQdw+ey84969AlTvaSfTovi7jpHazj0B5adiyrmvthv7puJCpom9g6abfR2hWIJV/ X-Received: by 2002:a05:6870:b390:b0:da:cf0c:17ae with SMTP id w16-20020a056870b39000b000dacf0c17aemr4283406oap.94.1649261393362; Wed, 06 Apr 2022 09:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649261393; cv=none; d=google.com; s=arc-20160816; b=RfrEXsAZXevmJTR0H20Mh+H94HupfaK1ODQJ38XsOaYMPWxNC1ZS7GoL6ZzxOzdhBD P6Q6p6FbCwEsA2N5q0xkLn4HGPLdc5daY9XaolHzOb+cmw7mVB3jcetUSHEXz5wqZmBP hQea4c5aBpJTXw9ZKObADKP0sRJAWv3r2b5Q/qSNW9yTCZxHxehqSrXGrWgcw4KAbu2z IynxBzc1J540kbgJFO3ut/8Qg+/PuHgT6vfBkzKjtj9bWEL4OIp2+JwQOFUZT9n0whO3 arLWlv6vKD6tUjrwxo/VblTVPqKdGj9QSA2Mz7yKSIkI7XdV4hC6vMsvJNmgLxV4Cumo UnSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=S1HLM8O8ZN0HyskVNKnJfUHoKwtHdq+d5/qJwUVeaRM=; b=eZR6TllS9amQgt3qXQ/Px88ibpUVtPfAhilMZCNbe6c48Ohi+DjHtfUMZ9bJ6aTasO vdKmpx461VpFrXhQyGMGaoBZs2ppZeoUd0vTkVpG2u6ws3hjiDbhRnMpXq7oL/dVScJD V408kZ3K9L+l4E6NocCy4v3bOWib0b3JM3uuVUONANAfzxehVqUWOBZ8wj2P7mtWWN7+ pvqwWy8yaqOaYX/i9IIOMVUWFciJQgdc+/8RLwEIgBCBFQDsjHjWWnlNYZ3B9VTzn0zt XWqj4b2kFv//4pEye9crIPsBwwn7fHkkdVWy12k7OxpOSs0LDdQMJWd+BExH8e1NJCGz 76GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w20-20020a9d6394000000b005cb2fc13861si8880567otk.221.2022.04.06.09.09.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:09:53 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 810874E96FA; Wed, 6 Apr 2022 07:40:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234696AbiDFOmB (ORCPT + 99 others); Wed, 6 Apr 2022 10:42:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235210AbiDFOld (ORCPT ); Wed, 6 Apr 2022 10:41:33 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E10954B509 for ; Wed, 6 Apr 2022 04:07:00 -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 EF58F1424; Wed, 6 Apr 2022 04:06:59 -0700 (PDT) Received: from bogus (unknown [10.57.43.163]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 929CF3F718; Wed, 6 Apr 2022 04:06:58 -0700 (PDT) Date: Wed, 6 Apr 2022 12:06:55 +0100 From: Sudeep Holla To: Qing Wang Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Sudeep Holla , linux-kernel@vger.kernel.org, wangqing <11112896@bbktel.com> Subject: Re: [PATCH] arch_topology: support parsing cache topology from DT Message-ID: <20220406110655.iimv6s4godvgfwoq@bogus> References: <1649236680-4340-1-git-send-email-wangqing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1649236680-4340-1-git-send-email-wangqing@vivo.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, Apr 06, 2022 at 02:18:00AM -0700, Qing Wang wrote: > From: wangqing <11112896@bbktel.com> > > When ACPI is not enabled, we can parse cache topolopy from DT: > * cpu0: cpu@000 { > * next-level-cache = <&L2_1>; > * L2_1: l2-cache { > * compatible = "cache"; > * next-level-cache = <&L3_1>; > * }; > * L3_1: l3-cache { > * compatible = "cache"; > * }; > * }; > * > * cpu1: cpu@001 { > * next-level-cache = <&L2_1>; > * }; > * cpu2: cpu@002 { > * L2_2: l2-cache { > * compatible = "cache"; > * next-level-cache = <&L3_1>; > * }; > * }; > * > * cpu3: cpu@003 { > * next-level-cache = <&L2_2>; > * }; > cache_topology hold the pointer describing "next-level-cache", > it can describe the cache topology of every level. > > Expand the use of llc_sibling when ACPI is not enabled. > You seem to have posted this patch as part of the series first. One patch was rejected and then you post this without any history. It confuses if you don't provide all the background/history. Having said that, NACK for this patch as it stands. We have drivers/base/cacheinfo.c which has all the parsing of cache information. IIRC we already consider LLC but highlight if anything is particularly missing. I am unable to follow/understand with you commit message. -- Regards, Sudeep