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 21B45C43217 for ; Mon, 25 Apr 2022 13:20:58 +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:MIME-Version:References:In-Reply-To: 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=wfdnOYjFyBmMXBYaibscdMFmhgCXB8Hsib+UKaUCsOM=; b=DTccwEGFXOg7+g /VsvTP6UHYTkmvomiAuobcEicv14dKXpSfHs8IqMgJ56nmyaQn61gJSSaaVpdQJwEDuylASj1W7pO JLN7QpfbLAHemnXfd9Q96pD4SzM8kgO2Px6s43k9szgOrFMKaXuye8QNF6kS1xZbA9DmBBhJgZk+G 6amKoKcrpx+bWMp0Zm7vC+sQ+jVr0+aai9akCdPIzisgzLUHEUn6erBwAgtfCmfbjjJLXhnOMeuij ArdZv4/Zo7LsbcFiN6nmgLnkjyfHkuPdOxHv0rFU7NmYzCttCfMn+igw9trwxKUl2JdPT9jGgqfrP fR+MuELuJXV6tLt8JqAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1niyd3-009cs4-SK; Mon, 25 Apr 2022 13:19:49 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1niycw-009cqR-Cr for linux-arm-kernel@lists.infradead.org; Mon, 25 Apr 2022 13:19:44 +0000 Received: from fraeml708-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Kn5Bl72TYz682wj; Mon, 25 Apr 2022 21:16:47 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml708-chm.china.huawei.com (10.206.15.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 25 Apr 2022 15:19:28 +0200 Received: from localhost (10.202.226.42) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 25 Apr 2022 14:19:27 +0100 Date: Mon, 25 Apr 2022 14:19:26 +0100 From: Jonathan Cameron To: Qing Wang CC: Catalin Marinas , Will Deacon , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , , , , Subject: Re: [PATCH V2 0/2] Add complex scheduler level for arm64 Message-ID: <20220425141926.00004d2e@Huawei.com> In-Reply-To: <1650628289-67716-1-git-send-email-wangqing@vivo.com> References: <1650628289-67716-1-git-send-email-wangqing@vivo.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-w64-mingw32) MIME-Version: 1.0 X-Originating-IP: [10.202.226.42] X-ClientProxiedBy: lhreml728-chm.china.huawei.com (10.201.108.79) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220425_061942_633926_E7222F51 X-CRM114-Status: GOOD ( 16.32 ) 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 22 Apr 2022 04:51:24 -0700 Qing Wang wrote: > From: Wang Qing > > The DSU cluster supports blocks that are called complexes > which contain up to two cores of the same type and some shared logic, > which sharing some logic between the cores can make a complex area efficient. > Given the complex shares things like the SVE units (cortex a510)... Why not handle this as SMT? Seems like a blurred boundary between separate cores and SMT threads. I think we need to express and potentially take advantage of knowledge about what logic is being shared. Jonathan > Complex also can be considered as a shared cache group smaller > than cluster. > > This patch adds complex level for complexs by parsing cache topology > form DT. It will directly benefit a lot of workload which loves more > resources such as memory bandwidth, caches. > > Note this patch only handle the DT case. > > V2: > fix commit log and loop more > > wangqing (2): > arch_topology: support for describing cache topology from DT > arm64: Add complex scheduler level for arm64 > > arch/arm64/Kconfig | 13 ++++++++++ > arch/arm64/kernel/smp.c | 48 ++++++++++++++++++++++++++++++++++- > drivers/base/arch_topology.c | 47 +++++++++++++++++++++++++++++++++- > include/linux/arch_topology.h | 3 +++ > 4 files changed, 109 insertions(+), 2 deletions(-) > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel