]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'tip/auto-latest'
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 04:23:26 +0000 (15:23 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 04:23:26 +0000 (15:23 +1100)
Conflicts:
drivers/iommu/Makefile

21 files changed:
1  2 
Documentation/kernel-parameters.txt
arch/arm/common/gic.c
arch/arm/kernel/smp.c
arch/arm/kernel/traps.c
arch/arm/mach-footbridge/netwinder-hw.c
arch/arm/mach-integrator/core.c
arch/arm/mach-ixp4xx/common-pci.c
arch/arm/mm/cache-l2x0.c
arch/arm/mm/context.c
arch/ia64/configs/generic_defconfig
arch/x86/Kconfig
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/mcheck/mce.c
arch/x86/kernel/process_32.c
drivers/acpi/processor_idle.c
drivers/cpufreq/cpufreq_ondemand.c
drivers/iommu/Kconfig
drivers/iommu/Makefile
drivers/iommu/intel-iommu.c
drivers/leds/Kconfig
kernel/sched.c

Simple merge
index 8b5be72eb9b9f729197d4fc3123b7d89efa9b3f1,6fba8bd5689e2b1e36932b79c36d4a85fedc2649..1619eebb625d2c7cc64e84f7f7562a52416238b1
@@@ -181,12 -180,12 +181,12 @@@ static int gic_set_affinity(struct irq_
                return -EINVAL;
  
        mask = 0xff << shift;
 -      bit = 1 << (cpu + shift);
 +      bit = 1 << (cpu_logical_map(cpu) + shift);
  
-       spin_lock(&irq_controller_lock);
+       raw_spin_lock(&irq_controller_lock);
        val = readl_relaxed(reg) & ~mask;
        writel_relaxed(val | bit, reg);
-       spin_unlock(&irq_controller_lock);
+       raw_spin_unlock(&irq_controller_lock);
  
        return IRQ_SET_MASK_OK;
  }
Simple merge
index 7f5b99eb2c5091b1a37d54c6d326c15133cfcee5,81cc05a0274cb3f32a27ddb10ba42eac77772cbc..99a57270250936ae69e02abd57b27b8a1c3dd022
@@@ -269,11 -267,9 +269,11 @@@ void die(const char *str, struct pt_reg
  
        oops_enter();
  
-       spin_lock_irq(&die_lock);
+       raw_spin_lock_irq(&die_lock);
        console_verbose();
        bust_spinlocks(1);
 +      if (!user_mode(regs))
 +              report_bug(regs->ARM_pc, regs);
        ret = __die(str, err, thread, regs);
  
        if (regs && kexec_should_crash(thread->task))
@@@ -305,26 -301,8 +305,26 @@@ void arm_notify_die(const char *str, st
        }
  }
  
 +#ifdef CONFIG_GENERIC_BUG
 +
 +int is_valid_bugaddr(unsigned long pc)
 +{
 +#ifdef CONFIG_THUMB2_KERNEL
 +      unsigned short bkpt;
 +#else
 +      unsigned long bkpt;
 +#endif
 +
 +      if (probe_kernel_address((unsigned *)pc, bkpt))
 +              return 0;
 +
 +      return bkpt == BUG_INSTR_VALUE;
 +}
 +
 +#endif
 +
  static LIST_HEAD(undef_hook);
- static DEFINE_SPINLOCK(undef_lock);
+ static DEFINE_RAW_SPINLOCK(undef_lock);
  
  void register_undef_hook(struct undef_hook *hook)
  {
Simple merge
Simple merge
index 3f9b9980478e523550e0929e6f16fb9269d552bd,3255c51e3e3546190014fbc7a27edfa2f954ad23..8ac9e9f84790bb946716016607478ad97711376d
@@@ -285,10 -274,10 +285,10 @@@ static void l2x0_disable(void
        __l2x0_flush_all();
        writel_relaxed(0, l2x0_base + L2X0_CTRL);
        dsb();
-       spin_unlock_irqrestore(&l2x0_lock, flags);
+       raw_spin_unlock_irqrestore(&l2x0_lock, flags);
  }
  
 -static void __init l2x0_unlock(__u32 cache_id)
 +static void l2x0_unlock(__u32 cache_id)
  {
        int lockregs;
        int i;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index f798cdd3699e2081fbed2fec81eec9f409d155b2,6394994a2b9dafff89522e1bb22ad021c09d30fb..2f4448794bc793133d5f1e8a3145be4c1cc685b3
@@@ -1,8 -1,6 +1,9 @@@
  obj-$(CONFIG_IOMMU_API) += iommu.o
  obj-$(CONFIG_MSM_IOMMU) += msm_iommu.o msm_iommu_dev.o
  obj-$(CONFIG_AMD_IOMMU) += amd_iommu.o amd_iommu_init.o
- obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
- obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
+ obj-$(CONFIG_DMAR_TABLE) += dmar.o
+ obj-$(CONFIG_INTEL_IOMMU) += iova.o intel-iommu.o
+ obj-$(CONFIG_IRQ_REMAP) += intr_remapping.o
 +obj-$(CONFIG_OMAP_IOMMU) += omap-iommu.o
 +obj-$(CONFIG_OMAP_IOVMM) += omap-iovmm.o
 +obj-$(CONFIG_OMAP_IOMMU_DEBUG) += omap-iommu-debug.o
Simple merge
Simple merge
diff --cc kernel/sched.c
Simple merge