Re: [PATCH RESEND v2 3/3] x86/cpu: Enable modifying bug flags with {clear,set}puid

From: Brendan Jackman
Date: Mon Feb 17 2025 - 06:21:26 EST


On Mon, 17 Feb 2025 at 12:10, Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> > extern const char * const x86_bug_flags[NBUGINTS*32];
> > +#define x86_bug_flag(flag) x86_bug_flags[flag]
>
> Why?

That's just for consistency with x86_cap_flag().

I don't remember seeing any reason why that indirection exists. Maybe
it's vestigial. Shall I just remove it?

To everything else: ack, thanks for the review.