Re: [PATCH 6/6] MIPS: Expose current_cpu_data.options through debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 09, 2016 at 12:55:54PM -0800, Florian Fainelli wrote:

> Debugging a missing features in cpu-features-override.h, or a runtime feature
> set/clear in the vendor specific cpu_probe() function can be a little tedious,
> ease that by providing a debugfs entry representing the
> current_cpu_data.options bitmask.

Hm..  Bits in the options bitmaps are not an ABI, they come and sometimes
they go as well and manual decoding can be tedious to humans.  so I'm
wondering if something in /sys/devices/system/cpu would be more suitable.
It'd depend on just sysfs, not debugfs which is disabled in production
kernels.

Thoughts?

  Ralf




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux