From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0D99C433EF for ; Mon, 14 Mar 2022 10:19:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238462AbiCNKUz (ORCPT ); Mon, 14 Mar 2022 06:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234054AbiCNKUw (ORCPT ); Mon, 14 Mar 2022 06:20:52 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7552243480 for ; Mon, 14 Mar 2022 03:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=c30h96xDQEJXmMxMwPWq9YMjV0yJxJ26L1hJt0krjT0=; b=BmHZE3Fv+9w7tfWnrAYMoY7b6c YEnF1RVgS/i+K8PEuWF2JNL8/UoTvABubixh/D/8PFqNimei6toyiFGemgxSO7h4eikEV7LxATbrY zm7wn7BYlIPcbQBnDbVEL/SnyqRAsjjSCs7xaIMqAcQC7zBghJ/xEfMI3lVbjUE3pYOvEQFL5r823 /igOr6Ds89gbTF1Omt5lMeM2oR+MBJnVEVYu3XPXXcKxuxj+6w8mNWdxO5irw1r02MgW606leW0DX WY2sLGu1AOp2EtgSVd6yLMvJPY9GGEsMOErGbUI2+XYWkZrxx6J3LC4VD2SwcHDGOV31rnD5BGNsl teVAP8Fw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nThnI-000ns7-1Q; Mon, 14 Mar 2022 10:19:16 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 567F73001FD; Mon, 14 Mar 2022 11:19:13 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 16892344C779B; Mon, 14 Mar 2022 11:19:13 +0100 (CET) Date: Mon, 14 Mar 2022 11:19:12 +0100 From: Peter Zijlstra To: =?utf-8?B?546L5pOO?= Cc: Catalin Marinas , Will Deacon , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] sched: topology: make cache topology separate from cpu topology Message-ID: References: <1646917125-20038-1-git-send-email-wangqing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 14, 2022 at 02:37:48AM +0000, 王擎 wrote: > > If you want to represent L2, use the new fangled cluster level or > > something, that's what it's there for. > >  > > That is, you can represent the above like: > >  > >        DIE:    0-7 > >        MC:     0-3,            4-7 > >         CLS:    0-1,1-2,        4-5,6-7 > >  > > But if there is cache at MC, LLC is what it is. > > There is no CLS support for LTS now, any plans to backport? -ENOTMYPROBLEM From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6051C433F5 for ; Mon, 14 Mar 2022 10:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0Vuir2H6oDWWEhImoUdP+dM5egIAQCqFahqTneAB4tQ=; b=yG25fDNQH7KC4W at/xV0ItE1jGZHUCPyk3r/BNsUn4kCuP0feWcMVYvrXA+MXpkh2GNbbVwjaIrPijF/ZVZz2N8fFR9 5sqtrMqc7LSLl0ES0i8oDnAiKOR51Z8yYYPLHily6es9t2CnkET5hMx5ztsSsJ4sCyrXj5PUw/xgZ CrcyZ6sQv3PrWmu2oYM4gQ6rcCZr/mP9gfUTMV+7ySlJeN8gJ7yvKQd/fKwlDDax0pQpZUpu/257A rokOPq0g8QBCmuC1Dq7GdHkoZUNgDelOZkNscIpkA26IX+yNuox+y3uwsh144W3FllHPm0aTXeIlo uAXLn99dzk/kyqBYXtlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nThnP-004udc-Qy; Mon, 14 Mar 2022 10:19:23 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nThnN-004ud0-Ie for linux-arm-kernel@bombadil.infradead.org; Mon, 14 Mar 2022 10:19:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=c30h96xDQEJXmMxMwPWq9YMjV0yJxJ26L1hJt0krjT0=; b=BmHZE3Fv+9w7tfWnrAYMoY7b6c YEnF1RVgS/i+K8PEuWF2JNL8/UoTvABubixh/D/8PFqNimei6toyiFGemgxSO7h4eikEV7LxATbrY zm7wn7BYlIPcbQBnDbVEL/SnyqRAsjjSCs7xaIMqAcQC7zBghJ/xEfMI3lVbjUE3pYOvEQFL5r823 /igOr6Ds89gbTF1Omt5lMeM2oR+MBJnVEVYu3XPXXcKxuxj+6w8mNWdxO5irw1r02MgW606leW0DX WY2sLGu1AOp2EtgSVd6yLMvJPY9GGEsMOErGbUI2+XYWkZrxx6J3LC4VD2SwcHDGOV31rnD5BGNsl teVAP8Fw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nThnI-000ns7-1Q; Mon, 14 Mar 2022 10:19:16 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 567F73001FD; Mon, 14 Mar 2022 11:19:13 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 16892344C779B; Mon, 14 Mar 2022 11:19:13 +0100 (CET) Date: Mon, 14 Mar 2022 11:19:12 +0100 From: Peter Zijlstra To: =?utf-8?B?546L5pOO?= Cc: Catalin Marinas , Will Deacon , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] sched: topology: make cache topology separate from cpu topology Message-ID: References: <1646917125-20038-1-git-send-email-wangqing@vivo.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org T24gTW9uLCBNYXIgMTQsIDIwMjIgYXQgMDI6Mzc6NDhBTSArMDAwMCwg546L5pOOIHdyb3RlOgoK PiA+wqBJZiB5b3Ugd2FudCB0byByZXByZXNlbnQgTDIsIHVzZSB0aGUgbmV3IGZhbmdsZWQgY2x1 c3RlciBsZXZlbCBvcgo+ID7CoHNvbWV0aGluZywgdGhhdCdzIHdoYXQgaXQncyB0aGVyZSBmb3Iu Cj4gPsKgCj4gPsKgVGhhdCBpcywgeW91IGNhbiByZXByZXNlbnQgdGhlIGFib3ZlIGxpa2U6Cj4g PsKgCj4gPsKgwqDCoMKgwqDCoMKgIERJRTrCoMKgwqAgMC03Cj4gPsKgwqDCoMKgwqDCoMKgIE1D OsKgwqDCoMKgIDAtMyzCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIDQtNwo+ID7CoMKgwqDCoMKgwqDC oMKgIENMUzrCoMKgwqAgMC0xLDEtMizCoMKgwqDCoMKgwqDCoCA0LTUsNi03Cj4gPsKgCj4gPsKg QnV0IGlmIHRoZXJlIGlzIGNhY2hlIGF0IE1DLCBMTEMgaXMgd2hhdCBpdCBpcy4KPiAKPiBUaGVy ZSBpcyBubyBDTFMgc3VwcG9ydCBmb3IgTFRTIG5vdywgYW55IHBsYW5zIHRvIGJhY2twb3J0PwoK LUVOT1RNWVBST0JMRU0KCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fCmxpbnV4LWFybS1rZXJuZWwgbWFpbGluZyBsaXN0CmxpbnV4LWFybS1rZXJuZWxAbGlz dHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xpc3Rp bmZvL2xpbnV4LWFybS1rZXJuZWwK