]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/intel_rdt: Export the minimum number of set mask bits in sysfs
authorShaohua Li <shli@fb.com>
Thu, 3 Nov 2016 21:09:06 +0000 (14:09 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 7 Nov 2016 11:20:52 +0000 (12:20 +0100)
commit53a114a69095eeb0e15d04c2a82358b3192f88df
treed0de73b0ed7c0b6804190e9dead7141a827d01e5
parent7bff0af51012500718971f9cc3485f67252353eb
x86/intel_rdt: Export the minimum number of set mask bits in sysfs

The minimum number of bits set for a cache mask is checked by the kernel
when writing a mask, but there is no way for the user to retrieve this
information.

Add a new file 'min_cbm_bits' to the info directory and export the
information to user space.

[ tglx: Massaged changelog ]
Signed-off-by: Shaohua Li <shli@fb.com>
Cc: fenghua.yu@intel.com
Cc: tony.luck@intel.com
Link: http://lkml.kernel.org/r/e69b1ffa206d0353eea58101e1bf9b677d9732f7.1478207143.git.shli@fb.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c