Re: [PATCH] RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path

patchwork-bot+linux-riscv
2022-12-08T23:50:31Z

Hello:

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

On Fri, 11 Nov 2022 17:31:08 -0500 you wrote:
> The return to userspace path in entry.S may enable interrupts without the
> corresponding lockdep annotation, producing a splat[0] when DEBUG_LOCKDEP
> is enabled. Simply calling __trace_hardirqs_on() here gets a bit messy
> due to the use of RA to point back to ret_from_exception, so just move
> the whole slow-path loop into C. It's more readable and it lets us use
> local_irq_{enable,disable}(), avoiding the need for manual annotations
> altogether.
>
> [...]

Here is the summary with links:
- RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path
https://git.kernel.org/riscv/c/b0f4c74eadbf

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.