Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
From 30fb5963f4cf3b7d114a8212358147615480685c Mon Sep 17 00:00:00 2001
|
||||
From: Emil Renner Berthing <emil.renner.berthing@canonical.com>
|
||||
Date: Thu, 30 Nov 2023 16:19:25 +0100
|
||||
Subject: [PATCH 1017/1024] riscv: errata: Add StarFive JH7100 errata
|
||||
|
||||
This not really an errata, but since the JH7100 was made before
|
||||
the standard Zicbom extension it needs the DMA_GLOBAL_POOL and
|
||||
RISCV_NONSTANDARD_CACHE_OPS enabled to work correctly.
|
||||
|
||||
Acked-by: Conor Dooley <conor.dooley@microchip.com>
|
||||
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
|
||||
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
|
||||
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
|
||||
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
|
||||
---
|
||||
arch/riscv/Kconfig.errata | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
--- a/arch/riscv/Kconfig.errata
|
||||
+++ b/arch/riscv/Kconfig.errata
|
||||
@@ -53,6 +53,23 @@ config ERRATA_SIFIVE_CIP_1200
|
||||
|
||||
If you don't know what to do here, say "Y".
|
||||
|
||||
+config ERRATA_STARFIVE_JH7100
|
||||
+ bool "StarFive JH7100 support"
|
||||
+ depends on ARCH_STARFIVE && NONPORTABLE
|
||||
+ select DMA_GLOBAL_POOL
|
||||
+ select RISCV_DMA_NONCOHERENT
|
||||
+ select RISCV_NONSTANDARD_CACHE_OPS
|
||||
+ select SIFIVE_CCACHE
|
||||
+ default n
|
||||
+ help
|
||||
+ The StarFive JH7100 was a test chip for the JH7110 and has
|
||||
+ caches that are non-coherent with respect to peripheral DMAs.
|
||||
+ It was designed before the Zicbom extension so needs non-standard
|
||||
+ cache operations through the SiFive cache controller.
|
||||
+
|
||||
+ Say "Y" if you want to support the BeagleV Starlight and/or
|
||||
+ StarFive VisionFive V1 boards.
|
||||
+
|
||||
config ERRATA_THEAD
|
||||
bool "T-HEAD errata"
|
||||
depends on RISCV_ALTERNATIVE
|
||||
Reference in New Issue
Block a user