[PATCH] arm: Introduce current_pl() on ARM32 and compatibility current_el()

Tom Rini trini at konsulko.com
Sat Mar 28 00:06:26 CET 2026


On Mon, 16 Mar 2026 00:50:33 +0100, Marek Vasut wrote:

> The ARM32 has PLx Privilege Levels instead of Exception Levels present
> on ARM64. Introduce current_pl() function which reports the current PL
> on ARM32.
> 
> Introduce current_el() for ARM32 as well and current_pl() for ARM64
> which each call the other matching function. This is mainly mean to
> allow code like this to compile and retain compile time code coverage:
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] arm: Introduce current_pl() on ARM32 and compatibility current_el()
      commit: c3c082aa437d077ab103a8f841137ac3a6fa57e2
-- 
Tom




More information about the U-Boot mailing list