Re: [PATCH v2 1/2] riscv: Fix crash during early errata patching

From: patchwork-bot+linux-riscv
Date: Fri Dec 09 2022 - 14:00:23 EST


Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Sat, 26 Nov 2022 00:09:19 -0600 you wrote:
> The patch function for the T-Head PBMT errata calls __pa_symbol() before
> relocation. This crashes when CONFIG_DEBUG_VIRTUAL is enabled, because
> __pa_symbol() forwards to __phys_addr_symbol(), and __phys_addr_symbol()
> checks against the absolute kernel start/end address.
>
> Fix this by checking against the kernel map instead of a symbol address.
>
> [...]

Here is the summary with links:
- [v2,1/2] riscv: Fix crash during early errata patching
https://git.kernel.org/riscv/c/61b2f0bdaa3c
- [v2,2/2] riscv: Move cast inside kernel_mapping_[pv]a_to_[vp]a
https://git.kernel.org/riscv/c/583286e2072e

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