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 X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E96AC43461 for ; Mon, 7 Sep 2020 21:35:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 067D52145D for ; Mon, 7 Sep 2020 21:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599514550; bh=mIiKWDg6aZKGEJqYWecJKNw7i1BpQK3I2M9oYlUl1jI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=XPyuzXeBhdtjVd8/1c1Q5LSS9wcoZf1OCkxw6HmZSxjuIICS+UfQEdB8YegmFjYCr iQ++doaxaw2V2U98xi66v/fZVxFJwjkC+0PkbpVYozCCJq+g+XQ8ugY96f5+jsqRCd sSFivS+lp1IJhiJUcE9uzP1P24ICbWoosaJfiG4w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbgIGVfr (ORCPT ); Mon, 7 Sep 2020 17:35:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:57876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbgIGVfq (ORCPT ); Mon, 7 Sep 2020 17:35:46 -0400 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 206092080A; Mon, 7 Sep 2020 21:35:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599514546; bh=mIiKWDg6aZKGEJqYWecJKNw7i1BpQK3I2M9oYlUl1jI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kmx65nINHMkFMfqWaQThC+PS+Flt2pP5SZRUeUlzGjYG4lSwT7C7tSgbdJUmgdg4b IrGjqdy69LXxJNccIxAtRNYPaAo1dBPwFD91ZrbhoEcrPiHfPAC8btfJOKabO6p54h /bJhOF75MIHQWOVt+BUlxRj3ofVLwOrK5wudogcw= From: Will Deacon To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Valentin Schneider Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Robin Murphy , "Zengtao (B)" , Sudeep Holla , Jeremy Linton , Dietmar Eggemann , Morten Rasmussen Subject: Re: [PATCH] arm64: topology: Stop using MPIDR for topology information Date: Mon, 7 Sep 2020 22:35:35 +0100 Message-Id: <159951413581.3126645.5011278165801551941.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200829130016.26106-1-valentin.schneider@arm.com> References: <20200829130016.26106-1-valentin.schneider@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 29 Aug 2020 14:00:16 +0100, Valentin Schneider wrote: > In the absence of ACPI or DT topology data, we fallback to haphazardly > decoding *something* out of MPIDR. Sadly, the contents of that register are > mostly unusable due to the implementation leniancy and things like Aff0 > having to be capped to 15 (despite being encoded on 8 bits). > > Consider a simple system with a single package of 32 cores, all under the > same LLC. We ought to be shoving them in the same core_sibling mask, but > MPIDR is going to look like: > > [...] Applied to arm64 (for-next/topology), thanks! [1/1] arm64: topology: Stop using MPIDR for topology information https://git.kernel.org/arm64/c/3102bc0e6ac7 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev 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 X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6CC6C43461 for ; Mon, 7 Sep 2020 21:37:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 488E22145D for ; Mon, 7 Sep 2020 21:37:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1dCDj7ub"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Kmx65nIN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 488E22145D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VNKyqXCkgT/msoWIfdm2BrLUysQG/0NLqD99ArG+uzI=; b=1dCDj7ubgBkCEmwW7TZCNVxz2 gt8tIGaD8biv/+/NI9FNgMcNiCbX1z0avbamspfBT4aFjEENCZUbMWZSRJp2ElSiUWHaXNAPXC4KF /YSq94be4bO20fKlkghR3gWF55R51d1LOa4JedVvuOJ/wXLThX089UsW9uegl1ErCKBuPZJW+JQ6l ToZagOysGE3x8AL0lBmXgTDCmZGX07STw6BPdYLi17/jdv2O/QJVK526mLd7qmBy7kfYCuZa5mF37 McLxBpiSdhNOR2mH0EomPr6udg3grrqvTPk0rBA7ngG4BQ0iRph8GViP2NGRiWuxcWXpWr2SHfV1Y jAfMmnqPA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFOnt-00046n-1L; Mon, 07 Sep 2020 21:35:57 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFOnj-00046E-9g for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 21:35:54 +0000 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 206092080A; Mon, 7 Sep 2020 21:35:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599514546; bh=mIiKWDg6aZKGEJqYWecJKNw7i1BpQK3I2M9oYlUl1jI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kmx65nINHMkFMfqWaQThC+PS+Flt2pP5SZRUeUlzGjYG4lSwT7C7tSgbdJUmgdg4b IrGjqdy69LXxJNccIxAtRNYPaAo1dBPwFD91ZrbhoEcrPiHfPAC8btfJOKabO6p54h /bJhOF75MIHQWOVt+BUlxRj3ofVLwOrK5wudogcw= From: Will Deacon To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Valentin Schneider Subject: Re: [PATCH] arm64: topology: Stop using MPIDR for topology information Date: Mon, 7 Sep 2020 22:35:35 +0100 Message-Id: <159951413581.3126645.5011278165801551941.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200829130016.26106-1-valentin.schneider@arm.com> References: <20200829130016.26106-1-valentin.schneider@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200907_173554_139780_04ADF32C X-CRM114-Status: GOOD ( 13.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Will Deacon , catalin.marinas@arm.com, Robin Murphy , Jeremy Linton , Morten Rasmussen , "Zengtao \(B\)" , Sudeep Holla , kernel-team@android.com, Dietmar Eggemann 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 Sat, 29 Aug 2020 14:00:16 +0100, Valentin Schneider wrote: > In the absence of ACPI or DT topology data, we fallback to haphazardly > decoding *something* out of MPIDR. Sadly, the contents of that register are > mostly unusable due to the implementation leniancy and things like Aff0 > having to be capped to 15 (despite being encoded on 8 bits). > > Consider a simple system with a single package of 32 cores, all under the > same LLC. We ought to be shoving them in the same core_sibling mask, but > MPIDR is going to look like: > > [...] Applied to arm64 (for-next/topology), thanks! [1/1] arm64: topology: Stop using MPIDR for topology information https://git.kernel.org/arm64/c/3102bc0e6ac7 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel