* Re: linux-next: Tree for Nov 22 (riscv: DMA_GLOBAL_POOL)
[not found] <20231122145257.6f668afa@canb.auug.org.au>
@ 2023-11-22 22:37 ` Randy Dunlap
2023-11-30 16:35 ` Conor Dooley
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2023-11-22 22:37 UTC (permalink / raw)
To: Stephen Rothwell, Linux Next Mailing List
Cc: Linux Kernel Mailing List, linux-riscv
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]
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]
Full randconfig file is attached.
--
~Randy
[-- Attachment #2: config-r2393.gz --]
[-- Type: application/gzip, Size: 29366 bytes --]
[-- Attachment #3: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: Tree for Nov 22 (riscv: DMA_GLOBAL_POOL)
2023-11-22 22:37 ` linux-next: Tree for Nov 22 (riscv: DMA_GLOBAL_POOL) Randy Dunlap
@ 2023-11-30 16:35 ` Conor Dooley
2023-11-30 17:04 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Conor Dooley @ 2023-11-30 16:35 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, Linux Next Mailing List,
Linux Kernel Mailing List, linux-riscv, Geert Uytterhoeven,
Lad, Prabhakar
[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]
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
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: linux-next: Tree for Nov 22 (riscv: DMA_GLOBAL_POOL)
2023-11-30 16:35 ` Conor Dooley
@ 2023-11-30 17:04 ` Randy Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-11-30 17:04 UTC (permalink / raw)
To: Conor Dooley
Cc: Stephen Rothwell, Linux Next Mailing List,
Linux Kernel Mailing List, linux-riscv, Geert Uytterhoeven,
Lad, Prabhakar
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@infradead.org> # build-tested
Thanks.
--
~Randy
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-30 17:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20231122145257.6f668afa@canb.auug.org.au>
2023-11-22 22:37 ` linux-next: Tree for Nov 22 (riscv: DMA_GLOBAL_POOL) Randy Dunlap
2023-11-30 16:35 ` Conor Dooley
2023-11-30 17:04 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox