Ampere Computing Introducing New SMpro Co-Processor Drivers With Linux 6.2

Written by Michael Larabel in Hardware on 15 November 2022 at 06:00 AM EST. 3 Comments
HARDWARE --
In addition to the previously-reported Ampere SMpro hardware monitoring "HWMON" driver coming for Linux 6.2, there are also at least two other drivers for Ampere's co-processor set to be introduced with this next kernel version.

Ampere's SMpro is a system control processor uses an Arm Cortex-M3 processor running up to 400MHz and handles interfacing with the BMC, error handling, system booting, power fail detection, and other tasks. The SMpro is found starting with Ampere Computing's current Ampere Altra server processors and presumably with their upcoming AmpereOne processors. The previously reported Ampere SMpro HWMON driver allows for the temperature, power, voltages, and current information from this co-processor to be exposed to Linux user-space.


Ampere Altra


In addition to the HWMON driver, there is the smpro-misc driver now queued for introduction in Linux 6.2. The Ampere SMpro misc driver is used for reporting various information from the co-processor. This driver can report the boot status and other information. Of some interest it also allows setting the SoC power limit. Via /sys/bus/platform/devices/smpro-misc*/soc_power_limit the SoC power limit for Ampere processors can be set as well as reading the current power limit. The soc_power_limit control allows manipulating the range from 120 Watts up to the maximum socket TDP power limit.

The other new driver is smpro-error. This smpro-error driver is used for error monitoring and reporting. This driver will communicate RAS-related errors from the co-processor

The smpro-misc and smpro-error drivers were picked up this past week by Greg Kroah-Hartman in his char-misc-next branch ahead of the upcoming Linux 6.2 merge window in December.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week