* [RFC] SoC name and revision in /proc/cpuinfo
@ 2010-09-24 13:53 Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 14:06 ` Russell King - ARM Linux
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-24 13:53 UTC (permalink / raw)
To: linux-arm-kernel
Hi Russell,
On AT91 for some userland library we need to known the cpu model and revision
so I'd like to known if it's ok with you to extend it?
as
cpu familly: at91
cpu type: at91sam9g20
cpu revision: 1.1
Best Regards,
J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC] SoC name and revision in /proc/cpuinfo
2010-09-24 13:53 [RFC] SoC name and revision in /proc/cpuinfo Jean-Christophe PLAGNIOL-VILLARD
@ 2010-09-24 14:06 ` Russell King - ARM Linux
2010-09-24 14:42 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2010-09-24 14:06 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Sep 24, 2010 at 03:53:56PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Hi Russell,
>
> On AT91 for some userland library we need to known the cpu model and revision
> so I'd like to known if it's ok with you to extend it?
>
> as
> cpu familly: at91
> cpu type: at91sam9g20
> cpu revision: 1.1
You're mixing up the CPU with the SoC. The CPU is what's in the core of
the SoC and has no peripherals etc. The SoC is the entire chip. "Central
Processing Unit." "System on a Chip."
I'd much rather see SoC information kept separate from the CPU information.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC] SoC name and revision in /proc/cpuinfo
2010-09-24 14:06 ` Russell King - ARM Linux
@ 2010-09-24 14:42 ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 19:23 ` Bryan Huntsman
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-24 14:42 UTC (permalink / raw)
To: linux-arm-kernel
On 15:06 Fri 24 Sep , Russell King - ARM Linux wrote:
> On Fri, Sep 24, 2010 at 03:53:56PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Hi Russell,
> >
> > On AT91 for some userland library we need to known the cpu model and revision
> > so I'd like to known if it's ok with you to extend it?
> >
> > as
> > cpu familly: at91
> > cpu type: at91sam9g20
> > cpu revision: 1.1
>
> You're mixing up the CPU with the SoC. The CPU is what's in the core of
> the SoC and has no peripherals etc. The SoC is the entire chip. "Central
> Processing Unit." "System on a Chip."
>
> I'd much rather see SoC information kept separate from the CPU information.
I knwon the diff between cpu and soc but today others arch do this the same way
via cpuinfo as example sh or others.
So what do you propose?
is this better
soc familly: at91
soc type: at91am9g20
soc revision: 1.1
or you will prefer we create a new entry like sysinfo?
because today we store the hardware name, revision abd serial in cpuinfo
also
Best Regards,
J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC] SoC name and revision in /proc/cpuinfo
2010-09-24 14:42 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2010-09-24 19:23 ` Bryan Huntsman
0 siblings, 0 replies; 4+ messages in thread
From: Bryan Huntsman @ 2010-09-24 19:23 UTC (permalink / raw)
To: linux-arm-kernel
On 09/24/2010 07:42 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> I knwon the diff between cpu and soc but today others arch do this the same way
> via cpuinfo as example sh or others.
>
> So what do you propose?
>
> is this better
>
> soc familly: at91
> soc type: at91am9g20
> soc revision: 1.1
>
> or you will prefer we create a new entry like sysinfo?
>
> because today we store the hardware name, revision abd serial in cpuinfo
> also
>
> Best Regards,
> J.
How about something like /sys/devices/system/soc/soc0/[family|type|revision]? We're doing something similar and using this location on MSM chips.
- Bryan
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-24 19:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 13:53 [RFC] SoC name and revision in /proc/cpuinfo Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 14:06 ` Russell King - ARM Linux
2010-09-24 14:42 ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 19:23 ` Bryan Huntsman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).