1. 10 2月, 2009 2 次提交
  2. 09 2月, 2009 1 次提交
    • Y
      x86: find nr_irqs_gsi with mp_ioapic_routing · cc6c5006
      Yinghai Lu 提交于
      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: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      cc6c5006
  3. 29 1月, 2009 3 次提交
  4. 30 12月, 2008 1 次提交
  5. 23 10月, 2008 2 次提交
  6. 16 10月, 2008 2 次提交
    • Y
      x86: probe nr_irqs even only mptable is used · 9d6a4d08
      Yinghai Lu 提交于
      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: NYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      9d6a4d08
    • Y
      x86, irq: get nr_irqs from madt · 71f521bb
      Yinghai Lu 提交于
      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: NYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      71f521bb
  7. 21 8月, 2008 1 次提交
    • Y
      x86: fix apic version warning · 11494547
      Yinghai Lu 提交于
      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: NIngo Molnar <mingo@elte.hu>
      11494547
  8. 23 7月, 2008 1 次提交
    • V
      x86: consolidate header guards · 77ef50a5
      Vegard Nossum 提交于
      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: NVegard Nossum <vegard.nossum@gmail.com>
      77ef50a5
  9. 08 7月, 2008 3 次提交
  10. 10 6月, 2008 3 次提交
  11. 04 6月, 2008 1 次提交
  12. 03 6月, 2008 2 次提交
  13. 25 5月, 2008 1 次提交
  14. 17 4月, 2008 13 次提交
  15. 30 1月, 2008 2 次提交
  16. 11 10月, 2007 1 次提交