Re: [PATCH 0/4] KVM: x86: kvm_mwait_in_guest() cleanup and fixes

From: Alexander Graf
Date: Wed May 03 2017 - 15:46:12 EST




On 03.05.17 21:37, Radim KrÄmÃÅ wrote:
kvm_mwait_in_guest() was overcomplicated and also missed one AMD bug
that should prevent MWAIT pass through.

This series ignores errata that don't have any Linux bug defined;
I know of two minor (not affecting the host) Core 2 errata:
AG36. Split Locked Stores May not Trigger the Monitoring Hardware
AG106. A REP STOS/MOVS to a MONITOR/MWAIT Address Range May Prevent
Triggering of the Monitoring Hardware

None of them are really worthy of a new condition if Linux never hit
them ... we still have the OS X bug that Gabriel is hitting, but I'm ok
with the original approach that sacrificed it for "greater good".

I like the series :)

Reviewed-by: Alexander Graf <agraf@xxxxxxx>


Alex