Re: [PATCH v2] arm64: lockdep: enable checks for held locks when returning to userspace

From: Catalin Marinas
Date: Tue Jun 06 2023 - 13:30:26 EST


On Wed, 31 May 2023 09:09:09 +0000, Eric Chan wrote:
> Currently arm64 doesn't use CONFIG_GENERIC_ENTRY and doesn't call
> lockdep_sys_exit() when returning to userspace.
> This means that lockdep won't check for held locks when
> returning to userspace, which would be useful to detect kernel bugs.
>
> Call lockdep_sys_exit() when returning to userspace,
> enabling checking for held locks.
>
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: lockdep: enable checks for held locks when returning to userspace
https://git.kernel.org/arm64/c/ab1e29acdb33

--
Catalin