Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1155505pxb; Wed, 13 Apr 2022 22:48:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPVxYyjCFoDeM5yDqsaUjM52nxBtgDam1igYCNpR3G+/qK1357fG0GzhEOQl+RowLKXqO4 X-Received: by 2002:a65:5b86:0:b0:398:f71a:e5d7 with SMTP id i6-20020a655b86000000b00398f71ae5d7mr995558pgr.398.1649915289634; Wed, 13 Apr 2022 22:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649915289; cv=none; d=google.com; s=arc-20160816; b=pVhHHlFl99bbVsdsxlG6Hx7m9LjA0/twlbqptZwePx3sx3YhCPj7FPbU48bCEIxw9z lex1zI50dY++SrSG8u6y3QhnLq7ZChM0sp8+62b5y1dYezPd63N44i2CQczdUzEhTAcE WdBTjvWeBZrScRMPIKW4CTpRmwx9fudiQE/2hIV07LxEYLYYg0heV0E5OULrFdszwoTW uKKApy8Bk36RS600gXehviLaRG7pT1oTJJYEsLp2+6YeeyXz5i819tzoqG5JFgyg1lf9 mHrZVrKFbpzJ9HAkrm92Fg3KyNWCrXpKfyRCTF77NTTPyfH46l4TFKovI+r36Aw8O6Mk Imeg== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=5II3n/+h3pivxbaF4Zlsk6J/11Tk5zgxZni781mRMks=; b=Pzs0rNqvwM6nmL+lPS9v9EEfB9KV/Mv1klFQ8V2xMTqElIdOZ2egb3ElpDFhG6bR/L AapxRpAaSEI+78SMt7OPjiUskcEI/cYiBnpGrhuTY9IBpQDcOE0zpXWFqXXnz1hhti/m fabeKTXBfaLVkrmLGXrKGXb9TgvKYJtmK5GMYyQWJ/YebxjsrRBtXrgcEW/sFTUcFcWM C8mxYPyZa4SCXUVvAZcwN3p9KWTdfg5ISEIoa2dcmHrrY1KOW7W7D06dMMW9G4HH9PYQ UQCpzcruq3fCpWJiDD8ctBcNftSM42J2Pst5S66TkHxf8+XCVQ50+h79INJ5Kg+RNQWF 3S3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=vfNOMQF2; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m4-20020a170902bb8400b00153bc4c0a7fsi14549938pls.593.2022.04.13.22.47.56; Wed, 13 Apr 2022 22:48:09 -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=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=vfNOMQF2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232014AbiDMVyz (ORCPT + 99 others); Wed, 13 Apr 2022 17:54:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233829AbiDMVyw (ORCPT ); Wed, 13 Apr 2022 17:54:52 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E4792656A for ; Wed, 13 Apr 2022 14:52:29 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id t12so3070287pll.7 for ; Wed, 13 Apr 2022 14:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=5II3n/+h3pivxbaF4Zlsk6J/11Tk5zgxZni781mRMks=; b=vfNOMQF23PUUYhslMTsPc88fGqI/w/7RwE3Y+rQbjASYPl1JRZYkjCyiqvR+MlNzjz fs2BJzp2MtxsYq0rjo9jR3eolql9ISfdEKQYRfPMxgEdaE4ykzR81x9JJxc3ZmQVfTy/ +Kl+ROe0ehO9bvmvKH6Z7EmRt1BzTnkuD+jte2bv9VSUZ3h/KYJMKSG8njJfZtK2WdeG z8+4B2CWJ+qjrPf8He1vdE9f0rTayzBgPLWqKP4Iem19hdierTtX1G45FwqOcebVuZhw NvMGsTlw3Ihv93OUD9UtUxgKAeb4QgFul2h4JTVPIdfoJ6c+uU1bWQvj2Au486LKCU1+ Eqng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=5II3n/+h3pivxbaF4Zlsk6J/11Tk5zgxZni781mRMks=; b=Npxz4NOSBZu2jGC5HX/laBq1cx3nlA3QInGYeRjeBpwp/dzIJt1s63YJ0S6dxXH9kt Ysbr5iHQB5sorOpScRXipNF5jqWpNTEVicTF9JySwEFen7RlKBLfN/sDHy3yyfzkI9qx GtuzChmjMUfDYusmLRvtSpWDrgB5VwHwT1/TmMxFGOwzw/IqE1sMxLIPtVvrhi9c8/hw 9DE8FrmlTNdTbI1e+Fph/4RS9WzBOgntR0F33u6dMbMDZDIjqURpllhNLLE6V9PJPEVZ UwPkXn34JeKcu477Ym3mB2HJWu6gahYiZNpepwmPBJR17CkK3r/X5EaCbhjClJ9LHvyd pZSA== X-Gm-Message-State: AOAM531M4skIhRB+SCc6HhyB3vXpImdC7zOVmj8ZAVcmEaqYcHe3CSED As3yR7PTH/byLu9HefTJAxALXw== X-Received: by 2002:a17:902:7006:b0:156:3cbe:6b04 with SMTP id y6-20020a170902700600b001563cbe6b04mr43467020plk.68.1649886748497; Wed, 13 Apr 2022 14:52:28 -0700 (PDT) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id k6-20020a056a00134600b004faba67f9d4sm37928pfu.197.2022.04.13.14.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 14:52:27 -0700 (PDT) Date: Wed, 13 Apr 2022 14:52:27 -0700 (PDT) X-Google-Original-Date: Wed, 13 Apr 2022 14:52:19 PDT (-0700) Subject: Re: [PATCH 00/12] Initial support for Nuclei DemoSoC w/ UX600 In-Reply-To: CC: robh+dt@kernel.org, Paul Walmsley , aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org From: Palmer Dabbelt To: icenowy@nucleisys.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Mon, 21 Mar 2022 17:05:45 PDT (-0700), Palmer Dabbelt wrote: > On Tue, 22 Feb 2022 08:56:42 PST (-0800), Palmer Dabbelt wrote: >> On Sat, 19 Feb 2022 06:45:43 PST (-0800), icenowy@nucleisys.com wrote: >>> 在 2022-01-27星期四的 23:16 +0800,Icenowy Zheng写道: >>>> This patchset adds support for Nuclei DemoSoC (which is an evaluation >>>> platform made with Nuclei CPU cores and mainly peripherals in >>>> original >>>> Hummingbird E203 project, running on FPGA) with UX600 CPU cores. >>>> >>>> Most patches are for DT bindings, the remaining ones are adding a >>>> Kconfig option and some DTS/DTSI files. The last one is a workaround >>>> for >>>> a severe bug in currently released versions of UX600, which is found >>>> in 5.17 kernel, in which Sv48 support is added to Linux. >>>> >>>> Two non-technical patches are in this patchset too, for MAINTAINERS >>>> and .mailmap items. >>> >>> Ping, could any RISC-V maintainers review these patches, especially the >>> SATP workaround one? >> >> Sorry, I remember having written this but I guess it got lost. IIRC my >> main worry here was that, at least as far as I can tell, DemoSOC is an >> FPGA development board. If this is actually in production somewhere >> then it's a different story, but IIUC the general rule is not to accept >> code for development hardware that can be updated. >> >> Assuming DemoSOC can be updated, I'd also argue that we should have some >> sort of version attached to it in DT entries. Without some versioning >> we'll end up lost when trying to later determine what we're actually >> running on. >> >> As far as the errata goes: it looks fine to me, but I'd like to see some >> sort of description of what the errata actually is (ie, some >> documentation from the manufacturer). I know that's not always >> possible, but without some desciption of what the bug is it gets tricky >> to mainain this sort of stuff. For example: we've got sv57 patches >> now, so how do I know what to do with them on this target? > > Just following up on this one. Not sure if I missed it, but I can't > find a reply. Checking up on this one more time, I still can't find any replies. It's at the top of my queue, but I'm going to drop it until the questions get resolved. > >> >>> >>>> >>>> Icenowy Zheng (12): >>>>   dt-bindings: vendor-prefixes: add Nuclei >>>>   RISC-V: add Nuclei SoC Kconfig option >>>>   dt-bindings: riscv: add compatible strings for Nuclei UX600 series >>>>   dt-bindings: timer: add compatible for Nuclei UX600 CLINT-compat >>>> timer >>>>   dt-bindings: interrupt-controller: add compatible string for UX600 >>>>     PLIC >>>>   dt-bindings: serial: add compatible string for Nuclei DemoSoC UART >>>>   dt-bindings: spi: add compatible string for Nuclei DemoSoC SPI >>>>   dt-bindings: riscv: add binding for Nuclei platform boards >>>>   riscv: dts: add device tree for Nuclei DemoSoC w/ UX600 on DDR200T >>>>   RISC-V: workaround Nuclei UX600 cores with broken SATP CSR >>>>   MAINTAINERS: add myself as Nuclei SoCs/CPUs supporter >>>>   mailmap: add Icenowy Zheng's Nuclei mail addresses >>>> >>>>  .mailmap                                      |  1 + >>>>  .../sifive,plic-1.0.0.yaml                    |  1 + >>>>  .../devicetree/bindings/riscv/cpus.yaml       |  7 ++ >>>>  .../devicetree/bindings/riscv/nuclei.yaml     | 27 ++++++++ >>>>  .../bindings/serial/sifive-serial.yaml        |  1 + >>>>  .../devicetree/bindings/spi/spi-sifive.yaml   |  1 + >>>>  .../bindings/timer/sifive,clint.yaml          |  1 + >>>>  .../devicetree/bindings/vendor-prefixes.yaml  |  2 + >>>>  MAINTAINERS                                   |  7 ++ >>>>  arch/riscv/Kconfig.socs                       |  6 ++ >>>>  arch/riscv/boot/dts/Makefile                  |  1 + >>>>  arch/riscv/boot/dts/nuclei/Makefile           |  2 + >>>>  .../dts/nuclei/nuclei-demosoc-ddr200t.dtsi    | 41 ++++++++++++ >>>>  .../nuclei/nuclei-demosoc-ux600-ddr200t.dts   | 13 ++++ >>>>  .../boot/dts/nuclei/nuclei-demosoc-ux600.dtsi | 49 ++++++++++++++ >>>>  .../riscv/boot/dts/nuclei/nuclei-demosoc.dtsi | 67 >>>> +++++++++++++++++++ >>>>  arch/riscv/include/asm/vendorid_list.h        |  1 + >>>>  arch/riscv/mm/init.c                          | 17 +++++ >>>>  18 files changed, 245 insertions(+) >>>>  create mode 100644 >>>> Documentation/devicetree/bindings/riscv/nuclei.yaml >>>>  create mode 100644 arch/riscv/boot/dts/nuclei/Makefile >>>>  create mode 100644 arch/riscv/boot/dts/nuclei/nuclei-demosoc- >>>> ddr200t.dtsi >>>>  create mode 100644 arch/riscv/boot/dts/nuclei/nuclei-demosoc-ux600- >>>> ddr200t.dts >>>>  create mode 100644 arch/riscv/boot/dts/nuclei/nuclei-demosoc- >>>> ux600.dtsi >>>>  create mode 100644 arch/riscv/boot/dts/nuclei/nuclei-demosoc.dtsi >>>>