lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7372f74b-ad5a-4545-9d48-b5eed9005557@infradead.org>
Date:   Thu, 30 Nov 2023 09:04:29 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Conor Dooley <conor@...nel.org>
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linux-riscv <linux-riscv@...ts.infradead.org>,
        Geert Uytterhoeven <geert@...ux-m68k.org>,
        "Lad, Prabhakar" <prabhakar.csengg@...il.com>
Subject: Re: linux-next: Tree for Nov 22 (riscv: DMA_GLOBAL_POOL)



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 <rdunlap@...radead.org> # build-tested

Thanks.

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ