From patchwork Thu Nov 30 15:19:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 17338 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp463641vqy; Thu, 30 Nov 2023 07:20:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUnWfushhnJZSGEVQcIZvz/WM6nFf+AHIq/YZRiIehr+G+Zx651L8f7qoFc8SroYj1AMY/ X-Received: by 2002:a17:90b:1a86:b0:285:9b85:45e4 with SMTP id ng6-20020a17090b1a8600b002859b8545e4mr18520955pjb.19.1701357618629; Thu, 30 Nov 2023 07:20:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701357618; cv=none; d=google.com; s=arc-20160816; b=EvM0k3dGlumK7DMD++auWqYkRoBGT7N+unut5Yvb5QX6vp6PknPOb+MI28fXI3NF6a mjnPlkK/r5ZIexDeweTv+X4BWc1KNdBVCxvUzuWkfrqEOeK324gSP70YkrRq2GO370PV vnBSev8Ej9CIugE0aSe/XJcKl2FbgN6KfRcppOFrfU8QyDPXp2qCgqB9/GYWPnJmcRsx j2ExID9gQeoqSigci3NIgI2HDBMpNFqiPCPG51hIYHaSWIQsEOikUuouGZYz8DeNqHkT whjhvJ7/jBzJXDuffB81UR3LK61Fb10j9F90F9cIQrziSjW7UJGTSHWR6Nb5vG5+OWsf A2gg== 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:date:subject:cc:to:from:dkim-signature; bh=umcOEKGECYpQBlUdbsEVmcT1M/LVbcCDI05+VTUKHOE=; fh=Ok4klyFUkgnj0eaKwSnCsCY6uP2ODAM3LCWCs6106jQ=; b=Tc6/8bnYTyxpUXRj/kXBZ3O3+A2A7ygqad2sOIS2Juf63MKfssGfREwyBbQxUABzf1 InWRIEXNnht7Ce2cf/b+U58XxUWyLglvA+TVSCGI+RvlEkjFr0hgpuZmX7z+EZW3lepe 9Bdv6JUoabgR7axL+c9/uyKiVhviEpSZ+SIJeaVCbeHJayKBsWN9WRcTiIzmqa2oZZTs sDOO8zuk5c6KVSmM42NE5Vz4Cv3R3ldZFyrG9fSRrLCJ6NXavz8uV/VNK1Q97y5j6PO4 qVnVSkvtiH1tqdfbsb9D3ZAw5EdIAs2GSHHFM8JVMFA6n0QjnBqSKksG9YFXXxcPdIJB Lpcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=bsIZfcxu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p6-20020a170902b08600b001cfda41729esi1334437plr.364.2023.11.30.07.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:20:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=bsIZfcxu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B87B080215BA; Thu, 30 Nov 2023 07:20:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346183AbjK3PTo (ORCPT + 99 others); Thu, 30 Nov 2023 10:19:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346190AbjK3PTm (ORCPT ); Thu, 30 Nov 2023 10:19:42 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F76C10F0 for ; Thu, 30 Nov 2023 07:19:48 -0800 (PST) Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) (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 smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 88FAC42241 for ; Thu, 30 Nov 2023 15:19:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1701357586; bh=umcOEKGECYpQBlUdbsEVmcT1M/LVbcCDI05+VTUKHOE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=bsIZfcxu6oOBMAxcaERG66KV7rpU3faN26czl6D3F3f7w/pLBBWnESFDUQDScqEaW OEByqrIKGnx8WhTHswd909isoHLLPOj+kzLkYdJOFJ3j5k135K1/vm6T5BEvwpPd5b tvWaB6dDsF4Md/vp71K8CZU8pyeTWT+efzB+66/FESBQ8mF7Ay/P/Xx3T8eoufbuc8 JnyK8aJZHbKvlbmAuIbOIvPsSyv2mwbyInfeCNXX9Qfi2YzKBxiQgitFhi7/bhu2+i UIMVAcmkwqkpKQpJ6U1ZMhyUKXuGYWBQ4fGEz0LFGeYavIZNwXh5V9B2D+4jPDPfKp dmw6K54h17C4g== Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-6cbcd3e9758so1102649b3a.2 for ; Thu, 30 Nov 2023 07:19:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701357585; x=1701962385; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=umcOEKGECYpQBlUdbsEVmcT1M/LVbcCDI05+VTUKHOE=; b=r8WO6NoheixL8zdObzalGxRHNYuyqck5b9a6VL/XdMlCMLC96Nkix1Grz+ntoCx6qp bu1pNtsMz2Jsb+FwJAg1ID1N2IIYTInnCejeiBwZUlNJOj0gBjOCoKMV/CI3W4Jt3DZx 8SJH3gxp31qbkPKpkqYPnHGmE2Kr2rRPrjGwZRnL0qiEJMkLWX6DYY5wHs54MEbFZG/x NB5rFGf2l66sKxd1n7ek5IhiJ3ERvsJCD5QG8Iz09J8f8NG1vdcO1YkepCBTeH8Rsvdb jhfHA2RBJk4LDyIoSQQQStxlT95qkPdRJbx2p0oHiskvgj3zyOkFvQ8Vg0Sa3FMKSO43 TRMQ== X-Gm-Message-State: AOJu0Yzl9coDdgi9zf7+A0Bv7/gxaItbX1ahxUc37Rv20l+OeL4aB1Q/ 6zW5eziXmYFOjiLoUTMTy5q0eFs8MBb9/gFiYCBdDw/VVo5HDP3jhjjN7/hOhp/62bQu7fYm4gE gxdhjmCKH5KD7UdSQ71SrfyLWa7dq40/kQ4euyiPY4Q== X-Received: by 2002:a05:6a20:7f98:b0:188:290d:17dc with SMTP id d24-20020a056a207f9800b00188290d17dcmr23726547pzj.60.1701357585115; Thu, 30 Nov 2023 07:19:45 -0800 (PST) X-Received: by 2002:a05:6a20:7f98:b0:188:290d:17dc with SMTP id d24-20020a056a207f9800b00188290d17dcmr23726523pzj.60.1701357584835; Thu, 30 Nov 2023 07:19:44 -0800 (PST) Received: from stitch.. ([80.71.140.73]) by smtp.gmail.com with ESMTPSA id y125-20020a636483000000b005bd3d6e270dsm1356002pgb.68.2023.11.30.07.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:19:44 -0800 (PST) From: Emil Renner Berthing To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Paul Walmsley , Palmer Dabbelt , Emil Renner Berthing , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Cristian Ciocaltea , Geert Uytterhoeven Subject: [PATCH v2 0/8] Add JH7100 errata and update device tree Date: Thu, 30 Nov 2023 16:19:24 +0100 Message-Id: <20231130151932.729708-1-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 07:20:12 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783671072489728157 X-GMAIL-MSGID: 1784002766360343107 Now that the driver for the SiFive cache controller supports manual flushing as non-standard cache operations[1] we can add an errata option for the StarFive JH7100 SoC and update the device tree with the cache controller, dedicated DMA pool and add MMC nodes for the SD-card and wifi. This series needs the following commit in [1] to work properly: 0d5701dc9cd6 ("soc: sifive: ccache: Add StarFive JH7100 support") ..and its parent for dtb_checks to pass. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/log/?h=riscv-soc-for-next Changes in v2: - Add Conor's ack on patch 1/8 - Add my SoB on patch 2/8 - Update commit message on patch 4/8 Emil Renner Berthing (7): riscv: errata: Add StarFive JH7100 errata riscv: dts: starfive: Mark the JH7100 as having non-coherent DMAs riscv: dts: starfive: Add JH7100 cache controller riscv: dts: starfive: Add pool for coherent DMA memory on JH7100 boards riscv: dts: starfive: Add JH7100 MMC nodes riscv: dts: starfive: Enable SD-card on JH7100 boards riscv: dts: starfive: Enable SDIO wifi on JH7100 boards Geert Uytterhoeven (1): riscv: dts: starfive: Group tuples in interrupt properties arch/riscv/Kconfig.errata | 17 +++ .../boot/dts/starfive/jh7100-common.dtsi | 131 ++++++++++++++++++ arch/riscv/boot/dts/starfive/jh7100.dtsi | 48 ++++++- 3 files changed, 192 insertions(+), 4 deletions(-)