From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26880C43603 for ; Fri, 6 Dec 2019 16:56:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EDCE1206DF for ; Fri, 6 Dec 2019 16:56:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ighuK9mu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726806AbfLFQ42 (ORCPT ); Fri, 6 Dec 2019 11:56:28 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:45040 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbfLFQ4K (ORCPT ); Fri, 6 Dec 2019 11:56:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=l4A/o2+wyjx84ZFaPlMMEV4MACdBKMwfmSyM67ZwjiM=; b=ighuK9muOzPxJYFwUwOg0PO8+ +JGaeuWGo7vCnedvc0p9ldjmojIcrlB1/qkhQ7mfkR8vsXOmmCsJ6UEwMhCEG6ctJ3vspq6b48DTi YQvzm4SDgmQNa9PZy4Hz8JDvGZ80dFBSKbwKpXl+k/PDptFyzmGaPMFpBuioTZ7M61kCwbdilhDKd 9zimj0UIoPHPBwuK1LRzffeoIsu1uuG2Cm9lbJwCCELh6XynoAML+OMJUAq+mOVqA/1G4EY+cZcnL Mg/v5XY7TbPTnRMiguDWsDua+z2b3z+pD4T0fhB8h2LGKBI1iidIVPI6goTDAcnrWw8UO4gv6xK/X lEIZVtoJw==; Received: from [2601:1c0:6280:3f0::3deb] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1idGtf-0001K3-PA; Fri, 06 Dec 2019 16:56:03 +0000 Subject: Re: [PATCH 1/3] cpuinfo: add sysfs based arch independent cpuinfo framework To: Thomas Renninger , linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, Felix Schnizlein , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk, will.deacon@arm.com, x86@kernel.org, fschnitzlein@suse.de, Felix Schnizlein References: <20191206162421.15050-1-trenn@suse.de> <20191206162421.15050-2-trenn@suse.de> From: Randy Dunlap Message-ID: <65a20b22-8cc9-4492-25d5-4f03727086e8@infradead.org> Date: Fri, 6 Dec 2019 08:56:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191206162421.15050-2-trenn@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [PATCH 1/3] cpuinfo: add sysfs based arch independent cpuinfo framework Date: Fri, 6 Dec 2019 08:56:02 -0800 Message-ID: <65a20b22-8cc9-4492-25d5-4f03727086e8@infradead.org> References: <20191206162421.15050-1-trenn@suse.de> <20191206162421.15050-2-trenn@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20191206162421.15050-2-trenn@suse.de> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Thomas Renninger , linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, Felix Schnizlein , Felix Schnizlein , gregkh@linuxfoundation.org, x86@kernel.org, will.deacon@arm.com, linux@armlinux.org.uk, fschnitzlein@suse.de, linux-arm-kernel@lists.infradead.org List-Id: linux-arch.vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77911C43603 for ; Fri, 6 Dec 2019 16:56:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4AC6D206DF for ; Fri, 6 Dec 2019 16:56:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iZ4eefRf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4AC6D206DF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=U5MreGKvBRq0eUdtozAlM7yjvjTiJATjgj0/8NmPigA=; b=iZ4eefRfXDko0N 4s2yByWAP5xSxXSFGheMy/d1ds8I7sd5IU23ULS/jNEYOpXL/sMKRwrRCGFe1h4d3TzksAZy7DPw+ sDvkw9c7V0WrsBN/FrJtEqCYZ1qxjtIzdrNc6Inf65fDByGTDe9vX3j/f6hHyF2NrUhocnC1uEsYY Ul0JzZOtTlmMleAVe6jHrgH2VdrqPWH0P+fOpdXWETMEcO3FhIafxAmK1qUEXf6E9UxmYhL3JpSyS OtSKhtRvPd7t8CYDlReeJk1276jRiN5tciqASNgXfWqXXnRxl38ULYgVt7ioEk8qYhpd0iko6zcyw clIyfsxeCnSror+SNy9w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1idGti-0001L8-K5; Fri, 06 Dec 2019 16:56:06 +0000 Received: from [2601:1c0:6280:3f0::3deb] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1idGtf-0001K3-PA; Fri, 06 Dec 2019 16:56:03 +0000 Subject: Re: [PATCH 1/3] cpuinfo: add sysfs based arch independent cpuinfo framework To: Thomas Renninger , linux-kernel@vger.kernel.org References: <20191206162421.15050-1-trenn@suse.de> <20191206162421.15050-2-trenn@suse.de> From: Randy Dunlap Message-ID: <65a20b22-8cc9-4492-25d5-4f03727086e8@infradead.org> Date: Fri, 6 Dec 2019 08:56:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191206162421.15050-2-trenn@suse.de> Content-Language: en-US X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Felix Schnizlein , Felix Schnizlein , gregkh@linuxfoundation.org, x86@kernel.org, will.deacon@arm.com, linux@armlinux.org.uk, fschnitzlein@suse.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel