Re: [PATCH] KVM: s390: Fix potential spectre warnings

Christian Borntraeger
2019-04-17T13:10:38Z

On 17.04.19 15:09, Paolo Bonzini wrote:
> On 17/04/19 02:54, Eric Farman wrote:
>> Fix some warnings from smatch:
>>
>> arch/s390/kvm/interrupt.c:2310 get_io_adapter() warn: potential spectre issue 'kvm->arch.adapters' [r] (local cap)
>> arch/s390/kvm/interrupt.c:2341 register_io_adapter() warn: potential spectre issue 'dev->kvm->arch.adapters' [w]
>>
>> Signed-off-by: Eric Farman <farman@linux.ibm.com>
>> ---
>> A recent patch from Paolo [1] acted as a reminder (thanks, Christian!)
>> that I had one for the s390 KVM code after some code reviews [2].
>> Let's clean that up.
>
> Spectrev1 is a gift that keeps on giving... I suppose Christian will
> queue this one and I don't have anything to do here.

Yes, will just wait until the review has settled.