Re: [PATCH V2 7/9] perf/x86/msr: Add Meteor Lake support

From: Arnaldo Carvalho de Melo
Date: Fri Feb 03 2023 - 15:21:24 EST


Em Thu, Feb 02, 2023 at 09:34:02AM -0500, Liang, Kan escreveu:
> Hi Arnaldo,
>
> On 2023-02-01 8:47 p.m., Arnaldo Carvalho de Melo wrote:
> > Em Wed, Jan 04, 2023 at 12:13:47PM -0800, kan.liang@xxxxxxxxxxxxxxx escreveu:
> >> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
> >>
> >> Meteor Lake is Intel's successor to Raptor lake. PPERF and SMI_COUNT MSRs
> >> are also supported.
> >>
> >> Reviewed-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> >> Signed-off-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
> >> ---
> >
> > Did the kernel bits land upstream?
> Yes, the kernel part has been merged into the tip.git perf/core branch.
>
> Thanks for checking the status. There are two perf tool patches in this
> series, which hasn't been merged. Should I resend them?

Lemme try cherry-picking just the tooling bits from this series.

> Thanks,
> Kan
> >
> > - Arnaldo
> >
> >> No change since V1
> >>
> >> arch/x86/events/msr.c | 2 ++
> >> 1 file changed, 2 insertions(+)
> >>
> >> diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c
> >> index ecced3a52668..074150d28fa8 100644
> >> --- a/arch/x86/events/msr.c
> >> +++ b/arch/x86/events/msr.c
> >> @@ -107,6 +107,8 @@ static bool test_intel(int idx, void *data)
> >> case INTEL_FAM6_RAPTORLAKE:
> >> case INTEL_FAM6_RAPTORLAKE_P:
> >> case INTEL_FAM6_RAPTORLAKE_S:
> >> + case INTEL_FAM6_METEORLAKE:
> >> + case INTEL_FAM6_METEORLAKE_L:
> >> if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
> >> return true;
> >> break;
> >> --
> >> 2.35.1
> >

--

- Arnaldo