← Back to team overview

kernel-packages team mailing list archive

[Bug 1401150] Re: Endianness issue in the VPHN topology update code


Sent SRU mail to kernel team for 3.13/3.16. Clean cherry-pick and builds

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Endianness issue in the VPHN topology update code

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Trusty:
  In Progress
Status in linux source package in Utopic:
  In Progress

Bug description:
  SRU Justification:

  The current VPHN code assumes the NUMA toplogy updates data are big endian. They are native endian actually since the hypervisor pass them through registers. This has a great performance impact on little endian guests.

  [Test Case]
  Install NUMA capable power8 machine in LE mode, install LE guest. Measure performance differences in LE guest after applying this patch.

  commit 5c9fb1899400096c6818181c525897a31d57e488 upstream
  in v3.18-rc2

  A fix has been sent to fix the issue:


  Please pick the following commit from Michael Ellermans's tree:


  which reads: "powerpc/vphn: NUMA node code expects big-endian"

  Now upstream:

  commit 5c9fb1899400096c6818181c525897a31d57e488
  Author: Greg Kurz <gkurz@xxxxxxxxxxxxxxxxxx>
  Date:   Wed Oct 15 12:42:58 2014 +0200

      powerpc/vphn: NUMA node code expects big-endian

To manage notifications about this bug go to: