Page MenuHomeFreeBSD

amdrapl: Introduce amdrapl driver
Needs ReviewPublic

Authored by aokblast on Mar 1 2026, 11:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 5:58 AM
Unknown Object (File)
Thu, May 14, 12:37 PM
Unknown Object (File)
Thu, May 14, 8:32 AM
Unknown Object (File)
Thu, May 14, 8:14 AM
Unknown Object (File)
Thu, May 14, 2:51 AM
Unknown Object (File)
Wed, May 13, 4:54 AM
Unknown Object (File)
Mon, May 11, 2:51 PM
Unknown Object (File)
Mon, Apr 27, 9:50 AM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71128
Build 68011: arc lint + arc unit

Event Timeline

Quick response:

  1. also need to add to sys/modules/Makefile
  2. Do you have a plan to write a short man page?

Fix Makefile and use recursive lock to make witness happy

Quick response:

  1. also need to add to sys/modules/Makefile
  2. Do you have a plan to write a short man page?

Sure, but I am thinking about creating a uniform monitor interface for kernel sensors that can also be used by amdtemp and coretemp driver. So the sysctl may chages.

Hi @aokblast, I've found your rapl driver for amd and I'm interested in continuing the work. It's been sitting since March and I'd like to pick it up. Are you still planning to work on it, or would you be OK with me taking over? Thanks

Hi @aokblast, I've found your rapl driver for amd and I'm interested in continuing the work. It's been sitting since March and I'd like to pick it up. Are you still planning to work on it, or would you be OK with me taking over? Thanks

Hi, according to the PPR. This is all we can do for the Zen5 pre CPUs. The mailbox based features require AMD AI series CPU or Zen5 EPYC, which I am unable to test and debug. So don't hesitate to take this task.

Notice: I don't know whether we will merge this feature as RAPL has some known security flaws.