1. 18 May, 2009 1 commit
  2. 11 May, 2009 1 commit
    • Yinghai Lu's avatar
      x86/acpi: call mp_config_acpi_gsi() in mp_register_gsi() · a31f8205
      Yinghai Lu authored
      
      
      The patch to call mp_config_acpi_gsi() from the ACPI IRQ registration
      code never got mainline because there were open discussions about it.
      
      This call is needed to properly update the kernel's copy of the mptable,
      when the update_mptable boot parameter is needed.
      
      Now that the dust has settled with the APIC unification, and since there
      were no objections when the patch was re-submitted, try this again.
      
      [ Impact: fix the update_mptable boot parameter ]
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Len Brown <lenb@kernel.org>
      LKML-Reference: <4A01C387.7090103@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a31f8205
  3. 28 Apr, 2009 1 commit
    • Yinghai Lu's avatar
      irq: change ACPI GSI APIs to also take a device argument · a2f809b0
      Yinghai Lu authored
      
      
      We want to use dev_to_node() later on, to be aware of the 'home node'
      of the GSI in question.
      
      [ Impact: cleanup, prepare the IRQ code to be more NUMA aware ]
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Acked-by: default avatarLen Brown <lenb@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Suresh Siddha <suresh.b.siddha@intel.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: linux-acpi@vger.kernel.org
      Cc: linux-ia64@vger.kernel.org
      LKML-Reference: <49F65560.20904@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a2f809b0
  4. 17 Feb, 2009 1 commit
    • Ingo Molnar's avatar
      x86, numaq_32: clean up, misc · cb81eaed
      Ingo Molnar authored
      
      
      Impact: cleanup
      
       - misc other cleanups that change the md5 signature
       - consolidate global variables
       - remove unnecessary __numaq_mps_oem_check() wrapper
       - make numaq_mps_oem_check static
       - update copyrights
       - misc other cleanups pointed out by checkpatch
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      cb81eaed
  5. 09 Feb, 2009 4 commits
    • Jeremy Fitzhardinge's avatar
      x86: add mp_find_ioapic_pin · c3e137d1
      Jeremy Fitzhardinge authored
      
      
      Add mp_find_ioapic_pin() to find an IO APIC's specific pin from a GSI,
      and use this function within acpi/boot.  Make it non-static so other
      code can use it too.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      c3e137d1
    • Jeremy Fitzhardinge's avatar
    • Yinghai Lu's avatar
      x86: find nr_irqs_gsi with mp_ioapic_routing · 3f4a739c
      Yinghai Lu authored
      
      
      Impact: find right nr_irqs_gsi on some systems.
      
      One test-system has gap between gsi's:
      
      [    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
      [    0.000000] IOAPIC[0]: apic_id 4, version 0, address 0xfec00000, GSI 0-23
      [    0.000000] ACPI: IOAPIC (id[0x05] address[0xfeafd000] gsi_base[48])
      [    0.000000] IOAPIC[1]: apic_id 5, version 0, address 0xfeafd000, GSI 48-54
      [    0.000000] ACPI: IOAPIC (id[0x06] address[0xfeafc000] gsi_base[56])
      [    0.000000] IOAPIC[2]: apic_id 6, version 0, address 0xfeafc000, GSI 56-62
      ...
      [    0.000000] nr_irqs_gsi: 38
      
      So nr_irqs_gsi is not right. some irq for MSI will overwrite with io_apic.
      
      need to get that with acpi_probe_gsi when acpi io_apic is used
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      3f4a739c
    • Yinghai Lu's avatar
      x86: find nr_irqs_gsi with mp_ioapic_routing · cc6c5006
      Yinghai Lu authored
      
      
      Impact: find right nr_irqs_gsi on some systems.
      
      One test-system has gap between gsi's:
      
      [    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
      [    0.000000] IOAPIC[0]: apic_id 4, version 0, address 0xfec00000, GSI 0-23
      [    0.000000] ACPI: IOAPIC (id[0x05] address[0xfeafd000] gsi_base[48])
      [    0.000000] IOAPIC[1]: apic_id 5, version 0, address 0xfeafd000, GSI 48-54
      [    0.000000] ACPI: IOAPIC (id[0x06] address[0xfeafc000] gsi_base[56])
      [    0.000000] IOAPIC[2]: apic_id 6, version 0, address 0xfeafc000, GSI 56-62
      ...
      [    0.000000] nr_irqs_gsi: 38
      
      So nr_irqs_gsi is not right. some irq for MSI will overwrite with io_apic.
      
      need to get that with acpi_probe_gsi when acpi io_apic is used
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      cc6c5006
  6. 29 Jan, 2009 1 commit
    • Ingo Molnar's avatar
      x86/Voyager: remove X86_FIND_SMP_CONFIG Kconfig quirk · 550fe4f1
      Ingo Molnar authored
      
      
      x86/Voyager had this Kconfig quirk:
      
       config X86_FIND_SMP_CONFIG
      	def_bool y
      	depends on X86_MPPARSE || X86_VOYAGER
      
      Which splits off the find_smp_config() callback into a build-time quirk.
      
      Voyager should use the existing x86_quirks.mach_find_smp_config() callback
      to introduce SMP-config quirks. NUMAQ-32 and VISWS already use this.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      550fe4f1
  7. 28 Jan, 2009 2 commits
  8. 29 Dec, 2008 1 commit
  9. 23 Oct, 2008 2 commits
  10. 16 Oct, 2008 2 commits
    • Yinghai Lu's avatar
      x86: probe nr_irqs even only mptable is used · 9d6a4d08
      Yinghai Lu authored
      
      
      for !CONFIG_HAVE_SPARSE_IRQ
      
      fix:
      
       In file included from arch/x86/kernel/early-quirks.c:18:
       include/asm/io_apic.h: In function 'probe_nr_irqs':
       include/asm/io_apic.h:209: error: 'NR_IRQS' undeclared (first use in this function)
       include/asm/io_apic.h:209: error: (Each undeclared identifier is reported only once
       include/asm/io_apic.h:209: error: for each function it appears in.)
      
      v2: fix by Ingo
      Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      9d6a4d08
    • Yinghai Lu's avatar
      x86, irq: get nr_irqs from madt · 71f521bb
      Yinghai Lu authored
      
      
      Until now, NR_IRQS was derived from black magic defines that had to
      be "large enough" to both accomodate NR_CPUS and MAX_NR_IO_APICs.
      
      This resulted in a way too large irq_desc[] array on most x86 systems.
      Especially with larger CPU masks, the size of irq_desc can spiral out
      of control quickly.
      
      So be smarter about it and use precise allocation instead: determine the
      default maximum possible IRQ number from the ACPI MADT. Use a minimum limit
      of at least 32 IRQs for broken BIOSes.
      Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      71f521bb
  11. 21 Aug, 2008 1 commit
    • Yinghai Lu's avatar
      x86: fix apic version warning · 11494547
      Yinghai Lu authored
      after following patch,
      
      commit 1b313f4a
      
      
      Author: Cyrill Gorcunov <gorcunov@gmail.com>
      Date:   Mon Aug 18 20:45:57 2008 +0400
      
          x86: apic - generic_processor_info
      
          - use physid_set instead of phys_cpu and physids_or
          - set phys_cpu_present_map bit AFTER check for allowed
            number of processors
          - add checking for APIC valid version in 64bit mode
            (mostly not needed but added for merging purpose)
          - add apic_version definition for 64bit mode which
            is used now
      
      we are getting warning for acpi path on 64 bit system.
      
      make the 64-bit side fill in apic_version[] as well.
      
      [ mingo@elte.hu: build fix ]
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      11494547
  12. 22 Jul, 2008 1 commit
    • Vegard Nossum's avatar
      x86: consolidate header guards · 77ef50a5
      Vegard Nossum authored
      
      
      This patch is the result of an automatic script that consolidates the
      format of all the headers in include/asm-x86/.
      
      The format:
      
      1. No leading underscore. Names with leading underscores are reserved.
      2. Pathname components are separated by two underscores. So we can
         distinguish between mm_types.h and mm/types.h.
      3. Everything except letters and numbers are turned into single
         underscores.
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
      77ef50a5
  13. 08 Jul, 2008 3 commits
  14. 10 Jun, 2008 3 commits
  15. 04 Jun, 2008 1 commit
  16. 03 Jun, 2008 2 commits
  17. 25 May, 2008 1 commit
  18. 17 Apr, 2008 12 commits