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=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 C97D0C433DB for ; Tue, 19 Jan 2021 10:15:51 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (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 2BE9F23158 for ; Tue, 19 Jan 2021 10:15:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2BE9F23158 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1l1o2t-0001DL-A4; Tue, 19 Jan 2021 05:15:31 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l1o2r-0001DE-6H for kernelnewbies@kernelnewbies.org; Tue, 19 Jan 2021 05:15:29 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E713D5C0085; Tue, 19 Jan 2021 05:15:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 19 Jan 2021 05:15:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=wUIgd7Pj2MWuBmUiPf5U8L7jslN Z3EnIiZ6YojP4Dh8=; b=NIl7ZIHPTFq4rfAhA2KPqqXpiwSsQ+eXw1wL2HP/pzj jVwaU7qEHH1PsJytLcCVggeP4pDHVAO9jnJzh3K5Qu2XrBqYgKhaMFCg9PuSnsGA i+8o8bVgnb1XSW1jEaCb2D0RpQq6werZXH1/7jIlD0GfuRvhHT2xfUP3i5hyhbSp PJgUb1n1Uiyeqqtr05L1Rna0b5qEaAKiR9q+kERbFbydYUUkxOc9vaA5BEKtPF8R XI8qeHgmweubGAyDMq/JM3GJwAfIYdd/ik5sH58NXEL8CUeMekzDi4+PaEszStDi xR5pvTHkxxZ/dQp/aUyvIINmrKC1G0jdFMVocyFmGVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=wUIgd7 Pj2MWuBmUiPf5U8L7jslNZ3EnIiZ6YojP4Dh8=; b=QDMZrZXw5WQ/eBVueTCqMg wGW2Gk4x9/MRYT/I9/kjTkSF8mYim/TCT8nLRGn1Td/Kr77tIOkbGJ9j2kK005uG xB+hw0PoVeYvjPRdNWdjwL+XGwbuW2dYRu7GWyjyR88h/fQfvJVrqglBX9wPew0N O861Ul/Jm2MZEK7XPPLZvMIPAlPmYdV7lfAdJV3g9OBl/7CfYZNIkWWKIzpBS7fs UqxFoW6sn3nvK+IGn55s/28wnFvMatY1/AvMJGpc5vcQzlT9WJ11sseXLvc6CZz1 Czy/H4Y0Lv+OVdR40blp9Is72BDj8i44KajkMSWfrpCUcO/HqK5f3OPIIdJiOigA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtgdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertd dttddvnecuhfhrohhmpefirhgvghcumffjuceoghhrvghgsehkrhhorghhrdgtohhmqeen ucggtffrrghtthgvrhhnpeevueehjefgfffgiedvudekvdektdelleelgefhleejieeuge egveeuuddukedvteenucfkphepkeefrdekiedrjeegrdeigeenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomh X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 4CCC01080067; Tue, 19 Jan 2021 05:15:25 -0500 (EST) Date: Tue, 19 Jan 2021 11:15:22 +0100 From: Greg KH To: Pankaj Vinodrao Joshi Subject: Re: /proc/cpuinfo not showing all info Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: "kernelnewbies@kernelnewbies.org" X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, Jan 19, 2021 at 09:08:23AM +0000, Pankaj Vinodrao Joshi wrote: > sorry for the last mail that i was not able to convey what i was meaning to, i have noticed for almost all ARCH when i will do $ cat /proc/cpuinfo ,it will shows all cpu related info including cpu frequency but for my case i am getting almost everything except cpu frequency in /proc/cpuinfo. > Now my question is how i can add this cpufreq related info into /proc/cpuinfo ?? Why do you want to add cpu frequency to /proc/cpuinfo? You can do that, but it will not be the "correct" way to export this information to userspace so that userspace can properly handle it. > Also what all other alternatives /methods are there to get cpufreq > related info from kernel ?? See what Valdis wrote, that's the correct api to use. Good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies