RE: [PATCH V2 1/6] perf/x86/intel: Add Grand Ridge and Sierra Forest

From: Luck, Tony
Date: Wed Jun 07 2023 - 17:44:07 EST


> > Create a non-hybrid PMU setup for Grand Ridge and Sierra Forest.
>
> Moo... Tony, did you sneak product names instead of uarch names in the
> intel-family thing again?
>
> That is; I'm thinking we want the below, no?
>
> -#define INTEL_FAM6_SIERRAFOREST_X 0xAF
> -
> -#define INTEL_FAM6_GRANDRIDGE 0xB6
> +#define INTEL_FAM6_ATOM_CRESTMONT_X 0xAF /* Sierra Forest */
> +#define INTEL_FAM6_ATOM_CRESTMONT 0xB6 /* Grand Ridge */

I don't think that's really any more helpful.

Using the code name of the model makes it easy to look things
up in ark.intel.com. Using the "core" name doesn't even work for
hybrid CPU models which have more than one core type.
So I'd like to keep it as it is.

But if you want to change to the core name, then please just
do it now.

There are folks internally worried that all upstream work for
these two CPU models is going to be blocked while this
is discussed.

-Tony