Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14722765rwb; Mon, 28 Nov 2022 04:24:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf7uHa7l9ANJAQTcyMv1kMhx6N8IdA+Ps5UjQ9UKhpHUoClLqR8WVYW4mOc6cQFccYgb9Coh X-Received: by 2002:aa7:cd04:0:b0:46b:34c:5574 with SMTP id b4-20020aa7cd04000000b0046b034c5574mr7792641edw.175.1669638292833; Mon, 28 Nov 2022 04:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669638292; cv=none; d=google.com; s=arc-20160816; b=P8uk0coKc9JcDG0RBcWQ6ADR/mxYz3wNy5BEIvMs3P9MWYKrYFl4t4PxkRhr988gaR J3XZ65DE5hrxucOF1MPVeMroiN0t7qqcJV+6zlShtDmfivHm9mu4ay18vs+ya5hhDO3B q0dPjTvxrWl0uJ9DJ6S270OS9+6BYLBwS1xBZI6rUJTELUQkTAMWD0gknRUuBxzG9wp1 s2zW3grN22+ANJWb4ACqt+3xiFIROsDK5bkY7QJigsXg10StKRZd/WIHmXuGVWrY6cen G7xUN/VJ6W66qR4CcZubn/YfOXhz3ikjrjgJxH+BTcAjQG34Nl+cOodK4IuU5vRa70JM JwmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=8PmqECpRtiFy9cIhmvDOFHV90MSifJyIDHXzgw3sLhU=; b=b43+Z74LYcVKAyWv3YaYbon90QuVFcfLjFpf/iQoZQ+ht7kGwKkBqItoO2pFkPZynP njlD3AC9Fmtd8MotgHycFhhVQkK93ujnd8vndmmrJdZyVfPbvZ7wckc0VHDMsbArslZ6 qY6Rx+oBv+ZBvehRYks96/+IK0RnKj0Pg+CmoYtcjGVT5IqHunjTC8Z4/UCgfPUR7+RD onM1p4HhUfsqZZEI7NGW42awrObRy/zDgKLACDg9WniWKRt5rLHluWUXLQXYFyvf3c4P VaJQNGdOKVVrT3HNWBcfWr/G8+60xw5pq0yQc3np0FmIA+7Ouvthtvp78O3IeULY05P3 WJpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=vAUs1d2x; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs17-20020a170906dc9100b007b889a69895si9759775ejc.589.2022.11.28.04.24.31; Mon, 28 Nov 2022 04:24:52 -0800 (PST) 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=@marcan.st header.s=default header.b=vAUs1d2x; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230502AbiK1L5n (ORCPT + 84 others); Mon, 28 Nov 2022 06:57:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229711AbiK1L5l (ORCPT ); Mon, 28 Nov 2022 06:57:41 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88B46F6D; Mon, 28 Nov 2022 03:57:40 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id A132541A36; Mon, 28 Nov 2022 11:57:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1669636659; bh=EwJToLzTU9h6aco5n9NXZUfUVrHciJDtXP0+NrxOMN4=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=vAUs1d2xmDOZAYc5dlIyiS1spEYljgtDMqNxaLu4aT5AlxdajmKH+b2J88piBbOFW onPWgc9PC6IoXDLesSl9ycz1HWQwRhfSNusqM4qV/AULub8EJz6dVB2Q3aYqA+htfr a2rKEIyh3pwo3n/4ULDJ/HI/O7IPJ5MGw5qwXSYSBQEK1Tsyzm7I64UwZDnMm+GBJH PVBb/e3dOXeiD0Mn1UcWIZaan843DVKIuvJ9U8rK6gh36+xsqiHgGA7RMtxoVZYvuM aB8TKj1oKLZVYYwmSnIsXVAHI3srI2u/zSYeBnoXvHU2BYCPx4ynmMlsT9IX0r/M5z kzdRing6imHPw== Message-ID: <9410ffc0-3bc0-028d-cf67-b67bc54ef600@marcan.st> Date: Mon, 28 Nov 2022 20:57:34 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US To: Rob Herring , Sven Peter , Alyssa Rosenzweig , Krzysztof Kozlowski Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221122220619.659174-1-robh@kernel.org> From: Hector Martin Subject: Re: [PATCH] arm64: dts: apple: Add t600x L1/L2 cache properties and nodes In-Reply-To: <20221122220619.659174-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 On 23/11/2022 07.06, Rob Herring wrote: > The t600x CPU nodes are missing the cache hierarchy information. The > cache hierarchy on Arm can not be detected and needs to be described in > DT. The OS scheduler can make use of this information for scheduling > decisions. > > The cache size information is based on various articles about the > processors. There's also an L3 system level cache (SLC). It's not > described here because SLCs typically have some MMIO interface which > would need to be described. > > Signed-off-by: Rob Herring > --- > Based on apple dts changes in linux-next. > > This fixes the warning: Unable to detect cache hierarchy for CPU %d > --- > arch/arm64/boot/dts/apple/t6002.dtsi | 51 +++++++++++++++++++++ > arch/arm64/boot/dts/apple/t600x-common.dtsi | 51 +++++++++++++++++++++ > 2 files changed, 102 insertions(+) > [...] Applied to asahi-soc/dt, thanks! I probably won't send this one up until the 6.3 cycle; I've rebased our downstream bits/000-devicetree on top so it'll get some downstream testing before going upstream (and in the meantime someone should get around to adding these for the other chips too ;)). Cheers, - Hector