[PATCH] arm64: avoid executing padding bytes during kexec / hibernation (WAS: Re: ? FAIL (91/181 SKIPPED): Test report for for-kernelci (6.2.0-rc5, arm-next, 2e84eedb))

Catalin Marinas catalin.marinas at arm.com
Fri Jan 27 09:46:55 PST 2023


On Fri, Jan 27, 2023 at 12:14:10PM +0000, Mark Rutland wrote:
> From 8c82c71d810be311f10703b91563a301e56be910 Mon Sep 17 00:00:00 2001
> From: Mark Rutland <mark.rutland at arm.com>
> Date: Fri, 27 Jan 2023 11:08:20 +0000
> Subject: [PATCH] arm64: avoid executing padding bytes during kexec /
>  hibernation
> 
> Currently we rely on the HIBERNATE_TEXT section starting with the entry
> point to swsusp_arch_suspend_exit, and the KEXEC_TEXT section starting
> with the entry point to arm64_relocate_new_kernel. In both cases we copy
> the entire section into a dynamically-allocated page, and then later
> branch to the start of this page.

Queued on top of the arm64 for-next/ftrace branch. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list