diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2025-04-01 07:06:41 +0000 |
---|---|---|
committer | Alexandre Ghiti <alexghiti@rivosinc.com> | 2025-04-01 07:06:41 +0000 |
commit | 004961843389e4d9447303910790dc2e6415899d (patch) | |
tree | ef786e51d38b7d91e345764320ae1f6106917049 /rust/helpers/build_bug.c | |
parent | 79ba5c1c7767a539f42c6f6db46961b0bec2bc03 (diff) | |
parent | a0d857205756af45abaf63ca15b2640f707d5e73 (diff) | |
download | linux-004961843389e4d9447303910790dc2e6415899d.tar.gz linux-004961843389e4d9447303910790dc2e6415899d.tar.bz2 linux-004961843389e4d9447303910790dc2e6415899d.zip |
Merge patch series "Add some validation for vector, vector crypto and fp stuff"
Conor Dooley <conor@kernel.org> says:
From: Conor Dooley <conor.dooley@microchip.com>
Yo,
This series is partly leveraging Clement's work adding a validate
callback in the extension detection code so that things like checking
for whether a vector crypto extension is usable can be done like:
has_extension(<vector crypto>)
rather than
has_vector() && has_extension(<vector crypto>)
which Eric pointed out was a poor design some months ago.
The rest of this is adding some requirements to the bindings that
prevent combinations of extensions disallowed by the ISA.
There's a bunch of over-long lines in here, but I thought that the
over-long lines were clearer than breaking them up.
Cheers,
Conor.
* patches from https://lore.kernel.org/r/20250312-abide-pancreas-3576b8c44d2c@spud:
dt-bindings: riscv: document vector crypto requirements
dt-bindings: riscv: add vector sub-extension dependencies
dt-bindings: riscv: d requires f
RISC-V: add f & d extension validation checks
RISC-V: add vector crypto extension validation checks
RISC-V: add vector extension validation checks
Link: https://lore.kernel.org/r/20250312-abide-pancreas-3576b8c44d2c@spud
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions