[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180430162339.17143-1-boris.ostrovsky@oracle.com>
Date: Mon, 30 Apr 2018 12:23:35 -0400
From: Boris Ostrovsky <boris.ostrovsky@...cle.com>
To: linux-kernel@...r.kernel.org, xen-devel@...ts.xenproject.org
Cc: jgross@...e.com, Boris Ostrovsky <boris.ostrovsky@...cle.com>
Subject: [PATCH 0/4] PVH GDT fixes and cleanup
Switching to new binutils release triggered the first bug.
Not sure if stack canary bug is related to the new tools as well
(haven't checked it with old tools, but they are really old, from
Fedora 13 days).
64-bit guests run fine even without adding the entry for GS but my
guess is that's because Xen toolstack sets cached portions of the
register to sane values and HW makes fewer checks in long mode.
Since those values are not part of the ABI I figured I should fix
it for both 32- and 64-bit mode.
Boris Ostrovsky (4):
xen/PVH: Replace GDT_ENTRY with explicit constant
xen/PVH: Use proper CS selector in long mode
xen/PVH: Set up GS segment for stack canary
xen/PVH: Remove reserved entry in PVH GDT
arch/x86/xen/xen-pvh.S | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
--
2.9.3
Powered by blists - more mailing lists