[PATCH] powerpc/perf: Include caps feature for power10 DD1 version

Michael Ellerman patch-notifications at ellerman.id.au
Tue Aug 2 21:02:22 AEST 2022


On Thu, 28 Jul 2022 22:07:46 +0530, Athira Rajeev wrote:
> commit 6320e693d98c ("powerpc/perf: Add support for caps
> under sysfs in powerpc") added support for caps under sysfs
> in powerpc. This added caps directory to:
> /sys/bus/event_source/devices/cpu/ for power8, power9, power10
> and generic compat PMU in respective PMU driver code.
> 
> For power10, it is added under "power10_pmu_attr_groups". But
> for DD1 version, attr_groups are defined under dd1 array:
> "power10_pmu_attr_groups_dd1". Since caps is not added for DD1,
> it fails to include "cpu/caps" in DD1 model. Also issue was
> observed while booting power10 pseries with qemu version6,
> where as not observed with qemu version7. This could be because
> of support for the model in old qemu version. Below is the
> trace log:
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/perf: Include caps feature for power10 DD1 version
      https://git.kernel.org/powerpc/c/8c9f37a78f70fad763f0d61f03245bb011765086

cheers


More information about the Linuxppc-dev mailing list