Re: [PATCH v5 4/5] perf/x86/uncore: Add L3 PMU support for Hygon family 18h model 6h
From: Fu Hao
Date: Sat Sep 19 2026 - 22:52:40 EST
On 9/17/2026 10:08 PM, Sandipan Das wrote:
On 04-09-2026 08:42, Fu Hao wrote:
Adjust the L3 PMU slicemask and threadmask for Hygon family 18h
model 6h processor.
Signed-off-by: Fu Hao <fuhao@xxxxxxxxxxxxxx>
Tested-by: Tingyin Duan <tingyin.duan@xxxxxxxxx>
---
arch/x86/events/amd/uncore.c | 48 ++++++++++++++++++++++++++++++-
arch/x86/include/asm/perf_event.h | 8 ++++++
2 files changed, 55 insertions(+), 1 deletion(-)
There was a proposal to have separate uncore PMU drivers for AMD and Hygon.
The latest version of that series can be found at
https://lore.kernel.org/lkml/20260818100118.12944-1-liuqi@xxxxxxxx/
Can these changes be adapted to that?
Hi Sandipan Das,
Thanks for your guidance. I will implement the Hygon L3 PMU support
on top of the Hygon uncore PMU driver (hygon_uncore.c) that is currently
under discussion on the list, rather than growing the Hygon bits further
inside the AMD uncore code. The goal is to finish the separation between
AMD and Hygon for uncore PMU drivers.
--
Regards,
Fu Hao