From patchwork Tue Oct 17 13:59:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 13425214 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4234CCDB483 for ; Tue, 17 Oct 2023 13:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vGsCYe9xzSLbwtHHmNMiegcWdkZ4CTsoIKPBkXJ6EH8=; b=bbvxRIqkT+xCFI IV3vh+N7wq9/7khkehKr6Df534YNAdl1pU0ger1dQ7PJPBBUww7gA0wqyO28F7xfhxdNT+gneVj7M QJPu3foMgPExyxUyr1R93HjyIKgQ8dif26RfaPbq5ReFKX3iFPF6WRkM9Ysj1ZOAQIv5ggCb3rDal Jrd0QHS/axn0KZhuuzSXKQ9q3Q9NefEDMYC3d6yjPw0GVzQhkX10/maaRc6wnm0fT65hNj2dJatQy tTmV0zG2gDXYzAkDcOJ1Z97TwH5H188YUysw4GSUWW79Lv1PIH0dn4PC6haySeWFKYK9ZgwZy2DUM mb1xuJxd6AsIruxY7x/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qskbq-00CTYz-07; Tue, 17 Oct 2023 13:59:46 +0000 Received: from 213-147-166-120.nat.highway.webapn.at ([213.147.166.120] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qskbo-00CTXx-0o; Tue, 17 Oct 2023 13:59:44 +0000 From: Christoph Hellwig To: Paul Walmsley , Palmer Dabbelt , Conor Dooley , Geert Uytterhoeven , Magnus Damm Cc: linux-riscv@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Arnd Bergmann , Olof Johansson , soc@kernel.org, Lad Prabhakar , Conor Dooley Subject: [PATCH 3/3] soc: renesas: ARCH_R9A07G043 depends on !RISCV_ISA_ZICBOM Date: Tue, 17 Oct 2023 15:59:26 +0200 Message-Id: <20231017135926.1240101-4-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231017135926.1240101-1-hch@lst.de> References: <20231017135926.1240101-1-hch@lst.de> MIME-Version: 1.0 X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org ARCH_R9A07G043 has its own non-standard global pool based DMA coherent allocator, which conflicts with the remap based RISCV_ISA_ZICBOM version. Add a proper dependency. Signed-off-by: Christoph Hellwig Reviewed-by: Lad Prabhakar Acked-by: Conor Dooley Acked-by: Geert Uytterhoeven --- drivers/soc/renesas/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 335251ff6e8214..624185e09c967b 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -341,6 +341,7 @@ config ARCH_R9A07G043 bool "RISC-V Platform support for RZ/Five" depends on NONPORTABLE depends on RISCV_ALTERNATIVE + depends on !RISCV_ISA_ZICBOM depends on RISCV_SBI select ARCH_RZG2L select AX45MP_L2_CACHE