Re: [RFC][PATCH 09/34] x86/cpu: Introduce address configuration structure

From: Dave Hansen
Date: Wed Feb 28 2024 - 12:29:13 EST


On 2/27/24 15:47, Huang, Kai wrote:
> From the above description, ...
>
>> +struct x86_addr_config bsp_addr_config;
>> +
>
> ... this can be __ro_after_init?
>
> Maybe I am missing something, but if it cannot be annotated with
> __ro_after_init here, IMHO it would be helpful to call out in the
> changelog.

It can actually be full on __init .. eventually. It goes *AWAY* after boot.

I'll add a note in the changelog why it can't be until later in the series.