Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1472401

RE: [PATCH ] arm64: cpuinfo: Add "model name" in /proc/cpuinfo for 64bit tasks also

From Sumit Gupta <sumitg@nvidia.com>
Newsgroups linux.kernel
Subject RE: [PATCH ] arm64: cpuinfo: Add "model name" in /proc/cpuinfo for 64bit tasks also
Date 2016-08-30 12:40 +0200
Message-ID <sbOCt-3C0-11@gated-at.bofh.it> (permalink)
References <sbqJQ-5oR-15@gated-at.bofh.it> <sbNn3-2ST-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


 
> On Mon, Aug 29, 2016 at 02:32:25PM +0530, Sumit Gupta wrote:
> > Removed restriction of displaying model name for 32 bit tasks only.
> > Because of this Processor details were not displayed in "System
> > setting -> Details" in Ubuntu model name display is generic and can be
> > printed for 64 bit also.
> >
> > model name : ARMv8 Processor rev X (v8l)
> >
> > Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
> 
> You didn't give a reason why this is needed. For 32-bit tasks, we did it for
> backwards compatibility with code checking for it.
> 

Within Ubuntu Home Screen "System setting -> details", processor details were coming as null.
It seems those details are retrieved from "model name" in /proc/cpuinfo and
because of check for 32 bit tasks only, "model name" was not getting displayed.
On removing this check for model name, processor details are getting displayed in
Ubuntu Home Screen.
I think model name field is general and can be displayed irrespective of compatibility.
Please suggest if I am missing anything.

> --
> Catalin

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH ] arm64: cpuinfo: Add "model name" in /proc/cpuinfo for 64bit tasks also Sumit Gupta <sumitg@nvidia.com> - 2016-08-29 11:10 +0200
  Re: [PATCH ] arm64: cpuinfo: Add "model name" in /proc/cpuinfo for  64bit tasks also Catalin Marinas <catalin.marinas@arm.com> - 2016-08-30 11:20 +0200
    RE: [PATCH ] arm64: cpuinfo: Add "model name" in /proc/cpuinfo for  64bit tasks also Sumit Gupta <sumitg@nvidia.com> - 2016-08-30 12:40 +0200
      Re: [PATCH ] arm64: cpuinfo: Add "model name" in /proc/cpuinfo for  64bit tasks also Mark Rutland <mark.rutland@arm.com> - 2016-08-30 13:00 +0200

csiph-web