Commit 6d1065bc authored by Eric Biggers's avatar Eric Biggers Committed by Treehugger Robot
Browse files

UPSTREAM: RISC-V: fix check for zvkb with tip-of-tree clang



LLVM commit 8e01042da9d3 ("[RISCV] Add missing dependency check for Zvkb
(#79467)") broke the check used by the TOOLCHAIN_HAS_VECTOR_CRYPTO
kconfig symbol because it made zvkb start depending on v or zve*.  Fix
this by specifying both v and zvkb when checking for support for zvkb.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240127090055.124336-1-ebiggers@kernel.org


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>

(cherry picked from commit 886516fa)
Bug: 332317531
Test: For whole topic: booted kernel in QEMU and ran crypto self-tests
Change-Id: I10f4512e0537596627a0e76adc26e4268e8f64c2
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent 99ef7f71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment