Re: [PATCH v3 20/35] x86/bugs: Define attack vectors

From: Pawan Gupta
Date: Wed Feb 26 2025 - 16:52:03 EST


On Wed, Feb 26, 2025 at 10:01:29PM +0100, Borislav Petkov wrote:
> On Wed, Feb 26, 2025 at 12:14:53PM -0800, Pawan Gupta wrote:
> > This is a bit ambiguous, mitigations=off,guest_host could be interpreted as
> > disabling guest->host and enabling all others. Using attack vectors with
> > both =on and =off seems unnecessary.
>
> No, you'll have
>
> mitigations=[global],[separate_vector(s)]
>
> so global can be "on", "off", "auto" and the separate vector enables only that
> specific one.

I got that part, what I meant was allowing to use =off,<enabled vectors>
seems unnecessary when the same can be achieved by =on,<disabled vectors>.