[PATCH v2 0/2] x86/resctrl: Fix Platform QoS issues for Hygon

From: Xiaochen Shen

Date: Fri Dec 05 2025 - 03:11:52 EST


This patch series fixes two issues regarding Platform QoS (resctrl)
support on Hygon CPUs.

The first patch adds the missing initialization sequence required for
proper resctrl functionality. The second patch corrects the bit-width
configuration for the Memory Bandwidth Monitoring (MBM) counter.

Changelog:
v2:
- Add "Reviewed-by:" tag in patch 1/2:
"Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>"
- Add "Reviewed-by:" tags in patch 2/2:
"Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>"
"Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>"
- Move the "Cc: stable@xxxxxxxxxxxxxxx" tag to be after the author's SoB
to comply with tip tree rules (Reinette)

Xiaochen Shen (2):
x86/resctrl: Add missing resctrl initialization for Hygon
x86/resctrl: Fix memory bandwidth counter width for Hygon

arch/x86/kernel/cpu/resctrl/core.c | 21 +++++++++++++++++----
arch/x86/kernel/cpu/resctrl/internal.h | 3 +++
2 files changed, 20 insertions(+), 4 deletions(-)

--
2.47.3