AMD Bus Lock Detect Positioned Ahead Of Linux 6.12

Written by Michael Larabel in AMD on 12 August 2024 at 09:51 AM EDT. 7 Comments
AMD
Going back four years ago Intel engineers worked out bus lock detection for the Linux kernel to benefit their processors able to detect bus locks and then notify the kernel, given the negative performance implications associated with bus locks. That Intel support was merged in Linux 5.13 back in 2021 while now AMD has their equivalent ready for mainlining in the Linux kernel.

The Linux kernel bus lock detection is being extended to support AMD's Bus Lock Trap feature being introduced with the Zen 5 processors.With AMD Bus Lock Trap, a #DB exception is raised when a bus lock occurs.

AMD Linux engineers have had their Bus Lock Detect / Bus Lock Trap patches out for a few months while the code has now been queued into TIP/TIP.GIT's x86/splitlock Git branch. With the AMD support working its way into a TIP branch, it should be submitted for the upcoming Linux 6.12 merge window opening in mid-September.

AMD Bus Lock Trap Linux code queued


The AMD Bus Lock Trap support for Linux re-uses the infrastructure established by Intel with their Bus Lock Detect code and now sharing the same X86_BUS_LOCK_DETECT Kconfig option and related code.
Related News
About The Author
Michael Larabel

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