Intel Keeps Pushing Haswell Code For Linux

Posted by Michael Larabel on October 23, 2012

Intel continues to push out more open-source kernel code for enabling their next-generation Haswell processors to be properly supported under Linux.

Haswell, the successor to Intel's Ivy Bridge processors, isn't due to be released for a number of months still but Intel Open-Source Technology Center developers have already been working on Haswell Linux enablement for a number of months.

Since March we have been seeing Linux graphics driver code for Haswell that continues to be refined. Haswell (along with Valley View, the next-generation Atom SoC) continues to be extensively developed by the graphics team within Intel OTC and with the Linux 3.8 kernel the Haswell DRM driver should be in shape. There's many variants to Haswell's graphics cores.

Aside from enabling support for the next-generation Intel HD integrated graphics on Haswell CPUs, Intel Linux developers have also been working to enable other areas of their next-generation hardware on the open-source operating system. One of the other areas I've written about already has been the Haswell audio improvements for Linux.

There's also been compiler optimizations for Intel Haswell within GCC and LLVM in preparation for the new instruction set extensions to be added to the Haswell processors. One of the new compiler features for Haswell is AVX2. More of these additions, which are exposed via the "core-avx2" compiler micro-architecture flag, include FMA, BMI1, BMI2, and LZCNT instruction set extensions.

In recent days there have also been new Haswell patches to see the public spotlight on the Linux kernel mailing list. One of the new patch series to appear for Haswell on the mailing list is for LBR (Last Branch Record) call stack support. "Haswell has a new feature that utilizes the existing Last Branch Record facility to record call chains. When the feature is enabled, function call will be collected as normal, but as return instructions are executed the last captured branch record is popped from the on-chip LBR registers. The LBR call stack facility can help perf to get call chains of progam without frame pointer." This LBR call stack patch series in its current form can be seen here.

Another new patch series is perf PMU support for Haswell, which is now up to its third revision. "This adds perf PMU support for the upcoming Haswell core. The patchkit is fairly large, mainly due to various enhancement for TSX. TSX tuning relies heavily on the PMU, so I tried hard to make all facilities easily available. In addition it also has some other enhancements."

The latest round of Intel Haswell improvements for Linux should be merged for the next kernel cycle, the Linux 3.8 kernel. It's looking like Linux 3.8 is where everything should come together for decent Haswell CPU support under Linux, which will be making it into Ubuntu 13.04 and other Q2'2013 Linux distributions.

New features to be found with Haswell beyond AVX / FMA 3 / Haswell New Instructions will be new CPU sockets, Transactional Synchronization Extensions (TSX), significant graphics improvements, DDR4 in the enterprise/server space, a Variable Base Clock, and SMAP security support.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. New Intel X.Org Driver Supports All Of Haswell
  2. Debian GNU/Hurd 2013 Release Brings New Packages
  3. AMD RadeonSI Gallium3D Begins Simple CL Demos
  4. A New X.Org-Free Wayland LiveCD Released
  5. Steam: No used games...
  6. Intel Shows Off GNOME3-Based Tizen Shell
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite