]> xenbits.xensource.com Git - xen.git/commit
x86/setup: Read CR4 earlier in __start_xen()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 1 Nov 2021 10:19:57 +0000 (10:19 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 25 Mar 2022 17:10:38 +0000 (17:10 +0000)
commit473f7cb1a1a0299ebbc243e52d407a990936f79a
tree3056a08302374064e83321987125be20423412b9
parent96233cf87b4ead3f6480ed21c3ed2836dcc29418
x86/setup: Read CR4 earlier in __start_xen()

This is necessary for read_cr4() to function correctly.  Move the EFER caching
at the same time.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 9851bc4939101828d2ad7634b93c0d9ccaef5b7e)
xen/arch/x86/setup.c