1. 17 Jan, 2012 3 commits
    • Kurt Garloff's avatar
      ACPI, ia64: Use SRAT table rev to use 8bit or 16/32bit PXM fields (ia64) · 9f10f6a5
      Kurt Garloff authored
      In SRAT v1, we had 8bit proximity domain (PXM) fields; SRAT v2 provides
      32bits for these. The new fields were reserved before.
      According to the ACPI spec, the OS must disregrard reserved fields.
      
      ia64 did handle the PXM fields almost consistently, but depending on
      sgi's sn2 platform. This patch leaves the sn2 logic in, but does also
      use 16/32 bits for PXM if the SRAT has rev 2 or higher.
      
      The patch also adds __init to the two pxm accessor functions, as they
      access __initdata now and are called from an __init function only anyway.
      
      Note that the code only uses 16 bits for the PXM field in the processor
      proximity field; the patch does not address this as 16 bits are more than
      enough.
      Signed-off-by: default avatarKurt Garloff <kurt@garloff.de>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      9f10f6a5
    • Kurt Garloff's avatar
      ACPI, x86: Use SRAT table rev to use 8bit or 32bit PXM fields (x86/x86-64) · cd298f60
      Kurt Garloff authored
      In SRAT v1, we had 8bit proximity domain (PXM) fields; SRAT v2 provides
      32bits for these. The new fields were reserved before.
      According to the ACPI spec, the OS must disregrard reserved fields.
      
      x86/x86-64 was rather inconsistent prior to this patch; it used 8 bits
      for the pxm field in cpu_affinity, but 32 bits in mem_affinity.
      This patch makes it consistent: Either use 8 bits consistently (SRAT
      rev 1 or lower) or 32 bits (SRAT rev 2 or higher).
      
      cc: x86@kernel.org
      Signed-off-by: default avatarKurt Garloff <kurt@garloff.de>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      cd298f60
    • Kurt Garloff's avatar
      ACPI: Store SRAT table revision · 8df0eb7c
      Kurt Garloff authored
      In SRAT v1, we had 8bit proximity domain (PXM) fields; SRAT v2 provides
      32bits for these. The new fields were reserved before.
      According to the ACPI spec, the OS must disregrard reserved fields.
      In order to know whether or not, we must know what version the SRAT
      table has.
      
      This patch stores the SRAT table revision for later consumption
      by arch specific __init functions.
      Signed-off-by: default avatarKurt Garloff <kurt@garloff.de>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      8df0eb7c
  2. 04 Jan, 2012 13 commits
  3. 03 Jan, 2012 9 commits
  4. 02 Jan, 2012 2 commits
  5. 31 Dec, 2011 6 commits
  6. 30 Dec, 2011 7 commits