Re: [PATCH v2] x86/bugs: Break down mitigations configurations

Breno Leitao
2023-06-28T09:27:05Z

On Tue, Jun 27, 2023 at 03:30:40PM -0700, Pawan Gupta wrote:
> On Tue, Jun 27, 2023 at 10:36:10AM -0700, Breno Leitao wrote:
> > On Wed, Jun 21, 2023 at 12:41:01PM -0700, Pawan Gupta wrote:
> > > On Wed, Jun 21, 2023 at 11:36:53AM -0700, Breno Leitao wrote:
> > > > If I understand where you want to go, you think we should create a
> > > > single patchset that creates a CONFIG_<MITIGATION> for each mitigation,
> > > > and move get it under CONFIG_SPECULATION_MITIGATIONS.
> > >
> > > Yes, a single series (or a patch) that adds config for each mitigation
> > > would be good.
> >
> > I've been working on this request, and I may need your help to validate
> > the wordings and dependencies (as in architecture/vendors where the
> > problem needs to be mitigations) for each entry.
>
> Kconfig text looks fine to me. (Some comments on arch/vendor dependency
> are down below).

Neat, thanks for the clarifications. I will send v3 later today.