Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm

Pull ARM fixes from Russell King:
"A small number of fixes for stuff from the last merge window, and in
one case (IRQ time accounting) the previous merge window."

* 'fixes' of git://git.linaro.org/people/rmk/linux-arm:
ARM: 7720/1: ARM v6/v7 cmpxchg64 shouldn't clear upper 32 bits of the old/new value
ARM: 7715/1: MCPM: adapt to GIC changes after upstream merge
ARM: 7714/1: mmc: mmci: Ensure return value of regulator_enable() is checked
ARM: 7712/1: Remove trailing whitespace in arch/arm/Makefile
ARM: 7711/1: dove: fix Dove cpu type from V7 to PJ4
ARM: finally enable IRQ time accounting config

+14 -11
+2 -1
arch/arm/Kconfig
··· 38 38 select HAVE_GENERIC_HARDIRQS 39 39 select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)) 40 40 select HAVE_IDE if PCI || ISA || PCMCIA 41 + select HAVE_IRQ_TIME_ACCOUNTING 41 42 select HAVE_KERNEL_GZIP 42 43 select HAVE_KERNEL_LZMA 43 44 select HAVE_KERNEL_LZO ··· 489 488 config ARCH_DOVE 490 489 bool "Marvell Dove" 491 490 select ARCH_REQUIRE_GPIOLIB 492 - select CPU_V7 491 + select CPU_PJ4 493 492 select GENERIC_CLOCKEVENTS 494 493 select MIGHT_HAVE_PCI 495 494 select PINCTRL
+1 -1
arch/arm/Makefile
··· 309 309 echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)' 310 310 echo '* xipImage - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)' 311 311 echo ' uImage - U-Boot wrapped zImage' 312 - echo ' bootpImage - Combined zImage and initial RAM disk' 312 + echo ' bootpImage - Combined zImage and initial RAM disk' 313 313 echo ' (supply initrd image via make variable INITRD=<path>)' 314 314 echo '* dtbs - Build device tree blobs for enabled boards' 315 315 echo ' install - Install uncompressed kernel'
-3
arch/arm/common/mcpm_platsmp.c
··· 15 15 #include <linux/smp.h> 16 16 #include <linux/spinlock.h> 17 17 18 - #include <linux/irqchip/arm-gic.h> 19 - 20 18 #include <asm/mcpm.h> 21 19 #include <asm/smp.h> 22 20 #include <asm/smp_plat.h> ··· 47 49 static void __cpuinit mcpm_secondary_init(unsigned int cpu) 48 50 { 49 51 mcpm_cpu_powered_up(); 50 - gic_secondary_init(0); 51 52 } 52 53 53 54 #ifdef CONFIG_HOTPLUG_CPU
+4 -4
arch/arm/include/asm/cmpxchg.h
··· 233 233 ((__typeof__(*(ptr)))atomic64_cmpxchg(container_of((ptr), \ 234 234 atomic64_t, \ 235 235 counter), \ 236 - (unsigned long)(o), \ 237 - (unsigned long)(n))) 236 + (unsigned long long)(o), \ 237 + (unsigned long long)(n))) 238 238 239 239 #define cmpxchg64_local(ptr, o, n) \ 240 240 ((__typeof__(*(ptr)))local64_cmpxchg(container_of((ptr), \ 241 241 local64_t, \ 242 242 a), \ 243 - (unsigned long)(o), \ 244 - (unsigned long)(n))) 243 + (unsigned long long)(o), \ 244 + (unsigned long long)(n))) 245 245 246 246 #endif /* __LINUX_ARM_ARCH__ >= 6 */ 247 247
+7 -2
drivers/mmc/host/mmci.c
··· 1130 1130 struct variant_data *variant = host->variant; 1131 1131 u32 pwr = 0; 1132 1132 unsigned long flags; 1133 + int ret; 1133 1134 1134 1135 pm_runtime_get_sync(mmc_dev(mmc)); 1135 1136 ··· 1162 1161 break; 1163 1162 case MMC_POWER_ON: 1164 1163 if (!IS_ERR(mmc->supply.vqmmc) && 1165 - !regulator_is_enabled(mmc->supply.vqmmc)) 1166 - regulator_enable(mmc->supply.vqmmc); 1164 + !regulator_is_enabled(mmc->supply.vqmmc)) { 1165 + ret = regulator_enable(mmc->supply.vqmmc); 1166 + if (ret < 0) 1167 + dev_err(mmc_dev(mmc), 1168 + "failed to enable vqmmc regulator\n"); 1169 + } 1167 1170 1168 1171 pwr |= MCI_PWR_ON; 1169 1172 break;