[PATCH v3] powerpc/kernel/sysfs: Add new config option PMU_SYSFS to enable PMU SPRs sysfs file creation
Michael Ellerman
mpe at ellerman.id.au
Tue Jan 7 22:10:18 AEDT 2020
Kajol Jain <kjain at linux.ibm.com> writes:
> diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
> index 12543e53fa96..58c72b9b8902 100644
> --- a/arch/powerpc/platforms/Kconfig.cputype
> +++ b/arch/powerpc/platforms/Kconfig.cputype
> @@ -417,6 +417,12 @@ config PPC_MM_SLICES
> config PPC_HAVE_PMU_SUPPORT
> bool
>
> +config PMU_SYSFS
> + bool
> + default n
> + help
> + This option enables sysfs file creation for PMU SPRs like MMCR* and PMC*.
This isn't user-selectable. It needs a description after `bool` to be
user-selectable.
cheers
More information about the Linuxppc-dev
mailing list