Linux 5.5 To Advertise RDPRU Support For AMD Zen 2 CPUs Via /proc/cpuinfo
Written by Michael Larabel in AMD on 8 October 2019 at 12:23 PM EDT. 8 Comments
AMD --
RDPRU is one of the new instruction set extensions of AMD "Zen 2" CPUs that is for reading a processor register that is typically limited to privilege level zero. RDPRU allows for reading select registers at any privilege level. With Linux 5.5, the RDPRU presence will be advertised by the CPU features.

It's still up to user-space for making use of RDPRU, but for software checking from /proc/cpuinfo to see the availability of RDPRU as a supported CPU feature, Linux 5.5 is finally set to advertise it for the Zen 2 CPUs with the Ryzen 3000 series and AMD EPYC 7002 series.

Queued now as part of the x86/cpu changes building up for the Linux 5.5 cycle is the AMD detection for this instruction. The instruction can, of course, be used on earlier kernels this is just about cleanly advertising it through the common cpuinfo area.

This is the only kernel activity around RDPRU besides a KVM change from September for intercepting the RDPRU instruction.

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 10,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 or contacted via MichaelLarabel.com.

Related AMD News
Popular News This Week