On 6/7/22 05:05, Kohei Tarumizu wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 4bed3abf444d..3ee173483f9f 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -1359,6 +1359,23 @@ config X86_CPUID > with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to > /dev/cpu/31/cpuid. > > +config X86_HWPF_CONTROL > + tristate "x86 Hardware Prefetch Control support" > + depends on X86_64 > + help > + This provides a sysfs interface to control the Hardware Prefetch > + behavior for X86. > + > + Some Intel processors have MSR 0x1a4 (MSR_MISC_FEATURE_CONTROL), > + which can control the hardware prefech behavior. If the processor prefetch > + supports this, the module can be loaded with the name x86-pfctl. > + > + Depending on the characteristics of the application, this register > + parameters improve or degrade performance. > + > + Please see Documentation/ABI/testing/sysfs-devices-system-cpu for > + more information. > + -- ~Randy