1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Intel Skylake's MPX Is Closer To Providing Linux Memory Protection

Intel

Published on 12 September 2014 02:55 AM EDT
Written by Michael Larabel in Intel
Comment On This Article

Besides Intel publicly working on Skylake "Gen9" graphics support for Linux, Intel open-source developers are also working on other areas of Skylake hardware enablement for Linux. Work on supporting the Intel Memory Protection Extensions (MPX) that are new to the Skylake micro-architecture are still being revised for the Linux kernel and the many other operating system code-bases that need to be updated to work with this security feature.

MPX is an x86 instruction set extension that allows for greater software security by allowing low-overhead checking of pointer references. MPX allows checking and fending against malicious exploitation of pointer references in event of buffer overflows or other memory related crisis. Work on the Memory Protection Extensions has been ongoing since the start of the year and many months later is still ongoing due to the feature's complexity and support needing to be implemented throughout the stack.

Glibc Git code currently has MPX support implemented for all of the GNU C library's memory-related routines while the GCC support for MPX is still not mainlined. MPX for GCC will hopefully make it for the GCC 5 release due in H1'2015 but it just hasn't landed yet and still being furthered in its own branch. All code wishing to use MPX needs to be compiled with the new -fmpx switch on supported compilers. There's also needed MPX runtime library support for handling this memory protection feature. While the prerequisites are heavy, MPX should work with most software without having to make any source code modifications (just a recompile).

Intel Skylake's MPX Is Closer To Providing Linux Memory Protection


Lastly, there's kernel code involved with MPX. That code has been in the works for several months and as of Thursday the eighth revision to the code was published on the Linux kernel mailing list. Intel's Qiaowei Ren sent out the ten patches needed for supporting MPX on the kernel side. The kernel work is still ongoing and there isn't yet support for 32-bit Linux binaries on 64-bit kernels, but based on the slowing rate of change, hopefully this code will be ready for landing in an upcoming kernel release (Linux 3.18? It's still probably too early to tell based upon these just-posted patches). Those wishing to see the latest MPX kernel patches can find them on the IU LKML.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. AMD Radeon R9 290 On Ubuntu 14.10: RadeonSI Gallium3D vs. Catalyst
  2. MSI X99S SLI PLUS On Linux
  3. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  4. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers On Ubuntu 14.10
  2. Ubuntu 14.10 Offers AMD Radeon Driver Performance Improvements
  3. Btrfs RAID: Linux 3.10 To Linux 3.18 Benchmarks
  4. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
Latest Linux News
  1. Systemd 217: Many New Features, Even More Bug-Fixes
  2. Humble Indie Bundle 13 Arrives For Halloween
  3. Intel VA-API Driver Gets Improved De-Interlacing
  4. Canonical Announces Its Own Distribution of Ubuntu OpenStack
  5. GtkInspector Now Supports Dealing With Multiple Back-Ends For GTK
  6. DragonFlyBSD 4.0 Is Coming Soon, Release Candidate Now Available
  7. Wayland Live CD Updated With New Capabilities, A SDL2 Wayland Game
  8. Openage: Making Age of Empires II Open-Source
  9. DRI2 Support Proposed For The Generic Mode-Setting Driver
  10. Civilization: Beyond Earth Overcoming Linux GPU Driver Problems
Latest Forum Discussions
  1. Help diagnosing problems with a Readon HD 4670 on Mesa 10.3.2-1
  2. Looking for a Open-Source AMD experienced Linux mentor
  3. Bad perfomance in gaming
  4. Dead Island for Linux (?)
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. HOPE: The Ease Of Python With The Speed Of C++
  7. Ubuntu To Abandon Upstart, Switch To Systemd
  8. Users/Developers Threatening Fork Of Debian GNU/Linux