lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 5/6] x86: Add Kconfig/Makefile to build hardware prefetch control driver
From


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

\
 
 \ /
  Last update: 2022-06-07 16:44    [W:0.219 / U:2.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site