[PATCH fixes] riscv/purgatory: 4B align purgatory_start

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Thu Apr 3 09:20:34 PDT 2025


Hello:

This patch was applied to riscv/linux.git (for-next)
by Alexandre Ghiti <alexghiti at rivosinc.com>:

On Fri, 28 Mar 2025 09:53:11 +0100 you wrote:
> From: Björn Töpel <bjorn at rivosinc.com>
> 
> When a crashkernel is launched on RISC-V, the entry to purgatory is
> done by trapping via the stvec CSR. From riscv_kexec_norelocate():
> 
>   |  ...
>   |  /*
>   |   * Switch to physical addressing
>   |   * This will also trigger a jump to CSR_STVEC
>   |   * which in this case is the address of the new
>   |   * kernel.
>   |   */
>   |  csrw    CSR_STVEC, a2
>   |  csrw    CSR_SATP, zero
> 
> [...]

Here is the summary with links:
  - [fixes] riscv/purgatory: 4B align purgatory_start
    https://git.kernel.org/riscv/c/3f7023171df4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list