This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Obtain CPU Temperature in Kernel

 Dear All,

I am using a raspberry pi B+ that uses a Broadcom BCM2837 SoC with an ARMV8  processor. I want to get the cpu temperature in a Linux kernel file. Like in x86, I can use rdmsr_on_cpu function to load the temperature from MSR_IA32_THERM_STATUS register. But I don't know how to do it on Arm, can someone please guide me?

Any help would be greatly appreciated.

Sincerely,

ZT