On Mon, Nov 02, 2020 at 10:01:16AM -0800, Andy Lutomirski wrote:
On Mon, Nov 2, 2020 at 9:31 AM Sean Christopherson
<sean.j.christopherson@xxxxxxxxx> wrote:
Tao, this patch should probably be tagged RFC, at least until we can experiment
with the threshold on real silicon. KVM and kernel behavior may depend on the
accuracy of detecting actual attacks, e.g. if we can set a threshold that has
zero false negatives and near-zero false postives, then it probably makes sense
to be more assertive in how such VM-Exits are reported and logged.
If you can actually find a threshold that reliably mitigates the bug
and does not allow a guest to cause undesirably large latency in the
host, then fine. 1/10 if a tick is way too long, I think.
Yes, this was my internal review feedback as well. Either that got lost along
the way or I wasn't clear enough in stating what should be used as a placeholder
until we have silicon in hand.