Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2643375rdb; Tue, 12 Sep 2023 08:02:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPmKtSN3pJXMLMNqWTb0uCI1ZBZQzTq13Cw+H21OVxmFEL3oijJL+gOqAp5Av5VQpIIITJ X-Received: by 2002:a05:6a21:7794:b0:121:e573:3680 with SMTP id bd20-20020a056a21779400b00121e5733680mr11886886pzc.62.1694530952132; Tue, 12 Sep 2023 08:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694530952; cv=none; d=google.com; s=arc-20160816; b=JyVq+j+y1mhB3TxkaQ3YBwbeo5ZrAjaqoomZtaV9JG6p7zOdC6cAT23klUbaqhgxoo JpQr7dXjCioFr7gyqHzW7ZN+eBg5Lba4IXX7kCCYJfAEpSJxPIgEHFwGGAgXLuhczMue jeNV9Rz1pfUImzBrsCfx33Ez4RQfY+OtRzz40IjgWcSmwL2UR8ivy4SRcITXUP0ordXl 8r86Vs9sZZBV7If81qsUwclZ5AOziB2flvpxAH3lR9wmpEy5V5rj3XE4CZIa7l1bjYVv FRgJetcIyqtsj71Eb49jqstir5WKdm+G0fZUXd+sBrC8zF8zSeEyaHNtIbRMNInaait9 dRfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uJ6h3rRsbwXnSqdIxe5xF56L3eQUcl9ZGVHFoE8vX/Y=; fh=Q5vnbFB12em6BW5vwXChGhh5uJKajUzBwP5D5AtRJNU=; b=YxJ8cyB7R7thugdhlbzf4AcD8Cxnbo3arz8EU9/tZiYLXJTBkGXx7fcgjh34fxaj/U twjqSvR24osL2YtWNrbvBPLpqNYqwq53iSHyy/8OcbDT9iUbwi+J0wXKF7QDCjSj7YMi BRvpXOZW4ettwFSLT+ZAI2jzutxrorSKYLJGhUbRHiazIRii3u3C5KbuGGeHabWRJ/ER AA2izTm5ogYADmWmDzgUivRMxErHpNjW0nQ59X2QLUyvI/C3muheYJzUFEHwz/IPUWiH tmGs1WR4KaEFYE8szvmMnrlZi6Wpm6HrvsfrDgQqEdDnuFO069TeLyiwZFZI9Cg5ai9C iQGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BnT6P8bq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z188-20020a6333c5000000b0056a750ed79csi7904878pgz.87.2023.09.12.08.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 08:02:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BnT6P8bq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E968B822E567; Tue, 12 Sep 2023 07:48:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236047AbjILOsr (ORCPT + 99 others); Tue, 12 Sep 2023 10:48:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235973AbjILOsq (ORCPT ); Tue, 12 Sep 2023 10:48:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4404118; Tue, 12 Sep 2023 07:48:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46BC7C433C9; Tue, 12 Sep 2023 14:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694530122; bh=cmSPSl39QvQWa9g5ChH12ssAtfBX5/uCF9PBN3Ez2xQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BnT6P8bqM5sL2QvwI+sVkJr7+ekVJ4PXmyVU1PffoAkwPm+tYCH40tWcw7Bzux13x 6Cd3lBCVzIkfXm9cJz9GsXTIIA6GN7GHlykWQnWhXHPA24PKstr/Q3tWnbi5zbTzpD 5cFJUNy6AGtRXZO4gLxHEE2JMTejmzgRVahYWoopckgqA0He8ihkoMoiNt7r75SoaS kqsUbiJnuzBSkjhXfPVzr+KNGzDgQ5Qs7eYBu24hEm0afOjJSrSlih5N6iQOpr09G8 CycpQGOv0OF+ed1ptB8IfErA5e+WFWYAK+kPPQiFGNc4QdLuAb5mMOWlafz9eAey1d zxqB6kd25mpsA== Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-52a5c0d949eso7266507a12.0; Tue, 12 Sep 2023 07:48:42 -0700 (PDT) X-Gm-Message-State: AOJu0YzGsTduYXqZa4v6jviZ0nbhgbi2G3lf8gLQ1FbxAU5P/2iXpLi9 cQ7Tq97kuFsqNn3sxITFMi7v4iox76hJ1nTBL4U= X-Received: by 2002:a05:6402:795:b0:52a:1d9c:83f2 with SMTP id d21-20020a056402079500b0052a1d9c83f2mr11415348edy.23.1694530120667; Tue, 12 Sep 2023 07:48:40 -0700 (PDT) MIME-Version: 1.0 References: <20230912072232.2455-1-jszhang@kernel.org> In-Reply-To: <20230912072232.2455-1-jszhang@kernel.org> From: Guo Ren Date: Tue, 12 Sep 2023 22:48:27 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] riscv: dts: thead: set dma-noncoherent to soc bus To: Jisheng Zhang Cc: Fu Wei , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Drew Fustini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 (pete.vger.email [0.0.0.0]); Tue, 12 Sep 2023 07:48:49 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email On Tue, Sep 12, 2023 at 3:34=E2=80=AFPM Jisheng Zhang = wrote: > > riscv select ARCH_DMA_DEFAULT_COHERENT by default, and th1520 isn't > dma coherent, so set dma-noncoherent to reflect this fact. > > Signed-off-by: Jisheng Zhang > Tested-by: Drew Fustini > --- > > Since v1: > - rebase on v6.6-rc1 > - collect Tested-by tag > > arch/riscv/boot/dts/thead/th1520.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/= thead/th1520.dtsi > index ce708183b6f6..ff364709a6df 100644 > --- a/arch/riscv/boot/dts/thead/th1520.dtsi > +++ b/arch/riscv/boot/dts/thead/th1520.dtsi > @@ -139,6 +139,7 @@ soc { > interrupt-parent =3D <&plic>; > #address-cells =3D <2>; > #size-cells =3D <2>; > + dma-noncoherent; Reviewed-by: Guo Ren > ranges; > > plic: interrupt-controller@ffd8000000 { > -- > 2.40.1 > --=20 Best Regards Guo Ren