[PATCH v4 7/8] x86: Add Kconfig/Makefile to build hardware prefetch control driver
Greg KH
gregkh at linuxfoundation.org
Tue May 17 23:43:48 PDT 2022
On Wed, May 18, 2022 at 03:30:31PM +0900, Kohei Tarumizu wrote:
> This adds Kconfig/Makefile to build hardware prefetch control driver
> for x86 support. This also adds a MAINTAINERS entry.
>
> Signed-off-by: Kohei Tarumizu <tarumizu.kohei at fujitsu.com>
> ---
> MAINTAINERS | 1 +
> arch/x86/Kconfig | 6 ++++++
> arch/x86/kernel/cpu/Makefile | 2 ++
> 3 files changed, 9 insertions(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index dd1345087881..9759c3606c7d 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -8623,6 +8623,7 @@ K: (devm_)?hwmon_device_(un)?register(|_with_groups|_with_info)
> HARDWARE PREFETCH CONTROL DRIVERS
> M: Kohei Tarumizu <tarumizu.kohei at fujitsu.com>
> S: Maintained
> +F: arch/x86/kernel/cpu/x86-pfctl.c
> F: drivers/base/pfctl.c
> F: drivers/soc/fujitsu/a64fx-pfctl.c
> F: include/linux/pfctl.h
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 4bed3abf444d..81df9efc69e5 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -1359,6 +1359,12 @@ 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 && HWPF_CONTROL
> + help
> + This adds Hardware Prefetch driver control support for X86.
> +
You need a lot more text here about what this is, what it does, why you
would want it, and the module name it will create.
thanks,
greg k-h
More information about the linux-arm-kernel
mailing list