[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65a20b22-8cc9-4492-25d5-4f03727086e8@infradead.org>
Date: Fri, 6 Dec 2019 08:56:02 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Thomas Renninger <trenn@...e.de>, linux-kernel@...r.kernel.org
Cc: gregkh@...uxfoundation.org, Felix Schnizlein <fschnizlein@...e.de>,
linux-arch@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux@...linux.org.uk, will.deacon@....com, x86@...nel.org,
fschnitzlein@...e.de, Felix Schnizlein <fschnizlein@...e.com>
Subject: Re: [PATCH 1/3] cpuinfo: add sysfs based arch independent cpuinfo
framework
On 12/6/19 8:24 AM, Thomas Renninger wrote:
> diff --git a/arch/Kconfig b/arch/Kconfig
> index 48b5e103bdb0..39015570b1ca 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -882,6 +882,17 @@ config STRICT_MODULE_RWX
> and non-text memory will be made non-executable. This provides
> protection against certain security exploits (e.g. writing to text)
>
> +config CPUINFO_SYSFS
> + bool "Provides processor information in sysfs. Successor of /proc/cpuinfo"
Provide
> + def_bool y
> + depends on HAVE_CPUINFO_SYSFS
> + help
> + Provides architecture specific processor information in /sys/devices/system/cpu/info> + Use this instead of /proc/cpuinfo
End those 2 sentences with periods (full stop), please.
> +
> +config HAVE_CPUINFO_SYSFS
> + bool
> +
> # select if the architecture provides an asm/dma-direct.h header
> config ARCH_HAS_PHYS_TO_DMA
> bool
--
~Randy
Powered by blists - more mailing lists