git: kernel - Zen 2 - Make sure %fs's selector is loaded in AP bootstrap

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jul 10 23:59:52 PDT 2019


commit 1a923442efb8ded428689c89162631d739cf0548
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jul 10 23:57:02 2019 -0700

    kernel - Zen 2 - Make sure %fs's selector is loaded in AP bootstrap
    
    * Issue load_fs() in the AP bootstrap.  It appears that Zen 2 handles
      %fs in a weird way when the selector isn't loaded, causing the first
      wrmsr(MSR_FSBASE) to quietly fail, and possibly others too.
    
    * For good measure, also issue load_ds() and load_es().
    
    * Fixes DragonFlyBSD's boot on Zen 2.

Summary of changes:
 sys/platform/pc64/x86_64/mp_machdep.c | 5 +++++
 1 file changed, 5 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1a923442efb8ded428689c89162631d739cf0548


-- 
DragonFly BSD source repository



More information about the Commits mailing list