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

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jul 11 00:00:03 PDT 2019


commit cc30c1c2da190c25004a7f8995cae80516597dde
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/cc30c1c2da190c25004a7f8995cae80516597dde


-- 
DragonFly BSD source repository



More information about the Commits mailing list