1. 16 Sep, 2010 3 commits
    • Suresh Siddha's avatar
      x86, x2apic: Simplify apic init in SMP and UP builds · fa47f7e5
      Suresh Siddha authored
      Move enable_IR_x2apic() inside the default_setup_apic_routing(),
      and for SMP platforms, move the default_setup_apic_routing() after
      smp_sanity_check(). This cleans up the code that tries to avoid multiple
      calls to default_setup_apic_routing() when smp_sanity_check() fails (which
      goes through the APIC_init_uniprocessor() path).
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      LKML-Reference: <20100827181049.173087246@sbsiddha-MOBL3.sc.intel.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      fa47f7e5
    • Suresh Siddha's avatar
      x86, intr-remap: Remove IRTE setup duplicate code · 62a92f4c
      Suresh Siddha authored
      Remove IRTE setup duplicate code with prepare_irte().
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      LKML-Reference: <20100827181049.095067319@sbsiddha-MOBL3.sc.intel.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      62a92f4c
    • Suresh Siddha's avatar
      x86, intr-remap: Set redirection hint in the IRTE · 75e3cfbe
      Suresh Siddha authored
      Currently the redirection hint in the interrupt-remapping table entry
      is set to 0, which means the remapped interrupt is directed to the
      processors listed in the destination. So in logical flat mode
      in the presence of intr-remapping, this results in a single
      interrupt multi-casted to multiple cpu's as specified by the destination
      bit mask. But what we really want is to send that interrupt to one of the cpus
      based on the lowest priority delivery mode.
      
      Set the redirection hint in the IRTE to '1' to indicate that we want
      the remapped interrupt to be directed to only one of the processors
      listed in the destination.
      
      This fixes the issue of same interrupt getting delivered to multiple cpu's
      in the logical flat mode in the presence of interrupt-remapping. While
      there is no functional issue observed with this behavior, this will
      impact performance of such configurations (<=8 cpu's using logical flat
      mode in the presence of interrupt-remapping)
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      LKML-Reference: <20100827181049.013051492@sbsiddha-MOBL3.sc.intel.com>
      Cc: Weidong Han <weidong.han@intel.com>
      Cc: <stable@kernel.org> # [v2.6.32+]
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      75e3cfbe
  2. 12 Sep, 2010 1 commit
  3. 11 Sep, 2010 13 commits
  4. 10 Sep, 2010 23 commits