IRQ changes for v2.6.31
Subsystems (16)
Linus,
Please pull the latest irq-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git irq-for-linus
Quite branched out activities in this cycle: irq-desc/NUMA optimizations/cleanups, irqinit unification on x86, GSI cleanup, removal of irq-vector-compression hack - and more.
PCI IRQ changes were acked by Jesse, ACPI IRQ changes were acked by Len.
The ->set_affinity() genirq method prototype was changed, this touched a number of architectures, trivially. This branch had about three regressions.
Thanks,
Ingo
------------------>
Alexander van Heukelum (1):
x86: fix function definitions after: x86: apic - introduce imcr_ helpers
Andreas Herrmann (1):
x86: display extended apic registers with print_local_APIC and cpu_debug code
Cyrill Gorcunov (12):
x86: irq.c - tiny cleanup
x86: apic - introduce imcr_ helpers
x86: apic - introduce dummy apic operations
x86: smp.c - align smp_ops assignments
x86: smpboot - wakeup_secondary should be done via __cpuinit section
x86: es7000, uv - use __cpuinit for kicking secondary cpus x86, apic: use pr_ macro
x86: uv io-apic - use BUILD_BUG_ON instead of BUG_ON
x86: uv - prevent NULL dereference in uv_system_init()
x86: apic: Fixmap apic address even if apic disabled
x86/pci: add 4 more return parameters to IO_APIC_get_PCI_irq_vector(), fix x86, apic: Fix dummy apic read operation together with broken MP handling
Gary Hade (1):
x86: consolidate SMP code in io_apic.c
Ingo Molnar (2):
x86, irqinit: preempt merge conflicts
irq: change ->set_affinity() to return status, fix
Jaswinder Singh Rajput (1):
x86: cpufeature.h fix name for X86_FEATURE_MCE
Jiri Slaby (1):
x86, apic: Restore irqs on fail paths
Naga Chumbalkar (1):
x86: Print real IOAPIC version for x86-64
Paul Mundt (1):
sparseirq: Allow early irq_desc allocation
Pekka Enberg (13):
x86: move x86_quirk_pre_intr_init() to irqinit_32.c
x86: move init_ISA_irqs() in irqinit_32.c to match ordering in irqinit_64.c
x86: introduce smp_intr_init() in irqinit_32.c
x86: introduce apic_intr_init() in irqinit_32.c
x86: use identical loop constructs in 32-bit and 64-bit native_init_IRQ()
x86: unify smp_intr_init() in irqinit_{32,64}.h
x86: unify init_ISA_irqs() in irqinit_{32,64}.c
x86: unify native_init_IRQ() in irqinit_{32,64}.c
x86: unify trivial differences in irqinit_{32,64}.c
x86: unify apic_intr_init() in irqinit_{32,64}.c
x86: unify irqinit_{32,64}.c into irqinit.c
x86: define IA32_SYSCALL_VECTOR on 32-bit to reduce ifdefs
x86: remove some ifdefs from native_init_IRQ()
Suresh Siddha (5):
x86: x2apic, IR: Clean up X86_X2APIC and INTR_REMAP config checks
x86: x2apic, IR: Move eoi_ioapic_irq() into a CONFIG_INTR_REMAP section
x86: x2apic, IR: Clean up panic() with nox2apic boot option
x86: x2apic, IR: Make config X86_UV dependent on X86_X2APIC
x86: x2apic, IR: remove reinit_intr_remapped_IO_APIC()
Weidong Han (5):
docs, x86: add nox2apic back to kernel-parameters.txt x86, intr-remap: fix ack for interrupt remapping x86, intr-remap: enable interrupt remapping early x86, intr-remap: add option to disable interrupt remapping x86, intr-remap: fix x2apic/intr-remap resume
Yinghai Lu (32):
x86: make wakeup_secondary_cpu_via_init static
x86: consistent about warm_reset_vector for UN_NON_UNIQUE_APIC
x86: use used_vectors in init_IRQ()
x86: apic: Remove duplicated macros
x86: Use dmi check in apic_is_clustered() on 64-bit to mark the TSC unstable irq, cpumask: correct CPUMASKS_OFFSTACK typo and fix fallout x86/irq: remove leftover code from NUMA_MIGRATE_IRQ_DESC
irq: change ->set_affinity() to return status
irq: only update affinity if ->set_affinity() is sucessfull x86/irq: change irq_desc_alloc() to take node instead of cpu
irq: change ACPI GSI APIs to also take a device argument
irq: change io_apic_set_pci_routing() to use device parameter x86/irq: change MSI irq_desc to be more numa aware
irq: make ht irq_desc more numa aware
x86/irq: use move_irq_desc() in create_irq_nr()
x86/acpi: remove irq-compression trick on 32-bit
x86: fix alloc_mptable()
x86/acpi: call mp_config_acpi_gsi() in mp_register_gsi() x86/acpi: move pin_programmed bit map to io_apic.c
x86/pci: add 4 more return parameters to IO_APIC_get_PCI_irq_vector() x86/acpi: move setup io apic routing out of CONFIG_ACPI scope x86/pci: update pirq_enable_irq() to setup io apic routing
x86: apic: Check rev 3 fadt correctly for physical_apic bit
x86: clean up and fix setup_clear/force_cpu_cap handling
x86: read apic ID in the !acpi_lapic case
x86: read apic ID in the !acpi_lapic case
x86, apic: introduce io_apic_irq_attr
x86: don't call read_apic_id if !cpu_has_apic
x86, irq: update_mptable needs pci_routeirq
x86, irq: don't call mp_config_acpi_gsi() if update_mptable is not enabled x86, io-apic: Don't mark pin_programmed early
x86: enable_update_mptable should be a macro
Documentation/kernel-parameters.txt | 3 +
arch/alpha/kernel/sys_dp264.c | 8 +-
arch/alpha/kernel/sys_titan.c | 4 +-
arch/arm/common/gic.c | 4 +-
arch/cris/arch-v32/kernel/irq.c | 4 +-
arch/ia64/hp/sim/hpsim_irq.c | 3 +-
arch/ia64/kernel/acpi.c | 5 +-
arch/ia64/kernel/iosapic.c | 10 +-
arch/ia64/kernel/msi_ia64.c | 16 +-
arch/ia64/sn/kernel/irq.c | 4 +-
arch/ia64/sn/kernel/msi_sn.c | 8 +-
arch/mips/cavium-octeon/octeon-irq.c | 8 +-
arch/mips/include/asm/irq.h | 2 +-
arch/mips/kernel/irq-gic.c | 5 +-
arch/mips/mti-malta/malta-smtc.c | 4 +-
arch/mips/sibyte/bcm1480/irq.c | 8 +-
arch/mips/sibyte/sb1250/irq.c | 8 +-
arch/parisc/kernel/irq.c | 6 +-
arch/powerpc/platforms/pseries/xics.c | 12 +-
arch/powerpc/sysdev/mpic.c | 4 +-
arch/powerpc/sysdev/mpic.h | 2 +-
arch/sparc/kernel/irq_64.c | 12 +-
arch/x86/Kconfig | 12 +-
arch/x86/configs/x86_64_defconfig | 1 -
arch/x86/include/asm/apic.h | 28 +-
arch/x86/include/asm/apicdef.h | 8 +-
arch/x86/include/asm/cpufeature.h | 6 +-
arch/x86/include/asm/hw_irq.h | 21 +-
arch/x86/include/asm/i8259.h | 4 -
arch/x86/include/asm/io_apic.h | 9 +-
arch/x86/include/asm/irq_remapping.h | 2 +-
arch/x86/include/asm/irq_vectors.h | 1 +
arch/x86/include/asm/mpspec.h | 15 +-
arch/x86/include/asm/processor.h | 3 +-
arch/x86/include/asm/setup.h | 1 -
arch/x86/include/asm/smp.h | 2 +-
arch/x86/kernel/Makefile | 2 +-
arch/x86/kernel/acpi/boot.c | 156 ++---
arch/x86/kernel/apic/apic.c | 311 ++++++----
arch/x86/kernel/apic/apic_flat_64.c | 4 +-
arch/x86/kernel/apic/es7000_32.c | 2 +-
arch/x86/kernel/apic/io_apic.c | 901 +++++++++++++--------------
arch/x86/kernel/apic/probe_64.c | 2 +-
arch/x86/kernel/apic/summit_32.c | 7 -
arch/x86/kernel/apic/x2apic_uv_x.c | 5 +-
arch/x86/kernel/cpu/amd.c | 2 +-
arch/x86/kernel/cpu/common.c | 23 +-
arch/x86/kernel/cpu/cpu_debug.c | 14 +-
arch/x86/kernel/cpu/intel.c | 6 +-
arch/x86/kernel/irq.c | 19 +-
arch/x86/kernel/{irqinit_32.c => irqinit.c} | 149 ++++--
arch/x86/kernel/irqinit_64.c | 177 ------
arch/x86/kernel/mpparse.c | 34 +-
arch/x86/kernel/setup.c | 18 -
arch/x86/kernel/smp.c | 20 +-
arch/x86/kernel/smpboot.c | 22 +-
arch/x86/kernel/traps.c | 5 +-
arch/x86/lguest/boot.c | 2 +-
arch/x86/pci/irq.c | 84 +--
drivers/acpi/pci_irq.c | 5 +-
drivers/char/hpet.c | 4 +-
drivers/parisc/iosapic.c | 6 +-
drivers/pci/hotplug/ibmphp_core.c | 54 +-
drivers/pci/htirq.c | 4 +-
drivers/pci/intel-iommu.c | 9 -
drivers/pci/intr_remapping.c | 54 +-
drivers/pnp/pnpacpi/rsparser.c | 2 +-
drivers/xen/events.c | 14 +-
include/linux/acpi.h | 2 +-
include/linux/dmar.h | 3 +
include/linux/interrupt.h | 2 +-
include/linux/irq.h | 58 +-
kernel/irq/Makefile | 2 +-
kernel/irq/chip.c | 12 +-
kernel/irq/handle.c | 58 +-
kernel/irq/internals.h | 5 +-
kernel/irq/manage.c | 17 +-
kernel/irq/migration.c | 14 +-
kernel/irq/numa_migrate.c | 38 +-
kernel/softirq.c | 2 +-
80 files changed, 1260 insertions(+), 1323 deletions(-)
rename arch/x86/kernel/{irqinit_32.c => irqinit.c} (68%)
delete mode 100644 arch/x86/kernel/irqinit_64.cDocumentation/kernel-parameters.txt +3 -0
@@ -1575,6 +1575,9 @@ and is between 256 and 4096 characters. It is defined in the file noinitrd [RAM] Tells the kernel not to load any configured initial RAM disk. + nointremap [X86-64, Intel-IOMMU] Do not enable interrupt + remapping. + nointroute [IA-64] nojitter [IA64] Disables jitter checking for ITC timers.
arch/alpha/kernel/sys_dp264.c +6 -2
@@ -176,22 +176,26 @@ cpu_set_irq_affinity(unsigned int irq, cpumask_t affinity) } } -static void +static int dp264_set_affinity (unsigned int irq,const struct cpumask *affinity) {spin_lock (&dp264_irq_lock);cpu_set_irq_affinity (irq, *affinity);tsunami_update_irq_hw (cached_irq_mask);spin_unlock (&dp264_irq_lock); + +return 0 ; } -static void +static int clipper_set_affinity (unsigned int irq,const struct cpumask *affinity) {spin_lock (&dp264_irq_lock);cpu_set_irq_affinity (irq -16 , *affinity);tsunami_update_irq_hw (cached_irq_mask);spin_unlock (&dp264_irq_lock); + +return 0 ; }static struct hw_interrupt_type dp264_irq_type = {
arch/alpha/kernel/sys_titan.c +3 -1
@@ -157,13 +157,15 @@ titan_cpu_set_irq_affinity(unsigned int irq, cpumask_t affinity) } -static void +static int titan_set_irq_affinity (unsigned int irq,const struct cpumask *affinity) {spin_lock (&titan_irq_lock);titan_cpu_set_irq_affinity (irq -16 , *affinity);titan_update_irq_hw (titan_cached_irq_mask);spin_unlock (&titan_irq_lock); + +return 0 ; } static void
arch/arm/common/gic.c +3 -1
@@ -109,7 +109,7 @@ static void gic_unmask_irq(unsigned int irq) }#ifdef CONFIG_SMP -static void gic_set_cpu (unsigned int irq,const struct cpumask *mask_val) +static int gic_set_cpu (unsigned int irq,const struct cpumask *mask_val) {void __iomem *reg =gic_dist_base (irq) +GIC_DIST_TARGET + (gic_irq (irq) & ~3 );unsigned int shift = (irq %4 ) *8 ;
@@ -122,6 +122,8 @@ static void gic_set_cpu(unsigned int irq, const struct cpumask *mask_val) val |=1 << (cpu + shift);writel (val, reg);spin_unlock (&irq_controller_lock); + + return 0; }#endif
arch/cris/arch-v32/kernel/irq.c +3 -1
@@ -325,12 +325,14 @@ static void end_crisv32_irq(unsigned int irq) { } -void set_affinity_crisv32_irq (unsigned int irq,const struct cpumask *dest) +int set_affinity_crisv32_irq (unsigned int irq,const struct cpumask *dest) {unsigned long flags;spin_lock_irqsave (&irq_lock, flags); irq_allocations[irq -FIRST_IRQ ].mask = *dest;spin_unlock_irqrestore (&irq_lock, flags); + +return 0 ; }static struct irq_chip crisv32_irq_type = {
arch/ia64/hp/sim/hpsim_irq.c +2 -1
@@ -21,9 +21,10 @@ hpsim_irq_noop (unsigned int irq) { } -static void +static int hpsim_set_affinity_noop (unsigned int a,const struct cpumask *b) { +return 0 ; }static struct hw_interrupt_type irq_type_hp_sim = {
arch/ia64/kernel/acpi.c +3 -2
@@ -636,7 +636,7 @@ void __init acpi_numa_arch_fixup(void)* success: return IRQ number (>=0) * failure: return < 0 */ -int acpi_register_gsi (u32 gsi,int triggering,int polarity) +int acpi_register_gsi (struct device *dev,u32 gsi,int triggering,int polarity) {if (acpi_irq_model ==ACPI_IRQ_MODEL_PLATFORM )return gsi;
@@ -678,7 +678,8 @@ static int __init acpi_parse_fadt(struct acpi_table_header *table) fadt = (struct acpi_table_fadt *)fadt_header; -acpi_register_gsi (fadt->sci_interrupt,ACPI_LEVEL_SENSITIVE ,ACPI_ACTIVE_LOW ); +acpi_register_gsi (NULL , fadt->sci_interrupt,ACPI_LEVEL_SENSITIVE , +ACPI_ACTIVE_LOW );return 0 ; }
arch/ia64/kernel/iosapic.c +6 -4
@@ -329,7 +329,7 @@ unmask_irq (unsigned int irq) } -static void +static int iosapic_set_affinity (unsigned int irq,const struct cpumask *mask) {#ifdef CONFIG_SMP
@@ -343,15 +343,15 @@ iosapic_set_affinity(unsigned int irq, const struct cpumask *mask) cpu =cpumask_first_and (cpu_online_mask, mask);if (cpu >= nr_cpu_ids) -return ; +return -1 ;if (irq_prepare_move (irq, cpu)) -return ; +return -1 ; dest =cpu_physical_id (cpu);if (!iosapic_intr_info[irq].count) -return ;/* not an IOSAPIC interrupt */ +return -1 ;/* not an IOSAPIC interrupt */ set_irq_affinity_info (irq, dest, redir);
@@ -376,7 +376,9 @@ iosapic_set_affinity(unsigned int irq, const struct cpumask *mask)iosapic_write (iosapic,IOSAPIC_RTE_HIGH (rte_index), high32); iosapic_write(iosapic, IOSAPIC_RTE_LOW(rte_index), low32); } +#endif +return 0 ; }/*
arch/ia64/kernel/msi_ia64.c +10 -6
@@ -12,7 +12,7 @@static struct irq_chip ia64_msi_chip;#ifdef CONFIG_SMP -static void ia64_set_msi_irq_affinity (unsigned int irq, +static int ia64_set_msi_irq_affinity (unsigned int irq,const cpumask_t *cpu_mask) {struct msi_msg msg;
@@ -20,10 +20,10 @@ static void ia64_set_msi_irq_affinity(unsigned int irq,int cpu =first_cpu (*cpu_mask);if (!cpu_online (cpu)) -return ; +return -1 ;if (irq_prepare_move (irq, cpu)) -return ; +return -1 ;read_msi_msg (irq, &msg);
@@ -39,6 +39,8 @@ static void ia64_set_msi_irq_affinity(unsigned int irq,write_msi_msg (irq, &msg);cpumask_copy (irq_desc[irq].affinity,cpumask_of (cpu)); + + return 0; }#endif /* CONFIG_SMP */
@@ -130,17 +132,17 @@ void arch_teardown_msi_irq(unsigned int irq) #ifdef CONFIG_DMAR #ifdef CONFIG_SMP -static void dmar_msi_set_affinity(unsigned int irq, const struct cpumask *mask) +static int dmar_msi_set_affinity(unsigned int irq, const struct cpumask *mask) { struct irq_cfg *cfg = irq_cfg + irq; struct msi_msg msg; int cpu = cpumask_first(mask); if (!cpu_online(cpu)) - return; + return -1; if (irq_prepare_move(irq, cpu)) - return; + return -1; dmar_msi_read(irq, &msg);
@@ -151,6 +153,8 @@ static void dmar_msi_set_affinity(unsigned int irq, const struct cpumask *mask)dmar_msi_write (irq, &msg);cpumask_copy (irq_desc[irq].affinity, mask); + + return 0; }#endif /* CONFIG_SMP */
arch/ia64/sn/kernel/irq.c +3 -1
@@ -227,7 +227,7 @@ finish_up:return new_irq_info; } -static void sn_set_affinity_irq (unsigned int irq,const struct cpumask *mask) +static int sn_set_affinity_irq (unsigned int irq,const struct cpumask *mask) {struct sn_irq_info *sn_irq_info, *sn_irq_info_safe;nasid_t nasid;
@@ -239,6 +239,8 @@ static void sn_set_affinity_irq(unsigned int irq, const struct cpumask *mask)list_for_each_entry_safe (sn_irq_info, sn_irq_info_safe, sn_irq_lh[irq], list) (void )sn_retarget_vector (sn_irq_info, nasid, slice); + +return 0 ; }#ifdef CONFIG_SMP
arch/ia64/sn/kernel/msi_sn.c +5 -3
@@ -151,7 +151,7 @@ int sn_setup_msi_irq(struct pci_dev *pdev, struct msi_desc *entry) }#ifdef CONFIG_SMP -static void sn_set_msi_irq_affinity (unsigned int irq, +static int sn_set_msi_irq_affinity (unsigned int irq,const struct cpumask *cpu_mask) {struct msi_msg msg;
@@ -168,7 +168,7 @@ static void sn_set_msi_irq_affinity(unsigned int irq, cpu =cpumask_first (cpu_mask); sn_irq_info = sn_msi_info[irq].sn_irq_info;if (sn_irq_info ==NULL || sn_irq_info->irq_int_bit >=0 ) -return ; +return -1 ;/* * Release XIO resources for the old MSI PCI address
@@ -189,7 +189,7 @@ static void sn_set_msi_irq_affinity(unsigned int irq, new_irq_info =sn_retarget_vector (sn_irq_info, nasid, slice); sn_msi_info[irq].sn_irq_info = new_irq_info;if (new_irq_info ==NULL ) -return ; +return -1 ;/* * Map the xio address into bus space
@@ -206,6 +206,8 @@ static void sn_set_msi_irq_affinity(unsigned int irq,write_msi_msg (irq, &msg);cpumask_copy (irq_desc[irq].affinity, cpu_mask); + + return 0; }#endif /* CONFIG_SMP */
arch/mips/cavium-octeon/octeon-irq.c +6 -2
@@ -177,7 +177,7 @@ static void octeon_irq_ciu0_disable(unsigned int irq) }#ifdef CONFIG_SMP -static void octeon_irq_ciu0_set_affinity (unsigned int irq,const struct cpumask *dest) +static int octeon_irq_ciu0_set_affinity (unsigned int irq,const struct cpumask *dest) {int cpu;int bit = irq -OCTEON_IRQ_WORKQ0 ;/* Bit 0-63 of EN0 */
@@ -199,6 +199,8 @@ static void octeon_irq_ciu0_set_affinity(unsigned int irq, const struct cpumask*/ cvmx_read_csr (CVMX_CIU_INTX_EN0 (cvmx_get_core_num () *2 ));write_unlock (&octeon_irq_ciu0_rwlock); + + return 0; }#endif
@@ -292,7 +294,7 @@ static void octeon_irq_ciu1_disable(unsigned int irq) }#ifdef CONFIG_SMP -static void octeon_irq_ciu1_set_affinity (unsigned int irq,const struct cpumask *dest) +static int octeon_irq_ciu1_set_affinity (unsigned int irq,const struct cpumask *dest) {int cpu;int bit = irq -OCTEON_IRQ_WDOG0 ;/* Bit 0-63 of EN1 */
@@ -315,6 +317,8 @@ static void octeon_irq_ciu1_set_affinity(unsigned int irq, const struct cpumask*/ cvmx_read_csr (CVMX_CIU_INTX_EN1 (cvmx_get_core_num () *2 +1 ));write_unlock (&octeon_irq_ciu1_rwlock); + + return 0; }#endif
arch/mips/include/asm/irq.h +1 -1
@@ -49,7 +49,7 @@ static inline void smtc_im_ack_irq(unsigned int irq)#ifdef CONFIG_MIPS_MT_SMTC_IRQAFF #include <linux/cpumask.h> -extern void plat_set_irq_affinity (unsigned int irq, +extern int plat_set_irq_affinity (unsigned int irq,const struct cpumask *affinity);extern void smtc_forward_irq (unsigned int irq);
arch/mips/kernel/irq-gic.c +3 -2
@@ -155,7 +155,7 @@ static void gic_unmask_irq(unsigned int irq)static DEFINE_SPINLOCK (gic_lock); -static void gic_set_affinity (unsigned int irq,const struct cpumask *cpumask) +static int gic_set_affinity (unsigned int irq,const struct cpumask *cpumask) {cpumask_t tmp =CPU_MASK_NONE ;unsigned long flags;
@@ -166,7 +166,7 @@ static void gic_set_affinity(unsigned int irq, const struct cpumask *cpumask)cpumask_and (&tmp, cpumask, cpu_online_mask);if (cpus_empty (tmp)) -return ; +return -1 ;/* Assumption : cpumask refers to a single CPU */ spin_lock_irqsave (&gic_lock, flags);
@@ -190,6 +190,7 @@ static void gic_set_affinity(unsigned int irq, const struct cpumask *cpumask)cpumask_copy (irq_desc[irq].affinity, cpumask);spin_unlock_irqrestore (&gic_lock, flags); + return 0; }#endif
arch/mips/mti-malta/malta-smtc.c +3 -1
@@ -114,7 +114,7 @@ struct plat_smp_ops msmtc_smp_ops = {*/ -void plat_set_irq_affinity (unsigned int irq,const struct cpumask *affinity) +int plat_set_irq_affinity (unsigned int irq,const struct cpumask *affinity) {cpumask_t tmask;int cpu =0 ;
@@ -156,5 +156,7 @@ void plat_set_irq_affinity(unsigned int irq, const struct cpumask *affinity)/* Do any generic SMTC IRQ affinity setup */ smtc_set_irq_affinity (irq, tmask); + + return 0; }#endif /* CONFIG_MIPS_MT_SMTC_IRQAFF */
arch/mips/sibyte/bcm1480/irq.c +5 -3
@@ -50,7 +50,7 @@ static void enable_bcm1480_irq(unsigned int irq);static void disable_bcm1480_irq (unsigned int irq);static void ack_bcm1480_irq (unsigned int irq);#ifdef CONFIG_SMP -static void bcm1480_set_affinity (unsigned int irq,const struct cpumask *mask); +static int bcm1480_set_affinity (unsigned int irq,const struct cpumask *mask);#endif #ifdef CONFIG_PCI
@@ -109,7 +109,7 @@ void bcm1480_unmask_irq(int cpu, int irq) }#ifdef CONFIG_SMP -static void bcm1480_set_affinity (unsigned int irq,const struct cpumask *mask) +static int bcm1480_set_affinity (unsigned int irq,const struct cpumask *mask) {int i =0 , old_cpu, cpu, int_on, k;u64 cur_ints;
@@ -118,7 +118,7 @@ static void bcm1480_set_affinity(unsigned int irq, const struct cpumask *mask)if (cpumask_weight (mask) !=1 ) {printk ("attempted to set irq affinity for irq %d to multiple CPUs\n" , irq); -return ; +return -1 ; } i =cpumask_first (mask);
@@ -152,6 +152,8 @@ static void bcm1480_set_affinity(unsigned int irq, const struct cpumask *mask) } }spin_unlock_irqrestore (&bcm1480_imr_lock, flags); + +return 0 ; }#endif
arch/mips/sibyte/sb1250/irq.c +5 -3
@@ -50,7 +50,7 @@ static void enable_sb1250_irq(unsigned int irq);static void disable_sb1250_irq (unsigned int irq);static void ack_sb1250_irq (unsigned int irq);#ifdef CONFIG_SMP -static void sb1250_set_affinity (unsigned int irq,const struct cpumask *mask); +static int sb1250_set_affinity (unsigned int irq,const struct cpumask *mask);#endif #ifdef CONFIG_SIBYTE_HAS_LDT
@@ -103,7 +103,7 @@ void sb1250_unmask_irq(int cpu, int irq) }#ifdef CONFIG_SMP -static void sb1250_set_affinity (unsigned int irq,const struct cpumask *mask) +static int sb1250_set_affinity (unsigned int irq,const struct cpumask *mask) {int i =0 , old_cpu, cpu, int_on;u64 cur_ints;
@@ -113,7 +113,7 @@ static void sb1250_set_affinity(unsigned int irq, const struct cpumask *mask)if (cpumask_weight (mask) >1 ) {printk ("attempted to set irq affinity for irq %d to multiple CPUs\n" , irq); -return ; +return -1 ; }/* Convert logical CPU to physical CPU */
@@ -143,6 +143,8 @@ static void sb1250_set_affinity(unsigned int irq, const struct cpumask *mask) R_IMR_INTERRUPT_MASK)); }spin_unlock_irqrestore (&sb1250_imr_lock, flags); + +return 0 ; }#endif
arch/parisc/kernel/irq.c +4 -2
@@ -130,15 +130,17 @@ int cpu_check_affinity(unsigned int irq, const struct cpumask *dest) return cpu_dest; } -static void cpu_set_affinity_irq (unsigned int irq,const struct cpumask *dest) +static int cpu_set_affinity_irq (unsigned int irq,const struct cpumask *dest) {int cpu_dest; cpu_dest =cpu_check_affinity (irq, dest);if (cpu_dest <0 ) -return ; +return -1 ;cpumask_copy (&irq_desc[irq].affinity, dest); + +return 0 ; }#endif
arch/powerpc/platforms/pseries/xics.c +7 -5
@@ -333,7 +333,7 @@ static void xics_eoi_lpar(unsigned int virq)lpar_xirr_info_set ((0xff <<24 ) | irq); } -static void xics_set_affinity (unsigned int virq,const struct cpumask *cpumask) +static int xics_set_affinity (unsigned int virq,const struct cpumask *cpumask) {unsigned int irq;int status;
@@ -342,14 +342,14 @@ static void xics_set_affinity(unsigned int virq, const struct cpumask *cpumask) irq = (unsigned int )irq_map[virq].hwirq;if (irq ==XICS_IPI || irq ==XICS_IRQ_SPURIOUS ) -return ; +return -1 ; status =rtas_call (ibm_get_xive,1 ,3 , xics_status, irq);if (status) {printk (KERN_ERR "%s: ibm,get-xive irq=%u returns %d\n" , __func__, irq, status); -return ; +return -1 ; }/*
@@ -363,7 +363,7 @@ static void xics_set_affinity(unsigned int virq, const struct cpumask *cpumask)printk (KERN_WARNING "%s: No online cpus in the mask %s for irq %d\n" , __func__, cpulist, virq); -return ; +return -1 ; } status = rtas_call(ibm_set_xive, 3, 1, NULL,
@@ -372,8 +372,10 @@ static void xics_set_affinity(unsigned int virq, const struct cpumask *cpumask)if (status) {printk (KERN_ERR "%s: ibm,set-xive irq=%u returns %d\n" , __func__, irq, status); -return ; +return -1 ; } + +return 0 ; }static struct irq_chip xics_pic_direct = {
arch/powerpc/sysdev/mpic.c +3 -1
@@ -807,7 +807,7 @@ static void mpic_end_ipi(unsigned int irq)#endif /* CONFIG_SMP */ -void mpic_set_affinity (unsigned int irq,const struct cpumask *cpumask) +int mpic_set_affinity (unsigned int irq,const struct cpumask *cpumask) {struct mpic *mpic =mpic_from_irq (irq);unsigned int src =mpic_irq_to_hw (irq);
@@ -824,6 +824,8 @@ void mpic_set_affinity(unsigned int irq, const struct cpumask *cpumask)mpic_irq_write (src,MPIC_INFO (IRQ_DESTINATION ),mpic_physmask (cpus_addr (tmp)[0 ])); } + +return 0 ; }static unsigned int mpic_type_to_vecpri (struct mpic *mpic,unsigned int type)
arch/powerpc/sysdev/mpic.h +1 -1
@@ -36,6 +36,6 @@ static inline int mpic_pasemi_msi_init(struct mpic *mpic)extern int mpic_set_irq_type (unsigned int virq,unsigned int flow_type);extern void mpic_set_vector (unsigned int virq,unsigned int vector); -extern void mpic_set_affinity (unsigned int irq,const struct cpumask *cpumask); +extern int mpic_set_affinity (unsigned int irq,const struct cpumask *cpumask);#endif /* _POWERPC_SYSDEV_MPIC_H */
arch/sparc/kernel/irq_64.c +9 -3
@@ -318,10 +318,12 @@ static void sun4u_irq_enable(unsigned int virt_irq) } } -static void sun4u_set_affinity (unsigned int virt_irq, +static int sun4u_set_affinity (unsigned int virt_irq,const struct cpumask *mask) {sun4u_irq_enable (virt_irq); + +return 0 ; }/* Don't do anything. The desc->status check for IRQ_DISABLED in
@@ -377,7 +379,7 @@ static void sun4v_irq_enable(unsigned int virt_irq) ino, err); } -static void sun4v_set_affinity (unsigned int virt_irq, +static int sun4v_set_affinity (unsigned int virt_irq,const struct cpumask *mask) {unsigned int ino = virt_irq_table[virt_irq].dev_ino;
@@ -388,6 +390,8 @@ static void sun4v_set_affinity(unsigned int virt_irq,if (err !=HV_EOK )printk (KERN_ERR "sun4v_intr_settarget(%x,%lu): " "err(%d)\n" , ino, cpuid, err); + +return 0 ; }static void sun4v_irq_disable (unsigned int virt_irq)
@@ -445,7 +449,7 @@ static void sun4v_virq_enable(unsigned int virt_irq) dev_handle, dev_ino, err); } -static void sun4v_virt_set_affinity (unsigned int virt_irq, +static int sun4v_virt_set_affinity (unsigned int virt_irq,const struct cpumask *mask) {unsigned long cpuid, dev_handle, dev_ino;
@@ -461,6 +465,8 @@ static void sun4v_virt_set_affinity(unsigned int virt_irq,printk (KERN_ERR "sun4v_vintr_set_target(%lx,%lx,%lu): " "err(%d)\n" , dev_handle, dev_ino, cpuid, err); + +return 0 ; }static void sun4v_virq_disable (unsigned int virt_irq)
arch/x86/Kconfig +3 -9
@@ -274,15 +274,9 @@ config SPARSE_IRQ If you don't know what to do here, say N. -config NUMA_MIGRATE_IRQ_DESC - bool "Move irq desc when changing irq smp_affinity" +config NUMA_IRQ_DESC + def_bool y depends on SPARSE_IRQ && NUMA - depends on BROKEN - default n - ---help--- - This enables moving irq_desc to cpu/node that irq will use handled. - - If you don't know what to do here, say N. config X86_MPPARSE bool "Enable MPS table" if ACPI
@@ -355,7 +349,7 @@ config X86_UV depends on X86_64 depends on X86_EXTENDED_PLATFORM depends on NUMA - select X86_X2APIC + depends on X86_X2APIC ---help--- This option is needed in order to support SGI Ultraviolet systems. If you don't have one of these, you should say N here.
arch/x86/configs/x86_64_defconfig +0 -1
@@ -195,7 +195,6 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_SMP=y CONFIG_SPARSE_IRQ=y -# CONFIG_NUMA_MIGRATE_IRQ_DESC is not set CONFIG_X86_FIND_SMP_CONFIG=y CONFIG_X86_MPPARSE=y # CONFIG_X86_ELAN is not set
arch/x86/include/asm/apic.h +10 -18
@@ -107,8 +107,7 @@ extern u32 native_safe_apic_wait_icr_idle(void);extern void native_apic_icr_write (u32 low,u32 id);extern u64 native_apic_icr_read (void ); -#define EIM_8BIT_APIC_ID 0 -#define EIM_32BIT_APIC_ID 1 +extern int x2apic_mode;#ifdef CONFIG_X86_X2APIC /*
@@ -166,10 +165,9 @@ static inline u64 native_x2apic_icr_read(void)return val; } -extern int x2apic, x2apic_phys; +extern int x2apic_phys;extern void check_x2apic (void );extern void enable_x2apic (void ); -extern void enable_IR_x2apic (void );extern void x2apic_icr_write (u32 low,u32 id);static inline int x2apic_enabled (void ) {
@@ -183,6 +181,8 @@ static inline int x2apic_enabled(void)return 1 ; return 0; } + +#define x2apic_supported () (cpu_has_x2apic)#else static inline void check_x2apic (void ) {
@@ -190,28 +190,20 @@ static inline void check_x2apic(void)static inline void enable_x2apic (void ) { } -static inline void enable_IR_x2apic (void ) -{ -}static inline int x2apic_enabled (void ) {return 0 ; } -#define x2apic 0 - +#define x2apic_preenabled 0 +#define x2apic_supported () 0#endif -extern int get_physical_broadcast (void ); +extern void enable_IR_x2apic (void ); -#ifdef CONFIG_X86_X2APIC -static inline void ack_x2APIC_irq (void ) -{ -/* Docs say use 0 for future compatibility */ -native_apic_msr_write (APIC_EOI ,0 ); -} -#endif +extern int get_physical_broadcast (void ); +extern void apic_disable (void );extern int lapic_get_maxlvt (void );extern void clear_local_APIC (void );extern void connect_bsp_APIC (void );
@@ -252,7 +244,7 @@ static inline void lapic_shutdown(void) { }#define local_apic_timer_c2_ok 1static inline void init_apic_mappings (void ) { }static inline void disable_local_APIC (void ) { } - +static inline void apic_disable (void ) { }#endif /* !CONFIG_X86_LOCAL_APIC */ #ifdef CONFIG_X86_64
arch/x86/include/asm/apicdef.h +4 -4
@@ -22,6 +22,7 @@# define APIC_INTEGRATED (x) (1)#endif #define APIC_XAPIC (x) ((x) >= 0x14) +#define APIC_EXT_SPACE (x) ((x) & 0x80000000)#define APIC_TASKPRI 0x80#define APIC_TPRI_MASK 0xFFu#define APIC_ARBPRI 0x90
@@ -116,7 +117,9 @@#define APIC_TDR_DIV_32 0x8#define APIC_TDR_DIV_64 0x9#define APIC_TDR_DIV_128 0xA -#define APIC_EILVT0 0x500 +#define APIC_EFEAT 0x400 +#define APIC_ECTRL 0x410 +#define APIC_EILVTn (n) (0x500 + 0x10 * n)#define APIC_EILVT_NR_AMD_K8 1/* # of extended interrupts */ #define APIC_EILVT_NR_AMD_10H 4#define APIC_EILVT_LVTOFF (x) (((x) >> 4) & 0xF)
@@ -125,9 +128,6 @@#define APIC_EILVT_MSG_NMI 0x4#define APIC_EILVT_MSG_EXT 0x7#define APIC_EILVT_MASKED (1 << 16) -#define APIC_EILVT1 0x510 -#define APIC_EILVT2 0x520 -#define APIC_EILVT3 0x530#define APIC_BASE (fix_to_virt(FIX_APIC_BASE))#define APIC_BASE_MSR 0x800
arch/x86/include/asm/cpufeature.h +3 -3
@@ -22,7 +22,7 @@#define X86_FEATURE_TSC (0*32+ 4)/* Time Stamp Counter */ #define X86_FEATURE_MSR (0*32+ 5)/* Model-Specific Registers */ #define X86_FEATURE_PAE (0*32+ 6)/* Physical Address Extensions */ -#define X86_FEATURE_MCE (0*32+ 7)/* Machine Check Architecture */ +#define X86_FEATURE_MCE (0*32+ 7)/* Machine Check Exception */ #define X86_FEATURE_CX8 (0*32+ 8)/* CMPXCHG8 instruction */ #define X86_FEATURE_APIC (0*32+ 9)/* Onboard APIC */ #define X86_FEATURE_SEP (0*32+11)/* SYSENTER/SYSEXIT */
@@ -192,11 +192,11 @@ extern const char * const x86_power_flags[32];#define clear_cpu_cap (c, bit) clear_bit(bit, (unsigned long *)((c)->x86_capability))#define setup_clear_cpu_cap (bit) do { \ clear_cpu_cap(&boot_cpu_data, bit); \ - set_bit(bit, (unsigned long *)cleared_cpu_caps); \ + set_bit(bit, (unsigned long *)cpu_caps_cleared); \ } while (0)#define setup_force_cpu_cap (bit) do { \ set_cpu_cap(&boot_cpu_data, bit); \ - clear_bit(bit, (unsigned long *)cleared_cpu_caps); \ + set_bit(bit, (unsigned long *)cpu_caps_set); \ } while (0)#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)
arch/x86/include/asm/hw_irq.h +20 -1
@@ -63,7 +63,26 @@ extern unsigned long io_apic_irqs;extern void init_VISWS_APIC_irqs (void );extern void setup_IO_APIC (void );extern void disable_IO_APIC (void ); -extern int IO_APIC_get_PCI_irq_vector (int bus,int slot,int fn); + +struct io_apic_irq_attr { +int ioapic; +int ioapic_pin; +int trigger; +int polarity; +}; + +static inline void set_io_apic_irq_attr (struct io_apic_irq_attr *irq_attr, +int ioapic,int ioapic_pin, +int trigger,int polarity) +{ + irq_attr->ioapic = ioapic; + irq_attr->ioapic_pin = ioapic_pin; + irq_attr->trigger = trigger; + irq_attr->polarity = polarity; +} + +extern int IO_APIC_get_PCI_irq_vector (int bus,int devfn,int pin, +struct io_apic_irq_attr *irq_attr);extern void setup_ioapic_dest (void );extern void enable_IO_APIC (void );
arch/x86/include/asm/i8259.h +0 -4
@@ -60,8 +60,4 @@ extern struct irq_chip i8259A_chip;extern void mask_8259A (void );extern void unmask_8259A (void ); -#ifdef CONFIG_X86_32 -extern void init_ISA_irqs (void ); -#endif -#endif /* _ASM_X86_I8259_H */
arch/x86/include/asm/io_apic.h +3 -6
@@ -154,22 +154,19 @@ extern int timer_through_8259;extern int io_apic_get_unique_id (int ioapic,int apic_id);extern int io_apic_get_version (int ioapic);extern int io_apic_get_redir_entries (int ioapic); -extern int io_apic_set_pci_routing (int ioapic,int pin,int irq, -int edge_level,int active_high_low);#endif /* CONFIG_ACPI */ +struct io_apic_irq_attr ; +extern int io_apic_set_pci_routing (struct device *dev,int irq, +struct io_apic_irq_attr *irq_attr);extern int (*ioapic_renumber_irq)(int ioapic,int irq);extern void ioapic_init_mappings (void ); -#ifdef CONFIG_X86_64 extern struct IO_APIC_route_entry **alloc_ioapic_entries (void );extern void free_ioapic_entries (struct IO_APIC_route_entry **ioapic_entries);extern int save_IO_APIC_setup (struct IO_APIC_route_entry **ioapic_entries);extern void mask_IO_APIC_setup (struct IO_APIC_route_entry **ioapic_entries);extern int restore_IO_APIC_setup (struct IO_APIC_route_entry **ioapic_entries); -extern void reinit_intr_remapped_IO_APIC (int intr_remapping, -struct IO_APIC_route_entry **ioapic_entries); -#endif extern void probe_nr_irqs_gsi (void );
arch/x86/include/asm/irq_remapping.h +1 -1
@@ -1,6 +1,6 @@#ifndef _ASM_X86_IRQ_REMAPPING_H#define _ASM_X86_IRQ_REMAPPING_H -#define IRTE_DEST (dest) ((x2apic) ? dest : dest << 8) +#define IRTE_DEST (dest) ((x2apic_mode) ? dest : dest << 8)#endif /* _ASM_X86_IRQ_REMAPPING_H */
arch/x86/include/asm/irq_vectors.h +1 -0
@@ -34,6 +34,7 @@#ifdef CONFIG_X86_32 # define SYSCALL_VECTOR 0x80 +# define IA32_SYSCALL_VECTOR 0x80#else # define IA32_SYSCALL_VECTOR 0x80#endif
arch/x86/include/asm/mpspec.h +5 -10
@@ -61,9 +61,11 @@ extern void get_smp_config(void);#ifdef CONFIG_X86_MPPARSE extern void find_smp_config (void );extern void early_reserve_e820_mpc_new (void ); +extern int enable_update_mptable;#else static inline void find_smp_config (void ) { }static inline void early_reserve_e820_mpc_new (void ) { } +#define enable_update_mptable 0#endif void __cpuinit generic_processor_info (int apicid,int version);
@@ -72,20 +74,13 @@ extern void mp_register_ioapic(int id, u32 address, u32 gsi_base);extern void mp_override_legacy_irq (u8 bus_irq,u8 polarity,u8 trigger,u32 gsi);extern void mp_config_acpi_legacy_irqs (void ); -extern int mp_register_gsi (u32 gsi,int edge_level,int active_high_low); +struct device ; +extern int mp_register_gsi (struct device *dev,u32 gsi,int edge_level, +int active_high_low);extern int acpi_probe_gsi (void );#ifdef CONFIG_X86_IO_APIC -extern int mp_config_acpi_gsi (unsigned char number,unsigned int devfn,u8 pin, -u32 gsi,int triggering,int polarity);extern int mp_find_ioapic (int gsi);extern int mp_find_ioapic_pin (int ioapic,int gsi); -#else -static inline int -mp_config_acpi_gsi (unsigned char number,unsigned int devfn,u8 pin, -u32 gsi,int triggering,int polarity) -{ -return 0 ; -}#endif #else /* !CONFIG_ACPI: */ static inline int acpi_probe_gsi (void )
arch/x86/include/asm/processor.h +2 -1
@@ -135,7 +135,8 @@ extern struct cpuinfo_x86 boot_cpu_data;extern struct cpuinfo_x86 new_cpu_data;extern struct tss_struct doublefault_tss; -extern __u32 cleared_cpu_caps[NCAPINTS ]; +extern __u32 cpu_caps_cleared[NCAPINTS ]; +extern __u32 cpu_caps_set[NCAPINTS ];#ifdef CONFIG_SMP DECLARE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info);
arch/x86/include/asm/setup.h +0 -1
@@ -33,7 +33,6 @@ struct x86_quirks {int (*setup_ioapic_ids)(void ); }; -extern void x86_quirk_pre_intr_init (void );extern void x86_quirk_intr_init (void );extern void x86_quirk_trap_init (void );
arch/x86/include/asm/smp.h +1 -1
@@ -180,7 +180,7 @@ extern int safe_smp_processor_id(void);static inline int logical_smp_processor_id (void ) {/* we don't want to mark this access volatile - bad code generation */ -return GET_APIC_LOGICAL_ID (*(u32 *)(APIC_BASE +APIC_LDR )); +return GET_APIC_LOGICAL_ID (apic_read (APIC_LDR )); }#endif
arch/x86/kernel/Makefile +1 -1
@@ -28,7 +28,7 @@ CFLAGS_paravirt.o := $(nostackp) obj-y := process_$(BITS).o signal.o entry_$(BITS).o obj-y += traps.o irq.o irq_$(BITS).o dumpstack_$(BITS).o obj-y += time_$(BITS).o ioport.o ldt.o dumpstack.o -obj-y += setup.o i8259.o irqinit_$(BITS).o +obj-y += setup.o i8259.o irqinit.o obj-$(CONFIG_X86_VISWS) += visws_quirks.o obj-$(CONFIG_X86_32) += probe_roms_32.o obj-$(CONFIG_X86_32) += sys_i386_32.o i386_ksyms_32.o
arch/x86/kernel/acpi/boot.c +53 -103
225 lines not on this page · raw message
arch/x86/kernel/apic/apic.c +191 -120
515 lines not on this page · raw message
arch/x86/kernel/apic/apic_flat_64.c +2 -2
@@ -161,7 +161,7 @@ static int flat_apic_id_registered(void)static int flat_phys_pkg_id (int initial_apic_id,int index_msb) { -return hard_smp_processor_id () >> index_msb; +return initial_apic_id >> index_msb; }struct apic apic_flat = {
@@ -235,7 +235,7 @@ static int physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id)* regardless of how many processors are present (x86_64 ES7000 * is an example). */ -if (acpi_gbl_FADT.header.revision >FADT2_REVISION_ID && +if (acpi_gbl_FADT.header.revision >=FADT2_REVISION_ID && (acpi_gbl_FADT.flags &ACPI_FADT_APIC_PHYSICAL )) {printk (KERN_DEBUG "system APIC only can use physical flat" );return 1 ;
arch/x86/kernel/apic/es7000_32.c +1 -1
@@ -145,7 +145,7 @@ es7000_rename_gsi(int ioapic, int gsi)return gsi; } -static int wakeup_secondary_cpu_via_mip (int cpu,unsigned long eip) +static int __cpuinit wakeup_secondary_cpu_via_mip (int cpu,unsigned long eip) {unsigned long vect =0 , psaival =0 ;
arch/x86/kernel/apic/io_apic.c +447 -454
1,377 lines not on this page · raw message
arch/x86/kernel/apic/probe_64.c +1 -1
@@ -50,7 +50,7 @@ static struct apic *apic_probe[] __initdata = {void __init default_setup_apic_routing (void ) {#ifdef CONFIG_X86_X2APIC - if (x2apic && (apic != &apic_x2apic_phys && + if (x2apic_mode && (apic != &apic_x2apic_phys && #ifdef CONFIG_X86_UV apic != &apic_x2apic_uv_x &&#endif
arch/x86/kernel/apic/summit_32.c +0 -7
@@ -173,13 +173,6 @@ static inline int is_WPEG(struct rio_detail *rio){ rio->type == LookOutAWPEG || rio->type == LookOutBWPEG); } - -/* In clustered mode, the high nibble of APIC ID is a cluster number. -* The low nibble is a 4-bit bitmap. */ -#define XAPIC_DEST_CPUS_SHIFT 4 -#define XAPIC_DEST_CPUS_MASK ((1u << XAPIC_DEST_CPUS_SHIFT) - 1) -#define XAPIC_DEST_CLUSTER_MASK (XAPIC_DEST_CPUS_MASK << XAPIC_DEST_CPUS_SHIFT) -#define SUMMIT_APIC_DFR_VALUE (APIC_DFR_CLUSTER)static const struct cpumask *summit_target_cpus (void )
arch/x86/kernel/apic/x2apic_uv_x.c +4 -1
@@ -105,7 +105,7 @@ static void uv_vector_allocation_domain(int cpu, struct cpumask *retmask)cpumask_set_cpu (cpu, retmask); } -static int uv_wakeup_secondary (int phys_apicid,unsigned long start_rip) +static int __cpuinit uv_wakeup_secondary (int phys_apicid,unsigned long start_rip) {#ifdef CONFIG_SMP unsigned long val;
@@ -583,15 +583,18 @@ void __init uv_system_init(void) bytes =sizeof (struct uv_blade_info ) *uv_num_possible_blades (); uv_blade_info =kmalloc (bytes,GFP_KERNEL ); +BUG_ON (!uv_blade_info);get_lowmem_redirect (&lowmem_redir_base, &lowmem_redir_size); bytes =sizeof (uv_node_to_blade[0 ]) *num_possible_nodes (); uv_node_to_blade =kmalloc (bytes,GFP_KERNEL ); +BUG_ON (!uv_node_to_blade);memset (uv_node_to_blade,255 , bytes); bytes =sizeof (uv_cpu_to_blade[0 ]) *num_possible_cpus (); uv_cpu_to_blade =kmalloc (bytes,GFP_KERNEL ); +BUG_ON (!uv_cpu_to_blade);memset (uv_cpu_to_blade,255 , bytes); blade =0 ;
arch/x86/kernel/cpu/amd.c +1 -1
@@ -272,7 +272,7 @@ static void __cpuinit srat_detect_node(struct cpuinfo_x86 *c)#if defined(CONFIG_NUMA ) && defined(CONFIG_X86_64 )
Lines of this file are not shown. View the raw message.
arch/x86/kernel/irqinit.c renamed from arch/x86/kernel/irqinit_32.c +109 -40
149 lines not on this page · raw message
arch/x86/kernel/irqinit_64.c deleted +0 -177
177 lines not on this page · raw message
arch/x86/pci/irq.c +35 -49
84 lines not on this page · raw message
drivers/pci/hotplug/ibmphp_core.c +28 -26
54 lines not on this page · raw message
drivers/pci/intr_remapping.c +31 -23
54 lines not on this page · raw message
include/linux/irq.h +30 -28
58 lines not on this page · raw message
kernel/irq/handle.c +30 -28
58 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.