]> 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:11:55 +0000 (17:11 +0000)
commit6c932a788cdca15494e1c9d06c7befacf1583a2a
tree0922efcaf5c59e4690606213a75419cbf1e8713b
parentd220178b3cad69a4d9a6bd0ec80bca75ff701586
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