* [PATCH] riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config
@ 2023-09-01 10:58 Prabhakar
2023-09-01 11:45 ` Geert Uytterhoeven
2023-09-06 2:50 ` patchwork-bot+linux-riscv
0 siblings, 2 replies; 3+ messages in thread
From: Prabhakar @ 2023-09-01 10:58 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Conor Dooley,
Geert Uytterhoeven, linux-riscv
Cc: linux-kernel, Prabhakar, Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Now that RISCV_DMA_NONCOHERENT conditionally selects DMA_DIRECT_REMAP
ie only if MMU is enabled, we no longer need the MMU dependency in
ERRATA_ANDES_CMO config.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
Note, this patch needs to be applied only if patch [1] is accepted or else
we might see build issues with randconfig.
[1] https://lore.kernel.org/linux-riscv/20230901105111.311200-1-prabhakar.mahadev-lad.rj@bp.renesas.com/T/#u
---
arch/riscv/Kconfig.errata | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/Kconfig.errata b/arch/riscv/Kconfig.errata
index 92c779764b27..bee5d838763b 100644
--- a/arch/riscv/Kconfig.errata
+++ b/arch/riscv/Kconfig.errata
@@ -12,7 +12,7 @@ config ERRATA_ANDES
config ERRATA_ANDES_CMO
bool "Apply Andes cache management errata"
- depends on ERRATA_ANDES && MMU && ARCH_R9A07G043
+ depends on ERRATA_ANDES && ARCH_R9A07G043
select RISCV_DMA_NONCOHERENT
default y
help
--
2.34.1
_______________________________________________
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: [PATCH] riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config
2023-09-01 10:58 [PATCH] riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config Prabhakar
@ 2023-09-01 11:45 ` Geert Uytterhoeven
2023-09-06 2:50 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2023-09-01 11:45 UTC (permalink / raw)
To: Prabhakar
Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Conor Dooley,
Geert Uytterhoeven, linux-riscv, linux-kernel, Lad Prabhakar
On Fri, Sep 1, 2023 at 12:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Now that RISCV_DMA_NONCOHERENT conditionally selects DMA_DIRECT_REMAP
> ie only if MMU is enabled, we no longer need the MMU dependency in
> ERRATA_ANDES_CMO config.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
_______________________________________________
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: [PATCH] riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config
2023-09-01 10:58 [PATCH] riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config Prabhakar
2023-09-01 11:45 ` Geert Uytterhoeven
@ 2023-09-06 2:50 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-09-06 2:50 UTC (permalink / raw)
To: Prabhakar
Cc: linux-riscv, paul.walmsley, palmer, aou, conor.dooley,
geert+renesas, linux-kernel, prabhakar.mahadev-lad.rj
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Fri, 1 Sep 2023 11:58:58 +0100 you wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Now that RISCV_DMA_NONCOHERENT conditionally selects DMA_DIRECT_REMAP
> ie only if MMU is enabled, we no longer need the MMU dependency in
> ERRATA_ANDES_CMO config.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> [...]
Here is the summary with links:
- riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config
https://git.kernel.org/riscv/c/6fd57a739233
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
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-09-06 2:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01 10:58 [PATCH] riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config Prabhakar
2023-09-01 11:45 ` Geert Uytterhoeven
2023-09-06 2:50 ` patchwork-bot+linux-riscv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).