Re: tip/master falls off NOP cliff with KPTI under KVM

From: Dexuan-Linux Cui
Date: Wed Jan 24 2018 - 19:53:40 EST


On Wed, Jan 10, 2018 at 2:53 PM, Woodhouse, David <dwmw@xxxxxxxxxxxx> wrote:
> On Thu, 2018-01-11 at 01:34 +0300, Alexey Dobriyan wrote:
>>
>> Bisection points to
>>
>> f3433c1010c6af61c9897f0f0447f81b991feac1 is the first bad commit
>> commit f3433c1010c6af61c9897f0f0447f81b991feac1
>> Author: David Woodhouse <dwmw@xxxxxxxxxxxx>
>> Date: Tue Jan 9 14:43:11 2018 +0000
>>
>> x86/retpoline/entry: Convert entry assembler indirect jumps
>
> Thanks. We've fixed the underlying problem with the alternatives
> mechanism, *and* changed the retpoline code not to actually rely on
> said fix.

Hi David and all,
It looks the latest upstream tree did fix the issue.
Can you please specify the related commit(s) that fixed the issue?
I need to cherry-pick the fix. I suppose a quick reply from you would save
me a lot of time. :-)

Thanks!

-- Dexuan