diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2024-07-22 17:45:20 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-08-01 16:15:02 +0200 |
commit | 57e5c814e91577a464484cc4b1a56ff86371a713 (patch) | |
tree | f53a19788a616b48f2b9b761a9c86b98cdc4d15f /drivers/cache/Kconfig | |
parent | perf arch events: Fix duplicate RISC-V SBI firmware event name (diff) | |
download | linux-57e5c814e91577a464484cc4b1a56ff86371a713.tar.xz linux-57e5c814e91577a464484cc4b1a56ff86371a713.zip |
cache: StarFive: Require a 64-bit system
This has a bunch of {read,write}q() calls, so it won't work on 32-bit
systems. I don't think there's any 32-bit StarFive systems, so for now
just require 64-bit.
Fixes: cabff60ca77d ("cache: Add StarFive StarLink cache management")
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Link: https://lore.kernel.org/r/20240722154519.25375-2-palmer@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/cache/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig index 94abd8f632a7..db51386c663a 100644 --- a/drivers/cache/Kconfig +++ b/drivers/cache/Kconfig @@ -18,6 +18,7 @@ config STARFIVE_STARLINK_CACHE bool "StarFive StarLink Cache controller" depends on RISCV depends on ARCH_STARFIVE + depends on 64BIT select RISCV_DMA_NONCOHERENT select RISCV_NONSTANDARD_CACHE_OPS help |