git: Kernel - Temporarily move sigtramp lower

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Mar 29 10:01:40 PDT 2017


commit b48dd28447fc8ef62fbc963accd301557fd9ac20
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Mar 29 09:57:18 2017 -0700

    Kernel - Temporarily move sigtramp lower
    
    * There is a bug in Ryzen related to the kernel iretq'ing into a high user
      %rip address near the end of the user address space (top of user stack).
      This is a temporary workaround for the issue.
    
    * The original %rip for sigtramp was 0x00007fffffffffe0.  Moving it down
      to fa0 wasn't sufficient.  Moving it down to f00 moved the bug from nearly
      instant to taking a few hours to reproduce.  Moving it down to be0 it took
      a day to reproduce.  Moving it down to 0x00007ffffffffba0 (this commit)
      survived the overnight test.

Summary of changes:
 sys/platform/pc64/x86_64/sigtramp.s | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b48dd28447fc8ef62fbc963accd301557fd9ac20


-- 
DragonFly BSD source repository


More information about the Commits mailing list