Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp459026rdb; Thu, 30 Nov 2023 09:04:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFppKiQxBSFizoPMFzcz25HOsJOWhQ789JYadksx4jtJ/ifp88XX0PqEDGarL0GSuUqumg0 X-Received: by 2002:a05:6820:1ac8:b0:58d:a4ca:4d5f with SMTP id bu8-20020a0568201ac800b0058da4ca4d5fmr170419oob.9.1701363894330; Thu, 30 Nov 2023 09:04:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701363894; cv=none; d=google.com; s=arc-20160816; b=vr6KIo9HvYe1A07N6adfbzXjh3cB3sVqCglu6ZSVZbTliUp5Hh0+nDOwA5fneo7R15 S7Sj5rr8d5YcoJ7dvkHXNJJvd21+C4O49w5/zKimY8k6y6779uOQW3fL7nRF3DeKlM2B Kf9YwXJ6NaYOtwYSV4SFXepqI5O4euCCuW/ykFNlH1a06ljn+5M5dtwGILbQqwmvGK49 cVmezh627iF6j+kcW4xCAGWEh6MldPEG6/8Komu+A+MHcL4sTVqZl0xXFWYJVT199y5p S3rKF7D+zjnE5vZAQ9uMAU5ukZj/G6bDxWLnncowwcrAHMPW8hy+I/bAvJYPSrquHd/B FX6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wSqy0hl8ZT3+9h1bJsk1M8ldjSvDnJV7+3F0R1CUdo0=; fh=eyyrhTXskCux8LfltMrqwV9pjbWx3JK9RdYhp1lzDNU=; b=cudz5brQN9CPWSD2yoPdH/0gR4um35Yru56S7cnDHkjTcjEUD/m2LuCngcV2K3evcw da8ua7NxXNu/XiYmBPEdMDO6HQbsiZAcQ9zkzmVJceDRTlGk5/7fr/Y/PWUwxq/JQIQG l8wNeQfWQSy7UCVICqQSuUI8YumSs+TLkkf7f7pHWwFD21Tk2b5hEicvCKAPG56tazPG fsJDaaM1i8nxnPHOxBKD0Mm2d0NUqW6xAP/1uwl6SF4JvIAF8fljiVm6WeseIEBz9Koj A5FJrauk2yOSCzP9FE7w5jBOh3D8S+K+7jJHubtz5QJUtN1bFDJRxskUeEa+7va1kIfj 1Jug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=tzIkJcCY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id d25-20020a4a8219000000b0058dc233e9b7si546653oog.68.2023.11.30.09.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 09:04:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=tzIkJcCY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D45CE80D6ACA; Thu, 30 Nov 2023 09:04:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345811AbjK3REd (ORCPT + 99 others); Thu, 30 Nov 2023 12:04:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232292AbjK3REc (ORCPT ); Thu, 30 Nov 2023 12:04:32 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1160CD7D; Thu, 30 Nov 2023 09:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=wSqy0hl8ZT3+9h1bJsk1M8ldjSvDnJV7+3F0R1CUdo0=; b=tzIkJcCYDXdMzyT27WbjnR5MkQ 5PDWa7mdvzjYOxU6D+j91fZXxGryt7Cq4IWR0CEKj7O06eA15jeZWDwFa/ZfLBGqxtta3zl78B/V4 7gukNDmQUVJlhZvsrduWvM+rlGl25rLHzUtWemS6fWXW9fsd5nWF7Q8dPI4Cr74Hvq2Ja8qgzJDXX WoZDAHgxXpEmwgygthk9tVIP7/eFDpnBpfuHch1iw7ef3pOP8vuBBQYgAaX4VT5Fn/AeX0bE3wT3e yaAeh+pNprIJym0ZZQwet/Jkrh9qQdqDLgEv9hq3fLFC5dvgK9+m4cCEGkAHaKbPtnv4nnSNJv+hn ap1JfNRQ==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1r8kSl-00BSYN-0d; Thu, 30 Nov 2023 17:04:31 +0000 Message-ID: <7372f74b-ad5a-4545-9d48-b5eed9005557@infradead.org> Date: Thu, 30 Nov 2023 09:04:29 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: Tree for Nov 22 (riscv: DMA_GLOBAL_POOL) Content-Language: en-US To: Conor Dooley Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-riscv , Geert Uytterhoeven , "Lad, Prabhakar" References: <20231122145257.6f668afa@canb.auug.org.au> <24942b4d-d16a-463f-b39a-f9dfcb89d742@infradead.org> <20231130-mothproof-tripod-fe35364591ee@spud> From: Randy Dunlap In-Reply-To: <20231130-mothproof-tripod-fe35364591ee@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 30 Nov 2023 09:04:50 -0800 (PST) On 11/30/23 08:35, Conor Dooley wrote: > On Wed, Nov 22, 2023 at 02:37:43PM -0800, Randy Dunlap wrote: >> >> >> On 11/21/23 19:52, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20231121: >>> >> >> on riscv 32-bit: >> >> WARNING: unmet direct dependencies detected for DMA_GLOBAL_POOL >> Depends on [n]: !ARCH_HAS_DMA_SET_UNCACHED [=n] && !DMA_DIRECT_REMAP [=y] >> Selected by [y]: >> - ARCH_R9A07G043 [=y] && SOC_RENESAS [=y] && RISCV [=y] && NONPORTABLE [=y] && RISCV_ALTERNATIVE [=y] && !RISCV_ISA_ZICBOM [=n] && RISCV_SBI [=y] >> >> WARNING: unmet direct dependencies detected for DMA_GLOBAL_POOL >> Depends on [n]: !ARCH_HAS_DMA_SET_UNCACHED [=n] && !DMA_DIRECT_REMAP [=y] >> Selected by [y]: >> - ARCH_R9A07G043 [=y] && SOC_RENESAS [=y] && RISCV [=y] && NONPORTABLE [=y] && RISCV_ALTERNATIVE [=y] && !RISCV_ISA_ZICBOM [=n] && RISCV_SBI [=y] > > DMA_DIRECT_REMAP is selected by the T-HEAD CMO erratum. > DMA_GLOBAL_POOL by the Andes CMO erratum. > > We could do > > diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig > index 0071864c2111..d8723fdf1e55 100644 > --- a/drivers/soc/renesas/Kconfig > +++ b/drivers/soc/renesas/Kconfig > @@ -339,6 +339,7 @@ if RISCV > > config ARCH_R9A07G043 > bool "RISC-V Platform support for RZ/Five" > + depends on !DMA_DIRECT_REMAP > depends on NONPORTABLE > depends on RISCV_ALTERNATIVE > depends on !RISCV_ISA_ZICBOM OK, that works for me. Tested-by: Randy Dunlap # build-tested Thanks. -- ~Randy