Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm:
ARM: Ensure ARMv6/7 mm files are built using appropriate assembler options
ARM: Fix wrong dmb
ARM: 5874/1: serial21285: fix disable_irq-from-interrupt-handler deadlock
ARM: 5873/1: ARM: Fix the reset logic for ARM RealView boards
ARM: 5872/1: ARM: include needed linux/cpu.h in asm/cpu.h
ARM: 5871/1: arch/arm: Fix build failure for lpd7a404_defconfig caused by missing includes
ARM: 5870/1: arch/arm: Fix build failure for defconfigs without CONFIG_ISA_DMA_API set
ARM: 5868/1: ARM: fix "BUG: using smp_processor_id() in preemptible code"
ARM: 5867/1: Update U300 defconfig
ARM: 5866/1: arm ptrace: use unsigned types for kernel pt_regs
[ARM] pxa: fix strange characters in zaurus gpio .desc
ARM: add missing recvmmsg syscall number
[ARM] pxa: fix compiler warnings of unused variable 'id' in cpu_is_pxa9*()
[ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *'
[ARM] pxa: enable L2 if present in XSC3
[ARM] pxa: do not enable L2 after MMU is enabled

+183 -56
+71 -10
arch/arm/configs/u300_defconfig
··· 1 # 2 # Automatically generated make config: don't edit 3 - # Linux kernel version: 2.6.32-rc5 4 - # Sat Oct 17 23:32:24 2009 5 # 6 CONFIG_ARM=y 7 CONFIG_SYS_SUPPORTS_APM_EMULATION=y ··· 46 # 47 CONFIG_TREE_RCU=y 48 # CONFIG_TREE_PREEMPT_RCU is not set 49 # CONFIG_RCU_TRACE is not set 50 CONFIG_RCU_FANOUT=32 51 # CONFIG_RCU_FANOUT_EXACT is not set ··· 120 # IO Schedulers 121 # 122 CONFIG_IOSCHED_NOOP=y 123 - # CONFIG_IOSCHED_AS is not set 124 CONFIG_IOSCHED_DEADLINE=y 125 # CONFIG_IOSCHED_CFQ is not set 126 - # CONFIG_DEFAULT_AS is not set 127 CONFIG_DEFAULT_DEADLINE=y 128 # CONFIG_DEFAULT_CFQ is not set 129 # CONFIG_DEFAULT_NOOP is not set 130 CONFIG_DEFAULT_IOSCHED="deadline" 131 # CONFIG_FREEZER is not set 132 133 # ··· 183 # CONFIG_ARCH_IXP2000 is not set 184 # CONFIG_ARCH_IXP4XX is not set 185 # CONFIG_ARCH_L7200 is not set 186 # CONFIG_ARCH_KIRKWOOD is not set 187 # CONFIG_ARCH_LOKI is not set 188 # CONFIG_ARCH_MV78XX0 is not set ··· 206 # CONFIG_ARCH_DAVINCI is not set 207 # CONFIG_ARCH_OMAP is not set 208 # CONFIG_ARCH_BCMRING is not set 209 210 # 211 # ST-Ericsson AB U300/U330/U335/U365 Platform ··· 295 CONFIG_FLATMEM=y 296 CONFIG_FLAT_NODE_MEM_MAP=y 297 CONFIG_PAGEFLAGS_EXTENDED=y 298 - CONFIG_SPLIT_PTLOCK_CPUS=4096 299 # CONFIG_PHYS_ADDR_T_64BIT is not set 300 CONFIG_ZONE_DMA_FLAG=0 301 CONFIG_VIRT_TO_BUS=y 302 - CONFIG_HAVE_MLOCK=y 303 - CONFIG_HAVE_MLOCKED_PAGE_BIT=y 304 # CONFIG_KSM is not set 305 CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 306 CONFIG_ALIGNMENT_TRAP=y ··· 527 CONFIG_BLK_DEV=y 528 # CONFIG_BLK_DEV_COW_COMMON is not set 529 # CONFIG_BLK_DEV_LOOP is not set 530 # CONFIG_BLK_DEV_NBD is not set 531 # CONFIG_BLK_DEV_RAM is not set 532 # CONFIG_CDROM_PKTCDVD is not set 533 # CONFIG_ATA_OVER_ETH is not set 534 CONFIG_MISC_DEVICES=y 535 # CONFIG_ICS932S401 is not set 536 # CONFIG_ENCLOSURE_SERVICES is not set 537 # CONFIG_ISL29003 is not set 538 # CONFIG_C2PORT is not set 539 540 # ··· 552 # CONFIG_EEPROM_LEGACY is not set 553 # CONFIG_EEPROM_MAX6875 is not set 554 # CONFIG_EEPROM_93CX6 is not set 555 CONFIG_HAVE_IDE=y 556 # CONFIG_IDE is not set 557 ··· 575 CONFIG_INPUT=y 576 # CONFIG_INPUT_FF_MEMLESS is not set 577 # CONFIG_INPUT_POLLDEV is not set 578 579 # 580 # Userland interfaces ··· 682 # 683 # Miscellaneous I2C Chip support 684 # 685 - # CONFIG_DS1682 is not set 686 # CONFIG_SENSORS_TSL2550 is not set 687 # CONFIG_I2C_DEBUG_CORE is not set 688 # CONFIG_I2C_DEBUG_ALGO is not set ··· 697 # CONFIG_SPI_BITBANG is not set 698 # CONFIG_SPI_GPIO is not set 699 CONFIG_SPI_PL022=y 700 701 # 702 # SPI Protocol Masters ··· 746 # CONFIG_MFD_T7L66XB is not set 747 # CONFIG_MFD_TC6387XB is not set 748 # CONFIG_PMIC_DA903X is not set 749 # CONFIG_MFD_WM8400 is not set 750 # CONFIG_MFD_WM831X is not set 751 # CONFIG_MFD_WM8350_I2C is not set ··· 755 CONFIG_AB3100_CORE=y 756 CONFIG_AB3100_OTP=y 757 # CONFIG_EZX_PCAP is not set 758 CONFIG_REGULATOR=y 759 # CONFIG_REGULATOR_DEBUG is not set 760 # CONFIG_REGULATOR_FIXED_VOLTAGE is not set ··· 764 # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set 765 # CONFIG_REGULATOR_BQ24022 is not set 766 # CONFIG_REGULATOR_MAX1586 is not set 767 # CONFIG_REGULATOR_LP3971 is not set 768 CONFIG_REGULATOR_AB3100=y 769 # CONFIG_REGULATOR_TPS65023 is not set ··· 882 # CONFIG_LEDS_LP3944 is not set 883 # CONFIG_LEDS_PCA955X is not set 884 # CONFIG_LEDS_DAC124S085 is not set 885 # CONFIG_LEDS_BD2802 is not set 886 887 # 888 # LED Triggers ··· 926 # CONFIG_RTC_DRV_PCF8563 is not set 927 # CONFIG_RTC_DRV_PCF8583 is not set 928 # CONFIG_RTC_DRV_M41T80 is not set 929 # CONFIG_RTC_DRV_S35390A is not set 930 # CONFIG_RTC_DRV_FM3130 is not set 931 # CONFIG_RTC_DRV_RX8581 is not set ··· 956 # CONFIG_RTC_DRV_M48T86 is not set 957 # CONFIG_RTC_DRV_M48T35 is not set 958 # CONFIG_RTC_DRV_M48T59 is not set 959 # CONFIG_RTC_DRV_BQ4802 is not set 960 # CONFIG_RTC_DRV_V3020 is not set 961 CONFIG_RTC_DRV_AB3100=y 962 ··· 973 # 974 # DMA Devices 975 # 976 # CONFIG_AUXDISPLAY is not set 977 # CONFIG_UIO is not set 978 ··· 1074 CONFIG_MSDOS_PARTITION=y 1075 CONFIG_NLS=y 1076 CONFIG_NLS_DEFAULT="iso8859-1" 1077 - # CONFIG_NLS_CODEPAGE_437 is not set 1078 # CONFIG_NLS_CODEPAGE_737 is not set 1079 # CONFIG_NLS_CODEPAGE_775 is not set 1080 # CONFIG_NLS_CODEPAGE_850 is not set ··· 1191 # CONFIG_DEBUG_ERRORS is not set 1192 # CONFIG_DEBUG_STACK_USAGE is not set 1193 # CONFIG_DEBUG_LL is not set 1194 1195 # 1196 # Security options ··· 1199 # CONFIG_KEYS is not set 1200 # CONFIG_SECURITY is not set 1201 # CONFIG_SECURITYFS is not set 1202 - # CONFIG_SECURITY_FILE_CAPABILITIES is not set 1203 # CONFIG_CRYPTO is not set 1204 # CONFIG_BINARY_PRINTF is not set 1205
··· 1 # 2 # Automatically generated make config: don't edit 3 + # Linux kernel version: 2.6.33-rc2 4 + # Wed Jan 6 00:01:36 2010 5 # 6 CONFIG_ARM=y 7 CONFIG_SYS_SUPPORTS_APM_EMULATION=y ··· 46 # 47 CONFIG_TREE_RCU=y 48 # CONFIG_TREE_PREEMPT_RCU is not set 49 + # CONFIG_TINY_RCU is not set 50 # CONFIG_RCU_TRACE is not set 51 CONFIG_RCU_FANOUT=32 52 # CONFIG_RCU_FANOUT_EXACT is not set ··· 119 # IO Schedulers 120 # 121 CONFIG_IOSCHED_NOOP=y 122 CONFIG_IOSCHED_DEADLINE=y 123 # CONFIG_IOSCHED_CFQ is not set 124 CONFIG_DEFAULT_DEADLINE=y 125 # CONFIG_DEFAULT_CFQ is not set 126 # CONFIG_DEFAULT_NOOP is not set 127 CONFIG_DEFAULT_IOSCHED="deadline" 128 + # CONFIG_INLINE_SPIN_TRYLOCK is not set 129 + # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set 130 + # CONFIG_INLINE_SPIN_LOCK is not set 131 + # CONFIG_INLINE_SPIN_LOCK_BH is not set 132 + # CONFIG_INLINE_SPIN_LOCK_IRQ is not set 133 + # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set 134 + # CONFIG_INLINE_SPIN_UNLOCK is not set 135 + # CONFIG_INLINE_SPIN_UNLOCK_BH is not set 136 + # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set 137 + # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set 138 + # CONFIG_INLINE_READ_TRYLOCK is not set 139 + # CONFIG_INLINE_READ_LOCK is not set 140 + # CONFIG_INLINE_READ_LOCK_BH is not set 141 + # CONFIG_INLINE_READ_LOCK_IRQ is not set 142 + # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set 143 + # CONFIG_INLINE_READ_UNLOCK is not set 144 + # CONFIG_INLINE_READ_UNLOCK_BH is not set 145 + # CONFIG_INLINE_READ_UNLOCK_IRQ is not set 146 + # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set 147 + # CONFIG_INLINE_WRITE_TRYLOCK is not set 148 + # CONFIG_INLINE_WRITE_LOCK is not set 149 + # CONFIG_INLINE_WRITE_LOCK_BH is not set 150 + # CONFIG_INLINE_WRITE_LOCK_IRQ is not set 151 + # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set 152 + # CONFIG_INLINE_WRITE_UNLOCK is not set 153 + # CONFIG_INLINE_WRITE_UNLOCK_BH is not set 154 + # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set 155 + # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set 156 + # CONFIG_MUTEX_SPIN_ON_OWNER is not set 157 # CONFIG_FREEZER is not set 158 159 # ··· 155 # CONFIG_ARCH_IXP2000 is not set 156 # CONFIG_ARCH_IXP4XX is not set 157 # CONFIG_ARCH_L7200 is not set 158 + # CONFIG_ARCH_DOVE is not set 159 # CONFIG_ARCH_KIRKWOOD is not set 160 # CONFIG_ARCH_LOKI is not set 161 # CONFIG_ARCH_MV78XX0 is not set ··· 177 # CONFIG_ARCH_DAVINCI is not set 178 # CONFIG_ARCH_OMAP is not set 179 # CONFIG_ARCH_BCMRING is not set 180 + # CONFIG_ARCH_U8500 is not set 181 182 # 183 # ST-Ericsson AB U300/U330/U335/U365 Platform ··· 265 CONFIG_FLATMEM=y 266 CONFIG_FLAT_NODE_MEM_MAP=y 267 CONFIG_PAGEFLAGS_EXTENDED=y 268 + CONFIG_SPLIT_PTLOCK_CPUS=999999 269 # CONFIG_PHYS_ADDR_T_64BIT is not set 270 CONFIG_ZONE_DMA_FLAG=0 271 CONFIG_VIRT_TO_BUS=y 272 # CONFIG_KSM is not set 273 CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 274 CONFIG_ALIGNMENT_TRAP=y ··· 499 CONFIG_BLK_DEV=y 500 # CONFIG_BLK_DEV_COW_COMMON is not set 501 # CONFIG_BLK_DEV_LOOP is not set 502 + 503 + # 504 + # DRBD disabled because PROC_FS, INET or CONNECTOR not selected 505 + # 506 # CONFIG_BLK_DEV_NBD is not set 507 # CONFIG_BLK_DEV_RAM is not set 508 # CONFIG_CDROM_PKTCDVD is not set 509 # CONFIG_ATA_OVER_ETH is not set 510 CONFIG_MISC_DEVICES=y 511 + # CONFIG_AD525X_DPOT is not set 512 # CONFIG_ICS932S401 is not set 513 # CONFIG_ENCLOSURE_SERVICES is not set 514 # CONFIG_ISL29003 is not set 515 + # CONFIG_DS1682 is not set 516 + # CONFIG_TI_DAC7512 is not set 517 # CONFIG_C2PORT is not set 518 519 # ··· 517 # CONFIG_EEPROM_LEGACY is not set 518 # CONFIG_EEPROM_MAX6875 is not set 519 # CONFIG_EEPROM_93CX6 is not set 520 + # CONFIG_IWMC3200TOP is not set 521 CONFIG_HAVE_IDE=y 522 # CONFIG_IDE is not set 523 ··· 539 CONFIG_INPUT=y 540 # CONFIG_INPUT_FF_MEMLESS is not set 541 # CONFIG_INPUT_POLLDEV is not set 542 + # CONFIG_INPUT_SPARSEKMAP is not set 543 544 # 545 # Userland interfaces ··· 645 # 646 # Miscellaneous I2C Chip support 647 # 648 # CONFIG_SENSORS_TSL2550 is not set 649 # CONFIG_I2C_DEBUG_CORE is not set 650 # CONFIG_I2C_DEBUG_ALGO is not set ··· 661 # CONFIG_SPI_BITBANG is not set 662 # CONFIG_SPI_GPIO is not set 663 CONFIG_SPI_PL022=y 664 + # CONFIG_SPI_XILINX is not set 665 + # CONFIG_SPI_DESIGNWARE is not set 666 667 # 668 # SPI Protocol Masters ··· 708 # CONFIG_MFD_T7L66XB is not set 709 # CONFIG_MFD_TC6387XB is not set 710 # CONFIG_PMIC_DA903X is not set 711 + # CONFIG_PMIC_ADP5520 is not set 712 # CONFIG_MFD_WM8400 is not set 713 # CONFIG_MFD_WM831X is not set 714 # CONFIG_MFD_WM8350_I2C is not set ··· 716 CONFIG_AB3100_CORE=y 717 CONFIG_AB3100_OTP=y 718 # CONFIG_EZX_PCAP is not set 719 + # CONFIG_MFD_88PM8607 is not set 720 + # CONFIG_AB4500_CORE is not set 721 CONFIG_REGULATOR=y 722 # CONFIG_REGULATOR_DEBUG is not set 723 # CONFIG_REGULATOR_FIXED_VOLTAGE is not set ··· 723 # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set 724 # CONFIG_REGULATOR_BQ24022 is not set 725 # CONFIG_REGULATOR_MAX1586 is not set 726 + # CONFIG_REGULATOR_MAX8660 is not set 727 # CONFIG_REGULATOR_LP3971 is not set 728 CONFIG_REGULATOR_AB3100=y 729 # CONFIG_REGULATOR_TPS65023 is not set ··· 840 # CONFIG_LEDS_LP3944 is not set 841 # CONFIG_LEDS_PCA955X is not set 842 # CONFIG_LEDS_DAC124S085 is not set 843 + # CONFIG_LEDS_REGULATOR is not set 844 # CONFIG_LEDS_BD2802 is not set 845 + # CONFIG_LEDS_LT3593 is not set 846 847 # 848 # LED Triggers ··· 882 # CONFIG_RTC_DRV_PCF8563 is not set 883 # CONFIG_RTC_DRV_PCF8583 is not set 884 # CONFIG_RTC_DRV_M41T80 is not set 885 + # CONFIG_RTC_DRV_BQ32K is not set 886 # CONFIG_RTC_DRV_S35390A is not set 887 # CONFIG_RTC_DRV_FM3130 is not set 888 # CONFIG_RTC_DRV_RX8581 is not set ··· 911 # CONFIG_RTC_DRV_M48T86 is not set 912 # CONFIG_RTC_DRV_M48T35 is not set 913 # CONFIG_RTC_DRV_M48T59 is not set 914 + # CONFIG_RTC_DRV_MSM6242 is not set 915 # CONFIG_RTC_DRV_BQ4802 is not set 916 + # CONFIG_RTC_DRV_RP5C01 is not set 917 # CONFIG_RTC_DRV_V3020 is not set 918 CONFIG_RTC_DRV_AB3100=y 919 ··· 926 # 927 # DMA Devices 928 # 929 + CONFIG_COH901318=y 930 + CONFIG_DMA_ENGINE=y 931 + 932 + # 933 + # DMA Clients 934 + # 935 + # CONFIG_NET_DMA is not set 936 + # CONFIG_ASYNC_TX_DMA is not set 937 + # CONFIG_DMATEST is not set 938 # CONFIG_AUXDISPLAY is not set 939 # CONFIG_UIO is not set 940 ··· 1018 CONFIG_MSDOS_PARTITION=y 1019 CONFIG_NLS=y 1020 CONFIG_NLS_DEFAULT="iso8859-1" 1021 + CONFIG_NLS_CODEPAGE_437=y 1022 # CONFIG_NLS_CODEPAGE_737 is not set 1023 # CONFIG_NLS_CODEPAGE_775 is not set 1024 # CONFIG_NLS_CODEPAGE_850 is not set ··· 1135 # CONFIG_DEBUG_ERRORS is not set 1136 # CONFIG_DEBUG_STACK_USAGE is not set 1137 # CONFIG_DEBUG_LL is not set 1138 + # CONFIG_OC_ETM is not set 1139 1140 # 1141 # Security options ··· 1142 # CONFIG_KEYS is not set 1143 # CONFIG_SECURITY is not set 1144 # CONFIG_SECURITYFS is not set 1145 + # CONFIG_DEFAULT_SECURITY_SELINUX is not set 1146 + # CONFIG_DEFAULT_SECURITY_SMACK is not set 1147 + # CONFIG_DEFAULT_SECURITY_TOMOYO is not set 1148 + CONFIG_DEFAULT_SECURITY_DAC=y 1149 + CONFIG_DEFAULT_SECURITY="" 1150 # CONFIG_CRYPTO is not set 1151 # CONFIG_BINARY_PRINTF is not set 1152
+1
arch/arm/include/asm/cpu.h
··· 11 #define __ASM_ARM_CPU_H 12 13 #include <linux/percpu.h> 14 15 struct cpuinfo_arm { 16 struct cpu cpu;
··· 11 #define __ASM_ARM_CPU_H 12 13 #include <linux/percpu.h> 14 + #include <linux/cpu.h> 15 16 struct cpuinfo_arm { 17 struct cpu cpu;
+2 -2
arch/arm/include/asm/dma.h
··· 138 #define NO_DMA 255 139 #endif 140 141 #ifdef CONFIG_PCI 142 extern int isa_dma_bridge_buggy; 143 #else 144 #define isa_dma_bridge_buggy (0) 145 #endif 146 - 147 - #endif /* CONFIG_ISA_DMA_API */ 148 149 #endif /* __ASM_ARM_DMA_H */
··· 138 #define NO_DMA 255 139 #endif 140 141 + #endif /* CONFIG_ISA_DMA_API */ 142 + 143 #ifdef CONFIG_PCI 144 extern int isa_dma_bridge_buggy; 145 #else 146 #define isa_dma_bridge_buggy (0) 147 #endif 148 149 #endif /* __ASM_ARM_DMA_H */
+6
arch/arm/include/asm/ptrace.h
··· 97 * stack during a system call. Note that sizeof(struct pt_regs) 98 * has to be a multiple of 8. 99 */ 100 struct pt_regs { 101 long uregs[18]; 102 }; 103 104 #define ARM_cpsr uregs[16] 105 #define ARM_pc uregs[15]
··· 97 * stack during a system call. Note that sizeof(struct pt_regs) 98 * has to be a multiple of 8. 99 */ 100 + #ifndef __KERNEL__ 101 struct pt_regs { 102 long uregs[18]; 103 }; 104 + #else /* __KERNEL__ */ 105 + struct pt_regs { 106 + unsigned long uregs[18]; 107 + }; 108 + #endif /* __KERNEL__ */ 109 110 #define ARM_cpsr uregs[16] 111 #define ARM_pc uregs[15]
+1
arch/arm/include/asm/unistd.h
··· 391 #define __NR_pwritev (__NR_SYSCALL_BASE+362) 392 #define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363) 393 #define __NR_perf_event_open (__NR_SYSCALL_BASE+364) 394 395 /* 396 * The following SWIs are ARM private.
··· 391 #define __NR_pwritev (__NR_SYSCALL_BASE+362) 392 #define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363) 393 #define __NR_perf_event_open (__NR_SYSCALL_BASE+364) 394 + #define __NR_recvmmsg (__NR_SYSCALL_BASE+365) 395 396 /* 397 * The following SWIs are ARM private.
+1 -3
arch/arm/kernel/entry-armv.S
··· 957 958 #else 959 960 - #ifdef CONFIG_SMP 961 - mcr p15, 0, r0, c7, c10, 5 @ dmb 962 - #endif 963 1: ldrex r3, [r2] 964 subs r3, r3, r0 965 strexeq r3, r1, [r2]
··· 957 958 #else 959 960 + smp_dmb 961 1: ldrex r3, [r2] 962 subs r3, r3, r0 963 strexeq r3, r1, [r2]
+2 -1
arch/arm/kernel/process.c
··· 212 char buf[64]; 213 214 printk("CPU: %d %s (%s %.*s)\n", 215 - smp_processor_id(), print_tainted(), init_utsname()->release, 216 (int)strcspn(init_utsname()->version, " "), 217 init_utsname()->version); 218 print_symbol("PC is at %s\n", instruction_pointer(regs));
··· 212 char buf[64]; 213 214 printk("CPU: %d %s (%s %.*s)\n", 215 + raw_smp_processor_id(), print_tainted(), 216 + init_utsname()->release, 217 (int)strcspn(init_utsname()->version, " "), 218 init_utsname()->version); 219 print_symbol("PC is at %s\n", instruction_pointer(regs));
+2
arch/arm/mach-lh7a40x/clocks.c
··· 10 #include <mach/hardware.h> 11 #include <mach/clocks.h> 12 #include <linux/err.h> 13 14 struct module; 15
··· 10 #include <mach/hardware.h> 11 #include <mach/clocks.h> 12 #include <linux/err.h> 13 + #include <linux/device.h> 14 + #include <linux/string.h> 15 16 struct module; 17
+3 -6
arch/arm/mach-pxa/include/mach/hardware.h
··· 250 251 #define cpu_is_pxa930() \ 252 ({ \ 253 - unsigned int id = read_cpuid(CPUID_ID); \ 254 - __cpu_is_pxa930(id); \ 255 }) 256 257 #define cpu_is_pxa935() \ 258 ({ \ 259 - unsigned int id = read_cpuid(CPUID_ID); \ 260 - __cpu_is_pxa935(id); \ 261 }) 262 263 #define cpu_is_pxa950() \ 264 ({ \ 265 - unsigned int id = read_cpuid(CPUID_ID); \ 266 - __cpu_is_pxa950(id); \ 267 }) 268 269
··· 250 251 #define cpu_is_pxa930() \ 252 ({ \ 253 + __cpu_is_pxa930(read_cpuid_id()); \ 254 }) 255 256 #define cpu_is_pxa935() \ 257 ({ \ 258 + __cpu_is_pxa935(read_cpuid_id()); \ 259 }) 260 261 #define cpu_is_pxa950() \ 262 ({ \ 263 + __cpu_is_pxa950(read_cpuid_id()); \ 264 }) 265 266
+1 -1
arch/arm/mach-pxa/magician.c
··· 381 return ret; 382 } 383 384 - static int magician_backlight_notify(int brightness) 385 { 386 gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); 387 if (brightness >= 200) {
··· 381 return ret; 382 } 383 384 + static int magician_backlight_notify(struct device *dev, int brightness) 385 { 386 gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); 387 if (brightness >= 200) {
+1 -1
arch/arm/mach-pxa/palmld.c
··· 270 return ret; 271 } 272 273 - static int palmld_backlight_notify(int brightness) 274 { 275 gpio_set_value(GPIO_NR_PALMLD_BL_POWER, brightness); 276 gpio_set_value(GPIO_NR_PALMLD_LCD_POWER, brightness);
··· 270 return ret; 271 } 272 273 + static int palmld_backlight_notify(struct device *dev, int brightness) 274 { 275 gpio_set_value(GPIO_NR_PALMLD_BL_POWER, brightness); 276 gpio_set_value(GPIO_NR_PALMLD_LCD_POWER, brightness);
+1 -1
arch/arm/mach-pxa/palmt5.c
··· 209 return ret; 210 } 211 212 - static int palmt5_backlight_notify(int brightness) 213 { 214 gpio_set_value(GPIO_NR_PALMT5_BL_POWER, brightness); 215 gpio_set_value(GPIO_NR_PALMT5_LCD_POWER, brightness);
··· 209 return ret; 210 } 211 212 + static int palmt5_backlight_notify(struct device *dev, int brightness) 213 { 214 gpio_set_value(GPIO_NR_PALMT5_BL_POWER, brightness); 215 gpio_set_value(GPIO_NR_PALMT5_LCD_POWER, brightness);
+1 -1
arch/arm/mach-pxa/palmtc.c
··· 185 return ret; 186 } 187 188 - static int palmtc_backlight_notify(int brightness) 189 { 190 /* backlight is on when GPIO16 AF0 is high */ 191 gpio_set_value(GPIO_NR_PALMTC_BL_POWER, brightness);
··· 185 return ret; 186 } 187 188 + static int palmtc_backlight_notify(struct device *dev, int brightness) 189 { 190 /* backlight is on when GPIO16 AF0 is high */ 191 gpio_set_value(GPIO_NR_PALMTC_BL_POWER, brightness);
+1 -1
arch/arm/mach-pxa/palmte2.c
··· 181 return ret; 182 } 183 184 - static int palmte2_backlight_notify(int brightness) 185 { 186 gpio_set_value(GPIO_NR_PALMTE2_BL_POWER, brightness); 187 gpio_set_value(GPIO_NR_PALMTE2_LCD_POWER, brightness);
··· 181 return ret; 182 } 183 184 + static int palmte2_backlight_notify(struct device *dev, int brightness) 185 { 186 gpio_set_value(GPIO_NR_PALMTE2_BL_POWER, brightness); 187 gpio_set_value(GPIO_NR_PALMTE2_LCD_POWER, brightness);
+1 -1
arch/arm/mach-pxa/palmtreo.c
··· 375 return ret; 376 } 377 378 - static int treo_backlight_notify(int brightness) 379 { 380 gpio_set_value(GPIO_NR_TREO_BL_POWER, brightness); 381 return TREO_MAX_INTENSITY - brightness;
··· 375 return ret; 376 } 377 378 + static int treo_backlight_notify(struct device *dev, int brightness) 379 { 380 gpio_set_value(GPIO_NR_TREO_BL_POWER, brightness); 381 return TREO_MAX_INTENSITY - brightness;
+1 -1
arch/arm/mach-pxa/palmtx.c
··· 269 return ret; 270 } 271 272 - static int palmtx_backlight_notify(int brightness) 273 { 274 gpio_set_value(GPIO_NR_PALMTX_BL_POWER, brightness); 275 gpio_set_value(GPIO_NR_PALMTX_LCD_POWER, brightness);
··· 269 return ret; 270 } 271 272 + static int palmtx_backlight_notify(struct device *dev, int brightness) 273 { 274 gpio_set_value(GPIO_NR_PALMTX_BL_POWER, brightness); 275 gpio_set_value(GPIO_NR_PALMTX_LCD_POWER, brightness);
+1 -1
arch/arm/mach-pxa/palmz72.c
··· 196 return ret; 197 } 198 199 - static int palmz72_backlight_notify(int brightness) 200 { 201 gpio_set_value(GPIO_NR_PALMZ72_BL_POWER, brightness); 202 gpio_set_value(GPIO_NR_PALMZ72_LCD_POWER, brightness);
··· 196 return ret; 197 } 198 199 + static int palmz72_backlight_notify(struct device *dev, int brightness) 200 { 201 gpio_set_value(GPIO_NR_PALMZ72_BL_POWER, brightness); 202 gpio_set_value(GPIO_NR_PALMZ72_LCD_POWER, brightness);
+2 -2
arch/arm/mach-pxa/spitz.c
··· 389 .type = EV_SW, 390 .code = 0, 391 .gpio = SPITZ_GPIO_SWA, 392 - .desc = "Display Down", 393 }, 394 { 395 .type = EV_SW, 396 .code = 1, 397 .gpio = SPITZ_GPIO_SWB, 398 - .desc = "Lid Closed", 399 }, 400 }; 401
··· 389 .type = EV_SW, 390 .code = 0, 391 .gpio = SPITZ_GPIO_SWA, 392 + .desc = "Display Down", 393 }, 394 { 395 .type = EV_SW, 396 .code = 1, 397 .gpio = SPITZ_GPIO_SWB, 398 + .desc = "Lid Closed", 399 }, 400 }; 401
+1 -1
arch/arm/mach-pxa/viper.c
··· 379 return ret; 380 } 381 382 - static int viper_backlight_notify(int brightness) 383 { 384 gpio_set_value(VIPER_LCD_EN_GPIO, !!brightness); 385 gpio_set_value(VIPER_BCKLIGHT_EN_GPIO, !!brightness);
··· 379 return ret; 380 } 381 382 + static int viper_backlight_notify(struct device *dev, int brightness) 383 { 384 gpio_set_value(VIPER_LCD_EN_GPIO, !!brightness); 385 gpio_set_value(VIPER_BCKLIGHT_EN_GPIO, !!brightness);
+2 -2
arch/arm/mach-realview/include/mach/board-pb1176.h
··· 74 #define REALVIEW_PB1176_L220_BASE 0x10110000 /* L220 registers */ 75 76 /* 77 - * Control register SYS_RESETCTL is set to 1 to force a soft reset 78 */ 79 - #define REALVIEW_PB1176_SYS_LOCKVAL_RSTCTL 0x0100 80 81 #endif /* __ASM_ARCH_BOARD_PB1176_H */
··· 74 #define REALVIEW_PB1176_L220_BASE 0x10110000 /* L220 registers */ 75 76 /* 77 + * Control register SYS_RESETCTL Bit 8 is set to 1 to force a soft reset 78 */ 79 + #define REALVIEW_PB1176_SYS_SOFT_RESET 0x0100 80 81 #endif /* __ASM_ARCH_BOARD_PB1176_H */
+1 -1
arch/arm/mach-realview/include/mach/platform.h
··· 140 * SYS_CLD, SYS_BOOTCS 141 */ 142 #define REALVIEW_SYS_LOCK_LOCKED (1 << 16) 143 - #define REALVIEW_SYS_LOCKVAL_MASK 0xA05F /* Enable write access */ 144 145 /* 146 * REALVIEW_SYS_FLASH
··· 140 * SYS_CLD, SYS_BOOTCS 141 */ 142 #define REALVIEW_SYS_LOCK_LOCKED (1 << 16) 143 + #define REALVIEW_SYS_LOCK_VAL 0xA05F /* Enable write access */ 144 145 /* 146 * REALVIEW_SYS_FLASH
+15
arch/arm/mach-realview/realview_eb.c
··· 381 .init = realview_eb_timer_init, 382 }; 383 384 static void __init realview_eb_init(void) 385 { 386 int i; ··· 422 #ifdef CONFIG_LEDS 423 leds_event = realview_leds_event; 424 #endif 425 } 426 427 MACHINE_START(REALVIEW_EB, "ARM-RealView EB")
··· 381 .init = realview_eb_timer_init, 382 }; 383 384 + static void realview_eb_reset(char mode) 385 + { 386 + void __iomem *reset_ctrl = __io_address(REALVIEW_SYS_RESETCTL); 387 + void __iomem *lock_ctrl = __io_address(REALVIEW_SYS_LOCK); 388 + 389 + /* 390 + * To reset, we hit the on-board reset register 391 + * in the system FPGA 392 + */ 393 + __raw_writel(REALVIEW_SYS_LOCK_VAL, lock_ctrl); 394 + if (core_tile_eb11mp()) 395 + __raw_writel(0x0008, reset_ctrl); 396 + } 397 + 398 static void __init realview_eb_init(void) 399 { 400 int i; ··· 408 #ifdef CONFIG_LEDS 409 leds_event = realview_leds_event; 410 #endif 411 + realview_reset = realview_eb_reset; 412 } 413 414 MACHINE_START(REALVIEW_EB, "ARM-RealView EB")
+4 -6
arch/arm/mach-realview/realview_pb1176.c
··· 292 293 static void realview_pb1176_reset(char mode) 294 { 295 - void __iomem *hdr_ctrl = __io_address(REALVIEW_SYS_BASE) + 296 - REALVIEW_SYS_RESETCTL_OFFSET; 297 - void __iomem *rst_hdr_ctrl = __io_address(REALVIEW_SYS_BASE) + 298 - REALVIEW_SYS_LOCK_OFFSET; 299 - __raw_writel(REALVIEW_SYS_LOCKVAL_MASK, rst_hdr_ctrl); 300 - __raw_writel(REALVIEW_PB1176_SYS_LOCKVAL_RSTCTL, hdr_ctrl); 301 } 302 303 static void realview_pb1176_fixup(struct machine_desc *mdesc,
··· 292 293 static void realview_pb1176_reset(char mode) 294 { 295 + void __iomem *reset_ctrl = __io_address(REALVIEW_SYS_RESETCTL); 296 + void __iomem *lock_ctrl = __io_address(REALVIEW_SYS_LOCK); 297 + __raw_writel(REALVIEW_SYS_LOCK_VAL, lock_ctrl); 298 + __raw_writel(REALVIEW_PB1176_SYS_SOFT_RESET, reset_ctrl); 299 } 300 301 static void realview_pb1176_fixup(struct machine_desc *mdesc,
+5 -6
arch/arm/mach-realview/realview_pb11mp.c
··· 301 302 static void realview_pb11mp_reset(char mode) 303 { 304 - void __iomem *hdr_ctrl = __io_address(REALVIEW_SYS_BASE) + 305 - REALVIEW_SYS_RESETCTL_OFFSET; 306 - unsigned int val; 307 308 /* 309 * To reset, we hit the on-board reset register 310 * in the system FPGA 311 */ 312 - val = __raw_readl(hdr_ctrl); 313 - val |= REALVIEW_PB11MP_SYS_CTRL_RESET_CONFIGCLR; 314 - __raw_writel(val, hdr_ctrl); 315 } 316 317 static void __init realview_pb11mp_init(void)
··· 301 302 static void realview_pb11mp_reset(char mode) 303 { 304 + void __iomem *reset_ctrl = __io_address(REALVIEW_SYS_RESETCTL); 305 + void __iomem *lock_ctrl = __io_address(REALVIEW_SYS_LOCK); 306 307 /* 308 * To reset, we hit the on-board reset register 309 * in the system FPGA 310 */ 311 + __raw_writel(REALVIEW_SYS_LOCK_VAL, lock_ctrl); 312 + __raw_writel(0x0000, reset_ctrl); 313 + __raw_writel(0x0004, reset_ctrl); 314 } 315 316 static void __init realview_pb11mp_init(void)
+15
arch/arm/mach-realview/realview_pba8.c
··· 272 .init = realview_pba8_timer_init, 273 }; 274 275 static void __init realview_pba8_init(void) 276 { 277 int i; ··· 305 #ifdef CONFIG_LEDS 306 leds_event = realview_leds_event; 307 #endif 308 } 309 310 MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8")
··· 272 .init = realview_pba8_timer_init, 273 }; 274 275 + static void realview_pba8_reset(char mode) 276 + { 277 + void __iomem *reset_ctrl = __io_address(REALVIEW_SYS_RESETCTL); 278 + void __iomem *lock_ctrl = __io_address(REALVIEW_SYS_LOCK); 279 + 280 + /* 281 + * To reset, we hit the on-board reset register 282 + * in the system FPGA 283 + */ 284 + __raw_writel(REALVIEW_SYS_LOCK_VAL, lock_ctrl); 285 + __raw_writel(0x0000, reset_ctrl); 286 + __raw_writel(0x0004, reset_ctrl); 287 + } 288 + 289 static void __init realview_pba8_init(void) 290 { 291 int i; ··· 291 #ifdef CONFIG_LEDS 292 leds_event = realview_leds_event; 293 #endif 294 + realview_reset = realview_pba8_reset; 295 } 296 297 MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8")
+15
arch/arm/mach-realview/realview_pbx.c
··· 324 #endif 325 } 326 327 static void __init realview_pbx_init(void) 328 { 329 int i; ··· 372 #ifdef CONFIG_LEDS 373 leds_event = realview_leds_event; 374 #endif 375 } 376 377 MACHINE_START(REALVIEW_PBX, "ARM-RealView PBX")
··· 324 #endif 325 } 326 327 + static void realview_pbx_reset(char mode) 328 + { 329 + void __iomem *reset_ctrl = __io_address(REALVIEW_SYS_RESETCTL); 330 + void __iomem *lock_ctrl = __io_address(REALVIEW_SYS_LOCK); 331 + 332 + /* 333 + * To reset, we hit the on-board reset register 334 + * in the system FPGA 335 + */ 336 + __raw_writel(REALVIEW_SYS_LOCK_VAL, lock_ctrl); 337 + __raw_writel(0x0000, reset_ctrl); 338 + __raw_writel(0x0004, reset_ctrl); 339 + } 340 + 341 static void __init realview_pbx_init(void) 342 { 343 int i; ··· 358 #ifdef CONFIG_LEDS 359 leds_event = realview_leds_event; 360 #endif 361 + realview_reset = realview_pbx_reset; 362 } 363 364 MACHINE_START(REALVIEW_PBX, "ARM-RealView PBX")
+12
arch/arm/mm/Makefile
··· 27 obj-$(CONFIG_CPU_ABRT_EV6) += abort-ev6.o 28 obj-$(CONFIG_CPU_ABRT_EV7) += abort-ev7.o 29 30 obj-$(CONFIG_CPU_PABRT_LEGACY) += pabort-legacy.o 31 obj-$(CONFIG_CPU_PABRT_V6) += pabort-v6.o 32 obj-$(CONFIG_CPU_PABRT_V7) += pabort-v7.o ··· 41 obj-$(CONFIG_CPU_CACHE_V6) += cache-v6.o 42 obj-$(CONFIG_CPU_CACHE_V7) += cache-v7.o 43 obj-$(CONFIG_CPU_CACHE_FA) += cache-fa.o 44 45 obj-$(CONFIG_CPU_COPY_V3) += copypage-v3.o 46 obj-$(CONFIG_CPU_COPY_V4WT) += copypage-v4wt.o ··· 63 obj-$(CONFIG_CPU_TLB_V6) += tlb-v6.o 64 obj-$(CONFIG_CPU_TLB_V7) += tlb-v7.o 65 obj-$(CONFIG_CPU_TLB_FA) += tlb-fa.o 66 67 obj-$(CONFIG_CPU_ARM610) += proc-arm6_7.o 68 obj-$(CONFIG_CPU_ARM710) += proc-arm6_7.o ··· 92 obj-$(CONFIG_CPU_FEROCEON) += proc-feroceon.o 93 obj-$(CONFIG_CPU_V6) += proc-v6.o 94 obj-$(CONFIG_CPU_V7) += proc-v7.o 95 96 obj-$(CONFIG_CACHE_FEROCEON_L2) += cache-feroceon-l2.o 97 obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o
··· 27 obj-$(CONFIG_CPU_ABRT_EV6) += abort-ev6.o 28 obj-$(CONFIG_CPU_ABRT_EV7) += abort-ev7.o 29 30 + AFLAGS_abort-ev6.o :=-Wa,-march=armv6k 31 + AFLAGS_abort-ev7.o :=-Wa,-march=armv7-a 32 + 33 obj-$(CONFIG_CPU_PABRT_LEGACY) += pabort-legacy.o 34 obj-$(CONFIG_CPU_PABRT_V6) += pabort-v6.o 35 obj-$(CONFIG_CPU_PABRT_V7) += pabort-v7.o ··· 38 obj-$(CONFIG_CPU_CACHE_V6) += cache-v6.o 39 obj-$(CONFIG_CPU_CACHE_V7) += cache-v7.o 40 obj-$(CONFIG_CPU_CACHE_FA) += cache-fa.o 41 + 42 + AFLAGS_cache-v6.o :=-Wa,-march=armv6 43 + AFLAGS_cache-v7.o :=-Wa,-march=armv7-a 44 45 obj-$(CONFIG_CPU_COPY_V3) += copypage-v3.o 46 obj-$(CONFIG_CPU_COPY_V4WT) += copypage-v4wt.o ··· 57 obj-$(CONFIG_CPU_TLB_V6) += tlb-v6.o 58 obj-$(CONFIG_CPU_TLB_V7) += tlb-v7.o 59 obj-$(CONFIG_CPU_TLB_FA) += tlb-fa.o 60 + 61 + AFLAGS_tlb-v6.o :=-Wa,-march=armv6 62 + AFLAGS_tlb-v7.o :=-Wa,-march=armv7-a 63 64 obj-$(CONFIG_CPU_ARM610) += proc-arm6_7.o 65 obj-$(CONFIG_CPU_ARM710) += proc-arm6_7.o ··· 83 obj-$(CONFIG_CPU_FEROCEON) += proc-feroceon.o 84 obj-$(CONFIG_CPU_V6) += proc-v6.o 85 obj-$(CONFIG_CPU_V7) += proc-v7.o 86 + 87 + AFLAGS_proc-v6.o :=-Wa,-march=armv6 88 + AFLAGS_proc-v7.o :=-Wa,-march=armv7-a 89 90 obj-$(CONFIG_CACHE_FEROCEON_L2) += cache-feroceon-l2.o 91 obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o
+5 -6
arch/arm/mm/cache-xsc3l2.c
··· 221 if (!cpu_is_xsc3() || !xsc3_l2_present()) 222 return 0; 223 224 - if (!(get_cr() & CR_L2)) { 225 pr_info("XScale3 L2 cache enabled.\n"); 226 - adjust_cr(CR_L2, CR_L2); 227 xsc3_l2_inv_all(); 228 - } 229 230 - outer_cache.inv_range = xsc3_l2_inv_range; 231 - outer_cache.clean_range = xsc3_l2_clean_range; 232 - outer_cache.flush_range = xsc3_l2_flush_range; 233 234 return 0; 235 }
··· 221 if (!cpu_is_xsc3() || !xsc3_l2_present()) 222 return 0; 223 224 + if (get_cr() & CR_L2) { 225 pr_info("XScale3 L2 cache enabled.\n"); 226 xsc3_l2_inv_all(); 227 228 + outer_cache.inv_range = xsc3_l2_inv_range; 229 + outer_cache.clean_range = xsc3_l2_clean_range; 230 + outer_cache.flush_range = xsc3_l2_flush_range; 231 + } 232 233 return 0; 234 }
+7
arch/arm/mm/proc-xsc3.S
··· 407 408 adr r5, xsc3_crval 409 ldmia r5, {r5, r6} 410 mrc p15, 0, r0, c1, c0, 0 @ get control register 411 bic r0, r0, r5 @ ..V. ..R. .... ..A. 412 orr r0, r0, r6 @ ..VI Z..S .... .C.M (mmu)
··· 407 408 adr r5, xsc3_crval 409 ldmia r5, {r5, r6} 410 + 411 + #ifdef CONFIG_CACHE_XSC3L2 412 + mrc p15, 1, r0, c0, c0, 1 @ get L2 present information 413 + ands r0, r0, #0xf8 414 + orrne r6, r6, #(1 << 26) @ enable L2 if present 415 + #endif 416 + 417 mrc p15, 0, r0, c1, c0, 0 @ get control register 418 bic r0, r0, r5 @ ..V. ..R. .... ..A. 419 orr r0, r0, r6 @ ..VI Z..S .... .C.M (mmu)
+2 -2
drivers/serial/21285.c
··· 58 static void serial21285_stop_tx(struct uart_port *port) 59 { 60 if (tx_enabled(port)) { 61 - disable_irq(IRQ_CONTX); 62 tx_enabled(port) = 0; 63 } 64 } ··· 74 static void serial21285_stop_rx(struct uart_port *port) 75 { 76 if (rx_enabled(port)) { 77 - disable_irq(IRQ_CONRX); 78 rx_enabled(port) = 0; 79 } 80 }
··· 58 static void serial21285_stop_tx(struct uart_port *port) 59 { 60 if (tx_enabled(port)) { 61 + disable_irq_nosync(IRQ_CONTX); 62 tx_enabled(port) = 0; 63 } 64 } ··· 74 static void serial21285_stop_rx(struct uart_port *port) 75 { 76 if (rx_enabled(port)) { 77 + disable_irq_nosync(IRQ_CONRX); 78 rx_enabled(port) = 0; 79 } 80 }