]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/kexec: Eliminate writes through kernel mapping of relocate_kernel page
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 22 Nov 2024 11:59:12 +0000 (11:59 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 5 Dec 2024 15:05:07 +0000 (15:05 +0000)
commitde74d67746f3f5922478dba088646391e8c2c6d3
tree1b5d414d26ad80a7c4cd2d5143d8155ebbd60781
parent2fa024e0e6fa956b9f5170d312321405c791fadc
x86/kexec: Eliminate writes through kernel mapping of relocate_kernel page

All writes to the relocate_kernel control page are now done *after* the
%cr3 switch via simple %rip-relative addressing, which means the DATA()
macro with its pointer arithmetic can also now be removed.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/kernel/relocate_kernel_64.S