[PATCH v3] powerpc/kernel/sysfs: Add new config option PMU_SYSFS to enable PMU SPRs sysfs file creation
kajoljain
kjain at linux.ibm.com
Wed Jan 8 17:10:24 AEDT 2020
Hi Michael,
On 1/7/20 4:40 PM, Michael Ellerman wrote:
> 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.
Yes you are right. My bad, i was trying by manually enabling/disabling
PMU_SYSFS. Will update accordingly.
Thanks,
Kajol
> cheers
More information about the Linuxppc-dev
mailing list