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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0535FC636D4 for ; Wed, 1 Feb 2023 07:53:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231904AbjBAHxS convert rfc822-to-8bit (ORCPT ); Wed, 1 Feb 2023 02:53:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230013AbjBAHxP (ORCPT ); Wed, 1 Feb 2023 02:53:15 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE078769F; Tue, 31 Jan 2023 23:53:08 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 2562C24E22E; Wed, 1 Feb 2023 15:53:07 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 1 Feb 2023 15:53:07 +0800 Received: from [192.168.125.110] (183.27.97.127) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 1 Feb 2023 15:53:05 +0800 Message-ID: Date: Wed, 1 Feb 2023 15:53:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v3 6/7] riscv: dts: starfive: Add initial StarFive JH7110 device tree Content-Language: en-US To: Conor Dooley , Icenowy Zheng CC: , , "Palmer Dabbelt" , Rob Herring , "Krzysztof Kozlowski" , Paul Walmsley , Albert Ou , Ben Dooks , Daniel Lezcano , "Thomas Gleixner" , Marc Zyngier , Stephen Boyd , Michael Turquette , "Philipp Zabel" , Linus Walleij , Emil Renner Berthing , References: <20221220011247.35560-1-hal.feng@starfivetech.com> <20221220011247.35560-7-hal.feng@starfivetech.com> <51F38449-56BA-4260-B46F-0996FD29E169@kernel.org> From: Hal Feng In-Reply-To: <51F38449-56BA-4260-B46F-0996FD29E169@kernel.org> Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [183.27.97.127] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Dec 2022 09:02:15 +0000, Conor Dooley wrote: > Hey Icenowy, Hal > > On 29 December 2022 05:25:00 GMT, Icenowy Zheng wrote: >>在 2022-12-28星期三的 22:48 +0000,Conor Dooley写道: >>> Hey, >>> >>> On Tue, Dec 20, 2022 at 09:12:46AM +0800, Hal Feng wrote: [...] >>> > +               U74_1: cpu@1 { >>> > +                       compatible = "sifive,u74-mc", "riscv"; >>> > +                       reg = <1>; >>> > +                       d-cache-block-size = <64>; >>> > +                       d-cache-sets = <64>; >>> > +                       d-cache-size = <32768>; >>> > +                       d-tlb-sets = <1>; >>> > +                       d-tlb-size = <40>; >>> > +                       device_type = "cpu"; >>> > +                       i-cache-block-size = <64>; >>> > +                       i-cache-sets = <64>; >>> > +                       i-cache-size = <32768>; >>> > +                       i-tlb-sets = <1>; >>> > +                       i-tlb-size = <40>; >>> > +                       mmu-type = "riscv,sv39"; >>> > +                       next-level-cache = <&ccache>; >>> > +                       riscv,isa = "rv64imafdc"; >>> >>> That also begs the question: >>> Do your u74s support RV64GBC, as the (current) SiFive documentation >>> suggests? >> >>It supports RV64GCZbaZbb. > > Sweet, thanks. > >>B is not a well-defined thing by specifications, so it should be >>prevented here. > > Yah, don't worry - my next question was going to be which bits were supported :) > > Hal, can you update the isa string in the next version please? The current isa description is correct. Please see my reply [1]. Thank you. [1] https://lore.kernel.org/all/c507e0b2-5ca3-cffe-55d2-873ed8c24e3d@starfivetech.com/ Best regards, Hal