Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1155104imw; Tue, 5 Jul 2022 04:52:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vR1x1OdKfCEhqdgbot4K5FRB2APd7i9U4Cdyy7Y4SxAYm6nplvQGIu/fw4Ul0MgMzI5QOu X-Received: by 2002:a05:6402:3988:b0:434:e2a8:8459 with SMTP id fk8-20020a056402398800b00434e2a88459mr45755555edb.253.1657021977866; Tue, 05 Jul 2022 04:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657021977; cv=none; d=google.com; s=arc-20160816; b=BLrQ4hD3TabjdhY384kfIZsYDL/jHA2cJwrtl7n3M30mPxZQttjy43TC1R8OT0KmYY 0Avp9L8/blAjJOTo+yAJQ3EKjeB8Su28JeuKVW1/cgeuDPwYHUiGlnXND8vk0RIKJYo+ 2/a0M4feRfYxvk61KBr+bNkukD3eh+56pVjPAdXu4rjI92U3Sq2IbTn/Y9bdtiM14f/a iT0rdQpC4KDSKg1lceIUY4JfPPnqIRtKBG0GIa2iHAI3bWzTPEvecXcSrXyWtqHhuCAa WHRv8MrlEanawievZyolSvP7Ik4KSsNnoAziVvspattardY6ChoSt4DoAvUAb47s181z TsPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SdqGha5h1RKVad8YBop74myQev8ZjMtW1cKNUosuw54=; b=ex7L79ZH+MwAFwmBlvc/WP1JdcHbxOBn4paUjzVMfXDoGy7dpfURK/Lxl/BhQqCdfz OZ2O16Gn4QlGZEZrxxvukNCx2Yj176HVQu8zp61NBsfYH84zW7eeORYyzhvda/cAx5T4 99m1SiVf1eS8IOP1BYZMJWgOLu9e/augDCOiqxM+W+XKKHeTSGRp/w0JoyKAslg6Etyt Mav++oEyK3ENKqq+C2EAI9hqb/td4/QkYj0NKKJankEAprQuLnF8NCrAVV1W7gapRxEl nkws1Cmdhv3rEMeev9ulYXZQ8WRcXDjQcDvEdrv1FExdO8p2lznkd9D5dSSvqwMuGv0B wctw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=A85DDNCH; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a50c384000000b0043571cd213asi39912671edf.214.2022.07.05.04.52.33; Tue, 05 Jul 2022 04:52:57 -0700 (PDT) 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=fail header.i=@microchip.com header.s=mchp header.b=A85DDNCH; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232417AbiGELnH (ORCPT + 99 others); Tue, 5 Jul 2022 07:43:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232410AbiGELnE (ORCPT ); Tue, 5 Jul 2022 07:43:04 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30C0F1705A; Tue, 5 Jul 2022 04:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1657021384; x=1688557384; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WfImbQtfeMtGGz2Cw5g0Es7g3tuLxqK4vIhrQdT+d4M=; b=A85DDNCHazegrS6Dqt0itgJpV1tYrdxWLJLTB9F+tD2zL2sHodNJfAlj AiO+KmQzY0jwCRLhOLMXegkRoAI7oURgXpBkz/EGhB45Kds6OZRTihxur x+v3Uz/KtiRsLoN3iPy9+T/DyGoADozMYJb7cWNVGl8aq5dpe+H15Y/O1 Cz0i85Df1ch5MdzINYhnqmGdCrkGRGO0uAdLdw/UeQZ/MFp/rFd+N10E9 hH3VEw9IE+VopBd99Oe9vU4n0Ow7+s3uiWizlHAwxDxsuLNt5N6seoWAj xv4SttDS8FBOcOG8oqJ+UQNNE1cmz7g3zNTF80oi9M//VqWhx8ZVrLOiP Q==; X-IronPort-AV: E=Sophos;i="5.92,245,1650956400"; d="scan'208";a="180778158" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 05 Jul 2022 04:43:03 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 5 Jul 2022 04:42:57 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 5 Jul 2022 04:42:53 -0700 From: Daire McNamara To: , CC: , , , , , , , , , , , , Subject: Re: [PATCH] riscv: dts: microchip: hook up the mpfs's l2cache Date: Tue, 5 Jul 2022 12:42:30 +0100 Message-ID: <20220705114229.2734205-1-daire.mcnamara@microchip.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629200732.4039258-1-conor@kernel.org> References: <20220629200732.4039258-1-conor@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Reviewed-by: Daire McNamara > From: Conor Dooley > Date: Monday, 4 July 2022 at 10:04 > To: FPGA ESS Linux patches > Cc: Conor Dooley - M52691 > Subject: [PATCH] riscv: dts: microchip: hook up the mpfs' l2cache > > The initial PolarFire SoC devicetree must have been forked off from > the fu540 one prior to the addition of l2cache controller support being > added there. When the controller node was added to mpfs.dtsi, it was > not hooked up to the CPUs & thus sysfs reports an incorrect cache > configuration. Hook it up. > > Fixes: 0fa6107eca41 ("RISC-V: Initial DTS for Microchip ICICLE board") > Reviewed-by: Sudeep Holla > Signed-off-by: Conor Dooley > --- > arch/riscv/boot/dts/microchip/mpfs.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/riscv/boot/dts/microchip/mpfs.dtsi b/arch/riscv/boot/dts/microchip/mpfs.dtsi > index ed8739350587..2df555a57003 100644 > --- a/arch/riscv/boot/dts/microchip/mpfs.dtsi > +++ b/arch/riscv/boot/dts/microchip/mpfs.dtsi > @@ -50,6 +50,7 @@ cpu1: cpu@1 { > riscv,isa = "rv64imafdc"; > clocks = <&clkcfg CLK_CPU>; > tlb-split; > + next-level-cache = <&cctrllr>; > status = "okay"; > > cpu1_intc: interrupt-controller { > @@ -77,6 +78,7 @@ cpu2: cpu@2 { > riscv,isa = "rv64imafdc"; > clocks = <&clkcfg CLK_CPU>; > tlb-split; > + next-level-cache = <&cctrllr>; > status = "okay"; > > cpu2_intc: interrupt-controller { > @@ -104,6 +106,7 @@ cpu3: cpu@3 { > riscv,isa = "rv64imafdc"; > clocks = <&clkcfg CLK_CPU>; > tlb-split; > + next-level-cache = <&cctrllr>; > status = "okay"; > > cpu3_intc: interrupt-controller { > @@ -131,6 +134,7 @@ cpu4: cpu@4 { > riscv,isa = "rv64imafdc"; > clocks = <&clkcfg CLK_CPU>; > tlb-split; > + next-level-cache = <&cctrllr>; > status = "okay"; > cpu4_intc: interrupt-controller { > #interrupt-cells = <1>; > -- > 2.36.1