SoC name and revision in /proc/cpuinfo
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.
Quoted 9 lines · Jean-Christophe PLAGNIOL-VILLARD
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.
Quoted 11 lines · Russell King - ARM Linux
Quoted 9 lines · Jean-Christophe PLAGNIOL-VILLARD
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
Quoted 5 lines
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.
Quoted 11 lines · Jean-Christophe PLAGNIOL-VILLARD
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
Quoted 7 lines
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
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.