diff options
author | Andy Chiu <[email protected]> | 2023-06-05 11:07:08 +0000 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-06-08 07:16:44 -0700 |
commit | cd054837243b5f36ff395c21135ff153871180f1 (patch) | |
tree | 101828d8efbf173f12cb8a4faa58dbc0b093d209 /scripts/clang-tools/gen_compile_commands.py | |
parent | 3a2df6323defbb42234aaae804a8ad6af397016a (diff) |
riscv: Allocate user's vector context in the first-use trap
Vector unit is disabled by default for all user processes. Thus, a
process will take a trap (illegal instruction) into kernel at the first
time when it uses Vector. Only after then, the kernel allocates V
context and starts take care of the context for that user process.
Suggested-by: Richard Henderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andy Chiu <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions