From: Lad Prabhakar <[email protected]>
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 <[email protected]>
---
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/[email protected]/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
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <[email protected]>:
On Fri, 1 Sep 2023 11:58:58 +0100 you wrote:
> From: Lad Prabhakar <[email protected]>
>
> 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 <[email protected]>
>
> [...]
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