Re: [RFC PATCH 22/23] x86/hreset: Configure history reset

From: Ricardo Neri
Date: Sun Oct 02 2022 - 18:28:04 EST


On Tue, Sep 27, 2022 at 02:03:59PM +0200, Peter Zijlstra wrote:
> On Fri, Sep 09, 2022 at 04:12:04PM -0700, Ricardo Neri wrote:
>
> > +static u32 hardware_history_features __read_mostly;
>
> __ro_after_init ?

Yes! You are correct. the HRESET features are only set once.

Thanks and BR,
Ricardo