lkml.org 
[lkml]   [2021]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
Date
On 18/10/2021 21:05, Sean Christopherson wrote:
> On Mon, Oct 18, 2021, Borislav Petkov wrote:
>> On Mon, Oct 18, 2021 at 07:29:41PM +0000, Sean Christopherson wrote:
>>> I agree. If the argument for this patch is that the kernel can be migrated to
>>> older hardware, then it stands to reason that the kernel could also be migrated
>>> to a different CPU vendor entirely. E.g. start on Intel, migrate to Zen1, kaboom.
>> Migration across vendors? Really, that works?
>>
>> I'll believe it only when I see it with my own eyes.
> There are plenty of caveats, but it is feasible. KVM even has a few patches that
> came about specifically to support cross-vendor migration, e.g. commit adc2a23734ac
> ("KVM: nSVM: improve SYSENTER emulation on AMD").

http://developer.amd.com/wordpress/media/2012/10/CrossVendorMigration.pdf

Yeah - it really did work back in the day.  For Xen PV guests, it still
largely works today, because the most obvious vendor specifics were
already abstracted away in the PV ABI.

Of course, none of this has remotely survived the speculation
apocalypse.  A cross-vendor VM has 0 chance of getting speculation
safety working.

~Andrew

\
 
 \ /
  Last update: 2021-10-18 22:21    [W:0.038 / U:5.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site