Re: [PATCH v3 3/6] x86/resctrl: Rename prev_msr to prev_mon_val

From: Thomas Gleixner

Date: Mon Jun 08 2026 - 04:38:55 EST


On Sat, Jun 06 2026 at 10:35, Chen Yu wrote:

> Rename the prev_msr field in struct arch_mbm_state to prev_mon_val.
> With ERDT, the previous monitor value may come from an MMIO
> register rather than from an MSR, so the "msr" suffix is no longer
> accurate. The new name describes the field by its meaning (the
> previous monitor value) instead of by the access method.
>
> This is preparation for ERDT support, which reads monitoring
> counters via MMIO.
>
> No functional change.
>
> Co-developed-by: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx>
> Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx>
> Signed-off-by: Chen Yu <yu.c.chen@xxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxx>