Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3446972rdb; Wed, 13 Sep 2023 12:15:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEcG7Qa0fgbtpwTwBXKhmCzGE/D3ZOe8Rpwmxn4Ew22LxFllj+xMzUjeJgZSBh68XKMtu9 X-Received: by 2002:a17:902:f690:b0:1c3:c687:478a with SMTP id l16-20020a170902f69000b001c3c687478amr3784682plg.2.1694632520347; Wed, 13 Sep 2023 12:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694632520; cv=none; d=google.com; s=arc-20160816; b=rYD7aD7x9eNCMJNugOcZYN6bcISn15gbbdeNhqotxYqsfKoQU0PrpnxXsDhHish4rn JIMDSuhXM2ap7DwSfMPzMKO3FchumBd32XdxkDLCHsFpVHZP86sQuA9ld/3egh67BkLe CueydbF3vLCrov8cDhkvMAebJUGw8rKyeBdcKO+QSv085vf6GUJ8s7tLPGTq9B2w0aGN lfjvNO8RedQA+aaejEy+CGAj75k/QBYrSdpGGPv7hTRRoojLaQCloBvZLduDTdyN6AvV tWSlDCLlKg4d8TJStZQVT87PBhZ80QJBj+Z781vTTWPEiYK1vdHKQYsWddtcQh+sbZNa 7hNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=x+ImhQ2BecNf5FtNH4WGTQsf3AK3ImSgCrr3lp4BwpQ=; fh=fksL3P8YOG0HRKGHSh80gPaKtvxFfGIUlbTM4QjxOoc=; b=FcNx728v2PYPW0J5Xn87RUTU+r/MqP+BsGeKJl8OArdXwckwl0tqUr6CVXQH4bOgtp OAqxcH9ne+Wfy2bmmKEeX1Glg5dSmPrcl4YbYbAmDIjo/RuSEqf5QDXSsbyf98b7J98v 1YYcmKaXot+DLS27bwafiYOo61xJCEJcbv+10SgzpNd/1ePd0PajRxdalpE6gvlfja/T hgfaORN5Ebu+SCiKOznf5ZkaMaVPZ1YeTF6zd+G4usT3RCmhRbuuvoAwbobvIyC1lWHE 3Sdi/scIYQpm+n0UY2AYF0SLjYneY7tHERIOXITQu5nqVuyYrkhevbyUxlBLklOwSLEI GP9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mwhYSI/N"; 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=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id t7-20020a1709027fc700b001bbad1883d5si10778241plb.293.2023.09.13.12.15.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 12:15:20 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="mwhYSI/N"; 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=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E7A1082DAD16; Wed, 13 Sep 2023 08:28:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229478AbjIMP2B (ORCPT + 99 others); Wed, 13 Sep 2023 11:28:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjIMP2B (ORCPT ); Wed, 13 Sep 2023 11:28:01 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D673E54; Wed, 13 Sep 2023 08:27:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCE31C433C8; Wed, 13 Sep 2023 15:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694618876; bh=2y+HoufOHHUVUfMzbkjqlYospySETxzf4s/h/0ToUik=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mwhYSI/NopuKBkart4AAsJuHdwYJgbyn/73+4F5K8xdZle0iVLbgMRjqlMFlyqrhC h9Hrs8dGe2NFfPkiEvg08LeRLvjU6ea2l6Cu4KBjlIT+FpUPSwhcuKB11KVFxuqILl OOczz6ZeIWsx33bUT74kJVbk6TowG3CFVaAw3oeVm2f+9gWQnh3NVISAKJAFnjSu4Y D3pNU6PYDiqB8Arc87uaE5sznBFgjdvJE8svk/MU6UUTozDDdaqyGBWlh4mPZQmQMC BjUY0rXv6GcRQ7APLBvUArlBQ+Qs25AFdXnNWegiWC68ofqVAidFyh1MpOX8+6Wfve B2T/5GzAM4c6g== Date: Wed, 13 Sep 2023 23:15:57 +0800 From: Jisheng Zhang To: Conor Dooley Cc: Guo Ren , Fu Wei , 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 Subject: Re: [PATCH v2] riscv: dts: thead: set dma-noncoherent to soc bus Message-ID: References: <20230912072232.2455-1-jszhang@kernel.org> <20230912-trailing-pampered-52738ec6f009@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230912-trailing-pampered-52738ec6f009@spud> 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]); Wed, 13 Sep 2023 08:28:05 -0700 (PDT) On Tue, Sep 12, 2023 at 05:27:31PM +0100, Conor Dooley wrote: > On Tue, Sep 12, 2023 at 03:22:32PM +0800, 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 > > Does this mean you're expecting me to take this? Hi Conor, I think I will take this and send PR to soc people. The reason I send v2 is the rebasing on new rc1 and v1 wasn't in linux-riscv mailist due to typo; Thank you so much > > > > > 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 = <&plic>; > > #address-cells = <2>; > > #size-cells = <2>; > > + dma-noncoherent; > > ranges; > > > > plic: interrupt-controller@ffd8000000 { > > -- > > 2.40.1 > >