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=-6.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 A5F3AC10DCE for ; Wed, 25 Mar 2020 02:01:36 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 E359E2072E for ; Wed, 25 Mar 2020 02:01:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="BkZ9AsjD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E359E2072E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48nBDs64WSzDqpM for ; Wed, 25 Mar 2020 13:01:33 +1100 (AEDT) Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48nBBQ3G2qzDqNN for ; Wed, 25 Mar 2020 12:59:26 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=BkZ9AsjD; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 48nBBP1jKDz9sQt; Wed, 25 Mar 2020 12:59:23 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1585101566; bh=DbtFmqRT8V9GpajJ1kFCBoHEqZgLl/5/UANC/xKI3s0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BkZ9AsjDqXY8v+ztK0YKORVmsZMcDINt9MZK0b/uxGLYdi9Coy+Bz+Ubi9x6rHiS4 YociJuOWuZmr41ZDgMWphIS2vP/JI2F4YWmAsGsE5KcLrK5EWamNPzxi3jg3eyhcP5 u4jS63ly4k/YU6faqB/XVJa9grwHX7l/mWZnnJkiDnlSoflH9NC3Y0tHf7CohJZ74m nXrO5b8UBQg/7OPLaglOpfYQzhKQ7rVnA93tTMu9l0WywejpwoV/c2gnW/xB/G9P9S jIXwkxXK+iaAlt3BJSj/IhLVWlmPWHeCLnalZ7f/MVJCXg2o2SMfqUPCdPGa85QI4u QKJOerRLbJeag== From: Michael Ellerman To: Chris Packham , robh+dt@kernel.org, mark.rutland@arm.com, paulus@samba.org, benh@kernel.crashing.org Subject: Re: [PATCH] powerpc/fsl: Add cache properties for T2080/T2081 In-Reply-To: <20200324213612.31614-1-chris.packham@alliedtelesis.co.nz> References: <20200324213612.31614-1-chris.packham@alliedtelesis.co.nz> Date: Wed, 25 Mar 2020 12:59:28 +1100 Message-ID: <877dz9xkhr.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Hamish Martin , linux-kernel@vger.kernel.org, Scott Wood , Chris Packham , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Chris Packham writes: > Add the d-cache/i-cache properties for the T208x SoCs. The L1 cache on > these SoCs is 32KiB and is split into 64 byte blocks (lines). > > Signed-off-by: Chris Packham > --- > arch/powerpc/boot/dts/fsl/t208xsi-pre.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) LGTM. I'll wait a few days to see if Scott wants to ack it. cheers > diff --git a/arch/powerpc/boot/dts/fsl/t208xsi-pre.dtsi b/arch/powerpc/boot/dts/fsl/t208xsi-pre.dtsi > index 3f745de44284..2ad27e16ac16 100644 > --- a/arch/powerpc/boot/dts/fsl/t208xsi-pre.dtsi > +++ b/arch/powerpc/boot/dts/fsl/t208xsi-pre.dtsi > @@ -81,6 +81,10 @@ cpus { > cpu0: PowerPC,e6500@0 { > device_type = "cpu"; > reg = <0 1>; > + d-cache-line-size = <64>; > + i-cache-line-size = <64>; > + d-cache-size = <32768>; > + i-cache-size = <32768>; > clocks = <&clockgen 1 0>; > next-level-cache = <&L2_1>; > fsl,portid-mapping = <0x80000000>; > @@ -88,6 +92,10 @@ cpu0: PowerPC,e6500@0 { > cpu1: PowerPC,e6500@2 { > device_type = "cpu"; > reg = <2 3>; > + d-cache-line-size = <64>; > + i-cache-line-size = <64>; > + d-cache-size = <32768>; > + i-cache-size = <32768>; > clocks = <&clockgen 1 0>; > next-level-cache = <&L2_1>; > fsl,portid-mapping = <0x80000000>; > @@ -95,6 +103,10 @@ cpu1: PowerPC,e6500@2 { > cpu2: PowerPC,e6500@4 { > device_type = "cpu"; > reg = <4 5>; > + d-cache-line-size = <64>; > + i-cache-line-size = <64>; > + d-cache-size = <32768>; > + i-cache-size = <32768>; > clocks = <&clockgen 1 0>; > next-level-cache = <&L2_1>; > fsl,portid-mapping = <0x80000000>; > @@ -102,6 +114,10 @@ cpu2: PowerPC,e6500@4 { > cpu3: PowerPC,e6500@6 { > device_type = "cpu"; > reg = <6 7>; > + d-cache-line-size = <64>; > + i-cache-line-size = <64>; > + d-cache-size = <32768>; > + i-cache-size = <32768>; > clocks = <&clockgen 1 0>; > next-level-cache = <&L2_1>; > fsl,portid-mapping = <0x80000000>; > -- > 2.25.1