Comment 2 for bug 1761372

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: backport needed for spectre/meltdown mitigation machine type qemu patches (kvm)

I'm still evaluating this (quite some time now), but I want to share the interim TL;DR for you to consider.

All those patches are part of a huge rewrite and handling of sprs.
Yes the series has "only" (already a lot) 7 patches, but it seems due to dependencies this easily will get 10 or even 20+.

We need to look out if we can achive that in a much better backport.
I understand that for 2.12 and later this was the right way to do.

But for the fix in 2.11 we will need:
- do not add a 2.12 type
- modify the 2.11 type instead
- stop rewriting almost all of the spr cap handling
- just set the sane defaults (not much more)

Only then this is maintainable without making 2.11 almost 2.12.
I'll take a further look after a call that starts now, but I'll likely need your help to achive the above.