[PATCH] arm64: hibernate: pass HVC_SET_VECTORS args to the resume hvc

Will Deacon will at kernel.org
Wed Sep 9 09:15:20 PDT 2026


On Sun, 09 Aug 2026 21:36:15 +0000, Bradley Morgan wrote:
> swsusp_arch_suspend_exit() reinstalls the restored kernel's hyp stub
> vectors with an hvc, but never passes the arguments. x0 is not set to
> HVC_SET_VECTORS and x1 is not set to the vector address, so the stub
> dispatch falls through and returns without writing vbar_el2. EL2 is
> left pointing at the trans_pgd copy of the vectors, a page that
> swsusp_free() releases right after resume.
> 
> [...]

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

[1/1] arm64: hibernate: pass HVC_SET_VECTORS args to the resume hvc
      https://git.kernel.org/arm64/c/955d86e5f3b9

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list