diff options
| author | yang.zhang <[email protected]> | 2024-05-08 02:24:45 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-07-12 15:55:31 +0000 |
| commit | 6ad8735994b854b23c824dd6b1dd2126e893a3b4 (patch) | |
| tree | ac7f0f50e084f260c1b9cd60f2dd741a2c340b63 /scripts/generate_rust_analyzer.py | |
| parent | Merge patch series "riscv: Apply Zawrs when available" (diff) | |
| download | kernel-6ad8735994b854b23c824dd6b1dd2126e893a3b4.tar.gz kernel-6ad8735994b854b23c824dd6b1dd2126e893a3b4.zip | |
riscv: set trap vector earlier
The exception vector of the booting hart is not set before enabling
the mmu and then still points to the value of the previous firmware,
typically _start. That makes it hard to debug setup_vm() when bad
things happen. So fix that by setting the exception vector earlier.
Reviewed-by: Alexandre Ghiti <[email protected]>
Signed-off-by: yang.zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
