Skip to contentSkip to conversation

Implement sysfs based cpuinfo for x86 cpus.

PATCH Greg KH 2 participants 2 messages Aug 2, 2017 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author
#2 lore raw
Quoted 6 lines · Felix Schnizlein

Enable sysfs cpuinfo for x86 based cpus. Export often used cpu information to sysfs. Stepping, cpu flags, cpu bugs, bogomips, cpu family, vendor_id, model, and model_name are exported.

Sysfs documentation is updated to reflect changes.

Quoted 7 lines

---

Changes since v1:
- add missing documentation parts
- fix wording in documentation description

Note, your subject lines could use a bit better work. How about:
cpuinfo: implement sysfs nodes for x86

That makes it easier to see/sort in my inbox. Same for patch 1.

Anyway, I'd really like to see this for another cpu arch at the same time, just to verify you really have the correct api/interface here. Can you do it for arm64 or something else as well?

thanks,

greg k-h

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line

Greg KH <[email protected]> 08/02/17 7:47 PM >>>

Quoted 10 lines · Felix Schnizlein
Quoted 10 lines

Enable sysfs cpuinfo for x86 based cpus. Export often used cpu information to sysfs. Stepping, cpu flags, cpu bugs, bogomips, cpu family, vendor_id, model, and model_name are exported.

Sysfs documentation is updated to reflect changes.

---

Quoted 6 lines
Quoted 3 lines

Changes since v1:
- add missing documentation parts
- fix wording in documentation description

Note, your subject lines could use a bit better work. How about:
cpuinfo: implement sysfs nodes for x86

True, I will update them accordingly when I repost the next time.

Quoted 6 lines

That makes it easier to see/sort in my inbox. Same for patch 1.

Anyway, I'd really like to see this for another cpu arch at the same time, just to verify you really have the correct api/interface here. Can you do it for arm64 or something else as well?

Sure, I will look into what devices are available for me and implement another arch.

Felix

Quoted 4 lines

thanks,

greg k-h