diff options
Diffstat (limited to 'arch')
501 files changed, 7242 insertions, 6234 deletions
diff --git a/arch/arm/configs/n8x0_defconfig b/arch/arm/configs/n8x0_defconfig index 8da75dede52e..264f52b5c52d 100644 --- a/arch/arm/configs/n8x0_defconfig +++ b/arch/arm/configs/n8x0_defconfig | |||
@@ -304,7 +304,7 @@ CONFIG_ALIGNMENT_TRAP=y | |||
304 | CONFIG_ZBOOT_ROM_TEXT=0x10C08000 | 304 | CONFIG_ZBOOT_ROM_TEXT=0x10C08000 |
305 | CONFIG_ZBOOT_ROM_BSS=0x10200000 | 305 | CONFIG_ZBOOT_ROM_BSS=0x10200000 |
306 | # CONFIG_ZBOOT_ROM is not set | 306 | # CONFIG_ZBOOT_ROM is not set |
307 | CONFIG_CMDLINE="root=1f03 rootfstype=jffs2 console=ttyS0,115200n8" | 307 | CONFIG_CMDLINE="root=1f03 rootfstype=jffs2 console=ttyS2,115200n8" |
308 | # CONFIG_XIP_KERNEL is not set | 308 | # CONFIG_XIP_KERNEL is not set |
309 | # CONFIG_KEXEC is not set | 309 | # CONFIG_KEXEC is not set |
310 | 310 | ||
diff --git a/arch/arm/configs/omap3_beagle_defconfig b/arch/arm/configs/omap3_beagle_defconfig index 357d4021e2d0..b3c8cce0f8fb 100644 --- a/arch/arm/configs/omap3_beagle_defconfig +++ b/arch/arm/configs/omap3_beagle_defconfig | |||
@@ -969,7 +969,6 @@ CONFIG_USB_ETH_RNDIS=y | |||
969 | # | 969 | # |
970 | CONFIG_USB_OTG_UTILS=y | 970 | CONFIG_USB_OTG_UTILS=y |
971 | # CONFIG_USB_GPIO_VBUS is not set | 971 | # CONFIG_USB_GPIO_VBUS is not set |
972 | # CONFIG_ISP1301_OMAP is not set | ||
973 | CONFIG_TWL4030_USB=y | 972 | CONFIG_TWL4030_USB=y |
974 | # CONFIG_NOP_USB_XCEIV is not set | 973 | # CONFIG_NOP_USB_XCEIV is not set |
975 | CONFIG_MMC=y | 974 | CONFIG_MMC=y |
diff --git a/arch/arm/configs/u300_defconfig b/arch/arm/configs/u300_defconfig index 7d61ae6e75da..953ba0297fc4 100644 --- a/arch/arm/configs/u300_defconfig +++ b/arch/arm/configs/u300_defconfig | |||
@@ -1,14 +1,14 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.31-rc3 | 3 | # Linux kernel version: 2.6.32-rc5 |
4 | # Thu Jul 16 23:36:10 2009 | 4 | # Sat Oct 17 23:32:24 2009 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | 7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y |
8 | CONFIG_GENERIC_GPIO=y | 8 | CONFIG_GENERIC_GPIO=y |
9 | CONFIG_GENERIC_TIME=y | 9 | CONFIG_GENERIC_TIME=y |
10 | CONFIG_GENERIC_CLOCKEVENTS=y | 10 | CONFIG_GENERIC_CLOCKEVENTS=y |
11 | CONFIG_MMU=y | 11 | CONFIG_HAVE_TCM=y |
12 | CONFIG_GENERIC_HARDIRQS=y | 12 | CONFIG_GENERIC_HARDIRQS=y |
13 | CONFIG_STACKTRACE_SUPPORT=y | 13 | CONFIG_STACKTRACE_SUPPORT=y |
14 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 14 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
@@ -44,11 +44,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
44 | # | 44 | # |
45 | # RCU Subsystem | 45 | # RCU Subsystem |
46 | # | 46 | # |
47 | CONFIG_CLASSIC_RCU=y | 47 | CONFIG_TREE_RCU=y |
48 | # CONFIG_TREE_RCU is not set | 48 | # CONFIG_TREE_PREEMPT_RCU is not set |
49 | # CONFIG_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 | ||
50 | # CONFIG_TREE_RCU_TRACE is not set | 52 | # CONFIG_TREE_RCU_TRACE is not set |
51 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
52 | # CONFIG_IKCONFIG is not set | 53 | # CONFIG_IKCONFIG is not set |
53 | CONFIG_LOG_BUF_SHIFT=14 | 54 | CONFIG_LOG_BUF_SHIFT=14 |
54 | # CONFIG_GROUP_SCHED is not set | 55 | # CONFIG_GROUP_SCHED is not set |
@@ -80,17 +81,15 @@ CONFIG_SHMEM=y | |||
80 | # CONFIG_AIO is not set | 81 | # CONFIG_AIO is not set |
81 | 82 | ||
82 | # | 83 | # |
83 | # Performance Counters | 84 | # Kernel Performance Events And Counters |
84 | # | 85 | # |
85 | # CONFIG_VM_EVENT_COUNTERS is not set | 86 | # CONFIG_VM_EVENT_COUNTERS is not set |
86 | CONFIG_SLUB_DEBUG=y | 87 | CONFIG_SLUB_DEBUG=y |
87 | # CONFIG_STRIP_ASM_SYMS is not set | ||
88 | CONFIG_COMPAT_BRK=y | 88 | CONFIG_COMPAT_BRK=y |
89 | # CONFIG_SLAB is not set | 89 | # CONFIG_SLAB is not set |
90 | CONFIG_SLUB=y | 90 | CONFIG_SLUB=y |
91 | # CONFIG_SLOB is not set | 91 | # CONFIG_SLOB is not set |
92 | # CONFIG_PROFILING is not set | 92 | # CONFIG_PROFILING is not set |
93 | # CONFIG_MARKERS is not set | ||
94 | CONFIG_HAVE_OPROFILE=y | 93 | CONFIG_HAVE_OPROFILE=y |
95 | # CONFIG_KPROBES is not set | 94 | # CONFIG_KPROBES is not set |
96 | CONFIG_HAVE_KPROBES=y | 95 | CONFIG_HAVE_KPROBES=y |
@@ -133,6 +132,7 @@ CONFIG_DEFAULT_IOSCHED="deadline" | |||
133 | # | 132 | # |
134 | # System Type | 133 | # System Type |
135 | # | 134 | # |
135 | CONFIG_MMU=y | ||
136 | # CONFIG_ARCH_AAEC2000 is not set | 136 | # CONFIG_ARCH_AAEC2000 is not set |
137 | # CONFIG_ARCH_INTEGRATOR is not set | 137 | # CONFIG_ARCH_INTEGRATOR is not set |
138 | # CONFIG_ARCH_REALVIEW is not set | 138 | # CONFIG_ARCH_REALVIEW is not set |
@@ -147,6 +147,7 @@ CONFIG_DEFAULT_IOSCHED="deadline" | |||
147 | # CONFIG_ARCH_STMP3XXX is not set | 147 | # CONFIG_ARCH_STMP3XXX is not set |
148 | # CONFIG_ARCH_NETX is not set | 148 | # CONFIG_ARCH_NETX is not set |
149 | # CONFIG_ARCH_H720X is not set | 149 | # CONFIG_ARCH_H720X is not set |
150 | # CONFIG_ARCH_NOMADIK is not set | ||
150 | # CONFIG_ARCH_IOP13XX is not set | 151 | # CONFIG_ARCH_IOP13XX is not set |
151 | # CONFIG_ARCH_IOP32X is not set | 152 | # CONFIG_ARCH_IOP32X is not set |
152 | # CONFIG_ARCH_IOP33X is not set | 153 | # CONFIG_ARCH_IOP33X is not set |
@@ -169,11 +170,13 @@ CONFIG_DEFAULT_IOSCHED="deadline" | |||
169 | # CONFIG_ARCH_SA1100 is not set | 170 | # CONFIG_ARCH_SA1100 is not set |
170 | # CONFIG_ARCH_S3C2410 is not set | 171 | # CONFIG_ARCH_S3C2410 is not set |
171 | # CONFIG_ARCH_S3C64XX is not set | 172 | # CONFIG_ARCH_S3C64XX is not set |
173 | # CONFIG_ARCH_S5PC1XX is not set | ||
172 | # CONFIG_ARCH_SHARK is not set | 174 | # CONFIG_ARCH_SHARK is not set |
173 | # CONFIG_ARCH_LH7A40X is not set | 175 | # CONFIG_ARCH_LH7A40X is not set |
174 | CONFIG_ARCH_U300=y | 176 | CONFIG_ARCH_U300=y |
175 | # CONFIG_ARCH_DAVINCI is not set | 177 | # CONFIG_ARCH_DAVINCI is not set |
176 | # CONFIG_ARCH_OMAP is not set | 178 | # CONFIG_ARCH_OMAP is not set |
179 | # CONFIG_ARCH_BCMRING is not set | ||
177 | 180 | ||
178 | # | 181 | # |
179 | # ST-Ericsson AB U300/U330/U335/U365 Platform | 182 | # ST-Ericsson AB U300/U330/U335/U365 Platform |
@@ -195,6 +198,7 @@ CONFIG_MACH_U300_BS335=y | |||
195 | CONFIG_MACH_U300_DUAL_RAM=y | 198 | CONFIG_MACH_U300_DUAL_RAM=y |
196 | CONFIG_U300_DEBUG=y | 199 | CONFIG_U300_DEBUG=y |
197 | # CONFIG_MACH_U300_SEMI_IS_SHARED is not set | 200 | # CONFIG_MACH_U300_SEMI_IS_SHARED is not set |
201 | CONFIG_MACH_U300_SPIDUMMY=y | ||
198 | 202 | ||
199 | # | 203 | # |
200 | # All the settings below must match the bootloader's settings | 204 | # All the settings below must match the bootloader's settings |
@@ -207,7 +211,7 @@ CONFIG_CPU_32=y | |||
207 | CONFIG_CPU_ARM926T=y | 211 | CONFIG_CPU_ARM926T=y |
208 | CONFIG_CPU_32v5=y | 212 | CONFIG_CPU_32v5=y |
209 | CONFIG_CPU_ABRT_EV5TJ=y | 213 | CONFIG_CPU_ABRT_EV5TJ=y |
210 | CONFIG_CPU_PABRT_NOIFAR=y | 214 | CONFIG_CPU_PABRT_LEGACY=y |
211 | CONFIG_CPU_CACHE_VIVT=y | 215 | CONFIG_CPU_CACHE_VIVT=y |
212 | CONFIG_CPU_COPY_V4WB=y | 216 | CONFIG_CPU_COPY_V4WB=y |
213 | CONFIG_CPU_TLB_V4WBI=y | 217 | CONFIG_CPU_TLB_V4WBI=y |
@@ -222,6 +226,7 @@ CONFIG_ARM_THUMB=y | |||
222 | # CONFIG_CPU_DCACHE_DISABLE is not set | 226 | # CONFIG_CPU_DCACHE_DISABLE is not set |
223 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | 227 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set |
224 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set | 228 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set |
229 | CONFIG_ARM_L1_CACHE_SHIFT=5 | ||
225 | CONFIG_ARM_VIC=y | 230 | CONFIG_ARM_VIC=y |
226 | CONFIG_ARM_VIC_NR=2 | 231 | CONFIG_ARM_VIC_NR=2 |
227 | CONFIG_COMMON_CLKDEV=y | 232 | CONFIG_COMMON_CLKDEV=y |
@@ -245,6 +250,8 @@ CONFIG_VMSPLIT_3G=y | |||
245 | # CONFIG_VMSPLIT_2G is not set | 250 | # CONFIG_VMSPLIT_2G is not set |
246 | # CONFIG_VMSPLIT_1G is not set | 251 | # CONFIG_VMSPLIT_1G is not set |
247 | CONFIG_PAGE_OFFSET=0xC0000000 | 252 | CONFIG_PAGE_OFFSET=0xC0000000 |
253 | # CONFIG_PREEMPT_NONE is not set | ||
254 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
248 | CONFIG_PREEMPT=y | 255 | CONFIG_PREEMPT=y |
249 | CONFIG_HZ=100 | 256 | CONFIG_HZ=100 |
250 | CONFIG_AEABI=y | 257 | CONFIG_AEABI=y |
@@ -265,6 +272,7 @@ CONFIG_ZONE_DMA_FLAG=0 | |||
265 | CONFIG_VIRT_TO_BUS=y | 272 | CONFIG_VIRT_TO_BUS=y |
266 | CONFIG_HAVE_MLOCK=y | 273 | CONFIG_HAVE_MLOCK=y |
267 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 274 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
275 | # CONFIG_KSM is not set | ||
268 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | 276 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 |
269 | CONFIG_ALIGNMENT_TRAP=y | 277 | CONFIG_ALIGNMENT_TRAP=y |
270 | # CONFIG_UACCESS_WITH_MEMCPY is not set | 278 | # CONFIG_UACCESS_WITH_MEMCPY is not set |
@@ -313,6 +321,7 @@ CONFIG_PM=y | |||
313 | # CONFIG_PM_DEBUG is not set | 321 | # CONFIG_PM_DEBUG is not set |
314 | # CONFIG_SUSPEND is not set | 322 | # CONFIG_SUSPEND is not set |
315 | # CONFIG_APM_EMULATION is not set | 323 | # CONFIG_APM_EMULATION is not set |
324 | # CONFIG_PM_RUNTIME is not set | ||
316 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 325 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
317 | CONFIG_NET=y | 326 | CONFIG_NET=y |
318 | 327 | ||
@@ -351,6 +360,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
351 | # CONFIG_NETFILTER is not set | 360 | # CONFIG_NETFILTER is not set |
352 | # CONFIG_IP_DCCP is not set | 361 | # CONFIG_IP_DCCP is not set |
353 | # CONFIG_IP_SCTP is not set | 362 | # CONFIG_IP_SCTP is not set |
363 | # CONFIG_RDS is not set | ||
354 | # CONFIG_TIPC is not set | 364 | # CONFIG_TIPC is not set |
355 | # CONFIG_ATM is not set | 365 | # CONFIG_ATM is not set |
356 | # CONFIG_BRIDGE is not set | 366 | # CONFIG_BRIDGE is not set |
@@ -391,6 +401,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
391 | # Generic Driver Options | 401 | # Generic Driver Options |
392 | # | 402 | # |
393 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 403 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
404 | # CONFIG_DEVTMPFS is not set | ||
394 | CONFIG_STANDALONE=y | 405 | CONFIG_STANDALONE=y |
395 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | 406 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set |
396 | CONFIG_FW_LOADER=y | 407 | CONFIG_FW_LOADER=y |
@@ -402,9 +413,9 @@ CONFIG_EXTRA_FIRMWARE="" | |||
402 | # CONFIG_CONNECTOR is not set | 413 | # CONFIG_CONNECTOR is not set |
403 | CONFIG_MTD=y | 414 | CONFIG_MTD=y |
404 | # CONFIG_MTD_DEBUG is not set | 415 | # CONFIG_MTD_DEBUG is not set |
416 | # CONFIG_MTD_TESTS is not set | ||
405 | # CONFIG_MTD_CONCAT is not set | 417 | # CONFIG_MTD_CONCAT is not set |
406 | CONFIG_MTD_PARTITIONS=y | 418 | CONFIG_MTD_PARTITIONS=y |
407 | # CONFIG_MTD_TESTS is not set | ||
408 | # CONFIG_MTD_REDBOOT_PARTS is not set | 419 | # CONFIG_MTD_REDBOOT_PARTS is not set |
409 | CONFIG_MTD_CMDLINE_PARTS=y | 420 | CONFIG_MTD_CMDLINE_PARTS=y |
410 | # CONFIG_MTD_AFS_PARTS is not set | 421 | # CONFIG_MTD_AFS_PARTS is not set |
@@ -453,6 +464,7 @@ CONFIG_MTD_CFI_I2=y | |||
453 | # | 464 | # |
454 | # CONFIG_MTD_DATAFLASH is not set | 465 | # CONFIG_MTD_DATAFLASH is not set |
455 | # CONFIG_MTD_M25P80 is not set | 466 | # CONFIG_MTD_M25P80 is not set |
467 | # CONFIG_MTD_SST25L is not set | ||
456 | # CONFIG_MTD_SLRAM is not set | 468 | # CONFIG_MTD_SLRAM is not set |
457 | # CONFIG_MTD_PHRAM is not set | 469 | # CONFIG_MTD_PHRAM is not set |
458 | # CONFIG_MTD_MTDRAM is not set | 470 | # CONFIG_MTD_MTDRAM is not set |
@@ -520,6 +532,7 @@ CONFIG_HAVE_IDE=y | |||
520 | # CONFIG_MD is not set | 532 | # CONFIG_MD is not set |
521 | # CONFIG_NETDEVICES is not set | 533 | # CONFIG_NETDEVICES is not set |
522 | # CONFIG_ISDN is not set | 534 | # CONFIG_ISDN is not set |
535 | # CONFIG_PHONE is not set | ||
523 | 536 | ||
524 | # | 537 | # |
525 | # Input device support | 538 | # Input device support |
@@ -540,12 +553,16 @@ CONFIG_INPUT_EVDEV=y | |||
540 | # Input Device Drivers | 553 | # Input Device Drivers |
541 | # | 554 | # |
542 | CONFIG_INPUT_KEYBOARD=y | 555 | CONFIG_INPUT_KEYBOARD=y |
556 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
543 | # CONFIG_KEYBOARD_ATKBD is not set | 557 | # CONFIG_KEYBOARD_ATKBD is not set |
558 | # CONFIG_QT2160 is not set | ||
544 | # CONFIG_KEYBOARD_LKKBD is not set | 559 | # CONFIG_KEYBOARD_LKKBD is not set |
545 | # CONFIG_KEYBOARD_GPIO is not set | 560 | # CONFIG_KEYBOARD_GPIO is not set |
546 | # CONFIG_KEYBOARD_MATRIX is not set | 561 | # CONFIG_KEYBOARD_MATRIX is not set |
547 | # CONFIG_KEYBOARD_LM8323 is not set | 562 | # CONFIG_KEYBOARD_LM8323 is not set |
563 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
548 | # CONFIG_KEYBOARD_NEWTON is not set | 564 | # CONFIG_KEYBOARD_NEWTON is not set |
565 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
549 | # CONFIG_KEYBOARD_STOWAWAY is not set | 566 | # CONFIG_KEYBOARD_STOWAWAY is not set |
550 | # CONFIG_KEYBOARD_SUNKBD is not set | 567 | # CONFIG_KEYBOARD_SUNKBD is not set |
551 | # CONFIG_KEYBOARD_XTKBD is not set | 568 | # CONFIG_KEYBOARD_XTKBD is not set |
@@ -597,6 +614,7 @@ CONFIG_LEGACY_PTY_COUNT=16 | |||
597 | # CONFIG_TCG_TPM is not set | 614 | # CONFIG_TCG_TPM is not set |
598 | CONFIG_I2C=y | 615 | CONFIG_I2C=y |
599 | CONFIG_I2C_BOARDINFO=y | 616 | CONFIG_I2C_BOARDINFO=y |
617 | CONFIG_I2C_COMPAT=y | ||
600 | # CONFIG_I2C_CHARDEV is not set | 618 | # CONFIG_I2C_CHARDEV is not set |
601 | CONFIG_I2C_HELPER_AUTO=y | 619 | CONFIG_I2C_HELPER_AUTO=y |
602 | 620 | ||
@@ -629,9 +647,6 @@ CONFIG_I2C_STU300=y | |||
629 | # Miscellaneous I2C Chip support | 647 | # Miscellaneous I2C Chip support |
630 | # | 648 | # |
631 | # CONFIG_DS1682 is not set | 649 | # CONFIG_DS1682 is not set |
632 | # CONFIG_SENSORS_PCF8574 is not set | ||
633 | # CONFIG_PCF8575 is not set | ||
634 | # CONFIG_SENSORS_PCA9539 is not set | ||
635 | # CONFIG_SENSORS_TSL2550 is not set | 650 | # CONFIG_SENSORS_TSL2550 is not set |
636 | # CONFIG_I2C_DEBUG_CORE is not set | 651 | # CONFIG_I2C_DEBUG_CORE is not set |
637 | # CONFIG_I2C_DEBUG_ALGO is not set | 652 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -653,16 +668,21 @@ CONFIG_SPI_PL022=y | |||
653 | # | 668 | # |
654 | # CONFIG_SPI_SPIDEV is not set | 669 | # CONFIG_SPI_SPIDEV is not set |
655 | # CONFIG_SPI_TLE62X0 is not set | 670 | # CONFIG_SPI_TLE62X0 is not set |
671 | |||
672 | # | ||
673 | # PPS support | ||
674 | # | ||
675 | # CONFIG_PPS is not set | ||
656 | # CONFIG_W1 is not set | 676 | # CONFIG_W1 is not set |
657 | CONFIG_POWER_SUPPLY=y | 677 | CONFIG_POWER_SUPPLY=y |
658 | # CONFIG_POWER_SUPPLY_DEBUG is not set | 678 | # CONFIG_POWER_SUPPLY_DEBUG is not set |
659 | # CONFIG_PDA_POWER is not set | 679 | # CONFIG_PDA_POWER is not set |
660 | # CONFIG_BATTERY_DS2760 is not set | 680 | # CONFIG_BATTERY_DS2760 is not set |
681 | # CONFIG_BATTERY_DS2782 is not set | ||
661 | # CONFIG_BATTERY_BQ27x00 is not set | 682 | # CONFIG_BATTERY_BQ27x00 is not set |
662 | # CONFIG_BATTERY_MAX17040 is not set | 683 | # CONFIG_BATTERY_MAX17040 is not set |
663 | # CONFIG_HWMON is not set | 684 | # CONFIG_HWMON is not set |
664 | # CONFIG_THERMAL is not set | 685 | # CONFIG_THERMAL is not set |
665 | # CONFIG_THERMAL_HWMON is not set | ||
666 | CONFIG_WATCHDOG=y | 686 | CONFIG_WATCHDOG=y |
667 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 687 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
668 | 688 | ||
@@ -690,10 +710,24 @@ CONFIG_SSB_POSSIBLE=y | |||
690 | # CONFIG_MFD_TC6387XB is not set | 710 | # CONFIG_MFD_TC6387XB is not set |
691 | # CONFIG_PMIC_DA903X is not set | 711 | # CONFIG_PMIC_DA903X is not set |
692 | # CONFIG_MFD_WM8400 is not set | 712 | # CONFIG_MFD_WM8400 is not set |
713 | # CONFIG_MFD_WM831X is not set | ||
693 | # CONFIG_MFD_WM8350_I2C is not set | 714 | # CONFIG_MFD_WM8350_I2C is not set |
694 | # CONFIG_MFD_PCF50633 is not set | 715 | # CONFIG_MFD_PCF50633 is not set |
716 | # CONFIG_MFD_MC13783 is not set | ||
695 | CONFIG_AB3100_CORE=y | 717 | CONFIG_AB3100_CORE=y |
718 | CONFIG_AB3100_OTP=y | ||
696 | # CONFIG_EZX_PCAP is not set | 719 | # CONFIG_EZX_PCAP is not set |
720 | CONFIG_REGULATOR=y | ||
721 | # CONFIG_REGULATOR_DEBUG is not set | ||
722 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
723 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
724 | # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set | ||
725 | # CONFIG_REGULATOR_BQ24022 is not set | ||
726 | # CONFIG_REGULATOR_MAX1586 is not set | ||
727 | # CONFIG_REGULATOR_LP3971 is not set | ||
728 | CONFIG_REGULATOR_AB3100=y | ||
729 | # CONFIG_REGULATOR_TPS65023 is not set | ||
730 | # CONFIG_REGULATOR_TPS6507X is not set | ||
697 | # CONFIG_MEDIA_SUPPORT is not set | 731 | # CONFIG_MEDIA_SUPPORT is not set |
698 | 732 | ||
699 | # | 733 | # |
@@ -792,9 +826,10 @@ CONFIG_MMC_BLOCK_BOUNCE=y | |||
792 | # | 826 | # |
793 | CONFIG_MMC_ARMMMCI=y | 827 | CONFIG_MMC_ARMMMCI=y |
794 | # CONFIG_MMC_SDHCI is not set | 828 | # CONFIG_MMC_SDHCI is not set |
829 | # CONFIG_MMC_AT91 is not set | ||
830 | # CONFIG_MMC_ATMELMCI is not set | ||
795 | # CONFIG_MMC_SPI is not set | 831 | # CONFIG_MMC_SPI is not set |
796 | # CONFIG_MEMSTICK is not set | 832 | # CONFIG_MEMSTICK is not set |
797 | # CONFIG_ACCESSIBILITY is not set | ||
798 | CONFIG_NEW_LEDS=y | 833 | CONFIG_NEW_LEDS=y |
799 | CONFIG_LEDS_CLASS=y | 834 | CONFIG_LEDS_CLASS=y |
800 | 835 | ||
@@ -820,10 +855,10 @@ CONFIG_LEDS_TRIGGER_BACKLIGHT=y | |||
820 | # | 855 | # |
821 | # iptables trigger is under Netfilter config (LED target) | 856 | # iptables trigger is under Netfilter config (LED target) |
822 | # | 857 | # |
858 | # CONFIG_ACCESSIBILITY is not set | ||
823 | CONFIG_RTC_LIB=y | 859 | CONFIG_RTC_LIB=y |
824 | CONFIG_RTC_CLASS=y | 860 | CONFIG_RTC_CLASS=y |
825 | CONFIG_RTC_HCTOSYS=y | 861 | # CONFIG_RTC_HCTOSYS is not set |
826 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
827 | # CONFIG_RTC_DEBUG is not set | 862 | # CONFIG_RTC_DEBUG is not set |
828 | 863 | ||
829 | # | 864 | # |
@@ -863,6 +898,7 @@ CONFIG_RTC_INTF_DEV=y | |||
863 | # CONFIG_RTC_DRV_R9701 is not set | 898 | # CONFIG_RTC_DRV_R9701 is not set |
864 | # CONFIG_RTC_DRV_RS5C348 is not set | 899 | # CONFIG_RTC_DRV_RS5C348 is not set |
865 | # CONFIG_RTC_DRV_DS3234 is not set | 900 | # CONFIG_RTC_DRV_DS3234 is not set |
901 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
866 | 902 | ||
867 | # | 903 | # |
868 | # Platform RTC drivers | 904 | # Platform RTC drivers |
@@ -878,27 +914,25 @@ CONFIG_RTC_INTF_DEV=y | |||
878 | # CONFIG_RTC_DRV_M48T59 is not set | 914 | # CONFIG_RTC_DRV_M48T59 is not set |
879 | # CONFIG_RTC_DRV_BQ4802 is not set | 915 | # CONFIG_RTC_DRV_BQ4802 is not set |
880 | # CONFIG_RTC_DRV_V3020 is not set | 916 | # CONFIG_RTC_DRV_V3020 is not set |
917 | CONFIG_RTC_DRV_AB3100=y | ||
881 | 918 | ||
882 | # | 919 | # |
883 | # on-CPU RTC drivers | 920 | # on-CPU RTC drivers |
884 | # | 921 | # |
885 | # CONFIG_RTC_DRV_PL030 is not set | 922 | # CONFIG_RTC_DRV_PL030 is not set |
886 | # CONFIG_RTC_DRV_PL031 is not set | 923 | # CONFIG_RTC_DRV_PL031 is not set |
924 | CONFIG_RTC_DRV_COH901331=y | ||
887 | CONFIG_DMADEVICES=y | 925 | CONFIG_DMADEVICES=y |
888 | 926 | ||
889 | # | 927 | # |
890 | # DMA Devices | 928 | # DMA Devices |
891 | # | 929 | # |
892 | # CONFIG_AUXDISPLAY is not set | 930 | # CONFIG_AUXDISPLAY is not set |
893 | CONFIG_REGULATOR=y | ||
894 | # CONFIG_REGULATOR_DEBUG is not set | ||
895 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
896 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
897 | # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set | ||
898 | # CONFIG_REGULATOR_BQ24022 is not set | ||
899 | # CONFIG_REGULATOR_MAX1586 is not set | ||
900 | # CONFIG_REGULATOR_LP3971 is not set | ||
901 | # CONFIG_UIO is not set | 931 | # CONFIG_UIO is not set |
932 | |||
933 | # | ||
934 | # TI VLYNQ | ||
935 | # | ||
902 | # CONFIG_STAGING is not set | 936 | # CONFIG_STAGING is not set |
903 | 937 | ||
904 | # | 938 | # |
@@ -913,6 +947,7 @@ CONFIG_REGULATOR=y | |||
913 | # CONFIG_XFS_FS is not set | 947 | # CONFIG_XFS_FS is not set |
914 | # CONFIG_OCFS2_FS is not set | 948 | # CONFIG_OCFS2_FS is not set |
915 | # CONFIG_BTRFS_FS is not set | 949 | # CONFIG_BTRFS_FS is not set |
950 | # CONFIG_NILFS2_FS is not set | ||
916 | CONFIG_FILE_LOCKING=y | 951 | CONFIG_FILE_LOCKING=y |
917 | CONFIG_FSNOTIFY=y | 952 | CONFIG_FSNOTIFY=y |
918 | # CONFIG_DNOTIFY is not set | 953 | # CONFIG_DNOTIFY is not set |
@@ -975,7 +1010,6 @@ CONFIG_MISC_FILESYSTEMS=y | |||
975 | # CONFIG_ROMFS_FS is not set | 1010 | # CONFIG_ROMFS_FS is not set |
976 | # CONFIG_SYSV_FS is not set | 1011 | # CONFIG_SYSV_FS is not set |
977 | # CONFIG_UFS_FS is not set | 1012 | # CONFIG_UFS_FS is not set |
978 | # CONFIG_NILFS2_FS is not set | ||
979 | # CONFIG_NETWORK_FILESYSTEMS is not set | 1013 | # CONFIG_NETWORK_FILESYSTEMS is not set |
980 | 1014 | ||
981 | # | 1015 | # |
@@ -1033,6 +1067,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1033 | CONFIG_ENABLE_MUST_CHECK=y | 1067 | CONFIG_ENABLE_MUST_CHECK=y |
1034 | CONFIG_FRAME_WARN=1024 | 1068 | CONFIG_FRAME_WARN=1024 |
1035 | # CONFIG_MAGIC_SYSRQ is not set | 1069 | # CONFIG_MAGIC_SYSRQ is not set |
1070 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1036 | # CONFIG_UNUSED_SYMBOLS is not set | 1071 | # CONFIG_UNUSED_SYMBOLS is not set |
1037 | # CONFIG_DEBUG_FS is not set | 1072 | # CONFIG_DEBUG_FS is not set |
1038 | # CONFIG_HEADERS_CHECK is not set | 1073 | # CONFIG_HEADERS_CHECK is not set |
@@ -1066,11 +1101,13 @@ CONFIG_DEBUG_INFO=y | |||
1066 | # CONFIG_DEBUG_LIST is not set | 1101 | # CONFIG_DEBUG_LIST is not set |
1067 | # CONFIG_DEBUG_SG is not set | 1102 | # CONFIG_DEBUG_SG is not set |
1068 | # CONFIG_DEBUG_NOTIFIERS is not set | 1103 | # CONFIG_DEBUG_NOTIFIERS is not set |
1104 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1069 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1105 | # CONFIG_BOOT_PRINTK_DELAY is not set |
1070 | # CONFIG_RCU_TORTURE_TEST is not set | 1106 | # CONFIG_RCU_TORTURE_TEST is not set |
1071 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1107 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1072 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1108 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1073 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1109 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1110 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1074 | # CONFIG_FAULT_INJECTION is not set | 1111 | # CONFIG_FAULT_INJECTION is not set |
1075 | # CONFIG_LATENCYTOP is not set | 1112 | # CONFIG_LATENCYTOP is not set |
1076 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set | 1113 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set |
@@ -1121,6 +1158,7 @@ CONFIG_GENERIC_FIND_LAST_BIT=y | |||
1121 | # CONFIG_CRC32 is not set | 1158 | # CONFIG_CRC32 is not set |
1122 | # CONFIG_CRC7 is not set | 1159 | # CONFIG_CRC7 is not set |
1123 | # CONFIG_LIBCRC32C is not set | 1160 | # CONFIG_LIBCRC32C is not set |
1161 | CONFIG_GENERIC_ALLOCATOR=y | ||
1124 | CONFIG_HAS_IOMEM=y | 1162 | CONFIG_HAS_IOMEM=y |
1125 | CONFIG_HAS_IOPORT=y | 1163 | CONFIG_HAS_IOPORT=y |
1126 | CONFIG_HAS_DMA=y | 1164 | CONFIG_HAS_DMA=y |
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h index 63a481fbbed4..338ff19ae447 100644 --- a/arch/arm/include/asm/bitops.h +++ b/arch/arm/include/asm/bitops.h | |||
@@ -84,7 +84,7 @@ ____atomic_test_and_set_bit(unsigned int bit, volatile unsigned long *p) | |||
84 | *p = res | mask; | 84 | *p = res | mask; |
85 | raw_local_irq_restore(flags); | 85 | raw_local_irq_restore(flags); |
86 | 86 | ||
87 | return res & mask; | 87 | return (res & mask) != 0; |
88 | } | 88 | } |
89 | 89 | ||
90 | static inline int | 90 | static inline int |
@@ -101,7 +101,7 @@ ____atomic_test_and_clear_bit(unsigned int bit, volatile unsigned long *p) | |||
101 | *p = res & ~mask; | 101 | *p = res & ~mask; |
102 | raw_local_irq_restore(flags); | 102 | raw_local_irq_restore(flags); |
103 | 103 | ||
104 | return res & mask; | 104 | return (res & mask) != 0; |
105 | } | 105 | } |
106 | 106 | ||
107 | static inline int | 107 | static inline int |
@@ -118,7 +118,7 @@ ____atomic_test_and_change_bit(unsigned int bit, volatile unsigned long *p) | |||
118 | *p = res ^ mask; | 118 | *p = res ^ mask; |
119 | raw_local_irq_restore(flags); | 119 | raw_local_irq_restore(flags); |
120 | 120 | ||
121 | return res & mask; | 121 | return (res & mask) != 0; |
122 | } | 122 | } |
123 | 123 | ||
124 | #include <asm-generic/bitops/non-atomic.h> | 124 | #include <asm-generic/bitops/non-atomic.h> |
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index c3b911ee9151..6aac3f5bb2f3 100644 --- a/arch/arm/include/asm/elf.h +++ b/arch/arm/include/asm/elf.h | |||
@@ -98,6 +98,9 @@ extern int elf_check_arch(const struct elf32_hdr *); | |||
98 | extern int arm_elf_read_implies_exec(const struct elf32_hdr *, int); | 98 | extern int arm_elf_read_implies_exec(const struct elf32_hdr *, int); |
99 | #define elf_read_implies_exec(ex,stk) arm_elf_read_implies_exec(&(ex), stk) | 99 | #define elf_read_implies_exec(ex,stk) arm_elf_read_implies_exec(&(ex), stk) |
100 | 100 | ||
101 | int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs); | ||
102 | #define ELF_CORE_COPY_TASK_REGS dump_task_regs | ||
103 | |||
101 | #define USE_ELF_CORE_DUMP | 104 | #define USE_ELF_CORE_DUMP |
102 | #define ELF_EXEC_PAGESIZE 4096 | 105 | #define ELF_EXEC_PAGESIZE 4096 |
103 | 106 | ||
diff --git a/arch/arm/include/asm/tlbflush.h b/arch/arm/include/asm/tlbflush.h index a45ab5dd8255..c2f1605de359 100644 --- a/arch/arm/include/asm/tlbflush.h +++ b/arch/arm/include/asm/tlbflush.h | |||
@@ -350,7 +350,7 @@ static inline void local_flush_tlb_mm(struct mm_struct *mm) | |||
350 | if (tlb_flag(TLB_WB)) | 350 | if (tlb_flag(TLB_WB)) |
351 | dsb(); | 351 | dsb(); |
352 | 352 | ||
353 | if (cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) { | 353 | if (cpumask_test_cpu(get_cpu(), mm_cpumask(mm))) { |
354 | if (tlb_flag(TLB_V3_FULL)) | 354 | if (tlb_flag(TLB_V3_FULL)) |
355 | asm("mcr p15, 0, %0, c6, c0, 0" : : "r" (zero) : "cc"); | 355 | asm("mcr p15, 0, %0, c6, c0, 0" : : "r" (zero) : "cc"); |
356 | if (tlb_flag(TLB_V4_U_FULL)) | 356 | if (tlb_flag(TLB_V4_U_FULL)) |
@@ -360,6 +360,7 @@ static inline void local_flush_tlb_mm(struct mm_struct *mm) | |||
360 | if (tlb_flag(TLB_V4_I_FULL)) | 360 | if (tlb_flag(TLB_V4_I_FULL)) |
361 | asm("mcr p15, 0, %0, c8, c5, 0" : : "r" (zero) : "cc"); | 361 | asm("mcr p15, 0, %0, c8, c5, 0" : : "r" (zero) : "cc"); |
362 | } | 362 | } |
363 | put_cpu(); | ||
363 | 364 | ||
364 | if (tlb_flag(TLB_V6_U_ASID)) | 365 | if (tlb_flag(TLB_V6_U_ASID)) |
365 | asm("mcr p15, 0, %0, c8, c7, 2" : : "r" (asid) : "cc"); | 366 | asm("mcr p15, 0, %0, c8, c7, 2" : : "r" (asid) : "cc"); |
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 322410be573c..0022b4d57f8b 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S | |||
@@ -608,33 +608,33 @@ call_fpe: | |||
608 | THUMB( add pc, r8 ) | 608 | THUMB( add pc, r8 ) |
609 | nop | 609 | nop |
610 | 610 | ||
611 | W(mov) pc, lr @ CP#0 | 611 | movw_pc lr @ CP#0 |
612 | W(b) do_fpe @ CP#1 (FPE) | 612 | W(b) do_fpe @ CP#1 (FPE) |
613 | W(b) do_fpe @ CP#2 (FPE) | 613 | W(b) do_fpe @ CP#2 (FPE) |
614 | W(mov) pc, lr @ CP#3 | 614 | movw_pc lr @ CP#3 |
615 | #ifdef CONFIG_CRUNCH | 615 | #ifdef CONFIG_CRUNCH |
616 | b crunch_task_enable @ CP#4 (MaverickCrunch) | 616 | b crunch_task_enable @ CP#4 (MaverickCrunch) |
617 | b crunch_task_enable @ CP#5 (MaverickCrunch) | 617 | b crunch_task_enable @ CP#5 (MaverickCrunch) |
618 | b crunch_task_enable @ CP#6 (MaverickCrunch) | 618 | b crunch_task_enable @ CP#6 (MaverickCrunch) |
619 | #else | 619 | #else |
620 | W(mov) pc, lr @ CP#4 | 620 | movw_pc lr @ CP#4 |
621 | W(mov) pc, lr @ CP#5 | 621 | movw_pc lr @ CP#5 |
622 | W(mov) pc, lr @ CP#6 | 622 | movw_pc lr @ CP#6 |
623 | #endif | 623 | #endif |
624 | W(mov) pc, lr @ CP#7 | 624 | movw_pc lr @ CP#7 |
625 | W(mov) pc, lr @ CP#8 | 625 | movw_pc lr @ CP#8 |
626 | W(mov) pc, lr @ CP#9 | 626 | movw_pc lr @ CP#9 |
627 | #ifdef CONFIG_VFP | 627 | #ifdef CONFIG_VFP |
628 | W(b) do_vfp @ CP#10 (VFP) | 628 | W(b) do_vfp @ CP#10 (VFP) |
629 | W(b) do_vfp @ CP#11 (VFP) | 629 | W(b) do_vfp @ CP#11 (VFP) |
630 | #else | 630 | #else |
631 | W(mov) pc, lr @ CP#10 (VFP) | 631 | movw_pc lr @ CP#10 (VFP) |
632 | W(mov) pc, lr @ CP#11 (VFP) | 632 | movw_pc lr @ CP#11 (VFP) |
633 | #endif | 633 | #endif |
634 | W(mov) pc, lr @ CP#12 | 634 | movw_pc lr @ CP#12 |
635 | W(mov) pc, lr @ CP#13 | 635 | movw_pc lr @ CP#13 |
636 | W(mov) pc, lr @ CP#14 (Debug) | 636 | movw_pc lr @ CP#14 (Debug) |
637 | W(mov) pc, lr @ CP#15 (Control) | 637 | movw_pc lr @ CP#15 (Control) |
638 | 638 | ||
639 | #ifdef CONFIG_NEON | 639 | #ifdef CONFIG_NEON |
640 | .align 6 | 640 | .align 6 |
diff --git a/arch/arm/kernel/entry-header.S b/arch/arm/kernel/entry-header.S index ac34c0d9384b..7e9ed1eea40a 100644 --- a/arch/arm/kernel/entry-header.S +++ b/arch/arm/kernel/entry-header.S | |||
@@ -110,6 +110,13 @@ | |||
110 | mov \rd, sp, lsr #13 | 110 | mov \rd, sp, lsr #13 |
111 | mov \rd, \rd, lsl #13 | 111 | mov \rd, \rd, lsl #13 |
112 | .endm | 112 | .endm |
113 | |||
114 | @ | ||
115 | @ 32-bit wide "mov pc, reg" | ||
116 | @ | ||
117 | .macro movw_pc, reg | ||
118 | mov pc, \reg | ||
119 | .endm | ||
113 | #else /* CONFIG_THUMB2_KERNEL */ | 120 | #else /* CONFIG_THUMB2_KERNEL */ |
114 | .macro svc_exit, rpsr | 121 | .macro svc_exit, rpsr |
115 | clrex @ clear the exclusive monitor | 122 | clrex @ clear the exclusive monitor |
@@ -146,6 +153,14 @@ | |||
146 | lsr \rd, \rd, #13 | 153 | lsr \rd, \rd, #13 |
147 | mov \rd, \rd, lsl #13 | 154 | mov \rd, \rd, lsl #13 |
148 | .endm | 155 | .endm |
156 | |||
157 | @ | ||
158 | @ 32-bit wide "mov pc, reg" | ||
159 | @ | ||
160 | .macro movw_pc, reg | ||
161 | mov pc, \reg | ||
162 | nop | ||
163 | .endm | ||
149 | #endif /* !CONFIG_THUMB2_KERNEL */ | 164 | #endif /* !CONFIG_THUMB2_KERNEL */ |
150 | 165 | ||
151 | /* | 166 | /* |
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 790fbee92ec5..0d96d0171c05 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -328,6 +328,15 @@ copy_thread(unsigned long clone_flags, unsigned long stack_start, | |||
328 | } | 328 | } |
329 | 329 | ||
330 | /* | 330 | /* |
331 | * Fill in the task's elfregs structure for a core dump. | ||
332 | */ | ||
333 | int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs) | ||
334 | { | ||
335 | elf_core_copy_regs(elfregs, task_pt_regs(t)); | ||
336 | return 1; | ||
337 | } | ||
338 | |||
339 | /* | ||
331 | * fill in the fpe structure for a core dump... | 340 | * fill in the fpe structure for a core dump... |
332 | */ | 341 | */ |
333 | int dump_fpu (struct pt_regs *regs, struct user_fp *fp) | 342 | int dump_fpu (struct pt_regs *regs, struct user_fp *fp) |
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 4cdc4a0bd02d..d38cdf2c8276 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/time.h> | 22 | #include <linux/time.h> |
23 | #include <linux/init.h> | 23 | #include <linux/init.h> |
24 | #include <linux/sched.h> | ||
24 | #include <linux/smp.h> | 25 | #include <linux/smp.h> |
25 | #include <linux/timex.h> | 26 | #include <linux/timex.h> |
26 | #include <linux/errno.h> | 27 | #include <linux/errno.h> |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 467b69ed1021..f838f36eb702 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -45,21 +45,21 @@ static int __init user_debug_setup(char *str) | |||
45 | __setup("user_debug=", user_debug_setup); | 45 | __setup("user_debug=", user_debug_setup); |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | static void dump_mem(const char *str, unsigned long bottom, unsigned long top); | 48 | static void dump_mem(const char *, const char *, unsigned long, unsigned long); |
49 | 49 | ||
50 | void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame) | 50 | void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame) |
51 | { | 51 | { |
52 | #ifdef CONFIG_KALLSYMS | 52 | #ifdef CONFIG_KALLSYMS |
53 | printk("[<%08lx>] ", where); | 53 | char sym1[KSYM_SYMBOL_LEN], sym2[KSYM_SYMBOL_LEN]; |
54 | print_symbol("(%s) ", where); | 54 | sprint_symbol(sym1, where); |
55 | printk("from [<%08lx>] ", from); | 55 | sprint_symbol(sym2, from); |
56 | print_symbol("(%s)\n", from); | 56 | printk("[<%08lx>] (%s) from [<%08lx>] (%s)\n", where, sym1, from, sym2); |
57 | #else | 57 | #else |
58 | printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from); | 58 | printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from); |
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | if (in_exception_text(where)) | 61 | if (in_exception_text(where)) |
62 | dump_mem("Exception stack", frame + 4, frame + 4 + sizeof(struct pt_regs)); | 62 | dump_mem("", "Exception stack", frame + 4, frame + 4 + sizeof(struct pt_regs)); |
63 | } | 63 | } |
64 | 64 | ||
65 | #ifndef CONFIG_ARM_UNWIND | 65 | #ifndef CONFIG_ARM_UNWIND |
@@ -81,9 +81,10 @@ static int verify_stack(unsigned long sp) | |||
81 | /* | 81 | /* |
82 | * Dump out the contents of some memory nicely... | 82 | * Dump out the contents of some memory nicely... |
83 | */ | 83 | */ |
84 | static void dump_mem(const char *str, unsigned long bottom, unsigned long top) | 84 | static void dump_mem(const char *lvl, const char *str, unsigned long bottom, |
85 | unsigned long top) | ||
85 | { | 86 | { |
86 | unsigned long p = bottom & ~31; | 87 | unsigned long first; |
87 | mm_segment_t fs; | 88 | mm_segment_t fs; |
88 | int i; | 89 | int i; |
89 | 90 | ||
@@ -95,33 +96,37 @@ static void dump_mem(const char *str, unsigned long bottom, unsigned long top) | |||
95 | fs = get_fs(); | 96 | fs = get_fs(); |
96 | set_fs(KERNEL_DS); | 97 | set_fs(KERNEL_DS); |
97 | 98 | ||
98 | printk("%s(0x%08lx to 0x%08lx)\n", str, bottom, top); | 99 | printk("%s%s(0x%08lx to 0x%08lx)\n", lvl, str, bottom, top); |
99 | 100 | ||
100 | for (p = bottom & ~31; p < top;) { | 101 | for (first = bottom & ~31; first < top; first += 32) { |
101 | printk("%04lx: ", p & 0xffff); | 102 | unsigned long p; |
103 | char str[sizeof(" 12345678") * 8 + 1]; | ||
102 | 104 | ||
103 | for (i = 0; i < 8; i++, p += 4) { | 105 | memset(str, ' ', sizeof(str)); |
104 | unsigned int val; | 106 | str[sizeof(str) - 1] = '\0'; |
105 | 107 | ||
106 | if (p < bottom || p >= top) | 108 | for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { |
107 | printk(" "); | 109 | if (p >= bottom && p < top) { |
108 | else { | 110 | unsigned long val; |
109 | __get_user(val, (unsigned long *)p); | 111 | if (__get_user(val, (unsigned long *)p) == 0) |
110 | printk("%08x ", val); | 112 | sprintf(str + i * 9, " %08lx", val); |
113 | else | ||
114 | sprintf(str + i * 9, " ????????"); | ||
111 | } | 115 | } |
112 | } | 116 | } |
113 | printk ("\n"); | 117 | printk("%s%04lx:%s\n", lvl, first & 0xffff, str); |
114 | } | 118 | } |
115 | 119 | ||
116 | set_fs(fs); | 120 | set_fs(fs); |
117 | } | 121 | } |
118 | 122 | ||
119 | static void dump_instr(struct pt_regs *regs) | 123 | static void dump_instr(const char *lvl, struct pt_regs *regs) |
120 | { | 124 | { |
121 | unsigned long addr = instruction_pointer(regs); | 125 | unsigned long addr = instruction_pointer(regs); |
122 | const int thumb = thumb_mode(regs); | 126 | const int thumb = thumb_mode(regs); |
123 | const int width = thumb ? 4 : 8; | 127 | const int width = thumb ? 4 : 8; |
124 | mm_segment_t fs; | 128 | mm_segment_t fs; |
129 | char str[sizeof("00000000 ") * 5 + 2 + 1], *p = str; | ||
125 | int i; | 130 | int i; |
126 | 131 | ||
127 | /* | 132 | /* |
@@ -132,7 +137,6 @@ static void dump_instr(struct pt_regs *regs) | |||
132 | fs = get_fs(); | 137 | fs = get_fs(); |
133 | set_fs(KERNEL_DS); | 138 | set_fs(KERNEL_DS); |
134 | 139 | ||
135 | printk("Code: "); | ||
136 | for (i = -4; i < 1; i++) { | 140 | for (i = -4; i < 1; i++) { |
137 | unsigned int val, bad; | 141 | unsigned int val, bad; |
138 | 142 | ||
@@ -142,13 +146,14 @@ static void dump_instr(struct pt_regs *regs) | |||
142 | bad = __get_user(val, &((u32 *)addr)[i]); | 146 | bad = __get_user(val, &((u32 *)addr)[i]); |
143 | 147 | ||
144 | if (!bad) | 148 | if (!bad) |
145 | printk(i == 0 ? "(%0*x) " : "%0*x ", width, val); | 149 | p += sprintf(p, i == 0 ? "(%0*x) " : "%0*x ", |
150 | width, val); | ||
146 | else { | 151 | else { |
147 | printk("bad PC value."); | 152 | p += sprintf(p, "bad PC value"); |
148 | break; | 153 | break; |
149 | } | 154 | } |
150 | } | 155 | } |
151 | printk("\n"); | 156 | printk("%sCode: %s\n", lvl, str); |
152 | 157 | ||
153 | set_fs(fs); | 158 | set_fs(fs); |
154 | } | 159 | } |
@@ -224,18 +229,19 @@ static void __die(const char *str, int err, struct thread_info *thread, struct p | |||
224 | struct task_struct *tsk = thread->task; | 229 | struct task_struct *tsk = thread->task; |
225 | static int die_counter; | 230 | static int die_counter; |
226 | 231 | ||
227 | printk("Internal error: %s: %x [#%d]" S_PREEMPT S_SMP "\n", | 232 | printk(KERN_EMERG "Internal error: %s: %x [#%d]" S_PREEMPT S_SMP "\n", |
228 | str, err, ++die_counter); | 233 | str, err, ++die_counter); |
234 | sysfs_printk_last_file(); | ||
229 | print_modules(); | 235 | print_modules(); |
230 | __show_regs(regs); | 236 | __show_regs(regs); |
231 | printk("Process %s (pid: %d, stack limit = 0x%p)\n", | 237 | printk(KERN_EMERG "Process %.*s (pid: %d, stack limit = 0x%p)\n", |
232 | tsk->comm, task_pid_nr(tsk), thread + 1); | 238 | TASK_COMM_LEN, tsk->comm, task_pid_nr(tsk), thread + 1); |
233 | 239 | ||
234 | if (!user_mode(regs) || in_interrupt()) { | 240 | if (!user_mode(regs) || in_interrupt()) { |
235 | dump_mem("Stack: ", regs->ARM_sp, | 241 | dump_mem(KERN_EMERG, "Stack: ", regs->ARM_sp, |
236 | THREAD_SIZE + (unsigned long)task_stack_page(tsk)); | 242 | THREAD_SIZE + (unsigned long)task_stack_page(tsk)); |
237 | dump_backtrace(regs, tsk); | 243 | dump_backtrace(regs, tsk); |
238 | dump_instr(regs); | 244 | dump_instr(KERN_EMERG, regs); |
239 | } | 245 | } |
240 | } | 246 | } |
241 | 247 | ||
@@ -250,13 +256,14 @@ NORET_TYPE void die(const char *str, struct pt_regs *regs, int err) | |||
250 | 256 | ||
251 | oops_enter(); | 257 | oops_enter(); |
252 | 258 | ||
253 | console_verbose(); | ||
254 | spin_lock_irq(&die_lock); | 259 | spin_lock_irq(&die_lock); |
260 | console_verbose(); | ||
255 | bust_spinlocks(1); | 261 | bust_spinlocks(1); |
256 | __die(str, err, thread, regs); | 262 | __die(str, err, thread, regs); |
257 | bust_spinlocks(0); | 263 | bust_spinlocks(0); |
258 | add_taint(TAINT_DIE); | 264 | add_taint(TAINT_DIE); |
259 | spin_unlock_irq(&die_lock); | 265 | spin_unlock_irq(&die_lock); |
266 | oops_exit(); | ||
260 | 267 | ||
261 | if (in_interrupt()) | 268 | if (in_interrupt()) |
262 | panic("Fatal exception in interrupt"); | 269 | panic("Fatal exception in interrupt"); |
@@ -264,7 +271,6 @@ NORET_TYPE void die(const char *str, struct pt_regs *regs, int err) | |||
264 | if (panic_on_oops) | 271 | if (panic_on_oops) |
265 | panic("Fatal exception"); | 272 | panic("Fatal exception"); |
266 | 273 | ||
267 | oops_exit(); | ||
268 | do_exit(SIGSEGV); | 274 | do_exit(SIGSEGV); |
269 | } | 275 | } |
270 | 276 | ||
@@ -349,7 +355,7 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs) | |||
349 | if (user_debug & UDBG_UNDEFINED) { | 355 | if (user_debug & UDBG_UNDEFINED) { |
350 | printk(KERN_INFO "%s (%d): undefined instruction: pc=%p\n", | 356 | printk(KERN_INFO "%s (%d): undefined instruction: pc=%p\n", |
351 | current->comm, task_pid_nr(current), pc); | 357 | current->comm, task_pid_nr(current), pc); |
352 | dump_instr(regs); | 358 | dump_instr(KERN_INFO, regs); |
353 | } | 359 | } |
354 | #endif | 360 | #endif |
355 | 361 | ||
@@ -400,7 +406,7 @@ static int bad_syscall(int n, struct pt_regs *regs) | |||
400 | if (user_debug & UDBG_SYSCALL) { | 406 | if (user_debug & UDBG_SYSCALL) { |
401 | printk(KERN_ERR "[%d] %s: obsolete system call %08x.\n", | 407 | printk(KERN_ERR "[%d] %s: obsolete system call %08x.\n", |
402 | task_pid_nr(current), current->comm, n); | 408 | task_pid_nr(current), current->comm, n); |
403 | dump_instr(regs); | 409 | dump_instr(KERN_ERR, regs); |
404 | } | 410 | } |
405 | #endif | 411 | #endif |
406 | 412 | ||
@@ -579,7 +585,7 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs) | |||
579 | if (user_debug & UDBG_SYSCALL) { | 585 | if (user_debug & UDBG_SYSCALL) { |
580 | printk("[%d] %s: arm syscall %d\n", | 586 | printk("[%d] %s: arm syscall %d\n", |
581 | task_pid_nr(current), current->comm, no); | 587 | task_pid_nr(current), current->comm, no); |
582 | dump_instr(regs); | 588 | dump_instr("", regs); |
583 | if (user_mode(regs)) { | 589 | if (user_mode(regs)) { |
584 | __show_regs(regs); | 590 | __show_regs(regs); |
585 | c_backtrace(regs->ARM_fp, processor_mode(regs)); | 591 | c_backtrace(regs->ARM_fp, processor_mode(regs)); |
@@ -656,7 +662,7 @@ baddataabort(int code, unsigned long instr, struct pt_regs *regs) | |||
656 | if (user_debug & UDBG_BADABORT) { | 662 | if (user_debug & UDBG_BADABORT) { |
657 | printk(KERN_ERR "[%d] %s: bad data abort: code %d instr 0x%08lx\n", | 663 | printk(KERN_ERR "[%d] %s: bad data abort: code %d instr 0x%08lx\n", |
658 | task_pid_nr(current), current->comm, code, instr); | 664 | task_pid_nr(current), current->comm, code, instr); |
659 | dump_instr(regs); | 665 | dump_instr(KERN_ERR, regs); |
660 | show_pte(current->mm, addr); | 666 | show_pte(current->mm, addr); |
661 | } | 667 | } |
662 | #endif | 668 | #endif |
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index d581cff80c4c..332b784050b2 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c | |||
@@ -838,7 +838,7 @@ static void __init at91_add_device_rtt(void) | |||
838 | * Watchdog | 838 | * Watchdog |
839 | * -------------------------------------------------------------------- */ | 839 | * -------------------------------------------------------------------- */ |
840 | 840 | ||
841 | #if defined(CONFIG_AT91SAM9_WATCHDOG) || defined(CONFIG_AT91SAM9_WATCHDOG_MODULE) | 841 | #if defined(CONFIG_AT91SAM9X_WATCHDOG) || defined(CONFIG_AT91SAM9X_WATCHDOG_MODULE) |
842 | static struct platform_device at91sam9g45_wdt_device = { | 842 | static struct platform_device at91sam9g45_wdt_device = { |
843 | .name = "at91_wdt", | 843 | .name = "at91_wdt", |
844 | .id = -1, | 844 | .id = -1, |
diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c index 4b4f69251b31..e590bbe0a7b4 100644 --- a/arch/arm/mach-bcmring/core.c +++ b/arch/arm/mach-bcmring/core.c | |||
@@ -271,12 +271,12 @@ static struct irqaction bcmring_timer_irq = { | |||
271 | .handler = bcmring_timer_interrupt, | 271 | .handler = bcmring_timer_interrupt, |
272 | }; | 272 | }; |
273 | 273 | ||
274 | static cycle_t bcmring_get_cycles_timer1(void) | 274 | static cycle_t bcmring_get_cycles_timer1(struct clocksource *cs) |
275 | { | 275 | { |
276 | return ~readl(TIMER1_VA_BASE + TIMER_VALUE); | 276 | return ~readl(TIMER1_VA_BASE + TIMER_VALUE); |
277 | } | 277 | } |
278 | 278 | ||
279 | static cycle_t bcmring_get_cycles_timer3(void) | 279 | static cycle_t bcmring_get_cycles_timer3(struct clocksource *cs) |
280 | { | 280 | { |
281 | return ~readl(TIMER3_VA_BASE + TIMER_VALUE); | 281 | return ~readl(TIMER3_VA_BASE + TIMER_VALUE); |
282 | } | 282 | } |
diff --git a/arch/arm/mach-bcmring/include/mach/system.h b/arch/arm/mach-bcmring/include/mach/system.h index cdbf93c694a6..38b37060d426 100644 --- a/arch/arm/mach-bcmring/include/mach/system.h +++ b/arch/arm/mach-bcmring/include/mach/system.h | |||
@@ -29,7 +29,7 @@ static inline void arch_idle(void) | |||
29 | cpu_do_idle(); | 29 | cpu_do_idle(); |
30 | } | 30 | } |
31 | 31 | ||
32 | static inline void arch_reset(char mode, char *cmd) | 32 | static inline void arch_reset(char mode, const char *cmd) |
33 | { | 33 | { |
34 | printk("arch_reset:%c %x\n", mode, bcmring_arch_warm_reboot); | 34 | printk("arch_reset:%c %x\n", mode, bcmring_arch_warm_reboot); |
35 | 35 | ||
diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig index d7291c682a64..9167c3d2a5ed 100644 --- a/arch/arm/mach-ep93xx/Kconfig +++ b/arch/arm/mach-ep93xx/Kconfig | |||
@@ -17,13 +17,31 @@ config EP93XX_SDCE3_SYNC_PHYS_OFFSET | |||
17 | bool "0x00000000 - SDCE3/SyncBoot" | 17 | bool "0x00000000 - SDCE3/SyncBoot" |
18 | help | 18 | help |
19 | Select this option if you want support for EP93xx boards with the | 19 | Select this option if you want support for EP93xx boards with the |
20 | first SDRAM bank at 0x00000000 | 20 | first SDRAM bank at 0x00000000. |
21 | 21 | ||
22 | config EP93XX_SDCE0_PHYS_OFFSET | 22 | config EP93XX_SDCE0_PHYS_OFFSET |
23 | bool "0xc0000000 - SDCEO" | 23 | bool "0xc0000000 - SDCEO" |
24 | help | 24 | help |
25 | Select this option if you want support for EP93xx boards with the | 25 | Select this option if you want support for EP93xx boards with the |
26 | first SDRAM bank at 0xc0000000 | 26 | first SDRAM bank at 0xc0000000. |
27 | |||
28 | config EP93XX_SDCE1_PHYS_OFFSET | ||
29 | bool "0xd0000000 - SDCE1" | ||
30 | help | ||
31 | Select this option if you want support for EP93xx boards with the | ||
32 | first SDRAM bank at 0xd0000000. | ||
33 | |||
34 | config EP93XX_SDCE2_PHYS_OFFSET | ||
35 | bool "0xe0000000 - SDCE2" | ||
36 | help | ||
37 | Select this option if you want support for EP93xx boards with the | ||
38 | first SDRAM bank at 0xe0000000. | ||
39 | |||
40 | config EP93XX_SDCE3_ASYNC_PHYS_OFFSET | ||
41 | bool "0xf0000000 - SDCE3/AsyncBoot" | ||
42 | help | ||
43 | Select this option if you want support for EP93xx boards with the | ||
44 | first SDRAM bank at 0xf0000000. | ||
27 | 45 | ||
28 | endchoice | 46 | endchoice |
29 | 47 | ||
@@ -112,28 +130,36 @@ config MACH_MICRO9 | |||
112 | bool | 130 | bool |
113 | 131 | ||
114 | config MACH_MICRO9H | 132 | config MACH_MICRO9H |
115 | bool "Support Contec Hypercontrol Micro9-H" | 133 | bool "Support Contec Micro9-High" |
116 | depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET | 134 | depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET |
117 | select MACH_MICRO9 | 135 | select MACH_MICRO9 |
118 | help | 136 | help |
119 | Say 'Y' here if you want your kernel to support the | 137 | Say 'Y' here if you want your kernel to support the |
120 | Contec Hypercontrol Micro9-H board. | 138 | Contec Micro9-High board. |
121 | 139 | ||
122 | config MACH_MICRO9M | 140 | config MACH_MICRO9M |
123 | bool "Support Contec Hypercontrol Micro9-M" | 141 | bool "Support Contec Micro9-Mid" |
124 | depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET | 142 | depends on EP93XX_SDCE3_ASYNC_PHYS_OFFSET |
125 | select MACH_MICRO9 | 143 | select MACH_MICRO9 |
126 | help | 144 | help |
127 | Say 'Y' here if you want your kernel to support the | 145 | Say 'Y' here if you want your kernel to support the |
128 | Contec Hypercontrol Micro9-M board. | 146 | Contec Micro9-Mid board. |
129 | 147 | ||
130 | config MACH_MICRO9L | 148 | config MACH_MICRO9L |
131 | bool "Support Contec Hypercontrol Micro9-L" | 149 | bool "Support Contec Micro9-Lite" |
132 | depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET | 150 | depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET |
133 | select MACH_MICRO9 | 151 | select MACH_MICRO9 |
134 | help | 152 | help |
135 | Say 'Y' here if you want your kernel to support the | 153 | Say 'Y' here if you want your kernel to support the |
136 | Contec Hypercontrol Micro9-L board. | 154 | Contec Micro9-Lite board. |
155 | |||
156 | config MACH_MICRO9S | ||
157 | bool "Support Contec Micro9-Slim" | ||
158 | depends on EP93XX_SDCE3_ASYNC_PHYS_OFFSET | ||
159 | select MACH_MICRO9 | ||
160 | help | ||
161 | Say 'Y' here if you want your kernel to support the | ||
162 | Contec Micro9-Slim board. | ||
137 | 163 | ||
138 | config MACH_TS72XX | 164 | config MACH_TS72XX |
139 | bool "Support Technologic Systems TS-72xx SBC" | 165 | bool "Support Technologic Systems TS-72xx SBC" |
diff --git a/arch/arm/mach-ep93xx/Makefile.boot b/arch/arm/mach-ep93xx/Makefile.boot index 27a085a8f12a..0ad33f15c622 100644 --- a/arch/arm/mach-ep93xx/Makefile.boot +++ b/arch/arm/mach-ep93xx/Makefile.boot | |||
@@ -3,3 +3,12 @@ params_phys-$(CONFIG_EP93XX_SDCE3_SYNC_PHYS_OFFSET) := 0x00000100 | |||
3 | 3 | ||
4 | zreladdr-$(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) := 0xc0008000 | 4 | zreladdr-$(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) := 0xc0008000 |
5 | params_phys-$(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) := 0xc0000100 | 5 | params_phys-$(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) := 0xc0000100 |
6 | |||
7 | zreladdr-$(CONFIG_EP93XX_SDCE1_PHYS_OFFSET) := 0xd0008000 | ||
8 | params_phys-$(CONFIG_EP93XX_SDCE1_PHYS_OFFSET) := 0xd0000100 | ||
9 | |||
10 | zreladdr-$(CONFIG_EP93XX_SDCE2_PHYS_OFFSET) := 0xe0008000 | ||
11 | params_phys-$(CONFIG_EP93XX_SDCE2_PHYS_OFFSET) := 0xe0000100 | ||
12 | |||
13 | zreladdr-$(CONFIG_EP93XX_SDCE3_ASYNC_PHYS_OFFSET) := 0xf0008000 | ||
14 | params_phys-$(CONFIG_EP93XX_SDCE3_ASYNC_PHYS_OFFSET) := 0xf0000100 | ||
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c index dda19cd76194..1d0f9d8aff2e 100644 --- a/arch/arm/mach-ep93xx/clock.c +++ b/arch/arm/mach-ep93xx/clock.c | |||
@@ -16,13 +16,16 @@ | |||
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | #include <linux/spinlock.h> | ||
20 | |||
21 | #include <mach/hardware.h> | ||
19 | 22 | ||
20 | #include <asm/clkdev.h> | 23 | #include <asm/clkdev.h> |
21 | #include <asm/div64.h> | 24 | #include <asm/div64.h> |
22 | #include <mach/hardware.h> | ||
23 | 25 | ||
24 | 26 | ||
25 | struct clk { | 27 | struct clk { |
28 | struct clk *parent; | ||
26 | unsigned long rate; | 29 | unsigned long rate; |
27 | int users; | 30 | int users; |
28 | int sw_locked; | 31 | int sw_locked; |
@@ -39,40 +42,60 @@ static unsigned long get_uart_rate(struct clk *clk); | |||
39 | static int set_keytchclk_rate(struct clk *clk, unsigned long rate); | 42 | static int set_keytchclk_rate(struct clk *clk, unsigned long rate); |
40 | static int set_div_rate(struct clk *clk, unsigned long rate); | 43 | static int set_div_rate(struct clk *clk, unsigned long rate); |
41 | 44 | ||
45 | |||
46 | static struct clk clk_xtali = { | ||
47 | .rate = EP93XX_EXT_CLK_RATE, | ||
48 | }; | ||
42 | static struct clk clk_uart1 = { | 49 | static struct clk clk_uart1 = { |
50 | .parent = &clk_xtali, | ||
43 | .sw_locked = 1, | 51 | .sw_locked = 1, |
44 | .enable_reg = EP93XX_SYSCON_DEVCFG, | 52 | .enable_reg = EP93XX_SYSCON_DEVCFG, |
45 | .enable_mask = EP93XX_SYSCON_DEVCFG_U1EN, | 53 | .enable_mask = EP93XX_SYSCON_DEVCFG_U1EN, |
46 | .get_rate = get_uart_rate, | 54 | .get_rate = get_uart_rate, |
47 | }; | 55 | }; |
48 | static struct clk clk_uart2 = { | 56 | static struct clk clk_uart2 = { |
57 | .parent = &clk_xtali, | ||
49 | .sw_locked = 1, | 58 | .sw_locked = 1, |
50 | .enable_reg = EP93XX_SYSCON_DEVCFG, | 59 | .enable_reg = EP93XX_SYSCON_DEVCFG, |
51 | .enable_mask = EP93XX_SYSCON_DEVCFG_U2EN, | 60 | .enable_mask = EP93XX_SYSCON_DEVCFG_U2EN, |
52 | .get_rate = get_uart_rate, | 61 | .get_rate = get_uart_rate, |
53 | }; | 62 | }; |
54 | static struct clk clk_uart3 = { | 63 | static struct clk clk_uart3 = { |
64 | .parent = &clk_xtali, | ||
55 | .sw_locked = 1, | 65 | .sw_locked = 1, |
56 | .enable_reg = EP93XX_SYSCON_DEVCFG, | 66 | .enable_reg = EP93XX_SYSCON_DEVCFG, |
57 | .enable_mask = EP93XX_SYSCON_DEVCFG_U3EN, | 67 | .enable_mask = EP93XX_SYSCON_DEVCFG_U3EN, |
58 | .get_rate = get_uart_rate, | 68 | .get_rate = get_uart_rate, |
59 | }; | 69 | }; |
60 | static struct clk clk_pll1; | 70 | static struct clk clk_pll1 = { |
61 | static struct clk clk_f; | 71 | .parent = &clk_xtali, |
62 | static struct clk clk_h; | 72 | }; |
63 | static struct clk clk_p; | 73 | static struct clk clk_f = { |
64 | static struct clk clk_pll2; | 74 | .parent = &clk_pll1, |
75 | }; | ||
76 | static struct clk clk_h = { | ||
77 | .parent = &clk_pll1, | ||
78 | }; | ||
79 | static struct clk clk_p = { | ||
80 | .parent = &clk_pll1, | ||
81 | }; | ||
82 | static struct clk clk_pll2 = { | ||
83 | .parent = &clk_xtali, | ||
84 | }; | ||
65 | static struct clk clk_usb_host = { | 85 | static struct clk clk_usb_host = { |
86 | .parent = &clk_pll2, | ||
66 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 87 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
67 | .enable_mask = EP93XX_SYSCON_PWRCNT_USH_EN, | 88 | .enable_mask = EP93XX_SYSCON_PWRCNT_USH_EN, |
68 | }; | 89 | }; |
69 | static struct clk clk_keypad = { | 90 | static struct clk clk_keypad = { |
91 | .parent = &clk_xtali, | ||
70 | .sw_locked = 1, | 92 | .sw_locked = 1, |
71 | .enable_reg = EP93XX_SYSCON_KEYTCHCLKDIV, | 93 | .enable_reg = EP93XX_SYSCON_KEYTCHCLKDIV, |
72 | .enable_mask = EP93XX_SYSCON_KEYTCHCLKDIV_KEN, | 94 | .enable_mask = EP93XX_SYSCON_KEYTCHCLKDIV_KEN, |
73 | .set_rate = set_keytchclk_rate, | 95 | .set_rate = set_keytchclk_rate, |
74 | }; | 96 | }; |
75 | static struct clk clk_pwm = { | 97 | static struct clk clk_pwm = { |
98 | .parent = &clk_xtali, | ||
76 | .rate = EP93XX_EXT_CLK_RATE, | 99 | .rate = EP93XX_EXT_CLK_RATE, |
77 | }; | 100 | }; |
78 | 101 | ||
@@ -85,50 +108,62 @@ static struct clk clk_video = { | |||
85 | 108 | ||
86 | /* DMA Clocks */ | 109 | /* DMA Clocks */ |
87 | static struct clk clk_m2p0 = { | 110 | static struct clk clk_m2p0 = { |
111 | .parent = &clk_h, | ||
88 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 112 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
89 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P0, | 113 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P0, |
90 | }; | 114 | }; |
91 | static struct clk clk_m2p1 = { | 115 | static struct clk clk_m2p1 = { |
116 | .parent = &clk_h, | ||
92 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 117 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
93 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P1, | 118 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P1, |
94 | }; | 119 | }; |
95 | static struct clk clk_m2p2 = { | 120 | static struct clk clk_m2p2 = { |
121 | .parent = &clk_h, | ||
96 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 122 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
97 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P2, | 123 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P2, |
98 | }; | 124 | }; |
99 | static struct clk clk_m2p3 = { | 125 | static struct clk clk_m2p3 = { |
126 | .parent = &clk_h, | ||
100 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 127 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
101 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P3, | 128 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P3, |
102 | }; | 129 | }; |
103 | static struct clk clk_m2p4 = { | 130 | static struct clk clk_m2p4 = { |
131 | .parent = &clk_h, | ||
104 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 132 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
105 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P4, | 133 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P4, |
106 | }; | 134 | }; |
107 | static struct clk clk_m2p5 = { | 135 | static struct clk clk_m2p5 = { |
136 | .parent = &clk_h, | ||
108 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 137 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
109 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P5, | 138 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P5, |
110 | }; | 139 | }; |
111 | static struct clk clk_m2p6 = { | 140 | static struct clk clk_m2p6 = { |
141 | .parent = &clk_h, | ||
112 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 142 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
113 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P6, | 143 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P6, |
114 | }; | 144 | }; |
115 | static struct clk clk_m2p7 = { | 145 | static struct clk clk_m2p7 = { |
146 | .parent = &clk_h, | ||
116 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 147 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
117 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P7, | 148 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P7, |
118 | }; | 149 | }; |
119 | static struct clk clk_m2p8 = { | 150 | static struct clk clk_m2p8 = { |
151 | .parent = &clk_h, | ||
120 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 152 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
121 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P8, | 153 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P8, |
122 | }; | 154 | }; |
123 | static struct clk clk_m2p9 = { | 155 | static struct clk clk_m2p9 = { |
156 | .parent = &clk_h, | ||
124 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 157 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
125 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P9, | 158 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2P9, |
126 | }; | 159 | }; |
127 | static struct clk clk_m2m0 = { | 160 | static struct clk clk_m2m0 = { |
161 | .parent = &clk_h, | ||
128 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 162 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
129 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2M0, | 163 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2M0, |
130 | }; | 164 | }; |
131 | static struct clk clk_m2m1 = { | 165 | static struct clk clk_m2m1 = { |
166 | .parent = &clk_h, | ||
132 | .enable_reg = EP93XX_SYSCON_PWRCNT, | 167 | .enable_reg = EP93XX_SYSCON_PWRCNT, |
133 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2M1, | 168 | .enable_mask = EP93XX_SYSCON_PWRCNT_DMA_M2M1, |
134 | }; | 169 | }; |
@@ -137,6 +172,7 @@ static struct clk clk_m2m1 = { | |||
137 | { .dev_id = dev, .con_id = con, .clk = ck } | 172 | { .dev_id = dev, .con_id = con, .clk = ck } |
138 | 173 | ||
139 | static struct clk_lookup clocks[] = { | 174 | static struct clk_lookup clocks[] = { |
175 | INIT_CK(NULL, "xtali", &clk_xtali), | ||
140 | INIT_CK("apb:uart1", NULL, &clk_uart1), | 176 | INIT_CK("apb:uart1", NULL, &clk_uart1), |
141 | INIT_CK("apb:uart2", NULL, &clk_uart2), | 177 | INIT_CK("apb:uart2", NULL, &clk_uart2), |
142 | INIT_CK("apb:uart3", NULL, &clk_uart3), | 178 | INIT_CK("apb:uart3", NULL, &clk_uart3), |
@@ -163,48 +199,84 @@ static struct clk_lookup clocks[] = { | |||
163 | INIT_CK(NULL, "m2m1", &clk_m2m1), | 199 | INIT_CK(NULL, "m2m1", &clk_m2m1), |
164 | }; | 200 | }; |
165 | 201 | ||
202 | static DEFINE_SPINLOCK(clk_lock); | ||
203 | |||
204 | static void __clk_enable(struct clk *clk) | ||
205 | { | ||
206 | if (!clk->users++) { | ||
207 | if (clk->parent) | ||
208 | __clk_enable(clk->parent); | ||
209 | |||
210 | if (clk->enable_reg) { | ||
211 | u32 v; | ||
212 | |||
213 | v = __raw_readl(clk->enable_reg); | ||
214 | v |= clk->enable_mask; | ||
215 | if (clk->sw_locked) | ||
216 | ep93xx_syscon_swlocked_write(v, clk->enable_reg); | ||
217 | else | ||
218 | __raw_writel(v, clk->enable_reg); | ||
219 | } | ||
220 | } | ||
221 | } | ||
166 | 222 | ||
167 | int clk_enable(struct clk *clk) | 223 | int clk_enable(struct clk *clk) |
168 | { | 224 | { |
169 | if (!clk->users++ && clk->enable_reg) { | 225 | unsigned long flags; |
170 | u32 value; | ||
171 | 226 | ||
172 | value = __raw_readl(clk->enable_reg); | 227 | if (!clk) |
173 | value |= clk->enable_mask; | 228 | return -EINVAL; |
174 | if (clk->sw_locked) | 229 | |
175 | ep93xx_syscon_swlocked_write(value, clk->enable_reg); | 230 | spin_lock_irqsave(&clk_lock, flags); |
176 | else | 231 | __clk_enable(clk); |
177 | __raw_writel(value, clk->enable_reg); | 232 | spin_unlock_irqrestore(&clk_lock, flags); |
178 | } | ||
179 | 233 | ||
180 | return 0; | 234 | return 0; |
181 | } | 235 | } |
182 | EXPORT_SYMBOL(clk_enable); | 236 | EXPORT_SYMBOL(clk_enable); |
183 | 237 | ||
184 | void clk_disable(struct clk *clk) | 238 | static void __clk_disable(struct clk *clk) |
185 | { | 239 | { |
186 | if (!--clk->users && clk->enable_reg) { | 240 | if (!--clk->users) { |
187 | u32 value; | 241 | if (clk->enable_reg) { |
242 | u32 v; | ||
243 | |||
244 | v = __raw_readl(clk->enable_reg); | ||
245 | v &= ~clk->enable_mask; | ||
246 | if (clk->sw_locked) | ||
247 | ep93xx_syscon_swlocked_write(v, clk->enable_reg); | ||
248 | else | ||
249 | __raw_writel(v, clk->enable_reg); | ||
250 | } | ||
188 | 251 | ||
189 | value = __raw_readl(clk->enable_reg); | 252 | if (clk->parent) |
190 | value &= ~clk->enable_mask; | 253 | __clk_disable(clk->parent); |
191 | if (clk->sw_locked) | ||
192 | ep93xx_syscon_swlocked_write(value, clk->enable_reg); | ||
193 | else | ||
194 | __raw_writel(value, clk->enable_reg); | ||
195 | } | 254 | } |
196 | } | 255 | } |
256 | |||
257 | void clk_disable(struct clk *clk) | ||
258 | { | ||
259 | unsigned long flags; | ||
260 | |||
261 | if (!clk) | ||
262 | return; | ||
263 | |||
264 | spin_lock_irqsave(&clk_lock, flags); | ||
265 | __clk_disable(clk); | ||
266 | spin_unlock_irqrestore(&clk_lock, flags); | ||
267 | } | ||
197 | EXPORT_SYMBOL(clk_disable); | 268 | EXPORT_SYMBOL(clk_disable); |
198 | 269 | ||
199 | static unsigned long get_uart_rate(struct clk *clk) | 270 | static unsigned long get_uart_rate(struct clk *clk) |
200 | { | 271 | { |
272 | unsigned long rate = clk_get_rate(clk->parent); | ||
201 | u32 value; | 273 | u32 value; |
202 | 274 | ||
203 | value = __raw_readl(EP93XX_SYSCON_PWRCNT); | 275 | value = __raw_readl(EP93XX_SYSCON_PWRCNT); |
204 | if (value & EP93XX_SYSCON_PWRCNT_UARTBAUD) | 276 | if (value & EP93XX_SYSCON_PWRCNT_UARTBAUD) |
205 | return EP93XX_EXT_CLK_RATE; | 277 | return rate; |
206 | else | 278 | else |
207 | return EP93XX_EXT_CLK_RATE / 2; | 279 | return rate / 2; |
208 | } | 280 | } |
209 | 281 | ||
210 | unsigned long clk_get_rate(struct clk *clk) | 282 | unsigned long clk_get_rate(struct clk *clk) |
@@ -244,16 +316,16 @@ static int set_keytchclk_rate(struct clk *clk, unsigned long rate) | |||
244 | return 0; | 316 | return 0; |
245 | } | 317 | } |
246 | 318 | ||
247 | static unsigned long calc_clk_div(unsigned long rate, int *psel, int *esel, | 319 | static int calc_clk_div(struct clk *clk, unsigned long rate, |
248 | int *pdiv, int *div) | 320 | int *psel, int *esel, int *pdiv, int *div) |
249 | { | 321 | { |
250 | unsigned long max_rate, best_rate = 0, | 322 | struct clk *mclk; |
251 | actual_rate = 0, mclk_rate = 0, rate_err = -1; | 323 | unsigned long max_rate, actual_rate, mclk_rate, rate_err = -1; |
252 | int i, found = 0, __div = 0, __pdiv = 0; | 324 | int i, found = 0, __div = 0, __pdiv = 0; |
253 | 325 | ||
254 | /* Don't exceed the maximum rate */ | 326 | /* Don't exceed the maximum rate */ |
255 | max_rate = max(max(clk_pll1.rate / 4, clk_pll2.rate / 4), | 327 | max_rate = max(max(clk_pll1.rate / 4, clk_pll2.rate / 4), |
256 | (unsigned long)EP93XX_EXT_CLK_RATE / 4); | 328 | clk_xtali.rate / 4); |
257 | rate = min(rate, max_rate); | 329 | rate = min(rate, max_rate); |
258 | 330 | ||
259 | /* | 331 | /* |
@@ -267,11 +339,12 @@ static unsigned long calc_clk_div(unsigned long rate, int *psel, int *esel, | |||
267 | */ | 339 | */ |
268 | for (i = 0; i < 3; i++) { | 340 | for (i = 0; i < 3; i++) { |
269 | if (i == 0) | 341 | if (i == 0) |
270 | mclk_rate = EP93XX_EXT_CLK_RATE * 2; | 342 | mclk = &clk_xtali; |
271 | else if (i == 1) | 343 | else if (i == 1) |
272 | mclk_rate = clk_pll1.rate * 2; | 344 | mclk = &clk_pll1; |
273 | else if (i == 2) | 345 | else |
274 | mclk_rate = clk_pll2.rate * 2; | 346 | mclk = &clk_pll2; |
347 | mclk_rate = mclk->rate * 2; | ||
275 | 348 | ||
276 | /* Try each predivider value */ | 349 | /* Try each predivider value */ |
277 | for (__pdiv = 4; __pdiv <= 6; __pdiv++) { | 350 | for (__pdiv = 4; __pdiv <= 6; __pdiv++) { |
@@ -286,7 +359,8 @@ static unsigned long calc_clk_div(unsigned long rate, int *psel, int *esel, | |||
286 | *div = __div; | 359 | *div = __div; |
287 | *psel = (i == 2); | 360 | *psel = (i == 2); |
288 | *esel = (i != 0); | 361 | *esel = (i != 0); |
289 | best_rate = actual_rate; | 362 | clk->parent = mclk; |
363 | clk->rate = actual_rate; | ||
290 | rate_err = abs(actual_rate - rate); | 364 | rate_err = abs(actual_rate - rate); |
291 | found = 1; | 365 | found = 1; |
292 | } | 366 | } |
@@ -294,21 +368,19 @@ static unsigned long calc_clk_div(unsigned long rate, int *psel, int *esel, | |||
294 | } | 368 | } |
295 | 369 | ||
296 | if (!found) | 370 | if (!found) |
297 | return 0; | 371 | return -EINVAL; |
298 | 372 | ||
299 | return best_rate; | 373 | return 0; |
300 | } | 374 | } |
301 | 375 | ||
302 | static int set_div_rate(struct clk *clk, unsigned long rate) | 376 | static int set_div_rate(struct clk *clk, unsigned long rate) |
303 | { | 377 | { |
304 | unsigned long actual_rate; | 378 | int err, psel = 0, esel = 0, pdiv = 0, div = 0; |
305 | int psel = 0, esel = 0, pdiv = 0, div = 0; | ||
306 | u32 val; | 379 | u32 val; |
307 | 380 | ||
308 | actual_rate = calc_clk_div(rate, &psel, &esel, &pdiv, &div); | 381 | err = calc_clk_div(clk, rate, &psel, &esel, &pdiv, &div); |
309 | if (actual_rate == 0) | 382 | if (err) |
310 | return -EINVAL; | 383 | return err; |
311 | clk->rate = actual_rate; | ||
312 | 384 | ||
313 | /* Clear the esel, psel, pdiv and div bits */ | 385 | /* Clear the esel, psel, pdiv and div bits */ |
314 | val = __raw_readl(clk->enable_reg); | 386 | val = __raw_readl(clk->enable_reg); |
@@ -344,7 +416,7 @@ static unsigned long calc_pll_rate(u32 config_word) | |||
344 | unsigned long long rate; | 416 | unsigned long long rate; |
345 | int i; | 417 | int i; |
346 | 418 | ||
347 | rate = EP93XX_EXT_CLK_RATE; | 419 | rate = clk_xtali.rate; |
348 | rate *= ((config_word >> 11) & 0x1f) + 1; /* X1FBD */ | 420 | rate *= ((config_word >> 11) & 0x1f) + 1; /* X1FBD */ |
349 | rate *= ((config_word >> 5) & 0x3f) + 1; /* X2FBD */ | 421 | rate *= ((config_word >> 5) & 0x3f) + 1; /* X2FBD */ |
350 | do_div(rate, (config_word & 0x1f) + 1); /* X2IPD */ | 422 | do_div(rate, (config_word & 0x1f) + 1); /* X2IPD */ |
@@ -377,7 +449,7 @@ static int __init ep93xx_clock_init(void) | |||
377 | 449 | ||
378 | value = __raw_readl(EP93XX_SYSCON_CLOCK_SET1); | 450 | value = __raw_readl(EP93XX_SYSCON_CLOCK_SET1); |
379 | if (!(value & 0x00800000)) { /* PLL1 bypassed? */ | 451 | if (!(value & 0x00800000)) { /* PLL1 bypassed? */ |
380 | clk_pll1.rate = EP93XX_EXT_CLK_RATE; | 452 | clk_pll1.rate = clk_xtali.rate; |
381 | } else { | 453 | } else { |
382 | clk_pll1.rate = calc_pll_rate(value); | 454 | clk_pll1.rate = calc_pll_rate(value); |
383 | } | 455 | } |
@@ -388,7 +460,7 @@ static int __init ep93xx_clock_init(void) | |||
388 | 460 | ||
389 | value = __raw_readl(EP93XX_SYSCON_CLOCK_SET2); | 461 | value = __raw_readl(EP93XX_SYSCON_CLOCK_SET2); |
390 | if (!(value & 0x00080000)) { /* PLL2 bypassed? */ | 462 | if (!(value & 0x00080000)) { /* PLL2 bypassed? */ |
391 | clk_pll2.rate = EP93XX_EXT_CLK_RATE; | 463 | clk_pll2.rate = clk_xtali.rate; |
392 | } else if (value & 0x00040000) { /* PLL2 enabled? */ | 464 | } else if (value & 0x00040000) { /* PLL2 enabled? */ |
393 | clk_pll2.rate = calc_pll_rate(value); | 465 | clk_pll2.rate = calc_pll_rate(value); |
394 | } else { | 466 | } else { |
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index f7ebed942f66..b4357c388d2e 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c | |||
@@ -206,7 +206,6 @@ static void ep93xx_gpio_ab_irq_handler(unsigned int irq, struct irq_desc *desc) | |||
206 | for (i = 0; i < 8; i++) { | 206 | for (i = 0; i < 8; i++) { |
207 | if (status & (1 << i)) { | 207 | if (status & (1 << i)) { |
208 | int gpio_irq = gpio_to_irq(EP93XX_GPIO_LINE_B(0)) + i; | 208 | int gpio_irq = gpio_to_irq(EP93XX_GPIO_LINE_B(0)) + i; |
209 | desc = irq_desc + gpio_irq; | ||
210 | generic_handle_irq(gpio_irq); | 209 | generic_handle_irq(gpio_irq); |
211 | } | 210 | } |
212 | } | 211 | } |
@@ -550,13 +549,11 @@ void __init ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr) | |||
550 | platform_device_register(&ep93xx_eth_device); | 549 | platform_device_register(&ep93xx_eth_device); |
551 | } | 550 | } |
552 | 551 | ||
553 | static struct i2c_gpio_platform_data ep93xx_i2c_data = { | 552 | |
554 | .sda_pin = EP93XX_GPIO_LINE_EEDAT, | 553 | /************************************************************************* |
555 | .sda_is_open_drain = 0, | 554 | * EP93xx i2c peripheral handling |
556 | .scl_pin = EP93XX_GPIO_LINE_EECLK, | 555 | *************************************************************************/ |
557 | .scl_is_open_drain = 0, | 556 | static struct i2c_gpio_platform_data ep93xx_i2c_data; |
558 | .udelay = 2, | ||
559 | }; | ||
560 | 557 | ||
561 | static struct platform_device ep93xx_i2c_device = { | 558 | static struct platform_device ep93xx_i2c_device = { |
562 | .name = "i2c-gpio", | 559 | .name = "i2c-gpio", |
@@ -564,8 +561,25 @@ static struct platform_device ep93xx_i2c_device = { | |||
564 | .dev.platform_data = &ep93xx_i2c_data, | 561 | .dev.platform_data = &ep93xx_i2c_data, |
565 | }; | 562 | }; |
566 | 563 | ||
567 | void __init ep93xx_register_i2c(struct i2c_board_info *devices, int num) | 564 | void __init ep93xx_register_i2c(struct i2c_gpio_platform_data *data, |
565 | struct i2c_board_info *devices, int num) | ||
568 | { | 566 | { |
567 | /* | ||
568 | * Set the EEPROM interface pin drive type control. | ||
569 | * Defines the driver type for the EECLK and EEDAT pins as either | ||
570 | * open drain, which will require an external pull-up, or a normal | ||
571 | * CMOS driver. | ||
572 | */ | ||
573 | if (data->sda_is_open_drain && data->sda_pin != EP93XX_GPIO_LINE_EEDAT) | ||
574 | pr_warning("ep93xx: sda != EEDAT, open drain has no effect\n"); | ||
575 | if (data->scl_is_open_drain && data->scl_pin != EP93XX_GPIO_LINE_EECLK) | ||
576 | pr_warning("ep93xx: scl != EECLK, open drain has no effect\n"); | ||
577 | |||
578 | __raw_writel((data->sda_is_open_drain << 1) | | ||
579 | (data->scl_is_open_drain << 0), | ||
580 | EP93XX_GPIO_EEDRIVE); | ||
581 | |||
582 | ep93xx_i2c_data = *data; | ||
569 | i2c_register_board_info(0, devices, num); | 583 | i2c_register_board_info(0, devices, num); |
570 | platform_device_register(&ep93xx_i2c_device); | 584 | platform_device_register(&ep93xx_i2c_device); |
571 | } | 585 | } |
diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c index 73145ae5d3fa..a4a7be308000 100644 --- a/arch/arm/mach-ep93xx/edb93xx.c +++ b/arch/arm/mach-ep93xx/edb93xx.c | |||
@@ -27,8 +27,10 @@ | |||
27 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
28 | #include <linux/init.h> | 28 | #include <linux/init.h> |
29 | #include <linux/platform_device.h> | 29 | #include <linux/platform_device.h> |
30 | #include <linux/i2c.h> | ||
31 | #include <linux/mtd/physmap.h> | 30 | #include <linux/mtd/physmap.h> |
31 | #include <linux/gpio.h> | ||
32 | #include <linux/i2c.h> | ||
33 | #include <linux/i2c-gpio.h> | ||
32 | 34 | ||
33 | #include <mach/hardware.h> | 35 | #include <mach/hardware.h> |
34 | 36 | ||
@@ -76,13 +78,26 @@ static struct ep93xx_eth_data edb93xx_eth_data = { | |||
76 | .phy_id = 1, | 78 | .phy_id = 1, |
77 | }; | 79 | }; |
78 | 80 | ||
79 | static struct i2c_board_info __initdata edb93xxa_i2c_data[] = { | 81 | |
82 | /************************************************************************* | ||
83 | * EDB93xx i2c peripheral handling | ||
84 | *************************************************************************/ | ||
85 | static struct i2c_gpio_platform_data edb93xx_i2c_gpio_data = { | ||
86 | .sda_pin = EP93XX_GPIO_LINE_EEDAT, | ||
87 | .sda_is_open_drain = 0, | ||
88 | .scl_pin = EP93XX_GPIO_LINE_EECLK, | ||
89 | .scl_is_open_drain = 0, | ||
90 | .udelay = 0, /* default to 100 kHz */ | ||
91 | .timeout = 0, /* default to 100 ms */ | ||
92 | }; | ||
93 | |||
94 | static struct i2c_board_info __initdata edb93xxa_i2c_board_info[] = { | ||
80 | { | 95 | { |
81 | I2C_BOARD_INFO("isl1208", 0x6f), | 96 | I2C_BOARD_INFO("isl1208", 0x6f), |
82 | }, | 97 | }, |
83 | }; | 98 | }; |
84 | 99 | ||
85 | static struct i2c_board_info __initdata edb93xx_i2c_data[] = { | 100 | static struct i2c_board_info __initdata edb93xx_i2c_board_info[] = { |
86 | { | 101 | { |
87 | I2C_BOARD_INFO("ds1337", 0x68), | 102 | I2C_BOARD_INFO("ds1337", 0x68), |
88 | }, | 103 | }, |
@@ -92,12 +107,14 @@ static void __init edb93xx_register_i2c(void) | |||
92 | { | 107 | { |
93 | if (machine_is_edb9302a() || machine_is_edb9307a() || | 108 | if (machine_is_edb9302a() || machine_is_edb9307a() || |
94 | machine_is_edb9315a()) { | 109 | machine_is_edb9315a()) { |
95 | ep93xx_register_i2c(edb93xxa_i2c_data, | 110 | ep93xx_register_i2c(&edb93xx_i2c_gpio_data, |
96 | ARRAY_SIZE(edb93xxa_i2c_data)); | 111 | edb93xxa_i2c_board_info, |
112 | ARRAY_SIZE(edb93xxa_i2c_board_info)); | ||
97 | } else if (machine_is_edb9307() || machine_is_edb9312() || | 113 | } else if (machine_is_edb9307() || machine_is_edb9312() || |
98 | machine_is_edb9315()) { | 114 | machine_is_edb9315()) { |
99 | ep93xx_register_i2c(edb93xx_i2c_data, | 115 | ep93xx_register_i2c(&edb93xx_i2c_gpio_data, |
100 | ARRAY_SIZE(edb93xx_i2c_data)); | 116 | edb93xx_i2c_board_info, |
117 | ARRAY_SIZE(edb93xx_i2c_board_info)); | ||
101 | } | 118 | } |
102 | } | 119 | } |
103 | 120 | ||
diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h index 0fbf87b16338..b1f937eda29c 100644 --- a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +++ b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | |||
@@ -52,25 +52,27 @@ | |||
52 | #define EP93XX_AHB_VIRT_BASE 0xfef00000 | 52 | #define EP93XX_AHB_VIRT_BASE 0xfef00000 |
53 | #define EP93XX_AHB_SIZE 0x00100000 | 53 | #define EP93XX_AHB_SIZE 0x00100000 |
54 | 54 | ||
55 | #define EP93XX_AHB_PHYS(x) (EP93XX_AHB_PHYS_BASE + (x)) | ||
55 | #define EP93XX_AHB_IOMEM(x) IOMEM(EP93XX_AHB_VIRT_BASE + (x)) | 56 | #define EP93XX_AHB_IOMEM(x) IOMEM(EP93XX_AHB_VIRT_BASE + (x)) |
56 | 57 | ||
57 | #define EP93XX_APB_PHYS_BASE 0x80800000 | 58 | #define EP93XX_APB_PHYS_BASE 0x80800000 |
58 | #define EP93XX_APB_VIRT_BASE 0xfed00000 | 59 | #define EP93XX_APB_VIRT_BASE 0xfed00000 |
59 | #define EP93XX_APB_SIZE 0x00200000 | 60 | #define EP93XX_APB_SIZE 0x00200000 |
60 | 61 | ||
62 | #define EP93XX_APB_PHYS(x) (EP93XX_APB_PHYS_BASE + (x)) | ||
61 | #define EP93XX_APB_IOMEM(x) IOMEM(EP93XX_APB_VIRT_BASE + (x)) | 63 | #define EP93XX_APB_IOMEM(x) IOMEM(EP93XX_APB_VIRT_BASE + (x)) |
62 | 64 | ||
63 | 65 | ||
64 | /* AHB peripherals */ | 66 | /* AHB peripherals */ |
65 | #define EP93XX_DMA_BASE EP93XX_AHB_IOMEM(0x00000000) | 67 | #define EP93XX_DMA_BASE EP93XX_AHB_IOMEM(0x00000000) |
66 | 68 | ||
67 | #define EP93XX_ETHERNET_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00010000) | 69 | #define EP93XX_ETHERNET_PHYS_BASE EP93XX_AHB_PHYS(0x00010000) |
68 | #define EP93XX_ETHERNET_BASE EP93XX_AHB_IOMEM(0x00010000) | 70 | #define EP93XX_ETHERNET_BASE EP93XX_AHB_IOMEM(0x00010000) |
69 | 71 | ||
70 | #define EP93XX_USB_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00020000) | 72 | #define EP93XX_USB_PHYS_BASE EP93XX_AHB_PHYS(0x00020000) |
71 | #define EP93XX_USB_BASE EP93XX_AHB_IOMEM(0x00020000) | 73 | #define EP93XX_USB_BASE EP93XX_AHB_IOMEM(0x00020000) |
72 | 74 | ||
73 | #define EP93XX_RASTER_PHYS_BASE (EP93XX_AHB_PHYS_BASE + 0x00030000) | 75 | #define EP93XX_RASTER_PHYS_BASE EP93XX_AHB_PHYS(0x00030000) |
74 | #define EP93XX_RASTER_BASE EP93XX_AHB_IOMEM(0x00030000) | 76 | #define EP93XX_RASTER_BASE EP93XX_AHB_IOMEM(0x00030000) |
75 | 77 | ||
76 | #define EP93XX_GRAPHICS_ACCEL_BASE EP93XX_AHB_IOMEM(0x00040000) | 78 | #define EP93XX_GRAPHICS_ACCEL_BASE EP93XX_AHB_IOMEM(0x00040000) |
@@ -112,21 +114,10 @@ | |||
112 | 114 | ||
113 | #define EP93XX_GPIO_BASE EP93XX_APB_IOMEM(0x00040000) | 115 | #define EP93XX_GPIO_BASE EP93XX_APB_IOMEM(0x00040000) |
114 | #define EP93XX_GPIO_REG(x) (EP93XX_GPIO_BASE + (x)) | 116 | #define EP93XX_GPIO_REG(x) (EP93XX_GPIO_BASE + (x)) |
115 | #define EP93XX_GPIO_F_INT_TYPE1 EP93XX_GPIO_REG(0x4c) | ||
116 | #define EP93XX_GPIO_F_INT_TYPE2 EP93XX_GPIO_REG(0x50) | ||
117 | #define EP93XX_GPIO_F_INT_ACK EP93XX_GPIO_REG(0x54) | ||
118 | #define EP93XX_GPIO_F_INT_ENABLE EP93XX_GPIO_REG(0x58) | ||
119 | #define EP93XX_GPIO_F_INT_STATUS EP93XX_GPIO_REG(0x5c) | 117 | #define EP93XX_GPIO_F_INT_STATUS EP93XX_GPIO_REG(0x5c) |
120 | #define EP93XX_GPIO_A_INT_TYPE1 EP93XX_GPIO_REG(0x90) | ||
121 | #define EP93XX_GPIO_A_INT_TYPE2 EP93XX_GPIO_REG(0x94) | ||
122 | #define EP93XX_GPIO_A_INT_ACK EP93XX_GPIO_REG(0x98) | ||
123 | #define EP93XX_GPIO_A_INT_ENABLE EP93XX_GPIO_REG(0x9c) | ||
124 | #define EP93XX_GPIO_A_INT_STATUS EP93XX_GPIO_REG(0xa0) | 118 | #define EP93XX_GPIO_A_INT_STATUS EP93XX_GPIO_REG(0xa0) |
125 | #define EP93XX_GPIO_B_INT_TYPE1 EP93XX_GPIO_REG(0xac) | ||
126 | #define EP93XX_GPIO_B_INT_TYPE2 EP93XX_GPIO_REG(0xb0) | ||
127 | #define EP93XX_GPIO_B_INT_ACK EP93XX_GPIO_REG(0xb4) | ||
128 | #define EP93XX_GPIO_B_INT_ENABLE EP93XX_GPIO_REG(0xb8) | ||
129 | #define EP93XX_GPIO_B_INT_STATUS EP93XX_GPIO_REG(0xbc) | 119 | #define EP93XX_GPIO_B_INT_STATUS EP93XX_GPIO_REG(0xbc) |
120 | #define EP93XX_GPIO_EEDRIVE EP93XX_GPIO_REG(0xc8) | ||
130 | 121 | ||
131 | #define EP93XX_AAC_BASE EP93XX_APB_IOMEM(0x00080000) | 122 | #define EP93XX_AAC_BASE EP93XX_APB_IOMEM(0x00080000) |
132 | 123 | ||
@@ -134,13 +125,13 @@ | |||
134 | 125 | ||
135 | #define EP93XX_IRDA_BASE EP93XX_APB_IOMEM(0x000b0000) | 126 | #define EP93XX_IRDA_BASE EP93XX_APB_IOMEM(0x000b0000) |
136 | 127 | ||
137 | #define EP93XX_UART1_PHYS_BASE (EP93XX_APB_PHYS_BASE + 0x000c0000) | 128 | #define EP93XX_UART1_PHYS_BASE EP93XX_APB_PHYS(0x000c0000) |
138 | #define EP93XX_UART1_BASE EP93XX_APB_IOMEM(0x000c0000) | 129 | #define EP93XX_UART1_BASE EP93XX_APB_IOMEM(0x000c0000) |
139 | 130 | ||
140 | #define EP93XX_UART2_PHYS_BASE (EP93XX_APB_PHYS_BASE + 0x000d0000) | 131 | #define EP93XX_UART2_PHYS_BASE EP93XX_APB_PHYS(0x000d0000) |
141 | #define EP93XX_UART2_BASE EP93XX_APB_IOMEM(0x000d0000) | 132 | #define EP93XX_UART2_BASE EP93XX_APB_IOMEM(0x000d0000) |
142 | 133 | ||
143 | #define EP93XX_UART3_PHYS_BASE (EP93XX_APB_PHYS_BASE + 0x000e0000) | 134 | #define EP93XX_UART3_PHYS_BASE EP93XX_APB_PHYS(0x000e0000) |
144 | #define EP93XX_UART3_BASE EP93XX_APB_IOMEM(0x000e0000) | 135 | #define EP93XX_UART3_BASE EP93XX_APB_IOMEM(0x000e0000) |
145 | 136 | ||
146 | #define EP93XX_KEY_MATRIX_BASE EP93XX_APB_IOMEM(0x000f0000) | 137 | #define EP93XX_KEY_MATRIX_BASE EP93XX_APB_IOMEM(0x000f0000) |
@@ -148,10 +139,10 @@ | |||
148 | #define EP93XX_ADC_BASE EP93XX_APB_IOMEM(0x00100000) | 139 | #define EP93XX_ADC_BASE EP93XX_APB_IOMEM(0x00100000) |
149 | #define EP93XX_TOUCHSCREEN_BASE EP93XX_APB_IOMEM(0x00100000) | 140 | #define EP93XX_TOUCHSCREEN_BASE EP93XX_APB_IOMEM(0x00100000) |
150 | 141 | ||
151 | #define EP93XX_PWM_PHYS_BASE (EP93XX_APB_PHYS_BASE + 0x00110000) | 142 | #define EP93XX_PWM_PHYS_BASE EP93XX_APB_PHYS(0x00110000) |
152 | #define EP93XX_PWM_BASE EP93XX_APB_IOMEM(0x00110000) | 143 | #define EP93XX_PWM_BASE EP93XX_APB_IOMEM(0x00110000) |
153 | 144 | ||
154 | #define EP93XX_RTC_PHYS_BASE (EP93XX_APB_PHYS_BASE + 0x00120000) | 145 | #define EP93XX_RTC_PHYS_BASE EP93XX_APB_PHYS(0x00120000) |
155 | #define EP93XX_RTC_BASE EP93XX_APB_IOMEM(0x00120000) | 146 | #define EP93XX_RTC_BASE EP93XX_APB_IOMEM(0x00120000) |
156 | 147 | ||
157 | #define EP93XX_SYSCON_BASE EP93XX_APB_IOMEM(0x00130000) | 148 | #define EP93XX_SYSCON_BASE EP93XX_APB_IOMEM(0x00130000) |
@@ -218,6 +209,17 @@ | |||
218 | #define EP93XX_SYSCON_KEYTCHCLKDIV_ADIV (1<<16) | 209 | #define EP93XX_SYSCON_KEYTCHCLKDIV_ADIV (1<<16) |
219 | #define EP93XX_SYSCON_KEYTCHCLKDIV_KEN (1<<15) | 210 | #define EP93XX_SYSCON_KEYTCHCLKDIV_KEN (1<<15) |
220 | #define EP93XX_SYSCON_KEYTCHCLKDIV_KDIV (1<<0) | 211 | #define EP93XX_SYSCON_KEYTCHCLKDIV_KDIV (1<<0) |
212 | #define EP93XX_SYSCON_SYSCFG EP93XX_SYSCON_REG(0x9c) | ||
213 | #define EP93XX_SYSCON_SYSCFG_REV_MASK (0xf0000000) | ||
214 | #define EP93XX_SYSCON_SYSCFG_REV_SHIFT (28) | ||
215 | #define EP93XX_SYSCON_SYSCFG_SBOOT (1<<8) | ||
216 | #define EP93XX_SYSCON_SYSCFG_LCSN7 (1<<7) | ||
217 | #define EP93XX_SYSCON_SYSCFG_LCSN6 (1<<6) | ||
218 | #define EP93XX_SYSCON_SYSCFG_LASDO (1<<5) | ||
219 | #define EP93XX_SYSCON_SYSCFG_LEEDA (1<<4) | ||
220 | #define EP93XX_SYSCON_SYSCFG_LEECLK (1<<3) | ||
221 | #define EP93XX_SYSCON_SYSCFG_LCSN2 (1<<1) | ||
222 | #define EP93XX_SYSCON_SYSCFG_LCSN1 (1<<0) | ||
221 | #define EP93XX_SYSCON_SWLOCK EP93XX_SYSCON_REG(0xc0) | 223 | #define EP93XX_SYSCON_SWLOCK EP93XX_SYSCON_REG(0xc0) |
222 | 224 | ||
223 | #define EP93XX_WATCHDOG_BASE EP93XX_APB_IOMEM(0x00140000) | 225 | #define EP93XX_WATCHDOG_BASE EP93XX_APB_IOMEM(0x00140000) |
diff --git a/arch/arm/mach-ep93xx/include/mach/gpio.h b/arch/arm/mach-ep93xx/include/mach/gpio.h index 0a1498ae899a..c991b149bdf2 100644 --- a/arch/arm/mach-ep93xx/include/mach/gpio.h +++ b/arch/arm/mach-ep93xx/include/mach/gpio.h | |||
@@ -114,17 +114,9 @@ extern void ep93xx_gpio_int_debounce(unsigned int irq, int enable); | |||
114 | * B0..B7 (7..15) to irq 72..79, and | 114 | * B0..B7 (7..15) to irq 72..79, and |
115 | * F0..F7 (16..24) to irq 80..87. | 115 | * F0..F7 (16..24) to irq 80..87. |
116 | */ | 116 | */ |
117 | static inline int gpio_to_irq(unsigned gpio) | 117 | #define gpio_to_irq(gpio) \ |
118 | { | 118 | (((gpio) <= EP93XX_GPIO_LINE_MAX_IRQ) ? (64 + (gpio)) : -EINVAL) |
119 | if (gpio <= EP93XX_GPIO_LINE_MAX_IRQ) | 119 | |
120 | return 64 + gpio; | 120 | #define irq_to_gpio(irq) ((irq) - gpio_to_irq(0)) |
121 | |||
122 | return -EINVAL; | ||
123 | } | ||
124 | |||
125 | static inline int irq_to_gpio(unsigned irq) | ||
126 | { | ||
127 | return irq - gpio_to_irq(0); | ||
128 | } | ||
129 | 121 | ||
130 | #endif | 122 | #endif |
diff --git a/arch/arm/mach-ep93xx/include/mach/memory.h b/arch/arm/mach-ep93xx/include/mach/memory.h index 925b12ea0990..554064e90307 100644 --- a/arch/arm/mach-ep93xx/include/mach/memory.h +++ b/arch/arm/mach-ep93xx/include/mach/memory.h | |||
@@ -9,6 +9,12 @@ | |||
9 | #define PHYS_OFFSET UL(0x00000000) | 9 | #define PHYS_OFFSET UL(0x00000000) |
10 | #elif defined(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) | 10 | #elif defined(CONFIG_EP93XX_SDCE0_PHYS_OFFSET) |
11 | #define PHYS_OFFSET UL(0xc0000000) | 11 | #define PHYS_OFFSET UL(0xc0000000) |
12 | #elif defined(CONFIG_EP93XX_SDCE1_PHYS_OFFSET) | ||
13 | #define PHYS_OFFSET UL(0xd0000000) | ||
14 | #elif defined(CONFIG_EP93XX_SDCE2_PHYS_OFFSET) | ||
15 | #define PHYS_OFFSET UL(0xe0000000) | ||
16 | #elif defined(CONFIG_EP93XX_SDCE3_ASYNC_PHYS_OFFSET) | ||
17 | #define PHYS_OFFSET UL(0xf0000000) | ||
12 | #else | 18 | #else |
13 | #error "Kconfig bug: No EP93xx PHYS_OFFSET set" | 19 | #error "Kconfig bug: No EP93xx PHYS_OFFSET set" |
14 | #endif | 20 | #endif |
diff --git a/arch/arm/mach-ep93xx/include/mach/platform.h b/arch/arm/mach-ep93xx/include/mach/platform.h index 01a0f0838e5b..469fd968d517 100644 --- a/arch/arm/mach-ep93xx/include/mach/platform.h +++ b/arch/arm/mach-ep93xx/include/mach/platform.h | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | #ifndef __ASSEMBLY__ | 5 | #ifndef __ASSEMBLY__ |
6 | 6 | ||
7 | struct i2c_gpio_platform_data; | ||
7 | struct i2c_board_info; | 8 | struct i2c_board_info; |
8 | struct platform_device; | 9 | struct platform_device; |
9 | struct ep93xxfb_mach_info; | 10 | struct ep93xxfb_mach_info; |
@@ -16,7 +17,6 @@ struct ep93xx_eth_data | |||
16 | 17 | ||
17 | void ep93xx_map_io(void); | 18 | void ep93xx_map_io(void); |
18 | void ep93xx_init_irq(void); | 19 | void ep93xx_init_irq(void); |
19 | void ep93xx_init_time(unsigned long); | ||
20 | 20 | ||
21 | /* EP93xx System Controller software locked register write */ | 21 | /* EP93xx System Controller software locked register write */ |
22 | void ep93xx_syscon_swlocked_write(unsigned int val, void __iomem *reg); | 22 | void ep93xx_syscon_swlocked_write(unsigned int val, void __iomem *reg); |
@@ -33,7 +33,8 @@ static inline void ep93xx_devcfg_clear_bits(unsigned int bits) | |||
33 | } | 33 | } |
34 | 34 | ||
35 | void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr); | 35 | void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr); |
36 | void ep93xx_register_i2c(struct i2c_board_info *devices, int num); | 36 | void ep93xx_register_i2c(struct i2c_gpio_platform_data *data, |
37 | struct i2c_board_info *devices, int num); | ||
37 | void ep93xx_register_fb(struct ep93xxfb_mach_info *data); | 38 | void ep93xx_register_fb(struct ep93xxfb_mach_info *data); |
38 | void ep93xx_register_pwm(int pwm0, int pwm1); | 39 | void ep93xx_register_pwm(int pwm0, int pwm1); |
39 | int ep93xx_pwm_acquire_gpio(struct platform_device *pdev); | 40 | int ep93xx_pwm_acquire_gpio(struct platform_device *pdev); |
diff --git a/arch/arm/mach-ep93xx/micro9.c b/arch/arm/mach-ep93xx/micro9.c index 0a313e82fb74..d83b80478b09 100644 --- a/arch/arm/mach-ep93xx/micro9.c +++ b/arch/arm/mach-ep93xx/micro9.c | |||
@@ -2,7 +2,9 @@ | |||
2 | * linux/arch/arm/mach-ep93xx/micro9.c | 2 | * linux/arch/arm/mach-ep93xx/micro9.c |
3 | * | 3 | * |
4 | * Copyright (C) 2006 Contec Steuerungstechnik & Automation GmbH | 4 | * Copyright (C) 2006 Contec Steuerungstechnik & Automation GmbH |
5 | * Manfred Gruber <manfred.gruber@contec.at> | 5 | * Manfred Gruber <m.gruber@tirol.com> |
6 | * Copyright (C) 2009 Contec Steuerungstechnik & Automation GmbH | ||
7 | * Hubert Feurstein <hubert.feurstein@contec.at> | ||
6 | * | 8 | * |
7 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License version 2 as | 10 | * it under the terms of the GNU General Public License version 2 as |
@@ -20,104 +22,124 @@ | |||
20 | #include <asm/mach/arch.h> | 22 | #include <asm/mach/arch.h> |
21 | 23 | ||
22 | 24 | ||
23 | static struct ep93xx_eth_data micro9_eth_data = { | 25 | /************************************************************************* |
24 | .phy_id = 0x1f, | 26 | * Micro9 NOR Flash |
25 | }; | 27 | * |
26 | 28 | * Micro9-High has up to 64MB of 32-bit flash on CS1 | |
27 | static void __init micro9_init(void) | 29 | * Micro9-Mid has up to 64MB of either 32-bit or 16-bit flash on CS1 |
28 | { | 30 | * Micro9-Lite uses a seperate MTD map driver for flash support |
29 | ep93xx_register_eth(µ9_eth_data, 1); | 31 | * Micro9-Slim has up to 64MB of either 32-bit or 16-bit flash on CS1 |
30 | } | 32 | *************************************************************************/ |
31 | 33 | static struct physmap_flash_data micro9_flash_data; | |
32 | /* | 34 | |
33 | * Micro9-H | 35 | static struct resource micro9_flash_resource = { |
34 | */ | ||
35 | #ifdef CONFIG_MACH_MICRO9H | ||
36 | static struct physmap_flash_data micro9h_flash_data = { | ||
37 | .width = 4, | ||
38 | }; | ||
39 | |||
40 | static struct resource micro9h_flash_resource = { | ||
41 | .start = EP93XX_CS1_PHYS_BASE, | 36 | .start = EP93XX_CS1_PHYS_BASE, |
42 | .end = EP93XX_CS1_PHYS_BASE + SZ_64M - 1, | 37 | .end = EP93XX_CS1_PHYS_BASE + SZ_64M - 1, |
43 | .flags = IORESOURCE_MEM, | 38 | .flags = IORESOURCE_MEM, |
44 | }; | 39 | }; |
45 | 40 | ||
46 | static struct platform_device micro9h_flash = { | 41 | static struct platform_device micro9_flash = { |
47 | .name = "physmap-flash", | 42 | .name = "physmap-flash", |
48 | .id = 0, | 43 | .id = 0, |
49 | .dev = { | 44 | .dev = { |
50 | .platform_data = µ9h_flash_data, | 45 | .platform_data = µ9_flash_data, |
51 | }, | 46 | }, |
52 | .num_resources = 1, | 47 | .num_resources = 1, |
53 | .resource = µ9h_flash_resource, | 48 | .resource = µ9_flash_resource, |
54 | }; | 49 | }; |
55 | 50 | ||
56 | static void __init micro9h_init(void) | 51 | static void __init __micro9_register_flash(unsigned int width) |
52 | { | ||
53 | micro9_flash_data.width = width; | ||
54 | |||
55 | platform_device_register(µ9_flash); | ||
56 | } | ||
57 | |||
58 | static unsigned int __init micro9_detect_bootwidth(void) | ||
59 | { | ||
60 | u32 v; | ||
61 | |||
62 | /* Detect the bus width of the external flash memory */ | ||
63 | v = __raw_readl(EP93XX_SYSCON_SYSCFG); | ||
64 | if (v & EP93XX_SYSCON_SYSCFG_LCSN7) | ||
65 | return 4; /* 32-bit */ | ||
66 | else | ||
67 | return 2; /* 16-bit */ | ||
68 | } | ||
69 | |||
70 | static void __init micro9_register_flash(void) | ||
57 | { | 71 | { |
58 | platform_device_register(µ9h_flash); | 72 | if (machine_is_micro9()) |
73 | __micro9_register_flash(4); | ||
74 | else if (machine_is_micro9m() || machine_is_micro9s()) | ||
75 | __micro9_register_flash(micro9_detect_bootwidth()); | ||
59 | } | 76 | } |
60 | 77 | ||
61 | static void __init micro9h_init_machine(void) | 78 | |
79 | /************************************************************************* | ||
80 | * Micro9 Ethernet | ||
81 | *************************************************************************/ | ||
82 | static struct ep93xx_eth_data micro9_eth_data = { | ||
83 | .phy_id = 0x1f, | ||
84 | }; | ||
85 | |||
86 | |||
87 | static void __init micro9_init_machine(void) | ||
62 | { | 88 | { |
63 | ep93xx_init_devices(); | 89 | ep93xx_init_devices(); |
64 | micro9_init(); | 90 | ep93xx_register_eth(µ9_eth_data, 1); |
65 | micro9h_init(); | 91 | micro9_register_flash(); |
66 | } | 92 | } |
67 | 93 | ||
68 | MACHINE_START(MICRO9, "Contec Hypercontrol Micro9-H") | 94 | |
69 | /* Maintainer: Manfred Gruber <manfred.gruber@contec.at> */ | 95 | #ifdef CONFIG_MACH_MICRO9H |
96 | MACHINE_START(MICRO9, "Contec Micro9-High") | ||
97 | /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ | ||
70 | .phys_io = EP93XX_APB_PHYS_BASE, | 98 | .phys_io = EP93XX_APB_PHYS_BASE, |
71 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | 99 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, |
72 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 100 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, |
73 | .map_io = ep93xx_map_io, | 101 | .map_io = ep93xx_map_io, |
74 | .init_irq = ep93xx_init_irq, | 102 | .init_irq = ep93xx_init_irq, |
75 | .timer = &ep93xx_timer, | 103 | .timer = &ep93xx_timer, |
76 | .init_machine = micro9h_init_machine, | 104 | .init_machine = micro9_init_machine, |
77 | MACHINE_END | 105 | MACHINE_END |
78 | #endif | 106 | #endif |
79 | 107 | ||
80 | /* | ||
81 | * Micro9-M | ||
82 | */ | ||
83 | #ifdef CONFIG_MACH_MICRO9M | 108 | #ifdef CONFIG_MACH_MICRO9M |
84 | static void __init micro9m_init_machine(void) | 109 | MACHINE_START(MICRO9M, "Contec Micro9-Mid") |
85 | { | 110 | /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ |
86 | ep93xx_init_devices(); | ||
87 | micro9_init(); | ||
88 | } | ||
89 | |||
90 | MACHINE_START(MICRO9M, "Contec Hypercontrol Micro9-M") | ||
91 | /* Maintainer: Manfred Gruber <manfred.gruber@contec.at> */ | ||
92 | .phys_io = EP93XX_APB_PHYS_BASE, | 111 | .phys_io = EP93XX_APB_PHYS_BASE, |
93 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | 112 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, |
94 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 113 | .boot_params = EP93XX_SDCE3_PHYS_BASE_ASYNC + 0x100, |
95 | .map_io = ep93xx_map_io, | 114 | .map_io = ep93xx_map_io, |
96 | .init_irq = ep93xx_init_irq, | 115 | .init_irq = ep93xx_init_irq, |
97 | .timer = &ep93xx_timer, | 116 | .timer = &ep93xx_timer, |
98 | .init_machine = micro9m_init_machine, | 117 | .init_machine = micro9_init_machine, |
99 | MACHINE_END | 118 | MACHINE_END |
100 | #endif | 119 | #endif |
101 | 120 | ||
102 | /* | ||
103 | * Micro9-L | ||
104 | */ | ||
105 | #ifdef CONFIG_MACH_MICRO9L | 121 | #ifdef CONFIG_MACH_MICRO9L |
106 | static void __init micro9l_init_machine(void) | 122 | MACHINE_START(MICRO9L, "Contec Micro9-Lite") |
107 | { | 123 | /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ |
108 | ep93xx_init_devices(); | ||
109 | micro9_init(); | ||
110 | } | ||
111 | |||
112 | MACHINE_START(MICRO9L, "Contec Hypercontrol Micro9-L") | ||
113 | /* Maintainer: Manfred Gruber <manfred.gruber@contec.at> */ | ||
114 | .phys_io = EP93XX_APB_PHYS_BASE, | 124 | .phys_io = EP93XX_APB_PHYS_BASE, |
115 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | 125 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, |
116 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, | 126 | .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100, |
117 | .map_io = ep93xx_map_io, | 127 | .map_io = ep93xx_map_io, |
118 | .init_irq = ep93xx_init_irq, | 128 | .init_irq = ep93xx_init_irq, |
119 | .timer = &ep93xx_timer, | 129 | .timer = &ep93xx_timer, |
120 | .init_machine = micro9l_init_machine, | 130 | .init_machine = micro9_init_machine, |
121 | MACHINE_END | 131 | MACHINE_END |
122 | #endif | 132 | #endif |
123 | 133 | ||
134 | #ifdef CONFIG_MACH_MICRO9S | ||
135 | MACHINE_START(MICRO9S, "Contec Micro9-Slim") | ||
136 | /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */ | ||
137 | .phys_io = EP93XX_APB_PHYS_BASE, | ||
138 | .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc, | ||
139 | .boot_params = EP93XX_SDCE3_PHYS_BASE_ASYNC + 0x100, | ||
140 | .map_io = ep93xx_map_io, | ||
141 | .init_irq = ep93xx_init_irq, | ||
142 | .timer = &ep93xx_timer, | ||
143 | .init_machine = micro9_init_machine, | ||
144 | MACHINE_END | ||
145 | #endif | ||
diff --git a/arch/arm/mach-integrator/pci_v3.c b/arch/arm/mach-integrator/pci_v3.c index 901cc205015e..148d25fc636f 100644 --- a/arch/arm/mach-integrator/pci_v3.c +++ b/arch/arm/mach-integrator/pci_v3.c | |||
@@ -31,6 +31,7 @@ | |||
31 | 31 | ||
32 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/signal.h> | ||
34 | #include <asm/system.h> | 35 | #include <asm/system.h> |
35 | #include <asm/mach/pci.h> | 36 | #include <asm/mach/pci.h> |
36 | #include <asm/irq_regs.h> | 37 | #include <asm/irq_regs.h> |
diff --git a/arch/arm/mach-mx2/clock_imx27.c b/arch/arm/mach-mx2/clock_imx27.c index 4089951acb47..ff5e33298914 100644 --- a/arch/arm/mach-mx2/clock_imx27.c +++ b/arch/arm/mach-mx2/clock_imx27.c | |||
@@ -638,9 +638,9 @@ static struct clk_lookup lookups[] = { | |||
638 | _REGISTER_CLOCK("mxc-mmc.0", NULL, sdhc1_clk) | 638 | _REGISTER_CLOCK("mxc-mmc.0", NULL, sdhc1_clk) |
639 | _REGISTER_CLOCK("mxc-mmc.1", NULL, sdhc2_clk) | 639 | _REGISTER_CLOCK("mxc-mmc.1", NULL, sdhc2_clk) |
640 | _REGISTER_CLOCK("mxc-mmc.2", NULL, sdhc3_clk) | 640 | _REGISTER_CLOCK("mxc-mmc.2", NULL, sdhc3_clk) |
641 | _REGISTER_CLOCK(NULL, "cspi1", cspi1_clk) | 641 | _REGISTER_CLOCK("spi_imx.0", NULL, cspi1_clk) |
642 | _REGISTER_CLOCK(NULL, "cspi2", cspi2_clk) | 642 | _REGISTER_CLOCK("spi_imx.1", NULL, cspi2_clk) |
643 | _REGISTER_CLOCK(NULL, "cspi3", cspi3_clk) | 643 | _REGISTER_CLOCK("spi_imx.2", NULL, cspi3_clk) |
644 | _REGISTER_CLOCK("imx-fb.0", NULL, lcdc_clk) | 644 | _REGISTER_CLOCK("imx-fb.0", NULL, lcdc_clk) |
645 | _REGISTER_CLOCK(NULL, "csi", csi_clk) | 645 | _REGISTER_CLOCK(NULL, "csi", csi_clk) |
646 | _REGISTER_CLOCK("fsl-usb2-udc", "usb", usb_clk) | 646 | _REGISTER_CLOCK("fsl-usb2-udc", "usb", usb_clk) |
@@ -665,7 +665,7 @@ static struct clk_lookup lookups[] = { | |||
665 | _REGISTER_CLOCK(NULL, "sahara2", sahara2_clk) | 665 | _REGISTER_CLOCK(NULL, "sahara2", sahara2_clk) |
666 | _REGISTER_CLOCK(NULL, "ata", ata_clk) | 666 | _REGISTER_CLOCK(NULL, "ata", ata_clk) |
667 | _REGISTER_CLOCK(NULL, "mstick", mstick_clk) | 667 | _REGISTER_CLOCK(NULL, "mstick", mstick_clk) |
668 | _REGISTER_CLOCK(NULL, "wdog", wdog_clk) | 668 | _REGISTER_CLOCK("imx-wdt.0", NULL, wdog_clk) |
669 | _REGISTER_CLOCK(NULL, "gpio", gpio_clk) | 669 | _REGISTER_CLOCK(NULL, "gpio", gpio_clk) |
670 | _REGISTER_CLOCK("imx-i2c.0", NULL, i2c1_clk) | 670 | _REGISTER_CLOCK("imx-i2c.0", NULL, i2c1_clk) |
671 | _REGISTER_CLOCK("imx-i2c.1", NULL, i2c2_clk) | 671 | _REGISTER_CLOCK("imx-i2c.1", NULL, i2c2_clk) |
diff --git a/arch/arm/mach-mx2/pcm038.c b/arch/arm/mach-mx2/pcm038.c index ee65dda584cf..906d59b0a7aa 100644 --- a/arch/arm/mach-mx2/pcm038.c +++ b/arch/arm/mach-mx2/pcm038.c | |||
@@ -23,6 +23,10 @@ | |||
23 | #include <linux/mtd/plat-ram.h> | 23 | #include <linux/mtd/plat-ram.h> |
24 | #include <linux/mtd/physmap.h> | 24 | #include <linux/mtd/physmap.h> |
25 | #include <linux/platform_device.h> | 25 | #include <linux/platform_device.h> |
26 | #include <linux/regulator/machine.h> | ||
27 | #include <linux/mfd/mc13783.h> | ||
28 | #include <linux/spi/spi.h> | ||
29 | #include <linux/irq.h> | ||
26 | 30 | ||
27 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
28 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
@@ -35,6 +39,7 @@ | |||
35 | #include <mach/iomux.h> | 39 | #include <mach/iomux.h> |
36 | #include <mach/imx-uart.h> | 40 | #include <mach/imx-uart.h> |
37 | #include <mach/mxc_nand.h> | 41 | #include <mach/mxc_nand.h> |
42 | #include <mach/spi.h> | ||
38 | 43 | ||
39 | #include "devices.h" | 44 | #include "devices.h" |
40 | 45 | ||
@@ -78,8 +83,6 @@ static int pcm038_pins[] = { | |||
78 | PC6_PF_I2C2_SCL, | 83 | PC6_PF_I2C2_SCL, |
79 | /* SPI1 */ | 84 | /* SPI1 */ |
80 | PD25_PF_CSPI1_RDY, | 85 | PD25_PF_CSPI1_RDY, |
81 | PD27_PF_CSPI1_SS1, | ||
82 | PD28_PF_CSPI1_SS0, | ||
83 | PD29_PF_CSPI1_SCLK, | 86 | PD29_PF_CSPI1_SCLK, |
84 | PD30_PF_CSPI1_MISO, | 87 | PD30_PF_CSPI1_MISO, |
85 | PD31_PF_CSPI1_MOSI, | 88 | PD31_PF_CSPI1_MOSI, |
@@ -196,6 +199,86 @@ static struct i2c_board_info pcm038_i2c_devices[] = { | |||
196 | } | 199 | } |
197 | }; | 200 | }; |
198 | 201 | ||
202 | static int pcm038_spi_cs[] = {GPIO_PORTD + 28}; | ||
203 | |||
204 | static struct spi_imx_master pcm038_spi_0_data = { | ||
205 | .chipselect = pcm038_spi_cs, | ||
206 | .num_chipselect = ARRAY_SIZE(pcm038_spi_cs), | ||
207 | }; | ||
208 | |||
209 | static struct regulator_consumer_supply sdhc1_consumers[] = { | ||
210 | { | ||
211 | .dev = &mxc_sdhc_device1.dev, | ||
212 | .supply = "sdhc_vcc", | ||
213 | }, | ||
214 | }; | ||
215 | |||
216 | static struct regulator_init_data sdhc1_data = { | ||
217 | .constraints = { | ||
218 | .min_uV = 3000000, | ||
219 | .max_uV = 3400000, | ||
220 | .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE | | ||
221 | REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS, | ||
222 | .valid_modes_mask = REGULATOR_MODE_NORMAL | | ||
223 | REGULATOR_MODE_FAST, | ||
224 | .always_on = 0, | ||
225 | .boot_on = 0, | ||
226 | }, | ||
227 | .num_consumer_supplies = ARRAY_SIZE(sdhc1_consumers), | ||
228 | .consumer_supplies = sdhc1_consumers, | ||
229 | }; | ||
230 | |||
231 | static struct regulator_consumer_supply cam_consumers[] = { | ||
232 | { | ||
233 | .dev = NULL, | ||
234 | .supply = "imx_cam_vcc", | ||
235 | }, | ||
236 | }; | ||
237 | |||
238 | static struct regulator_init_data cam_data = { | ||
239 | .constraints = { | ||
240 | .min_uV = 3000000, | ||
241 | .max_uV = 3400000, | ||
242 | .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE | | ||
243 | REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS, | ||
244 | .valid_modes_mask = REGULATOR_MODE_NORMAL | | ||
245 | REGULATOR_MODE_FAST, | ||
246 | .always_on = 0, | ||
247 | .boot_on = 0, | ||
248 | }, | ||
249 | .num_consumer_supplies = ARRAY_SIZE(cam_consumers), | ||
250 | .consumer_supplies = cam_consumers, | ||
251 | }; | ||
252 | |||
253 | struct mc13783_regulator_init_data pcm038_regulators[] = { | ||
254 | { | ||
255 | .id = MC13783_REGU_VCAM, | ||
256 | .init_data = &cam_data, | ||
257 | }, { | ||
258 | .id = MC13783_REGU_VMMC1, | ||
259 | .init_data = &sdhc1_data, | ||
260 | }, | ||
261 | }; | ||
262 | |||
263 | static struct mc13783_platform_data pcm038_pmic = { | ||
264 | .regulators = pcm038_regulators, | ||
265 | .num_regulators = ARRAY_SIZE(pcm038_regulators), | ||
266 | .flags = MC13783_USE_ADC | MC13783_USE_REGULATOR | | ||
267 | MC13783_USE_TOUCHSCREEN, | ||
268 | }; | ||
269 | |||
270 | static struct spi_board_info pcm038_spi_board_info[] __initdata = { | ||
271 | { | ||
272 | .modalias = "mc13783", | ||
273 | .irq = IRQ_GPIOB(23), | ||
274 | .max_speed_hz = 300000, | ||
275 | .bus_num = 0, | ||
276 | .chip_select = 0, | ||
277 | .platform_data = &pcm038_pmic, | ||
278 | .mode = SPI_CS_HIGH, | ||
279 | } | ||
280 | }; | ||
281 | |||
199 | static void __init pcm038_init(void) | 282 | static void __init pcm038_init(void) |
200 | { | 283 | { |
201 | mxc_gpio_setup_multiple_pins(pcm038_pins, ARRAY_SIZE(pcm038_pins), | 284 | mxc_gpio_setup_multiple_pins(pcm038_pins, ARRAY_SIZE(pcm038_pins), |
@@ -219,6 +302,15 @@ static void __init pcm038_init(void) | |||
219 | /* PE18 for user-LED D40 */ | 302 | /* PE18 for user-LED D40 */ |
220 | mxc_gpio_mode(GPIO_PORTE | 18 | GPIO_GPIO | GPIO_OUT); | 303 | mxc_gpio_mode(GPIO_PORTE | 18 | GPIO_GPIO | GPIO_OUT); |
221 | 304 | ||
305 | mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT); | ||
306 | |||
307 | /* MC13783 IRQ */ | ||
308 | mxc_gpio_mode(GPIO_PORTB | 23 | GPIO_GPIO | GPIO_IN); | ||
309 | |||
310 | mxc_register_device(&mxc_spi_device0, &pcm038_spi_0_data); | ||
311 | spi_register_board_info(pcm038_spi_board_info, | ||
312 | ARRAY_SIZE(pcm038_spi_board_info)); | ||
313 | |||
222 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | 314 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); |
223 | 315 | ||
224 | #ifdef CONFIG_MACH_PCM970_BASEBOARD | 316 | #ifdef CONFIG_MACH_PCM970_BASEBOARD |
diff --git a/arch/arm/mach-mx2/pcm970-baseboard.c b/arch/arm/mach-mx2/pcm970-baseboard.c index c261f59b0b4c..3cb7f457e5d0 100644 --- a/arch/arm/mach-mx2/pcm970-baseboard.c +++ b/arch/arm/mach-mx2/pcm970-baseboard.c | |||
@@ -39,7 +39,6 @@ static int pcm970_pins[] = { | |||
39 | PB7_PF_SD2_D3, | 39 | PB7_PF_SD2_D3, |
40 | PB8_PF_SD2_CMD, | 40 | PB8_PF_SD2_CMD, |
41 | PB9_PF_SD2_CLK, | 41 | PB9_PF_SD2_CLK, |
42 | GPIO_PORTC | 28 | GPIO_GPIO | GPIO_IN, /* card detect */ | ||
43 | /* display */ | 42 | /* display */ |
44 | PA5_PF_LSCLK, | 43 | PA5_PF_LSCLK, |
45 | PA6_PF_LD0, | 44 | PA6_PF_LD0, |
@@ -228,6 +227,7 @@ void __init pcm970_baseboard_init(void) | |||
228 | "PCM970"); | 227 | "PCM970"); |
229 | 228 | ||
230 | mxc_register_device(&mxc_fb_device, &pcm038_fb_data); | 229 | mxc_register_device(&mxc_fb_device, &pcm038_fb_data); |
230 | mxc_gpio_mode(GPIO_PORTC | 28 | GPIO_GPIO | GPIO_IN); | ||
231 | mxc_register_device(&mxc_sdhc_device1, &sdhc_pdata); | 231 | mxc_register_device(&mxc_sdhc_device1, &sdhc_pdata); |
232 | platform_device_register(&pcm970_sja1000); | 232 | platform_device_register(&pcm970_sja1000); |
233 | } | 233 | } |
diff --git a/arch/arm/mach-mx25/devices.c b/arch/arm/mach-mx25/devices.c index eb12de1da42d..63511de3a559 100644 --- a/arch/arm/mach-mx25/devices.c +++ b/arch/arm/mach-mx25/devices.c | |||
@@ -1,4 +1,23 @@ | |||
1 | /* | ||
2 | * Copyright 2009 Sascha Hauer, <kernel@pengutronix.de> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License | ||
6 | * as published by the Free Software Foundation; either version 2 | ||
7 | * of the License, or (at your option) any later version. | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program; if not, write to the Free Software | ||
15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
16 | * Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
1 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
20 | #include <linux/dma-mapping.h> | ||
2 | #include <linux/gpio.h> | 21 | #include <linux/gpio.h> |
3 | #include <mach/mx25.h> | 22 | #include <mach/mx25.h> |
4 | #include <mach/irqs.h> | 23 | #include <mach/irqs.h> |
diff --git a/arch/arm/mach-mx25/mx25pdk.c b/arch/arm/mach-mx25/mx25pdk.c index 92aa4fd19d99..d23ae571c03f 100644 --- a/arch/arm/mach-mx25/mx25pdk.c +++ b/arch/arm/mach-mx25/mx25pdk.c | |||
@@ -1,3 +1,21 @@ | |||
1 | /* | ||
2 | * Copyright 2009 Sascha Hauer, <kernel@pengutronix.de> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License | ||
6 | * as published by the Free Software Foundation; either version 2 | ||
7 | * of the License, or (at your option) any later version. | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program; if not, write to the Free Software | ||
15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
16 | * Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
1 | #include <linux/types.h> | 19 | #include <linux/types.h> |
2 | #include <linux/init.h> | 20 | #include <linux/init.h> |
3 | #include <linux/clk.h> | 21 | #include <linux/clk.h> |
@@ -23,19 +41,12 @@ static struct imxuart_platform_data uart_pdata = { | |||
23 | .flags = IMXUART_HAVE_RTSCTS, | 41 | .flags = IMXUART_HAVE_RTSCTS, |
24 | }; | 42 | }; |
25 | 43 | ||
26 | static struct mxc_nand_platform_data nand_board_info = { | ||
27 | .width = 1, | ||
28 | .hw_ecc = 1, | ||
29 | }; | ||
30 | |||
31 | static void __init mx25pdk_init(void) | 44 | static void __init mx25pdk_init(void) |
32 | { | 45 | { |
33 | mxc_register_device(&mxc_uart_device0, &uart_pdata); | 46 | mxc_register_device(&mxc_uart_device0, &uart_pdata); |
34 | mxc_register_device(&mxc_usbh2, NULL); | 47 | mxc_register_device(&mxc_usbh2, NULL); |
35 | mxc_register_device(&mxc_nand_device, &nand_board_info); | ||
36 | } | 48 | } |
37 | 49 | ||
38 | |||
39 | static void __init mx25pdk_timer_init(void) | 50 | static void __init mx25pdk_timer_init(void) |
40 | { | 51 | { |
41 | mx25_clocks_init(26000000); | 52 | mx25_clocks_init(26000000); |
diff --git a/arch/arm/mach-mx3/clock-imx35.c b/arch/arm/mach-mx3/clock-imx35.c index fe5c4217322e..c595260ec1f9 100644 --- a/arch/arm/mach-mx3/clock-imx35.c +++ b/arch/arm/mach-mx3/clock-imx35.c | |||
@@ -443,7 +443,7 @@ static struct clk_lookup lookups[] = { | |||
443 | _REGISTER_CLOCK("mxc-ehci.1", "usb", usbotg_clk) | 443 | _REGISTER_CLOCK("mxc-ehci.1", "usb", usbotg_clk) |
444 | _REGISTER_CLOCK("mxc-ehci.2", "usb", usbotg_clk) | 444 | _REGISTER_CLOCK("mxc-ehci.2", "usb", usbotg_clk) |
445 | _REGISTER_CLOCK("fsl-usb2-udc", "usb", usbotg_clk) | 445 | _REGISTER_CLOCK("fsl-usb2-udc", "usb", usbotg_clk) |
446 | _REGISTER_CLOCK("mxc_wdt.0", NULL, wdog_clk) | 446 | _REGISTER_CLOCK("imx-wdt.0", NULL, wdog_clk) |
447 | _REGISTER_CLOCK(NULL, "max", max_clk) | 447 | _REGISTER_CLOCK(NULL, "max", max_clk) |
448 | _REGISTER_CLOCK(NULL, "admux", admux_clk) | 448 | _REGISTER_CLOCK(NULL, "admux", admux_clk) |
449 | _REGISTER_CLOCK(NULL, "csi", csi_clk) | 449 | _REGISTER_CLOCK(NULL, "csi", csi_clk) |
diff --git a/arch/arm/mach-mx3/clock.c b/arch/arm/mach-mx3/clock.c index 06bd6180bfc3..b2a3bcf8266e 100644 --- a/arch/arm/mach-mx3/clock.c +++ b/arch/arm/mach-mx3/clock.c | |||
@@ -530,7 +530,7 @@ static struct clk_lookup lookups[] = { | |||
530 | _REGISTER_CLOCK("spi_imx.2", NULL, cspi3_clk) | 530 | _REGISTER_CLOCK("spi_imx.2", NULL, cspi3_clk) |
531 | _REGISTER_CLOCK(NULL, "gpt", gpt_clk) | 531 | _REGISTER_CLOCK(NULL, "gpt", gpt_clk) |
532 | _REGISTER_CLOCK(NULL, "pwm", pwm_clk) | 532 | _REGISTER_CLOCK(NULL, "pwm", pwm_clk) |
533 | _REGISTER_CLOCK(NULL, "wdog", wdog_clk) | 533 | _REGISTER_CLOCK("imx-wdt.0", NULL, wdog_clk) |
534 | _REGISTER_CLOCK(NULL, "rtc", rtc_clk) | 534 | _REGISTER_CLOCK(NULL, "rtc", rtc_clk) |
535 | _REGISTER_CLOCK(NULL, "epit", epit1_clk) | 535 | _REGISTER_CLOCK(NULL, "epit", epit1_clk) |
536 | _REGISTER_CLOCK(NULL, "epit", epit2_clk) | 536 | _REGISTER_CLOCK(NULL, "epit", epit2_clk) |
diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c index 8a577f367250..e6abe181b967 100644 --- a/arch/arm/mach-mx3/devices.c +++ b/arch/arm/mach-mx3/devices.c | |||
@@ -459,7 +459,7 @@ struct platform_device mxc_usbh2 = { | |||
459 | * SPI master controller | 459 | * SPI master controller |
460 | * 3 channels | 460 | * 3 channels |
461 | */ | 461 | */ |
462 | static struct resource imx_spi_0_resources[] = { | 462 | static struct resource mxc_spi_0_resources[] = { |
463 | { | 463 | { |
464 | .start = CSPI1_BASE_ADDR, | 464 | .start = CSPI1_BASE_ADDR, |
465 | .end = CSPI1_BASE_ADDR + SZ_4K - 1, | 465 | .end = CSPI1_BASE_ADDR + SZ_4K - 1, |
@@ -471,7 +471,7 @@ static struct resource imx_spi_0_resources[] = { | |||
471 | }, | 471 | }, |
472 | }; | 472 | }; |
473 | 473 | ||
474 | static struct resource imx_spi_1_resources[] = { | 474 | static struct resource mxc_spi_1_resources[] = { |
475 | { | 475 | { |
476 | .start = CSPI2_BASE_ADDR, | 476 | .start = CSPI2_BASE_ADDR, |
477 | .end = CSPI2_BASE_ADDR + SZ_4K - 1, | 477 | .end = CSPI2_BASE_ADDR + SZ_4K - 1, |
@@ -483,7 +483,7 @@ static struct resource imx_spi_1_resources[] = { | |||
483 | }, | 483 | }, |
484 | }; | 484 | }; |
485 | 485 | ||
486 | static struct resource imx_spi_2_resources[] = { | 486 | static struct resource mxc_spi_2_resources[] = { |
487 | { | 487 | { |
488 | .start = CSPI3_BASE_ADDR, | 488 | .start = CSPI3_BASE_ADDR, |
489 | .end = CSPI3_BASE_ADDR + SZ_4K - 1, | 489 | .end = CSPI3_BASE_ADDR + SZ_4K - 1, |
@@ -495,25 +495,25 @@ static struct resource imx_spi_2_resources[] = { | |||
495 | }, | 495 | }, |
496 | }; | 496 | }; |
497 | 497 | ||
498 | struct platform_device imx_spi_device0 = { | 498 | struct platform_device mxc_spi_device0 = { |
499 | .name = "spi_imx", | 499 | .name = "spi_imx", |
500 | .id = 0, | 500 | .id = 0, |
501 | .num_resources = ARRAY_SIZE(imx_spi_0_resources), | 501 | .num_resources = ARRAY_SIZE(mxc_spi_0_resources), |
502 | .resource = imx_spi_0_resources, | 502 | .resource = mxc_spi_0_resources, |
503 | }; | 503 | }; |
504 | 504 | ||
505 | struct platform_device imx_spi_device1 = { | 505 | struct platform_device mxc_spi_device1 = { |
506 | .name = "spi_imx", | 506 | .name = "spi_imx", |
507 | .id = 1, | 507 | .id = 1, |
508 | .num_resources = ARRAY_SIZE(imx_spi_1_resources), | 508 | .num_resources = ARRAY_SIZE(mxc_spi_1_resources), |
509 | .resource = imx_spi_1_resources, | 509 | .resource = mxc_spi_1_resources, |
510 | }; | 510 | }; |
511 | 511 | ||
512 | struct platform_device imx_spi_device2 = { | 512 | struct platform_device mxc_spi_device2 = { |
513 | .name = "spi_imx", | 513 | .name = "spi_imx", |
514 | .id = 2, | 514 | .id = 2, |
515 | .num_resources = ARRAY_SIZE(imx_spi_2_resources), | 515 | .num_resources = ARRAY_SIZE(mxc_spi_2_resources), |
516 | .resource = imx_spi_2_resources, | 516 | .resource = mxc_spi_2_resources, |
517 | }; | 517 | }; |
518 | 518 | ||
519 | #ifdef CONFIG_ARCH_MX35 | 519 | #ifdef CONFIG_ARCH_MX35 |
diff --git a/arch/arm/mach-mx3/devices.h b/arch/arm/mach-mx3/devices.h index 79f2be45d139..ab87419dc9a0 100644 --- a/arch/arm/mach-mx3/devices.h +++ b/arch/arm/mach-mx3/devices.h | |||
@@ -20,7 +20,7 @@ extern struct platform_device mxc_otg_host; | |||
20 | extern struct platform_device mxc_usbh1; | 20 | extern struct platform_device mxc_usbh1; |
21 | extern struct platform_device mxc_usbh2; | 21 | extern struct platform_device mxc_usbh2; |
22 | extern struct platform_device mxc_rnga_device; | 22 | extern struct platform_device mxc_rnga_device; |
23 | extern struct platform_device imx_spi_device0; | 23 | extern struct platform_device mxc_spi_device0; |
24 | extern struct platform_device imx_spi_device1; | 24 | extern struct platform_device mxc_spi_device1; |
25 | extern struct platform_device imx_spi_device2; | 25 | extern struct platform_device mxc_spi_device2; |
26 | 26 | ||
diff --git a/arch/arm/mach-mx3/mm.c b/arch/arm/mach-mx3/mm.c index ad5a1122d765..bedf5b8d976a 100644 --- a/arch/arm/mach-mx3/mm.c +++ b/arch/arm/mach-mx3/mm.c | |||
@@ -81,6 +81,7 @@ void __init mx31_map_io(void) | |||
81 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); | 81 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); |
82 | } | 82 | } |
83 | 83 | ||
84 | #ifdef CONFIG_ARCH_MX35 | ||
84 | void __init mx35_map_io(void) | 85 | void __init mx35_map_io(void) |
85 | { | 86 | { |
86 | mxc_set_cpu_type(MXC_CPU_MX35); | 87 | mxc_set_cpu_type(MXC_CPU_MX35); |
@@ -89,6 +90,7 @@ void __init mx35_map_io(void) | |||
89 | 90 | ||
90 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); | 91 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); |
91 | } | 92 | } |
93 | #endif | ||
92 | 94 | ||
93 | void __init mx31_init_irq(void) | 95 | void __init mx31_init_irq(void) |
94 | { | 96 | { |
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index 42920f9c1a11..8ad5cc3e83e3 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c | |||
@@ -219,6 +219,10 @@ static struct platform_device *ams_delta_devices[] __initdata = { | |||
219 | 219 | ||
220 | static void __init ams_delta_init(void) | 220 | static void __init ams_delta_init(void) |
221 | { | 221 | { |
222 | /* mux pins for uarts */ | ||
223 | omap_cfg_reg(UART1_TX); | ||
224 | omap_cfg_reg(UART1_RTS); | ||
225 | |||
222 | iotable_init(ams_delta_io_desc, ARRAY_SIZE(ams_delta_io_desc)); | 226 | iotable_init(ams_delta_io_desc, ARRAY_SIZE(ams_delta_io_desc)); |
223 | 227 | ||
224 | omap_board_config = ams_delta_config; | 228 | omap_board_config = ams_delta_config; |
@@ -231,6 +235,8 @@ static void __init ams_delta_init(void) | |||
231 | 235 | ||
232 | omap_usb_init(&ams_delta_usb_config); | 236 | omap_usb_init(&ams_delta_usb_config); |
233 | platform_add_devices(ams_delta_devices, ARRAY_SIZE(ams_delta_devices)); | 237 | platform_add_devices(ams_delta_devices, ARRAY_SIZE(ams_delta_devices)); |
238 | |||
239 | omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1); | ||
234 | } | 240 | } |
235 | 241 | ||
236 | static struct plat_serial8250_port ams_delta_modem_ports[] = { | 242 | static struct plat_serial8250_port ams_delta_modem_ports[] = { |
diff --git a/arch/arm/mach-omap1/board-generic.c b/arch/arm/mach-omap1/board-generic.c index fb47239da72f..6c8a41f20e51 100644 --- a/arch/arm/mach-omap1/board-generic.c +++ b/arch/arm/mach-omap1/board-generic.c | |||
@@ -64,6 +64,14 @@ static void __init omap_generic_init(void) | |||
64 | { | 64 | { |
65 | #ifdef CONFIG_ARCH_OMAP15XX | 65 | #ifdef CONFIG_ARCH_OMAP15XX |
66 | if (cpu_is_omap15xx()) { | 66 | if (cpu_is_omap15xx()) { |
67 | /* mux pins for uarts */ | ||
68 | omap_cfg_reg(UART1_TX); | ||
69 | omap_cfg_reg(UART1_RTS); | ||
70 | omap_cfg_reg(UART2_TX); | ||
71 | omap_cfg_reg(UART2_RTS); | ||
72 | omap_cfg_reg(UART3_TX); | ||
73 | omap_cfg_reg(UART3_RX); | ||
74 | |||
67 | omap_usb_init(&generic1510_usb_config); | 75 | omap_usb_init(&generic1510_usb_config); |
68 | } | 76 | } |
69 | #endif | 77 | #endif |
diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index cc2abbb2d0f4..cd6c39514826 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c | |||
@@ -376,6 +376,26 @@ static void __init innovator_init(void) | |||
376 | { | 376 | { |
377 | #ifdef CONFIG_ARCH_OMAP15XX | 377 | #ifdef CONFIG_ARCH_OMAP15XX |
378 | if (cpu_is_omap1510()) { | 378 | if (cpu_is_omap1510()) { |
379 | unsigned char reg; | ||
380 | |||
381 | /* mux pins for uarts */ | ||
382 | omap_cfg_reg(UART1_TX); | ||
383 | omap_cfg_reg(UART1_RTS); | ||
384 | omap_cfg_reg(UART2_TX); | ||
385 | omap_cfg_reg(UART2_RTS); | ||
386 | omap_cfg_reg(UART3_TX); | ||
387 | omap_cfg_reg(UART3_RX); | ||
388 | |||
389 | reg = fpga_read(OMAP1510_FPGA_POWER); | ||
390 | reg |= OMAP1510_FPGA_PCR_COM1_EN; | ||
391 | fpga_write(reg, OMAP1510_FPGA_POWER); | ||
392 | udelay(10); | ||
393 | |||
394 | reg = fpga_read(OMAP1510_FPGA_POWER); | ||
395 | reg |= OMAP1510_FPGA_PCR_COM2_EN; | ||
396 | fpga_write(reg, OMAP1510_FPGA_POWER); | ||
397 | udelay(10); | ||
398 | |||
379 | platform_add_devices(innovator1510_devices, ARRAY_SIZE(innovator1510_devices)); | 399 | platform_add_devices(innovator1510_devices, ARRAY_SIZE(innovator1510_devices)); |
380 | spi_register_board_info(innovator1510_boardinfo, | 400 | spi_register_board_info(innovator1510_boardinfo, |
381 | ARRAY_SIZE(innovator1510_boardinfo)); | 401 | ARRAY_SIZE(innovator1510_boardinfo)); |
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index 90dd0431b0dc..4de258420f39 100644 --- a/arch/arm/mach-omap1/board-palmte.c +++ b/arch/arm/mach-omap1/board-palmte.c | |||
@@ -342,6 +342,14 @@ static void __init palmte_misc_gpio_setup(void) | |||
342 | 342 | ||
343 | static void __init omap_palmte_init(void) | 343 | static void __init omap_palmte_init(void) |
344 | { | 344 | { |
345 | /* mux pins for uarts */ | ||
346 | omap_cfg_reg(UART1_TX); | ||
347 | omap_cfg_reg(UART1_RTS); | ||
348 | omap_cfg_reg(UART2_TX); | ||
349 | omap_cfg_reg(UART2_RTS); | ||
350 | omap_cfg_reg(UART3_TX); | ||
351 | omap_cfg_reg(UART3_RX); | ||
352 | |||
345 | omap_board_config = palmte_config; | 353 | omap_board_config = palmte_config; |
346 | omap_board_config_size = ARRAY_SIZE(palmte_config); | 354 | omap_board_config_size = ARRAY_SIZE(palmte_config); |
347 | 355 | ||
diff --git a/arch/arm/mach-omap1/board-palmtt.c b/arch/arm/mach-omap1/board-palmtt.c index 8256139891ff..d972cf941b76 100644 --- a/arch/arm/mach-omap1/board-palmtt.c +++ b/arch/arm/mach-omap1/board-palmtt.c | |||
@@ -289,6 +289,14 @@ static void __init omap_mpu_wdt_mode(int mode) { | |||
289 | 289 | ||
290 | static void __init omap_palmtt_init(void) | 290 | static void __init omap_palmtt_init(void) |
291 | { | 291 | { |
292 | /* mux pins for uarts */ | ||
293 | omap_cfg_reg(UART1_TX); | ||
294 | omap_cfg_reg(UART1_RTS); | ||
295 | omap_cfg_reg(UART2_TX); | ||
296 | omap_cfg_reg(UART2_RTS); | ||
297 | omap_cfg_reg(UART3_TX); | ||
298 | omap_cfg_reg(UART3_RX); | ||
299 | |||
292 | omap_mpu_wdt_mode(0); | 300 | omap_mpu_wdt_mode(0); |
293 | 301 | ||
294 | omap_board_config = palmtt_config; | 302 | omap_board_config = palmtt_config; |
diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c index 81b6bde1c5a3..986bd4df0e97 100644 --- a/arch/arm/mach-omap1/board-palmz71.c +++ b/arch/arm/mach-omap1/board-palmz71.c | |||
@@ -307,6 +307,14 @@ palmz71_gpio_setup(int early) | |||
307 | static void __init | 307 | static void __init |
308 | omap_palmz71_init(void) | 308 | omap_palmz71_init(void) |
309 | { | 309 | { |
310 | /* mux pins for uarts */ | ||
311 | omap_cfg_reg(UART1_TX); | ||
312 | omap_cfg_reg(UART1_RTS); | ||
313 | omap_cfg_reg(UART2_TX); | ||
314 | omap_cfg_reg(UART2_RTS); | ||
315 | omap_cfg_reg(UART3_TX); | ||
316 | omap_cfg_reg(UART3_RX); | ||
317 | |||
310 | palmz71_gpio_setup(1); | 318 | palmz71_gpio_setup(1); |
311 | omap_mpu_wdt_mode(0); | 319 | omap_mpu_wdt_mode(0); |
312 | 320 | ||
diff --git a/arch/arm/mach-omap1/board-sx1.c b/arch/arm/mach-omap1/board-sx1.c index 02c85ca2e1df..056ae64e0f55 100644 --- a/arch/arm/mach-omap1/board-sx1.c +++ b/arch/arm/mach-omap1/board-sx1.c | |||
@@ -377,6 +377,14 @@ static struct omap_board_config_kernel sx1_config[] __initdata = { | |||
377 | 377 | ||
378 | static void __init omap_sx1_init(void) | 378 | static void __init omap_sx1_init(void) |
379 | { | 379 | { |
380 | /* mux pins for uarts */ | ||
381 | omap_cfg_reg(UART1_TX); | ||
382 | omap_cfg_reg(UART1_RTS); | ||
383 | omap_cfg_reg(UART2_TX); | ||
384 | omap_cfg_reg(UART2_RTS); | ||
385 | omap_cfg_reg(UART3_TX); | ||
386 | omap_cfg_reg(UART3_RX); | ||
387 | |||
380 | platform_add_devices(sx1_devices, ARRAY_SIZE(sx1_devices)); | 388 | platform_add_devices(sx1_devices, ARRAY_SIZE(sx1_devices)); |
381 | 389 | ||
382 | omap_board_config = sx1_config; | 390 | omap_board_config = sx1_config; |
diff --git a/arch/arm/mach-omap1/board-voiceblue.c b/arch/arm/mach-omap1/board-voiceblue.c index c06e7a553472..07b07522d5bf 100644 --- a/arch/arm/mach-omap1/board-voiceblue.c +++ b/arch/arm/mach-omap1/board-voiceblue.c | |||
@@ -152,6 +152,14 @@ static void __init voiceblue_init_irq(void) | |||
152 | 152 | ||
153 | static void __init voiceblue_init(void) | 153 | static void __init voiceblue_init(void) |
154 | { | 154 | { |
155 | /* mux pins for uarts */ | ||
156 | omap_cfg_reg(UART1_TX); | ||
157 | omap_cfg_reg(UART1_RTS); | ||
158 | omap_cfg_reg(UART2_TX); | ||
159 | omap_cfg_reg(UART2_RTS); | ||
160 | omap_cfg_reg(UART3_TX); | ||
161 | omap_cfg_reg(UART3_RX); | ||
162 | |||
155 | /* Watchdog */ | 163 | /* Watchdog */ |
156 | gpio_request(0, "Watchdog"); | 164 | gpio_request(0, "Watchdog"); |
157 | /* smc91x reset */ | 165 | /* smc91x reset */ |
diff --git a/arch/arm/mach-omap1/serial.c b/arch/arm/mach-omap1/serial.c index d496e50fec40..d23979bc0fd5 100644 --- a/arch/arm/mach-omap1/serial.c +++ b/arch/arm/mach-omap1/serial.c | |||
@@ -131,8 +131,6 @@ void __init omap_serial_init(void) | |||
131 | } | 131 | } |
132 | 132 | ||
133 | for (i = 0; i < OMAP_MAX_NR_PORTS; i++) { | 133 | for (i = 0; i < OMAP_MAX_NR_PORTS; i++) { |
134 | unsigned char reg; | ||
135 | |||
136 | switch (i) { | 134 | switch (i) { |
137 | case 0: | 135 | case 0: |
138 | uart1_ck = clk_get(NULL, "uart1_ck"); | 136 | uart1_ck = clk_get(NULL, "uart1_ck"); |
@@ -143,16 +141,6 @@ void __init omap_serial_init(void) | |||
143 | if (cpu_is_omap15xx()) | 141 | if (cpu_is_omap15xx()) |
144 | clk_set_rate(uart1_ck, 12000000); | 142 | clk_set_rate(uart1_ck, 12000000); |
145 | } | 143 | } |
146 | if (cpu_is_omap15xx()) { | ||
147 | omap_cfg_reg(UART1_TX); | ||
148 | omap_cfg_reg(UART1_RTS); | ||
149 | if (machine_is_omap_innovator()) { | ||
150 | reg = fpga_read(OMAP1510_FPGA_POWER); | ||
151 | reg |= OMAP1510_FPGA_PCR_COM1_EN; | ||
152 | fpga_write(reg, OMAP1510_FPGA_POWER); | ||
153 | udelay(10); | ||
154 | } | ||
155 | } | ||
156 | break; | 144 | break; |
157 | case 1: | 145 | case 1: |
158 | uart2_ck = clk_get(NULL, "uart2_ck"); | 146 | uart2_ck = clk_get(NULL, "uart2_ck"); |
@@ -165,16 +153,6 @@ void __init omap_serial_init(void) | |||
165 | else | 153 | else |
166 | clk_set_rate(uart2_ck, 48000000); | 154 | clk_set_rate(uart2_ck, 48000000); |
167 | } | 155 | } |
168 | if (cpu_is_omap15xx()) { | ||
169 | omap_cfg_reg(UART2_TX); | ||
170 | omap_cfg_reg(UART2_RTS); | ||
171 | if (machine_is_omap_innovator()) { | ||
172 | reg = fpga_read(OMAP1510_FPGA_POWER); | ||
173 | reg |= OMAP1510_FPGA_PCR_COM2_EN; | ||
174 | fpga_write(reg, OMAP1510_FPGA_POWER); | ||
175 | udelay(10); | ||
176 | } | ||
177 | } | ||
178 | break; | 156 | break; |
179 | case 2: | 157 | case 2: |
180 | uart3_ck = clk_get(NULL, "uart3_ck"); | 158 | uart3_ck = clk_get(NULL, "uart3_ck"); |
@@ -185,10 +163,6 @@ void __init omap_serial_init(void) | |||
185 | if (cpu_is_omap15xx()) | 163 | if (cpu_is_omap15xx()) |
186 | clk_set_rate(uart3_ck, 12000000); | 164 | clk_set_rate(uart3_ck, 12000000); |
187 | } | 165 | } |
188 | if (cpu_is_omap15xx()) { | ||
189 | omap_cfg_reg(UART3_TX); | ||
190 | omap_cfg_reg(UART3_RX); | ||
191 | } | ||
192 | break; | 166 | break; |
193 | } | 167 | } |
194 | omap_serial_reset(&serial_platform_data[i]); | 168 | omap_serial_reset(&serial_platform_data[i]); |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 75b1c7efae7e..aad194f61a33 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -73,9 +73,21 @@ config MACH_OMAP_3430SDP | |||
73 | bool "OMAP 3430 SDP board" | 73 | bool "OMAP 3430 SDP board" |
74 | depends on ARCH_OMAP3 && ARCH_OMAP34XX | 74 | depends on ARCH_OMAP3 && ARCH_OMAP34XX |
75 | 75 | ||
76 | config MACH_NOKIA_N800 | ||
77 | bool | ||
78 | |||
79 | config MACH_NOKIA_N810 | ||
80 | bool | ||
81 | |||
82 | config MACH_NOKIA_N810_WIMAX | ||
83 | bool | ||
84 | |||
76 | config MACH_NOKIA_N8X0 | 85 | config MACH_NOKIA_N8X0 |
77 | bool "Nokia N800/N810" | 86 | bool "Nokia N800/N810" |
78 | depends on ARCH_OMAP2420 | 87 | depends on ARCH_OMAP2420 |
88 | select MACH_NOKIA_N800 | ||
89 | select MACH_NOKIA_N810 | ||
90 | select MACH_NOKIA_N810_WIMAX | ||
79 | 91 | ||
80 | config MACH_NOKIA_RX51 | 92 | config MACH_NOKIA_RX51 |
81 | bool "Nokia RX-51 board" | 93 | bool "Nokia RX-51 board" |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index efaf053eba85..0acb5560229c 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | #include <linux/input.h> | 19 | #include <linux/input.h> |
20 | #include <linux/input/matrix_keypad.h> | ||
20 | #include <linux/spi/spi.h> | 21 | #include <linux/spi/spi.h> |
21 | #include <linux/spi/ads7846.h> | 22 | #include <linux/spi/ads7846.h> |
22 | #include <linux/i2c/twl4030.h> | 23 | #include <linux/i2c/twl4030.h> |
@@ -38,7 +39,6 @@ | |||
38 | #include <mach/gpmc.h> | 39 | #include <mach/gpmc.h> |
39 | 40 | ||
40 | #include <mach/control.h> | 41 | #include <mach/control.h> |
41 | #include <mach/keypad.h> | ||
42 | #include <mach/gpmc-smc91x.h> | 42 | #include <mach/gpmc-smc91x.h> |
43 | 43 | ||
44 | #include "sdram-qimonda-hyb18m512160af-6.h" | 44 | #include "sdram-qimonda-hyb18m512160af-6.h" |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index eb37c40ea83a..609a5a4a7e29 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -58,6 +58,8 @@ static void __init gic_init_irq(void) | |||
58 | 58 | ||
59 | static void __init omap_4430sdp_init_irq(void) | 59 | static void __init omap_4430sdp_init_irq(void) |
60 | { | 60 | { |
61 | omap_board_config = sdp4430_config; | ||
62 | omap_board_config_size = ARRAY_SIZE(sdp4430_config); | ||
61 | omap2_init_common_hw(NULL, NULL); | 63 | omap2_init_common_hw(NULL, NULL); |
62 | #ifdef CONFIG_OMAP_32K_TIMER | 64 | #ifdef CONFIG_OMAP_32K_TIMER |
63 | omap2_gp_clockevent_set_gptimer(1); | 65 | omap2_gp_clockevent_set_gptimer(1); |
@@ -70,8 +72,6 @@ static void __init omap_4430sdp_init_irq(void) | |||
70 | static void __init omap_4430sdp_init(void) | 72 | static void __init omap_4430sdp_init(void) |
71 | { | 73 | { |
72 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); | 74 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); |
73 | omap_board_config = sdp4430_config; | ||
74 | omap_board_config_size = ARRAY_SIZE(sdp4430_config); | ||
75 | omap_serial_init(); | 75 | omap_serial_init(); |
76 | } | 76 | } |
77 | 77 | ||
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index d110a7fdfbd8..d57ec2f4d0a9 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/input.h> | 18 | #include <linux/input.h> |
19 | #include <linux/input/matrix_keypad.h> | ||
19 | #include <linux/gpio_keys.h> | 20 | #include <linux/gpio_keys.h> |
20 | #include <linux/workqueue.h> | 21 | #include <linux/workqueue.h> |
21 | #include <linux/err.h> | 22 | #include <linux/err.h> |
@@ -41,7 +42,6 @@ | |||
41 | #include <asm/delay.h> | 42 | #include <asm/delay.h> |
42 | #include <mach/control.h> | 43 | #include <mach/control.h> |
43 | #include <mach/usb.h> | 44 | #include <mach/usb.h> |
44 | #include <mach/keypad.h> | ||
45 | 45 | ||
46 | #include "mmc-twl4030.h" | 46 | #include "mmc-twl4030.h" |
47 | 47 | ||
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index e4ec0c591216..4c4d7f8dbd72 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/clk.h> | 20 | #include <linux/clk.h> |
21 | #include <linux/gpio.h> | 21 | #include <linux/gpio.h> |
22 | #include <linux/input.h> | 22 | #include <linux/input.h> |
23 | #include <linux/input/matrix_keypad.h> | ||
23 | #include <linux/leds.h> | 24 | #include <linux/leds.h> |
24 | 25 | ||
25 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
@@ -37,7 +38,6 @@ | |||
37 | #include <mach/usb.h> | 38 | #include <mach/usb.h> |
38 | #include <mach/common.h> | 39 | #include <mach/common.h> |
39 | #include <mach/mcspi.h> | 40 | #include <mach/mcspi.h> |
40 | #include <mach/keypad.h> | ||
41 | 41 | ||
42 | #include "sdram-micron-mt46h32m32lf-6.h" | 42 | #include "sdram-micron-mt46h32m32lf-6.h" |
43 | #include "mmc-twl4030.h" | 43 | #include "mmc-twl4030.h" |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 7f6bf8772af7..5326e0d61597 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/i2c/twl4030.h> | 27 | #include <linux/i2c/twl4030.h> |
28 | #include <linux/leds.h> | 28 | #include <linux/leds.h> |
29 | #include <linux/input.h> | 29 | #include <linux/input.h> |
30 | #include <linux/input/matrix_keypad.h> | ||
30 | #include <linux/gpio_keys.h> | 31 | #include <linux/gpio_keys.h> |
31 | 32 | ||
32 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
@@ -39,7 +40,6 @@ | |||
39 | #include <mach/hardware.h> | 40 | #include <mach/hardware.h> |
40 | #include <mach/mcspi.h> | 41 | #include <mach/mcspi.h> |
41 | #include <mach/usb.h> | 42 | #include <mach/usb.h> |
42 | #include <mach/keypad.h> | ||
43 | #include <mach/mux.h> | 43 | #include <mach/mux.h> |
44 | 44 | ||
45 | #include "sdram-micron-mt46h32m32lf-6.h" | 45 | #include "sdram-micron-mt46h32m32lf-6.h" |
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index b45ad312c587..e34d96a825e3 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | #include <linux/input.h> | 14 | #include <linux/input.h> |
15 | #include <linux/input/matrix_keypad.h> | ||
15 | #include <linux/spi/spi.h> | 16 | #include <linux/spi/spi.h> |
16 | #include <linux/i2c.h> | 17 | #include <linux/i2c.h> |
17 | #include <linux/i2c/twl4030.h> | 18 | #include <linux/i2c/twl4030.h> |
@@ -27,7 +28,6 @@ | |||
27 | #include <mach/common.h> | 28 | #include <mach/common.h> |
28 | #include <mach/dma.h> | 29 | #include <mach/dma.h> |
29 | #include <mach/gpmc.h> | 30 | #include <mach/gpmc.h> |
30 | #include <mach/keypad.h> | ||
31 | #include <mach/onenand.h> | 31 | #include <mach/onenand.h> |
32 | #include <mach/gpmc-smc91x.h> | 32 | #include <mach/gpmc-smc91x.h> |
33 | 33 | ||
@@ -38,49 +38,49 @@ | |||
38 | 38 | ||
39 | static int board_keymap[] = { | 39 | static int board_keymap[] = { |
40 | KEY(0, 0, KEY_Q), | 40 | KEY(0, 0, KEY_Q), |
41 | KEY(0, 1, KEY_W), | 41 | KEY(0, 1, KEY_O), |
42 | KEY(0, 2, KEY_E), | 42 | KEY(0, 2, KEY_P), |
43 | KEY(0, 3, KEY_R), | 43 | KEY(0, 3, KEY_COMMA), |
44 | KEY(0, 4, KEY_T), | 44 | KEY(0, 4, KEY_BACKSPACE), |
45 | KEY(0, 5, KEY_Y), | 45 | KEY(0, 6, KEY_A), |
46 | KEY(0, 6, KEY_U), | 46 | KEY(0, 7, KEY_S), |
47 | KEY(0, 7, KEY_I), | 47 | KEY(1, 0, KEY_W), |
48 | KEY(1, 0, KEY_O), | ||
49 | KEY(1, 1, KEY_D), | 48 | KEY(1, 1, KEY_D), |
50 | KEY(1, 2, KEY_DOT), | 49 | KEY(1, 2, KEY_F), |
51 | KEY(1, 3, KEY_V), | 50 | KEY(1, 3, KEY_G), |
52 | KEY(1, 4, KEY_DOWN), | 51 | KEY(1, 4, KEY_H), |
53 | KEY(2, 0, KEY_P), | 52 | KEY(1, 5, KEY_J), |
54 | KEY(2, 1, KEY_F), | 53 | KEY(1, 6, KEY_K), |
54 | KEY(1, 7, KEY_L), | ||
55 | KEY(2, 0, KEY_E), | ||
56 | KEY(2, 1, KEY_DOT), | ||
55 | KEY(2, 2, KEY_UP), | 57 | KEY(2, 2, KEY_UP), |
56 | KEY(2, 3, KEY_B), | 58 | KEY(2, 3, KEY_ENTER), |
57 | KEY(2, 4, KEY_RIGHT), | 59 | KEY(2, 5, KEY_Z), |
58 | KEY(3, 0, KEY_COMMA), | 60 | KEY(2, 6, KEY_X), |
59 | KEY(3, 1, KEY_G), | 61 | KEY(2, 7, KEY_C), |
60 | KEY(3, 2, KEY_ENTER), | 62 | KEY(3, 0, KEY_R), |
63 | KEY(3, 1, KEY_V), | ||
64 | KEY(3, 2, KEY_B), | ||
61 | KEY(3, 3, KEY_N), | 65 | KEY(3, 3, KEY_N), |
62 | KEY(4, 0, KEY_BACKSPACE), | 66 | KEY(3, 4, KEY_M), |
63 | KEY(4, 1, KEY_H), | 67 | KEY(3, 5, KEY_SPACE), |
64 | KEY(4, 3, KEY_M), | 68 | KEY(3, 6, KEY_SPACE), |
69 | KEY(3, 7, KEY_LEFT), | ||
70 | KEY(4, 0, KEY_T), | ||
71 | KEY(4, 1, KEY_DOWN), | ||
72 | KEY(4, 2, KEY_RIGHT), | ||
65 | KEY(4, 4, KEY_LEFTCTRL), | 73 | KEY(4, 4, KEY_LEFTCTRL), |
66 | KEY(5, 1, KEY_J), | 74 | KEY(4, 5, KEY_RIGHTALT), |
67 | KEY(5, 2, KEY_Z), | 75 | KEY(4, 6, KEY_LEFTSHIFT), |
68 | KEY(5, 3, KEY_SPACE), | 76 | KEY(5, 0, KEY_Y), |
69 | KEY(5, 4, KEY_LEFTSHIFT), | 77 | KEY(6, 0, KEY_U), |
70 | KEY(6, 0, KEY_A), | 78 | KEY(7, 0, KEY_I), |
71 | KEY(6, 1, KEY_K), | 79 | KEY(7, 1, KEY_F7), |
72 | KEY(6, 2, KEY_X), | 80 | KEY(7, 2, KEY_F8), |
73 | KEY(6, 3, KEY_SPACE), | 81 | KEY(0xff, 2, KEY_F9), |
74 | KEY(6, 4, KEY_FN), | 82 | KEY(0xff, 4, KEY_F10), |
75 | KEY(7, 0, KEY_S), | 83 | KEY(0xff, 5, KEY_F11), |
76 | KEY(7, 1, KEY_L), | ||
77 | KEY(7, 2, KEY_C), | ||
78 | KEY(7, 3, KEY_LEFT), | ||
79 | KEY(0xff, 0, KEY_F6), | ||
80 | KEY(0xff, 1, KEY_F7), | ||
81 | KEY(0xff, 2, KEY_F8), | ||
82 | KEY(0xff, 4, KEY_F9), | ||
83 | KEY(0xff, 5, KEY_F10), | ||
84 | }; | 84 | }; |
85 | 85 | ||
86 | static struct matrix_keymap_data board_map_data = { | 86 | static struct matrix_keymap_data board_map_data = { |
@@ -444,7 +444,7 @@ static int __init rx51_i2c_init(void) | |||
444 | rx51_twldata.vaux3 = &rx51_vaux3_cam; | 444 | rx51_twldata.vaux3 = &rx51_vaux3_cam; |
445 | rx51_twldata.vmmc2 = &rx51_vmmc2; | 445 | rx51_twldata.vmmc2 = &rx51_vmmc2; |
446 | } | 446 | } |
447 | omap_register_i2c_bus(1, 2600, rx51_peripherals_i2c_board_info_1, | 447 | omap_register_i2c_bus(1, 2200, rx51_peripherals_i2c_board_info_1, |
448 | ARRAY_SIZE(rx51_peripherals_i2c_board_info_1)); | 448 | ARRAY_SIZE(rx51_peripherals_i2c_board_info_1)); |
449 | omap_register_i2c_bus(2, 100, NULL, 0); | 449 | omap_register_i2c_bus(2, 100, NULL, 0); |
450 | omap_register_i2c_bus(3, 400, NULL, 0); | 450 | omap_register_i2c_bus(3, 400, NULL, 0); |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index f9196c3b1a7b..78869a9a1cc2 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <mach/mux.h> | 26 | #include <mach/mux.h> |
27 | #include <mach/board.h> | 27 | #include <mach/board.h> |
28 | #include <mach/common.h> | 28 | #include <mach/common.h> |
29 | #include <mach/keypad.h> | ||
30 | #include <mach/dma.h> | 29 | #include <mach/dma.h> |
31 | #include <mach/gpmc.h> | 30 | #include <mach/gpmc.h> |
32 | #include <mach/usb.h> | 31 | #include <mach/usb.h> |
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index b7b32208ced7..ea00486a5e53 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <linux/input.h> | 15 | #include <linux/input.h> |
16 | #include <linux/input/matrix_keypad.h> | ||
16 | #include <linux/gpio.h> | 17 | #include <linux/gpio.h> |
17 | #include <linux/i2c/twl4030.h> | 18 | #include <linux/i2c/twl4030.h> |
18 | #include <linux/regulator/machine.h> | 19 | #include <linux/regulator/machine.h> |
@@ -22,9 +23,9 @@ | |||
22 | 23 | ||
23 | #include <mach/common.h> | 24 | #include <mach/common.h> |
24 | #include <mach/usb.h> | 25 | #include <mach/usb.h> |
25 | #include <mach/keypad.h> | ||
26 | 26 | ||
27 | #include "mmc-twl4030.h" | 27 | #include "mmc-twl4030.h" |
28 | #include "sdram-micron-mt46h32m32lf-6.h" | ||
28 | 29 | ||
29 | /* Zoom2 has Qwerty keyboard*/ | 30 | /* Zoom2 has Qwerty keyboard*/ |
30 | static int board_keymap[] = { | 31 | static int board_keymap[] = { |
@@ -213,7 +214,8 @@ static void __init omap_zoom2_init_irq(void) | |||
213 | { | 214 | { |
214 | omap_board_config = zoom2_config; | 215 | omap_board_config = zoom2_config; |
215 | omap_board_config_size = ARRAY_SIZE(zoom2_config); | 216 | omap_board_config_size = ARRAY_SIZE(zoom2_config); |
216 | omap2_init_common_hw(NULL, NULL); | 217 | omap2_init_common_hw(mt46h32m32lf6_sdrc_params, |
218 | mt46h32m32lf6_sdrc_params); | ||
217 | omap_init_irq(); | 219 | omap_init_irq(); |
218 | omap_gpio_init(); | 220 | omap_gpio_init(); |
219 | } | 221 | } |
diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c index bc5d3ac66611..e2dbedd581e8 100644 --- a/arch/arm/mach-omap2/clock24xx.c +++ b/arch/arm/mach-omap2/clock24xx.c | |||
@@ -769,6 +769,7 @@ int __init omap2_clk_init(void) | |||
769 | if (c->cpu & cpu_mask) { | 769 | if (c->cpu & cpu_mask) { |
770 | clkdev_add(&c->lk); | 770 | clkdev_add(&c->lk); |
771 | clk_register(c->lk.clk); | 771 | clk_register(c->lk.clk); |
772 | omap2_init_clk_clkdm(c->lk.clk); | ||
772 | } | 773 | } |
773 | 774 | ||
774 | /* Check the MPU rate set by bootloader */ | 775 | /* Check the MPU rate set by bootloader */ |
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index fafcd32e6907..489556eecbd1 100644 --- a/arch/arm/mach-omap2/clock34xx.c +++ b/arch/arm/mach-omap2/clock34xx.c | |||
@@ -338,6 +338,13 @@ static struct omap_clk omap34xx_clks[] = { | |||
338 | */ | 338 | */ |
339 | #define SDRC_MPURATE_LOOPS 96 | 339 | #define SDRC_MPURATE_LOOPS 96 |
340 | 340 | ||
341 | /* | ||
342 | * DPLL5_FREQ_FOR_USBHOST: USBHOST and USBTLL are the only clocks | ||
343 | * that are sourced by DPLL5, and both of these require this clock | ||
344 | * to be at 120 MHz for proper operation. | ||
345 | */ | ||
346 | #define DPLL5_FREQ_FOR_USBHOST 120000000 | ||
347 | |||
341 | /** | 348 | /** |
342 | * omap3430es2_clk_ssi_find_idlest - return CM_IDLEST info for SSI | 349 | * omap3430es2_clk_ssi_find_idlest - return CM_IDLEST info for SSI |
343 | * @clk: struct clk * being enabled | 350 | * @clk: struct clk * being enabled |
@@ -1056,6 +1063,28 @@ void omap2_clk_prepare_for_reboot(void) | |||
1056 | #endif | 1063 | #endif |
1057 | } | 1064 | } |
1058 | 1065 | ||
1066 | static void omap3_clk_lock_dpll5(void) | ||
1067 | { | ||
1068 | struct clk *dpll5_clk; | ||
1069 | struct clk *dpll5_m2_clk; | ||
1070 | |||
1071 | dpll5_clk = clk_get(NULL, "dpll5_ck"); | ||
1072 | clk_set_rate(dpll5_clk, DPLL5_FREQ_FOR_USBHOST); | ||
1073 | clk_enable(dpll5_clk); | ||
1074 | |||
1075 | /* Enable autoidle to allow it to enter low power bypass */ | ||
1076 | omap3_dpll_allow_idle(dpll5_clk); | ||
1077 | |||
1078 | /* Program dpll5_m2_clk divider for no division */ | ||
1079 | dpll5_m2_clk = clk_get(NULL, "dpll5_m2_ck"); | ||
1080 | clk_enable(dpll5_m2_clk); | ||
1081 | clk_set_rate(dpll5_m2_clk, DPLL5_FREQ_FOR_USBHOST); | ||
1082 | |||
1083 | clk_disable(dpll5_m2_clk); | ||
1084 | clk_disable(dpll5_clk); | ||
1085 | return; | ||
1086 | } | ||
1087 | |||
1059 | /* REVISIT: Move this init stuff out into clock.c */ | 1088 | /* REVISIT: Move this init stuff out into clock.c */ |
1060 | 1089 | ||
1061 | /* | 1090 | /* |
@@ -1148,6 +1177,12 @@ int __init omap2_clk_init(void) | |||
1148 | */ | 1177 | */ |
1149 | clk_enable_init_clocks(); | 1178 | clk_enable_init_clocks(); |
1150 | 1179 | ||
1180 | /* | ||
1181 | * Lock DPLL5 and put it in autoidle. | ||
1182 | */ | ||
1183 | if (omap_rev() >= OMAP3430_REV_ES2_0) | ||
1184 | omap3_clk_lock_dpll5(); | ||
1185 | |||
1151 | /* Avoid sleeping during omap2_clk_prepare_for_reboot() */ | 1186 | /* Avoid sleeping during omap2_clk_prepare_for_reboot() */ |
1152 | /* REVISIT: not yet ready for 343x */ | 1187 | /* REVISIT: not yet ready for 343x */ |
1153 | #if 0 | 1188 | #if 0 |
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index 4ef7b4f5474e..58aff8485df9 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c | |||
@@ -137,6 +137,36 @@ static void _clkdm_del_autodeps(struct clockdomain *clkdm) | |||
137 | } | 137 | } |
138 | } | 138 | } |
139 | 139 | ||
140 | /* | ||
141 | * _omap2_clkdm_set_hwsup - set the hwsup idle transition bit | ||
142 | * @clkdm: struct clockdomain * | ||
143 | * @enable: int 0 to disable, 1 to enable | ||
144 | * | ||
145 | * Internal helper for actually switching the bit that controls hwsup | ||
146 | * idle transitions for clkdm. | ||
147 | */ | ||
148 | static void _omap2_clkdm_set_hwsup(struct clockdomain *clkdm, int enable) | ||
149 | { | ||
150 | u32 v; | ||
151 | |||
152 | if (cpu_is_omap24xx()) { | ||
153 | if (enable) | ||
154 | v = OMAP24XX_CLKSTCTRL_ENABLE_AUTO; | ||
155 | else | ||
156 | v = OMAP24XX_CLKSTCTRL_DISABLE_AUTO; | ||
157 | } else if (cpu_is_omap34xx()) { | ||
158 | if (enable) | ||
159 | v = OMAP34XX_CLKSTCTRL_ENABLE_AUTO; | ||
160 | else | ||
161 | v = OMAP34XX_CLKSTCTRL_DISABLE_AUTO; | ||
162 | } else { | ||
163 | BUG(); | ||
164 | } | ||
165 | |||
166 | cm_rmw_mod_reg_bits(clkdm->clktrctrl_mask, | ||
167 | v << __ffs(clkdm->clktrctrl_mask), | ||
168 | clkdm->pwrdm.ptr->prcm_offs, CM_CLKSTCTRL); | ||
169 | } | ||
140 | 170 | ||
141 | static struct clockdomain *_clkdm_lookup(const char *name) | 171 | static struct clockdomain *_clkdm_lookup(const char *name) |
142 | { | 172 | { |
@@ -456,8 +486,6 @@ int omap2_clkdm_wakeup(struct clockdomain *clkdm) | |||
456 | */ | 486 | */ |
457 | void omap2_clkdm_allow_idle(struct clockdomain *clkdm) | 487 | void omap2_clkdm_allow_idle(struct clockdomain *clkdm) |
458 | { | 488 | { |
459 | u32 v; | ||
460 | |||
461 | if (!clkdm) | 489 | if (!clkdm) |
462 | return; | 490 | return; |
463 | 491 | ||
@@ -473,18 +501,7 @@ void omap2_clkdm_allow_idle(struct clockdomain *clkdm) | |||
473 | if (atomic_read(&clkdm->usecount) > 0) | 501 | if (atomic_read(&clkdm->usecount) > 0) |
474 | _clkdm_add_autodeps(clkdm); | 502 | _clkdm_add_autodeps(clkdm); |
475 | 503 | ||
476 | if (cpu_is_omap24xx()) | 504 | _omap2_clkdm_set_hwsup(clkdm, 1); |
477 | v = OMAP24XX_CLKSTCTRL_ENABLE_AUTO; | ||
478 | else if (cpu_is_omap34xx()) | ||
479 | v = OMAP34XX_CLKSTCTRL_ENABLE_AUTO; | ||
480 | else | ||
481 | BUG(); | ||
482 | |||
483 | |||
484 | cm_rmw_mod_reg_bits(clkdm->clktrctrl_mask, | ||
485 | v << __ffs(clkdm->clktrctrl_mask), | ||
486 | clkdm->pwrdm.ptr->prcm_offs, | ||
487 | CM_CLKSTCTRL); | ||
488 | 505 | ||
489 | pwrdm_clkdm_state_switch(clkdm); | 506 | pwrdm_clkdm_state_switch(clkdm); |
490 | } | 507 | } |
@@ -500,8 +517,6 @@ void omap2_clkdm_allow_idle(struct clockdomain *clkdm) | |||
500 | */ | 517 | */ |
501 | void omap2_clkdm_deny_idle(struct clockdomain *clkdm) | 518 | void omap2_clkdm_deny_idle(struct clockdomain *clkdm) |
502 | { | 519 | { |
503 | u32 v; | ||
504 | |||
505 | if (!clkdm) | 520 | if (!clkdm) |
506 | return; | 521 | return; |
507 | 522 | ||
@@ -514,16 +529,7 @@ void omap2_clkdm_deny_idle(struct clockdomain *clkdm) | |||
514 | pr_debug("clockdomain: disabling automatic idle transitions for %s\n", | 529 | pr_debug("clockdomain: disabling automatic idle transitions for %s\n", |
515 | clkdm->name); | 530 | clkdm->name); |
516 | 531 | ||
517 | if (cpu_is_omap24xx()) | 532 | _omap2_clkdm_set_hwsup(clkdm, 0); |
518 | v = OMAP24XX_CLKSTCTRL_DISABLE_AUTO; | ||
519 | else if (cpu_is_omap34xx()) | ||
520 | v = OMAP34XX_CLKSTCTRL_DISABLE_AUTO; | ||
521 | else | ||
522 | BUG(); | ||
523 | |||
524 | cm_rmw_mod_reg_bits(clkdm->clktrctrl_mask, | ||
525 | v << __ffs(clkdm->clktrctrl_mask), | ||
526 | clkdm->pwrdm.ptr->prcm_offs, CM_CLKSTCTRL); | ||
527 | 533 | ||
528 | if (atomic_read(&clkdm->usecount) > 0) | 534 | if (atomic_read(&clkdm->usecount) > 0) |
529 | _clkdm_del_autodeps(clkdm); | 535 | _clkdm_del_autodeps(clkdm); |
@@ -569,10 +575,14 @@ int omap2_clkdm_clk_enable(struct clockdomain *clkdm, struct clk *clk) | |||
569 | v = omap2_clkdm_clktrctrl_read(clkdm); | 575 | v = omap2_clkdm_clktrctrl_read(clkdm); |
570 | 576 | ||
571 | if ((cpu_is_omap34xx() && v == OMAP34XX_CLKSTCTRL_ENABLE_AUTO) || | 577 | if ((cpu_is_omap34xx() && v == OMAP34XX_CLKSTCTRL_ENABLE_AUTO) || |
572 | (cpu_is_omap24xx() && v == OMAP24XX_CLKSTCTRL_ENABLE_AUTO)) | 578 | (cpu_is_omap24xx() && v == OMAP24XX_CLKSTCTRL_ENABLE_AUTO)) { |
579 | /* Disable HW transitions when we are changing deps */ | ||
580 | _omap2_clkdm_set_hwsup(clkdm, 0); | ||
573 | _clkdm_add_autodeps(clkdm); | 581 | _clkdm_add_autodeps(clkdm); |
574 | else | 582 | _omap2_clkdm_set_hwsup(clkdm, 1); |
583 | } else { | ||
575 | omap2_clkdm_wakeup(clkdm); | 584 | omap2_clkdm_wakeup(clkdm); |
585 | } | ||
576 | 586 | ||
577 | pwrdm_wait_transition(clkdm->pwrdm.ptr); | 587 | pwrdm_wait_transition(clkdm->pwrdm.ptr); |
578 | pwrdm_clkdm_state_switch(clkdm); | 588 | pwrdm_clkdm_state_switch(clkdm); |
@@ -623,10 +633,14 @@ int omap2_clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk) | |||
623 | v = omap2_clkdm_clktrctrl_read(clkdm); | 633 | v = omap2_clkdm_clktrctrl_read(clkdm); |
624 | 634 | ||
625 | if ((cpu_is_omap34xx() && v == OMAP34XX_CLKSTCTRL_ENABLE_AUTO) || | 635 | if ((cpu_is_omap34xx() && v == OMAP34XX_CLKSTCTRL_ENABLE_AUTO) || |
626 | (cpu_is_omap24xx() && v == OMAP24XX_CLKSTCTRL_ENABLE_AUTO)) | 636 | (cpu_is_omap24xx() && v == OMAP24XX_CLKSTCTRL_ENABLE_AUTO)) { |
637 | /* Disable HW transitions when we are changing deps */ | ||
638 | _omap2_clkdm_set_hwsup(clkdm, 0); | ||
627 | _clkdm_del_autodeps(clkdm); | 639 | _clkdm_del_autodeps(clkdm); |
628 | else | 640 | _omap2_clkdm_set_hwsup(clkdm, 1); |
641 | } else { | ||
629 | omap2_clkdm_sleep(clkdm); | 642 | omap2_clkdm_sleep(clkdm); |
643 | } | ||
630 | 644 | ||
631 | pwrdm_clkdm_state_switch(clkdm); | 645 | pwrdm_clkdm_state_switch(clkdm); |
632 | 646 | ||
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index e3a3bad1d84f..56be87d13edb 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -302,7 +302,9 @@ void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, | |||
302 | pwrdm_init(powerdomains_omap); | 302 | pwrdm_init(powerdomains_omap); |
303 | clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps); | 303 | clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps); |
304 | omap2_clk_init(); | 304 | omap2_clk_init(); |
305 | #endif | ||
305 | omap_serial_early_init(); | 306 | omap_serial_early_init(); |
307 | #ifndef CONFIG_ARCH_OMAP4 | ||
306 | omap_hwmod_late_init(); | 308 | omap_hwmod_late_init(); |
307 | omap_pm_if_init(); | 309 | omap_pm_if_init(); |
308 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); | 310 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); |
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 1b4c1600f8d8..2fc4d6abbd0a 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b/arch/arm/mach-omap2/pm-debug.c | |||
@@ -541,7 +541,7 @@ static int __init pm_dbg_init(void) | |||
541 | printk(KERN_ERR "%s: only OMAP3 supported\n", __func__); | 541 | printk(KERN_ERR "%s: only OMAP3 supported\n", __func__); |
542 | return -ENODEV; | 542 | return -ENODEV; |
543 | } | 543 | } |
544 | 544 | ||
545 | d = debugfs_create_dir("pm_debug", NULL); | 545 | d = debugfs_create_dir("pm_debug", NULL); |
546 | if (IS_ERR(d)) | 546 | if (IS_ERR(d)) |
547 | return PTR_ERR(d); | 547 | return PTR_ERR(d); |
@@ -551,7 +551,7 @@ static int __init pm_dbg_init(void) | |||
551 | (void) debugfs_create_file("time", S_IRUGO, | 551 | (void) debugfs_create_file("time", S_IRUGO, |
552 | d, (void *)DEBUG_FILE_TIMERS, &debug_fops); | 552 | d, (void *)DEBUG_FILE_TIMERS, &debug_fops); |
553 | 553 | ||
554 | pwrdm_for_each(pwrdms_setup, (void *)d); | 554 | pwrdm_for_each_nolock(pwrdms_setup, (void *)d); |
555 | 555 | ||
556 | pm_dbg_dir = debugfs_create_dir("registers", d); | 556 | pm_dbg_dir = debugfs_create_dir("registers", d); |
557 | if (IS_ERR(pm_dbg_dir)) | 557 | if (IS_ERR(pm_dbg_dir)) |
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 0ff5a6c53aa0..89463190923a 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -51,97 +51,112 @@ static void (*_omap_sram_idle)(u32 *addr, int save_state); | |||
51 | 51 | ||
52 | static struct powerdomain *mpu_pwrdm; | 52 | static struct powerdomain *mpu_pwrdm; |
53 | 53 | ||
54 | /* PRCM Interrupt Handler for wakeups */ | 54 | /* |
55 | static irqreturn_t prcm_interrupt_handler (int irq, void *dev_id) | 55 | * PRCM Interrupt Handler Helper Function |
56 | * | ||
57 | * The purpose of this function is to clear any wake-up events latched | ||
58 | * in the PRCM PM_WKST_x registers. It is possible that a wake-up event | ||
59 | * may occur whilst attempting to clear a PM_WKST_x register and thus | ||
60 | * set another bit in this register. A while loop is used to ensure | ||
61 | * that any peripheral wake-up events occurring while attempting to | ||
62 | * clear the PM_WKST_x are detected and cleared. | ||
63 | */ | ||
64 | static int prcm_clear_mod_irqs(s16 module, u8 regs) | ||
56 | { | 65 | { |
57 | u32 wkst, irqstatus_mpu; | 66 | u32 wkst, fclk, iclk, clken; |
58 | u32 fclk, iclk; | 67 | u16 wkst_off = (regs == 3) ? OMAP3430ES2_PM_WKST3 : PM_WKST1; |
59 | 68 | u16 fclk_off = (regs == 3) ? OMAP3430ES2_CM_FCLKEN3 : CM_FCLKEN1; | |
60 | /* WKUP */ | 69 | u16 iclk_off = (regs == 3) ? CM_ICLKEN3 : CM_ICLKEN1; |
61 | wkst = prm_read_mod_reg(WKUP_MOD, PM_WKST); | 70 | u16 grpsel_off = (regs == 3) ? |
71 | OMAP3430ES2_PM_MPUGRPSEL3 : OMAP3430_PM_MPUGRPSEL; | ||
72 | int c = 0; | ||
73 | |||
74 | wkst = prm_read_mod_reg(module, wkst_off); | ||
75 | wkst &= prm_read_mod_reg(module, grpsel_off); | ||
62 | if (wkst) { | 76 | if (wkst) { |
63 | iclk = cm_read_mod_reg(WKUP_MOD, CM_ICLKEN); | 77 | iclk = cm_read_mod_reg(module, iclk_off); |
64 | fclk = cm_read_mod_reg(WKUP_MOD, CM_FCLKEN); | 78 | fclk = cm_read_mod_reg(module, fclk_off); |
65 | cm_set_mod_reg_bits(wkst, WKUP_MOD, CM_ICLKEN); | 79 | while (wkst) { |
66 | cm_set_mod_reg_bits(wkst, WKUP_MOD, CM_FCLKEN); | 80 | clken = wkst; |
67 | prm_write_mod_reg(wkst, WKUP_MOD, PM_WKST); | 81 | cm_set_mod_reg_bits(clken, module, iclk_off); |
68 | while (prm_read_mod_reg(WKUP_MOD, PM_WKST)) | 82 | /* |
69 | cpu_relax(); | 83 | * For USBHOST, we don't know whether HOST1 or |
70 | cm_write_mod_reg(iclk, WKUP_MOD, CM_ICLKEN); | 84 | * HOST2 woke us up, so enable both f-clocks |
71 | cm_write_mod_reg(fclk, WKUP_MOD, CM_FCLKEN); | 85 | */ |
86 | if (module == OMAP3430ES2_USBHOST_MOD) | ||
87 | clken |= 1 << OMAP3430ES2_EN_USBHOST2_SHIFT; | ||
88 | cm_set_mod_reg_bits(clken, module, fclk_off); | ||
89 | prm_write_mod_reg(wkst, module, wkst_off); | ||
90 | wkst = prm_read_mod_reg(module, wkst_off); | ||
91 | c++; | ||
92 | } | ||
93 | cm_write_mod_reg(iclk, module, iclk_off); | ||
94 | cm_write_mod_reg(fclk, module, fclk_off); | ||
72 | } | 95 | } |
73 | 96 | ||
74 | /* CORE */ | 97 | return c; |
75 | wkst = prm_read_mod_reg(CORE_MOD, PM_WKST1); | 98 | } |
76 | if (wkst) { | ||
77 | iclk = cm_read_mod_reg(CORE_MOD, CM_ICLKEN1); | ||
78 | fclk = cm_read_mod_reg(CORE_MOD, CM_FCLKEN1); | ||
79 | cm_set_mod_reg_bits(wkst, CORE_MOD, CM_ICLKEN1); | ||
80 | cm_set_mod_reg_bits(wkst, CORE_MOD, CM_FCLKEN1); | ||
81 | prm_write_mod_reg(wkst, CORE_MOD, PM_WKST1); | ||
82 | while (prm_read_mod_reg(CORE_MOD, PM_WKST1)) | ||
83 | cpu_relax(); | ||
84 | cm_write_mod_reg(iclk, CORE_MOD, CM_ICLKEN1); | ||
85 | cm_write_mod_reg(fclk, CORE_MOD, CM_FCLKEN1); | ||
86 | } | ||
87 | wkst = prm_read_mod_reg(CORE_MOD, OMAP3430ES2_PM_WKST3); | ||
88 | if (wkst) { | ||
89 | iclk = cm_read_mod_reg(CORE_MOD, CM_ICLKEN3); | ||
90 | fclk = cm_read_mod_reg(CORE_MOD, OMAP3430ES2_CM_FCLKEN3); | ||
91 | cm_set_mod_reg_bits(wkst, CORE_MOD, CM_ICLKEN3); | ||
92 | cm_set_mod_reg_bits(wkst, CORE_MOD, OMAP3430ES2_CM_FCLKEN3); | ||
93 | prm_write_mod_reg(wkst, CORE_MOD, OMAP3430ES2_PM_WKST3); | ||
94 | while (prm_read_mod_reg(CORE_MOD, OMAP3430ES2_PM_WKST3)) | ||
95 | cpu_relax(); | ||
96 | cm_write_mod_reg(iclk, CORE_MOD, CM_ICLKEN3); | ||
97 | cm_write_mod_reg(fclk, CORE_MOD, OMAP3430ES2_CM_FCLKEN3); | ||
98 | } | ||
99 | 99 | ||
100 | /* PER */ | 100 | static int _prcm_int_handle_wakeup(void) |
101 | wkst = prm_read_mod_reg(OMAP3430_PER_MOD, PM_WKST); | 101 | { |
102 | if (wkst) { | 102 | int c; |
103 | iclk = cm_read_mod_reg(OMAP3430_PER_MOD, CM_ICLKEN); | ||
104 | fclk = cm_read_mod_reg(OMAP3430_PER_MOD, CM_FCLKEN); | ||
105 | cm_set_mod_reg_bits(wkst, OMAP3430_PER_MOD, CM_ICLKEN); | ||
106 | cm_set_mod_reg_bits(wkst, OMAP3430_PER_MOD, CM_FCLKEN); | ||
107 | prm_write_mod_reg(wkst, OMAP3430_PER_MOD, PM_WKST); | ||
108 | while (prm_read_mod_reg(OMAP3430_PER_MOD, PM_WKST)) | ||
109 | cpu_relax(); | ||
110 | cm_write_mod_reg(iclk, OMAP3430_PER_MOD, CM_ICLKEN); | ||
111 | cm_write_mod_reg(fclk, OMAP3430_PER_MOD, CM_FCLKEN); | ||
112 | } | ||
113 | 103 | ||
104 | c = prcm_clear_mod_irqs(WKUP_MOD, 1); | ||
105 | c += prcm_clear_mod_irqs(CORE_MOD, 1); | ||
106 | c += prcm_clear_mod_irqs(OMAP3430_PER_MOD, 1); | ||
114 | if (omap_rev() > OMAP3430_REV_ES1_0) { | 107 | if (omap_rev() > OMAP3430_REV_ES1_0) { |
115 | /* USBHOST */ | 108 | c += prcm_clear_mod_irqs(CORE_MOD, 3); |
116 | wkst = prm_read_mod_reg(OMAP3430ES2_USBHOST_MOD, PM_WKST); | 109 | c += prcm_clear_mod_irqs(OMAP3430ES2_USBHOST_MOD, 1); |
117 | if (wkst) { | ||
118 | iclk = cm_read_mod_reg(OMAP3430ES2_USBHOST_MOD, | ||
119 | CM_ICLKEN); | ||
120 | fclk = cm_read_mod_reg(OMAP3430ES2_USBHOST_MOD, | ||
121 | CM_FCLKEN); | ||
122 | cm_set_mod_reg_bits(wkst, OMAP3430ES2_USBHOST_MOD, | ||
123 | CM_ICLKEN); | ||
124 | cm_set_mod_reg_bits(wkst, OMAP3430ES2_USBHOST_MOD, | ||
125 | CM_FCLKEN); | ||
126 | prm_write_mod_reg(wkst, OMAP3430ES2_USBHOST_MOD, | ||
127 | PM_WKST); | ||
128 | while (prm_read_mod_reg(OMAP3430ES2_USBHOST_MOD, | ||
129 | PM_WKST)) | ||
130 | cpu_relax(); | ||
131 | cm_write_mod_reg(iclk, OMAP3430ES2_USBHOST_MOD, | ||
132 | CM_ICLKEN); | ||
133 | cm_write_mod_reg(fclk, OMAP3430ES2_USBHOST_MOD, | ||
134 | CM_FCLKEN); | ||
135 | } | ||
136 | } | 110 | } |
137 | 111 | ||
138 | irqstatus_mpu = prm_read_mod_reg(OCP_MOD, | 112 | return c; |
139 | OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | 113 | } |
140 | prm_write_mod_reg(irqstatus_mpu, OCP_MOD, | 114 | |
141 | OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | 115 | /* |
116 | * PRCM Interrupt Handler | ||
117 | * | ||
118 | * The PRM_IRQSTATUS_MPU register indicates if there are any pending | ||
119 | * interrupts from the PRCM for the MPU. These bits must be cleared in | ||
120 | * order to clear the PRCM interrupt. The PRCM interrupt handler is | ||
121 | * implemented to simply clear the PRM_IRQSTATUS_MPU in order to clear | ||
122 | * the PRCM interrupt. Please note that bit 0 of the PRM_IRQSTATUS_MPU | ||
123 | * register indicates that a wake-up event is pending for the MPU and | ||
124 | * this bit can only be cleared if the all the wake-up events latched | ||
125 | * in the various PM_WKST_x registers have been cleared. The interrupt | ||
126 | * handler is implemented using a do-while loop so that if a wake-up | ||
127 | * event occurred during the processing of the prcm interrupt handler | ||
128 | * (setting a bit in the corresponding PM_WKST_x register and thus | ||
129 | * preventing us from clearing bit 0 of the PRM_IRQSTATUS_MPU register) | ||
130 | * this would be handled. | ||
131 | */ | ||
132 | static irqreturn_t prcm_interrupt_handler (int irq, void *dev_id) | ||
133 | { | ||
134 | u32 irqstatus_mpu; | ||
135 | int c = 0; | ||
136 | |||
137 | do { | ||
138 | irqstatus_mpu = prm_read_mod_reg(OCP_MOD, | ||
139 | OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | ||
140 | |||
141 | if (irqstatus_mpu & (OMAP3430_WKUP_ST | OMAP3430_IO_ST)) { | ||
142 | c = _prcm_int_handle_wakeup(); | ||
143 | |||
144 | /* | ||
145 | * Is the MPU PRCM interrupt handler racing with the | ||
146 | * IVA2 PRCM interrupt handler ? | ||
147 | */ | ||
148 | WARN(c == 0, "prcm: WARNING: PRCM indicated MPU wakeup " | ||
149 | "but no wakeup sources are marked\n"); | ||
150 | } else { | ||
151 | /* XXX we need to expand our PRCM interrupt handler */ | ||
152 | WARN(1, "prcm: WARNING: PRCM interrupt received, but " | ||
153 | "no code to handle it (%08x)\n", irqstatus_mpu); | ||
154 | } | ||
155 | |||
156 | prm_write_mod_reg(irqstatus_mpu, OCP_MOD, | ||
157 | OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | ||
142 | 158 | ||
143 | while (prm_read_mod_reg(OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET)) | 159 | } while (prm_read_mod_reg(OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET)); |
144 | cpu_relax(); | ||
145 | 160 | ||
146 | return IRQ_HANDLED; | 161 | return IRQ_HANDLED; |
147 | } | 162 | } |
@@ -624,6 +639,17 @@ static void __init prcm_setup_regs(void) | |||
624 | prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN, | 639 | prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN, |
625 | OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET); | 640 | OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET); |
626 | 641 | ||
642 | /* Enable wakeups in PER */ | ||
643 | prm_write_mod_reg(OMAP3430_EN_GPIO2 | OMAP3430_EN_GPIO3 | | ||
644 | OMAP3430_EN_GPIO4 | OMAP3430_EN_GPIO5 | | ||
645 | OMAP3430_EN_GPIO6 | OMAP3430_EN_UART3, | ||
646 | OMAP3430_PER_MOD, PM_WKEN); | ||
647 | /* and allow them to wake up MPU */ | ||
648 | prm_write_mod_reg(OMAP3430_GRPSEL_GPIO2 | OMAP3430_EN_GPIO3 | | ||
649 | OMAP3430_GRPSEL_GPIO4 | OMAP3430_EN_GPIO5 | | ||
650 | OMAP3430_GRPSEL_GPIO6 | OMAP3430_EN_UART3, | ||
651 | OMAP3430_PER_MOD, OMAP3430_PM_MPUGRPSEL); | ||
652 | |||
627 | /* Don't attach IVA interrupts */ | 653 | /* Don't attach IVA interrupts */ |
628 | prm_write_mod_reg(0, WKUP_MOD, OMAP3430_PM_IVAGRPSEL); | 654 | prm_write_mod_reg(0, WKUP_MOD, OMAP3430_PM_IVAGRPSEL); |
629 | prm_write_mod_reg(0, CORE_MOD, OMAP3430_PM_IVAGRPSEL1); | 655 | prm_write_mod_reg(0, CORE_MOD, OMAP3430_PM_IVAGRPSEL1); |
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c index 2594cbff3947..f00289abd30f 100644 --- a/arch/arm/mach-omap2/powerdomain.c +++ b/arch/arm/mach-omap2/powerdomain.c | |||
@@ -273,35 +273,50 @@ struct powerdomain *pwrdm_lookup(const char *name) | |||
273 | } | 273 | } |
274 | 274 | ||
275 | /** | 275 | /** |
276 | * pwrdm_for_each - call function on each registered clockdomain | 276 | * pwrdm_for_each_nolock - call function on each registered clockdomain |
277 | * @fn: callback function * | 277 | * @fn: callback function * |
278 | * | 278 | * |
279 | * Call the supplied function for each registered powerdomain. The | 279 | * Call the supplied function for each registered powerdomain. The |
280 | * callback function can return anything but 0 to bail out early from | 280 | * callback function can return anything but 0 to bail out early from |
281 | * the iterator. The callback function is called with the pwrdm_rwlock | 281 | * the iterator. Returns the last return value of the callback function, which |
282 | * held for reading, so no powerdomain structure manipulation | 282 | * should be 0 for success or anything else to indicate failure; or -EINVAL if |
283 | * functions should be called from the callback, although hardware | 283 | * the function pointer is null. |
284 | * powerdomain control functions are fine. Returns the last return | ||
285 | * value of the callback function, which should be 0 for success or | ||
286 | * anything else to indicate failure; or -EINVAL if the function | ||
287 | * pointer is null. | ||
288 | */ | 284 | */ |
289 | int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), | 285 | int pwrdm_for_each_nolock(int (*fn)(struct powerdomain *pwrdm, void *user), |
290 | void *user) | 286 | void *user) |
291 | { | 287 | { |
292 | struct powerdomain *temp_pwrdm; | 288 | struct powerdomain *temp_pwrdm; |
293 | unsigned long flags; | ||
294 | int ret = 0; | 289 | int ret = 0; |
295 | 290 | ||
296 | if (!fn) | 291 | if (!fn) |
297 | return -EINVAL; | 292 | return -EINVAL; |
298 | 293 | ||
299 | read_lock_irqsave(&pwrdm_rwlock, flags); | ||
300 | list_for_each_entry(temp_pwrdm, &pwrdm_list, node) { | 294 | list_for_each_entry(temp_pwrdm, &pwrdm_list, node) { |
301 | ret = (*fn)(temp_pwrdm, user); | 295 | ret = (*fn)(temp_pwrdm, user); |
302 | if (ret) | 296 | if (ret) |
303 | break; | 297 | break; |
304 | } | 298 | } |
299 | |||
300 | return ret; | ||
301 | } | ||
302 | |||
303 | /** | ||
304 | * pwrdm_for_each - call function on each registered clockdomain | ||
305 | * @fn: callback function * | ||
306 | * | ||
307 | * This function is the same as 'pwrdm_for_each_nolock()', but keeps the | ||
308 | * &pwrdm_rwlock locked for reading, so no powerdomain structure manipulation | ||
309 | * functions should be called from the callback, although hardware powerdomain | ||
310 | * control functions are fine. | ||
311 | */ | ||
312 | int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), | ||
313 | void *user) | ||
314 | { | ||
315 | unsigned long flags; | ||
316 | int ret; | ||
317 | |||
318 | read_lock_irqsave(&pwrdm_rwlock, flags); | ||
319 | ret = pwrdm_for_each_nolock(fn, user); | ||
305 | read_unlock_irqrestore(&pwrdm_rwlock, flags); | 320 | read_unlock_irqrestore(&pwrdm_rwlock, flags); |
306 | 321 | ||
307 | return ret; | 322 | return ret; |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index ae2186892c85..54dfeb5d5667 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -109,16 +109,6 @@ static struct plat_serial8250_port serial_platform_data2[] = { | |||
109 | .regshift = 2, | 109 | .regshift = 2, |
110 | .uartclk = OMAP24XX_BASE_BAUD * 16, | 110 | .uartclk = OMAP24XX_BASE_BAUD * 16, |
111 | }, { | 111 | }, { |
112 | #ifdef CONFIG_ARCH_OMAP4 | ||
113 | .membase = OMAP2_IO_ADDRESS(OMAP_UART4_BASE), | ||
114 | .mapbase = OMAP_UART4_BASE, | ||
115 | .irq = 70, | ||
116 | .flags = UPF_BOOT_AUTOCONF, | ||
117 | .iotype = UPIO_MEM, | ||
118 | .regshift = 2, | ||
119 | .uartclk = OMAP24XX_BASE_BAUD * 16, | ||
120 | }, { | ||
121 | #endif | ||
122 | .flags = 0 | 112 | .flags = 0 |
123 | } | 113 | } |
124 | }; | 114 | }; |
diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index aac2cda60e09..102916f1e465 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c | |||
@@ -43,10 +43,10 @@ | |||
43 | 43 | ||
44 | #define CM_X300_ETH_PHYS 0x08000010 | 44 | #define CM_X300_ETH_PHYS 0x08000010 |
45 | 45 | ||
46 | #define GPIO82_MMC2_IRQ (82) | 46 | #define GPIO82_MMC_IRQ (82) |
47 | #define GPIO85_MMC2_WP (85) | 47 | #define GPIO85_MMC_WP (85) |
48 | 48 | ||
49 | #define CM_X300_MMC2_IRQ IRQ_GPIO(GPIO82_MMC2_IRQ) | 49 | #define CM_X300_MMC_IRQ IRQ_GPIO(GPIO82_MMC_IRQ) |
50 | 50 | ||
51 | #define GPIO95_RTC_CS (95) | 51 | #define GPIO95_RTC_CS (95) |
52 | #define GPIO96_RTC_WR (96) | 52 | #define GPIO96_RTC_WR (96) |
@@ -292,37 +292,37 @@ static inline void cm_x300_init_nand(void) {} | |||
292 | #endif | 292 | #endif |
293 | 293 | ||
294 | #if defined(CONFIG_MMC) || defined(CONFIG_MMC_MODULE) | 294 | #if defined(CONFIG_MMC) || defined(CONFIG_MMC_MODULE) |
295 | /* The first MMC slot of CM-X300 is hardwired to Libertas card and has | 295 | static struct pxamci_platform_data cm_x300_mci_platform_data = { |
296 | .detect_delay = 20, | ||
297 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | ||
298 | .gpio_card_detect = GPIO82_MMC_IRQ, | ||
299 | .gpio_card_ro = GPIO85_MMC_WP, | ||
300 | .gpio_power = -1, | ||
301 | }; | ||
302 | |||
303 | /* The second MMC slot of CM-X300 is hardwired to Libertas card and has | ||
296 | no detection/ro pins */ | 304 | no detection/ro pins */ |
297 | static int cm_x300_mci_init(struct device *dev, | 305 | static int cm_x300_mci2_init(struct device *dev, |
298 | irq_handler_t cm_x300_detect_int, | 306 | irq_handler_t cm_x300_detect_int, |
299 | void *data) | 307 | void *data) |
300 | { | 308 | { |
301 | return 0; | 309 | return 0; |
302 | } | 310 | } |
303 | 311 | ||
304 | static void cm_x300_mci_exit(struct device *dev, void *data) | 312 | static void cm_x300_mci2_exit(struct device *dev, void *data) |
305 | { | 313 | { |
306 | } | 314 | } |
307 | 315 | ||
308 | static struct pxamci_platform_data cm_x300_mci_platform_data = { | 316 | static struct pxamci_platform_data cm_x300_mci2_platform_data = { |
309 | .detect_delay = 20, | 317 | .detect_delay = 20, |
310 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | 318 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, |
311 | .init = cm_x300_mci_init, | 319 | .init = cm_x300_mci2_init, |
312 | .exit = cm_x300_mci_exit, | 320 | .exit = cm_x300_mci2_exit, |
313 | .gpio_card_detect = -1, | 321 | .gpio_card_detect = -1, |
314 | .gpio_card_ro = -1, | 322 | .gpio_card_ro = -1, |
315 | .gpio_power = -1, | 323 | .gpio_power = -1, |
316 | }; | 324 | }; |
317 | 325 | ||
318 | static struct pxamci_platform_data cm_x300_mci2_platform_data = { | ||
319 | .detect_delay = 20, | ||
320 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | ||
321 | .gpio_card_detect = GPIO82_MMC2_IRQ, | ||
322 | .gpio_card_ro = GPIO85_MMC2_WP, | ||
323 | .gpio_power = -1, | ||
324 | }; | ||
325 | |||
326 | static void __init cm_x300_init_mmc(void) | 326 | static void __init cm_x300_init_mmc(void) |
327 | { | 327 | { |
328 | pxa_set_mci_info(&cm_x300_mci_platform_data); | 328 | pxa_set_mci_info(&cm_x300_mci_platform_data); |
diff --git a/arch/arm/mach-pxa/cpufreq-pxa2xx.c b/arch/arm/mach-pxa/cpufreq-pxa2xx.c index 3a8ee2272add..983cc8c20081 100644 --- a/arch/arm/mach-pxa/cpufreq-pxa2xx.c +++ b/arch/arm/mach-pxa/cpufreq-pxa2xx.c | |||
@@ -155,7 +155,7 @@ MODULE_PARM_DESC(pxa255_turbo_table, "Selects the frequency table (0 = run table | |||
155 | 155 | ||
156 | static pxa_freqs_t pxa27x_freqs[] = { | 156 | static pxa_freqs_t pxa27x_freqs[] = { |
157 | {104000, 104000, PXA27x_CCCR(1, 8, 2), 0, CCLKCFG2(1, 0, 1), 900000, 1705000 }, | 157 | {104000, 104000, PXA27x_CCCR(1, 8, 2), 0, CCLKCFG2(1, 0, 1), 900000, 1705000 }, |
158 | {156000, 104000, PXA27x_CCCR(1, 8, 6), 0, CCLKCFG2(1, 1, 1), 1000000, 1705000 }, | 158 | {156000, 104000, PXA27x_CCCR(1, 8, 3), 0, CCLKCFG2(1, 0, 1), 1000000, 1705000 }, |
159 | {208000, 208000, PXA27x_CCCR(0, 16, 2), 1, CCLKCFG2(0, 0, 1), 1180000, 1705000 }, | 159 | {208000, 208000, PXA27x_CCCR(0, 16, 2), 1, CCLKCFG2(0, 0, 1), 1180000, 1705000 }, |
160 | {312000, 208000, PXA27x_CCCR(1, 16, 3), 1, CCLKCFG2(1, 0, 1), 1250000, 1705000 }, | 160 | {312000, 208000, PXA27x_CCCR(1, 16, 3), 1, CCLKCFG2(1, 0, 1), 1250000, 1705000 }, |
161 | {416000, 208000, PXA27x_CCCR(1, 16, 4), 1, CCLKCFG2(1, 0, 1), 1350000, 1705000 }, | 161 | {416000, 208000, PXA27x_CCCR(1, 16, 4), 1, CCLKCFG2(1, 0, 1), 1350000, 1705000 }, |
diff --git a/arch/arm/mach-pxa/csb726.c b/arch/arm/mach-pxa/csb726.c index 79141f862728..965480eb4fe6 100644 --- a/arch/arm/mach-pxa/csb726.c +++ b/arch/arm/mach-pxa/csb726.c | |||
@@ -238,7 +238,7 @@ static struct resource csb726_lan_resources[] = { | |||
238 | }; | 238 | }; |
239 | 239 | ||
240 | struct smsc911x_platform_config csb726_lan_config = { | 240 | struct smsc911x_platform_config csb726_lan_config = { |
241 | .irq_type = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, | 241 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, |
242 | .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, | 242 | .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, |
243 | .flags = SMSC911X_USE_32BIT, | 243 | .flags = SMSC911X_USE_32BIT, |
244 | .phy_interface = PHY_INTERFACE_MODE_MII, | 244 | .phy_interface = PHY_INTERFACE_MODE_MII, |
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index ee8d6038ce82..82ff5733e4dc 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/gpio_keys.h> | ||
18 | #include <linux/gpio.h> | 19 | #include <linux/gpio.h> |
19 | #include <linux/leds.h> | 20 | #include <linux/leds.h> |
20 | #include <linux/mtd/physmap.h> | 21 | #include <linux/mtd/physmap.h> |
@@ -375,6 +376,43 @@ static struct platform_device spitzkbd_device = { | |||
375 | }; | 376 | }; |
376 | 377 | ||
377 | 378 | ||
379 | static struct gpio_keys_button spitz_gpio_keys[] = { | ||
380 | { | ||
381 | .type = EV_PWR, | ||
382 | .code = KEY_SUSPEND, | ||
383 | .gpio = SPITZ_GPIO_ON_KEY, | ||
384 | .desc = "On/Off", | ||
385 | .wakeup = 1, | ||
386 | }, | ||
387 | /* Two buttons detecting the lid state */ | ||
388 | { | ||
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 | |||
402 | static struct gpio_keys_platform_data spitz_gpio_keys_platform_data = { | ||
403 | .buttons = spitz_gpio_keys, | ||
404 | .nbuttons = ARRAY_SIZE(spitz_gpio_keys), | ||
405 | }; | ||
406 | |||
407 | static struct platform_device spitz_gpio_keys_device = { | ||
408 | .name = "gpio-keys", | ||
409 | .id = -1, | ||
410 | .dev = { | ||
411 | .platform_data = &spitz_gpio_keys_platform_data, | ||
412 | }, | ||
413 | }; | ||
414 | |||
415 | |||
378 | /* | 416 | /* |
379 | * Spitz LEDs | 417 | * Spitz LEDs |
380 | */ | 418 | */ |
@@ -689,6 +727,7 @@ static struct platform_device sharpsl_rom_device = { | |||
689 | static struct platform_device *devices[] __initdata = { | 727 | static struct platform_device *devices[] __initdata = { |
690 | &spitzscoop_device, | 728 | &spitzscoop_device, |
691 | &spitzkbd_device, | 729 | &spitzkbd_device, |
730 | &spitz_gpio_keys_device, | ||
692 | &spitzled_device, | 731 | &spitzled_device, |
693 | &sharpsl_nand_device, | 732 | &sharpsl_nand_device, |
694 | &sharpsl_rom_device, | 733 | &sharpsl_rom_device, |
diff --git a/arch/arm/mach-sa1100/Makefile b/arch/arm/mach-sa1100/Makefile index 8a5546e6d547..bb7b8198d0c4 100644 --- a/arch/arm/mach-sa1100/Makefile +++ b/arch/arm/mach-sa1100/Makefile | |||
@@ -25,6 +25,7 @@ led-$(CONFIG_SA1100_CERF) += leds-cerf.o | |||
25 | 25 | ||
26 | obj-$(CONFIG_SA1100_COLLIE) += collie.o | 26 | obj-$(CONFIG_SA1100_COLLIE) += collie.o |
27 | 27 | ||
28 | obj-$(CONFIG_SA1100_H3100) += h3600.o | ||
28 | obj-$(CONFIG_SA1100_H3600) += h3600.o | 29 | obj-$(CONFIG_SA1100_H3600) += h3600.o |
29 | 30 | ||
30 | obj-$(CONFIG_SA1100_HACKKIT) += hackkit.o | 31 | obj-$(CONFIG_SA1100_HACKKIT) += hackkit.o |
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index e993140edd88..9264d814cd7a 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -122,10 +122,7 @@ config CPU_ARM920T | |||
122 | select CPU_TLB_V4WBI if MMU | 122 | select CPU_TLB_V4WBI if MMU |
123 | help | 123 | help |
124 | The ARM920T is licensed to be produced by numerous vendors, | 124 | The ARM920T is licensed to be produced by numerous vendors, |
125 | and is used in the Maverick EP9312 and the Samsung S3C2410. | 125 | and is used in the Cirrus EP93xx and the Samsung S3C2410. |
126 | |||
127 | More information on the Maverick EP9312 at | ||
128 | <http://linuxdevices.com/products/PD2382866068.html>. | ||
129 | 126 | ||
130 | Say Y if you want support for the ARM920T processor. | 127 | Say Y if you want support for the ARM920T processor. |
131 | Otherwise, say N. | 128 | Otherwise, say N. |
diff --git a/arch/arm/mm/cache-v6.S b/arch/arm/mm/cache-v6.S index 8f5c13f4c936..295e25dd6381 100644 --- a/arch/arm/mm/cache-v6.S +++ b/arch/arm/mm/cache-v6.S | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/linkage.h> | 12 | #include <linux/linkage.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <asm/assembler.h> | 14 | #include <asm/assembler.h> |
15 | #include <asm/unwind.h> | ||
15 | 16 | ||
16 | #include "proc-macros.S" | 17 | #include "proc-macros.S" |
17 | 18 | ||
@@ -121,11 +122,13 @@ ENTRY(v6_coherent_kern_range) | |||
121 | * - the Icache does not read data from the write buffer | 122 | * - the Icache does not read data from the write buffer |
122 | */ | 123 | */ |
123 | ENTRY(v6_coherent_user_range) | 124 | ENTRY(v6_coherent_user_range) |
124 | 125 | UNWIND(.fnstart ) | |
125 | #ifdef HARVARD_CACHE | 126 | #ifdef HARVARD_CACHE |
126 | bic r0, r0, #CACHE_LINE_SIZE - 1 | 127 | bic r0, r0, #CACHE_LINE_SIZE - 1 |
127 | 1: mcr p15, 0, r0, c7, c10, 1 @ clean D line | 128 | 1: |
129 | USER( mcr p15, 0, r0, c7, c10, 1 ) @ clean D line | ||
128 | add r0, r0, #CACHE_LINE_SIZE | 130 | add r0, r0, #CACHE_LINE_SIZE |
131 | 2: | ||
129 | cmp r0, r1 | 132 | cmp r0, r1 |
130 | blo 1b | 133 | blo 1b |
131 | #endif | 134 | #endif |
@@ -143,6 +146,19 @@ ENTRY(v6_coherent_user_range) | |||
143 | mov pc, lr | 146 | mov pc, lr |
144 | 147 | ||
145 | /* | 148 | /* |
149 | * Fault handling for the cache operation above. If the virtual address in r0 | ||
150 | * isn't mapped, just try the next page. | ||
151 | */ | ||
152 | 9001: | ||
153 | mov r0, r0, lsr #12 | ||
154 | mov r0, r0, lsl #12 | ||
155 | add r0, r0, #4096 | ||
156 | b 2b | ||
157 | UNWIND(.fnend ) | ||
158 | ENDPROC(v6_coherent_user_range) | ||
159 | ENDPROC(v6_coherent_kern_range) | ||
160 | |||
161 | /* | ||
146 | * v6_flush_kern_dcache_page(kaddr) | 162 | * v6_flush_kern_dcache_page(kaddr) |
147 | * | 163 | * |
148 | * Ensure that the data held in the page kaddr is written back | 164 | * Ensure that the data held in the page kaddr is written back |
diff --git a/arch/arm/mm/cache-v7.S b/arch/arm/mm/cache-v7.S index bda0ec31a4e2..e1bd9759617f 100644 --- a/arch/arm/mm/cache-v7.S +++ b/arch/arm/mm/cache-v7.S | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <asm/assembler.h> | 15 | #include <asm/assembler.h> |
16 | #include <asm/unwind.h> | ||
16 | 17 | ||
17 | #include "proc-macros.S" | 18 | #include "proc-macros.S" |
18 | 19 | ||
@@ -153,13 +154,16 @@ ENTRY(v7_coherent_kern_range) | |||
153 | * - the Icache does not read data from the write buffer | 154 | * - the Icache does not read data from the write buffer |
154 | */ | 155 | */ |
155 | ENTRY(v7_coherent_user_range) | 156 | ENTRY(v7_coherent_user_range) |
157 | UNWIND(.fnstart ) | ||
156 | dcache_line_size r2, r3 | 158 | dcache_line_size r2, r3 |
157 | sub r3, r2, #1 | 159 | sub r3, r2, #1 |
158 | bic r0, r0, r3 | 160 | bic r0, r0, r3 |
159 | 1: mcr p15, 0, r0, c7, c11, 1 @ clean D line to the point of unification | 161 | 1: |
162 | USER( mcr p15, 0, r0, c7, c11, 1 ) @ clean D line to the point of unification | ||
160 | dsb | 163 | dsb |
161 | mcr p15, 0, r0, c7, c5, 1 @ invalidate I line | 164 | USER( mcr p15, 0, r0, c7, c5, 1 ) @ invalidate I line |
162 | add r0, r0, r2 | 165 | add r0, r0, r2 |
166 | 2: | ||
163 | cmp r0, r1 | 167 | cmp r0, r1 |
164 | blo 1b | 168 | blo 1b |
165 | mov r0, #0 | 169 | mov r0, #0 |
@@ -167,6 +171,17 @@ ENTRY(v7_coherent_user_range) | |||
167 | dsb | 171 | dsb |
168 | isb | 172 | isb |
169 | mov pc, lr | 173 | mov pc, lr |
174 | |||
175 | /* | ||
176 | * Fault handling for the cache operation above. If the virtual address in r0 | ||
177 | * isn't mapped, just try the next page. | ||
178 | */ | ||
179 | 9001: | ||
180 | mov r0, r0, lsr #12 | ||
181 | mov r0, r0, lsl #12 | ||
182 | add r0, r0, #4096 | ||
183 | b 2b | ||
184 | UNWIND(.fnend ) | ||
170 | ENDPROC(v7_coherent_kern_range) | 185 | ENDPROC(v7_coherent_kern_range) |
171 | ENDPROC(v7_coherent_user_range) | 186 | ENDPROC(v7_coherent_user_range) |
172 | 187 | ||
diff --git a/arch/arm/mm/fault-armv.c b/arch/arm/mm/fault-armv.c index bc0099d5ae85..d0d17b6a3703 100644 --- a/arch/arm/mm/fault-armv.c +++ b/arch/arm/mm/fault-armv.c | |||
@@ -153,14 +153,11 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, pte_t pte) | |||
153 | 153 | ||
154 | page = pfn_to_page(pfn); | 154 | page = pfn_to_page(pfn); |
155 | mapping = page_mapping(page); | 155 | mapping = page_mapping(page); |
156 | if (mapping) { | ||
157 | #ifndef CONFIG_SMP | 156 | #ifndef CONFIG_SMP |
158 | int dirty = test_and_clear_bit(PG_dcache_dirty, &page->flags); | 157 | if (test_and_clear_bit(PG_dcache_dirty, &page->flags)) |
159 | 158 | __flush_dcache_page(mapping, page); | |
160 | if (dirty) | ||
161 | __flush_dcache_page(mapping, page); | ||
162 | #endif | 159 | #endif |
163 | 160 | if (mapping) { | |
164 | if (cache_is_vivt()) | 161 | if (cache_is_vivt()) |
165 | make_coherent(mapping, vma, addr, pfn); | 162 | make_coherent(mapping, vma, addr, pfn); |
166 | else if (vma->vm_flags & VM_EXEC) | 163 | else if (vma->vm_flags & VM_EXEC) |
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index ae0e25f5a70e..10e06801afb3 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c | |||
@@ -292,6 +292,11 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
292 | * down_read() | 292 | * down_read() |
293 | */ | 293 | */ |
294 | might_sleep(); | 294 | might_sleep(); |
295 | #ifdef CONFIG_DEBUG_VM | ||
296 | if (!user_mode(regs) && | ||
297 | !search_exception_tables(regs->ARM_pc)) | ||
298 | goto no_context; | ||
299 | #endif | ||
295 | } | 300 | } |
296 | 301 | ||
297 | fault = __do_page_fault(mm, addr, fsr, tsk); | 302 | fault = __do_page_fault(mm, addr, fsr, tsk); |
diff --git a/arch/arm/mm/highmem.c b/arch/arm/mm/highmem.c index 73cae57fa707..30f82fb5918c 100644 --- a/arch/arm/mm/highmem.c +++ b/arch/arm/mm/highmem.c | |||
@@ -46,6 +46,8 @@ void *kmap_atomic(struct page *page, enum km_type type) | |||
46 | if (!PageHighMem(page)) | 46 | if (!PageHighMem(page)) |
47 | return page_address(page); | 47 | return page_address(page); |
48 | 48 | ||
49 | debug_kmap_atomic(type); | ||
50 | |||
49 | kmap = kmap_high_get(page); | 51 | kmap = kmap_high_get(page); |
50 | if (kmap) | 52 | if (kmap) |
51 | return kmap; | 53 | return kmap; |
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 877c492f8e10..40940d7ce4ff 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
@@ -483,7 +483,7 @@ free_memmap(int node, unsigned long start_pfn, unsigned long end_pfn) | |||
483 | /* | 483 | /* |
484 | * Convert start_pfn/end_pfn to a struct page pointer. | 484 | * Convert start_pfn/end_pfn to a struct page pointer. |
485 | */ | 485 | */ |
486 | start_pg = pfn_to_page(start_pfn); | 486 | start_pg = pfn_to_page(start_pfn - 1) + 1; |
487 | end_pg = pfn_to_page(end_pfn); | 487 | end_pg = pfn_to_page(end_pfn); |
488 | 488 | ||
489 | /* | 489 | /* |
diff --git a/arch/arm/oprofile/op_model_v6.c b/arch/arm/oprofile/op_model_v6.c index fe581383d3e2..f7d2ec5ee9a1 100644 --- a/arch/arm/oprofile/op_model_v6.c +++ b/arch/arm/oprofile/op_model_v6.c | |||
@@ -33,6 +33,9 @@ static int irqs[] = { | |||
33 | #ifdef CONFIG_ARCH_OMAP2 | 33 | #ifdef CONFIG_ARCH_OMAP2 |
34 | 3, | 34 | 3, |
35 | #endif | 35 | #endif |
36 | #ifdef CONFIG_ARCH_BCMRING | ||
37 | IRQ_PMUIRQ, /* for BCMRING, ARM PMU interrupt is 43 */ | ||
38 | #endif | ||
36 | }; | 39 | }; |
37 | 40 | ||
38 | static void armv6_pmu_stop(void) | 41 | static void armv6_pmu_stop(void) |
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index fd3154ae69b1..b53125f41293 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -829,10 +829,10 @@ EXPORT_SYMBOL(omap_free_dma); | |||
829 | * | 829 | * |
830 | * @param arb_rate | 830 | * @param arb_rate |
831 | * @param max_fifo_depth | 831 | * @param max_fifo_depth |
832 | * @param tparams - Number of thereads to reserve : DMA_THREAD_RESERVE_NORM | 832 | * @param tparams - Number of threads to reserve : DMA_THREAD_RESERVE_NORM |
833 | * DMA_THREAD_RESERVE_ONET | 833 | * DMA_THREAD_RESERVE_ONET |
834 | * DMA_THREAD_RESERVE_TWOT | 834 | * DMA_THREAD_RESERVE_TWOT |
835 | * DMA_THREAD_RESERVE_THREET | 835 | * DMA_THREAD_RESERVE_THREET |
836 | */ | 836 | */ |
837 | void | 837 | void |
838 | omap_dma_set_global_params(int arb_rate, int max_fifo_depth, int tparams) | 838 | omap_dma_set_global_params(int arb_rate, int max_fifo_depth, int tparams) |
@@ -844,11 +844,14 @@ omap_dma_set_global_params(int arb_rate, int max_fifo_depth, int tparams) | |||
844 | return; | 844 | return; |
845 | } | 845 | } |
846 | 846 | ||
847 | if (max_fifo_depth == 0) | ||
848 | max_fifo_depth = 1; | ||
847 | if (arb_rate == 0) | 849 | if (arb_rate == 0) |
848 | arb_rate = 1; | 850 | arb_rate = 1; |
849 | 851 | ||
850 | reg = (arb_rate & 0xff) << 16; | 852 | reg = 0xff & max_fifo_depth; |
851 | reg |= (0xff & max_fifo_depth); | 853 | reg |= (0x3 & tparams) << 12; |
854 | reg |= (arb_rate & 0xff) << 16; | ||
852 | 855 | ||
853 | dma_write(reg, GCR); | 856 | dma_write(reg, GCR); |
854 | } | 857 | } |
@@ -975,6 +978,14 @@ void omap_stop_dma(int lch) | |||
975 | { | 978 | { |
976 | u32 l; | 979 | u32 l; |
977 | 980 | ||
981 | /* Disable all interrupts on the channel */ | ||
982 | if (cpu_class_is_omap1()) | ||
983 | dma_write(0, CICR(lch)); | ||
984 | |||
985 | l = dma_read(CCR(lch)); | ||
986 | l &= ~OMAP_DMA_CCR_EN; | ||
987 | dma_write(l, CCR(lch)); | ||
988 | |||
978 | if (!omap_dma_in_1510_mode() && dma_chan[lch].next_lch != -1) { | 989 | if (!omap_dma_in_1510_mode() && dma_chan[lch].next_lch != -1) { |
979 | int next_lch, cur_lch = lch; | 990 | int next_lch, cur_lch = lch; |
980 | char dma_chan_link_map[OMAP_DMA4_LOGICAL_DMA_CH_COUNT]; | 991 | char dma_chan_link_map[OMAP_DMA4_LOGICAL_DMA_CH_COUNT]; |
@@ -992,18 +1003,8 @@ void omap_stop_dma(int lch) | |||
992 | next_lch = dma_chan[cur_lch].next_lch; | 1003 | next_lch = dma_chan[cur_lch].next_lch; |
993 | cur_lch = next_lch; | 1004 | cur_lch = next_lch; |
994 | } while (next_lch != -1); | 1005 | } while (next_lch != -1); |
995 | |||
996 | return; | ||
997 | } | 1006 | } |
998 | 1007 | ||
999 | /* Disable all interrupts on the channel */ | ||
1000 | if (cpu_class_is_omap1()) | ||
1001 | dma_write(0, CICR(lch)); | ||
1002 | |||
1003 | l = dma_read(CCR(lch)); | ||
1004 | l &= ~OMAP_DMA_CCR_EN; | ||
1005 | dma_write(l, CCR(lch)); | ||
1006 | |||
1007 | dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE; | 1008 | dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE; |
1008 | } | 1009 | } |
1009 | EXPORT_SYMBOL(omap_stop_dma); | 1010 | EXPORT_SYMBOL(omap_stop_dma); |
diff --git a/arch/arm/plat-omap/include/mach/cpu.h b/arch/arm/plat-omap/include/mach/cpu.h index 11e73d9e8928..f129efb3075e 100644 --- a/arch/arm/plat-omap/include/mach/cpu.h +++ b/arch/arm/plat-omap/include/mach/cpu.h | |||
@@ -303,32 +303,21 @@ IS_OMAP_TYPE(3430, 0x3430) | |||
303 | #define cpu_is_omap2430() 0 | 303 | #define cpu_is_omap2430() 0 |
304 | #define cpu_is_omap3430() 0 | 304 | #define cpu_is_omap3430() 0 |
305 | 305 | ||
306 | #if defined(MULTI_OMAP1) | ||
307 | # if defined(CONFIG_ARCH_OMAP730) | ||
308 | # undef cpu_is_omap730 | ||
309 | # define cpu_is_omap730() is_omap730() | ||
310 | # endif | ||
311 | # if defined(CONFIG_ARCH_OMAP850) | ||
312 | # undef cpu_is_omap850 | ||
313 | # define cpu_is_omap850() is_omap850() | ||
314 | # endif | ||
315 | #else | ||
316 | # if defined(CONFIG_ARCH_OMAP730) | ||
317 | # undef cpu_is_omap730 | ||
318 | # define cpu_is_omap730() 1 | ||
319 | # endif | ||
320 | #endif | ||
321 | #else | ||
322 | # if defined(CONFIG_ARCH_OMAP850) | ||
323 | # undef cpu_is_omap850 | ||
324 | # define cpu_is_omap850() 1 | ||
325 | # endif | ||
326 | #endif | ||
327 | |||
328 | /* | 306 | /* |
329 | * Whether we have MULTI_OMAP1 or not, we still need to distinguish | 307 | * Whether we have MULTI_OMAP1 or not, we still need to distinguish |
330 | * between 330 vs. 1510 and 1611B/5912 vs. 1710. | 308 | * between 730 vs 850, 330 vs. 1510 and 1611B/5912 vs. 1710. |
331 | */ | 309 | */ |
310 | |||
311 | #if defined(CONFIG_ARCH_OMAP730) | ||
312 | # undef cpu_is_omap730 | ||
313 | # define cpu_is_omap730() is_omap730() | ||
314 | #endif | ||
315 | |||
316 | #if defined(CONFIG_ARCH_OMAP850) | ||
317 | # undef cpu_is_omap850 | ||
318 | # define cpu_is_omap850() is_omap850() | ||
319 | #endif | ||
320 | |||
332 | #if defined(CONFIG_ARCH_OMAP15XX) | 321 | #if defined(CONFIG_ARCH_OMAP15XX) |
333 | # undef cpu_is_omap310 | 322 | # undef cpu_is_omap310 |
334 | # undef cpu_is_omap1510 | 323 | # undef cpu_is_omap1510 |
@@ -433,3 +422,5 @@ IS_OMAP_TYPE(3430, 0x3430) | |||
433 | 422 | ||
434 | int omap_chip_is(struct omap_chip_id oci); | 423 | int omap_chip_is(struct omap_chip_id oci); |
435 | void omap2_check_revision(void); | 424 | void omap2_check_revision(void); |
425 | |||
426 | #endif | ||
diff --git a/arch/arm/plat-omap/include/mach/keypad.h b/arch/arm/plat-omap/include/mach/keypad.h index d91b9be334ff..3ae52ccc793c 100644 --- a/arch/arm/plat-omap/include/mach/keypad.h +++ b/arch/arm/plat-omap/include/mach/keypad.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef ASMARM_ARCH_KEYPAD_H | 10 | #ifndef ASMARM_ARCH_KEYPAD_H |
11 | #define ASMARM_ARCH_KEYPAD_H | 11 | #define ASMARM_ARCH_KEYPAD_H |
12 | 12 | ||
13 | #include <linux/input/matrix_keypad.h> | 13 | #warning: Please update the board to use matrix_keypad.h instead |
14 | 14 | ||
15 | struct omap_kp_platform_data { | 15 | struct omap_kp_platform_data { |
16 | int rows; | 16 | int rows; |
@@ -37,6 +37,9 @@ struct omap_kp_platform_data { | |||
37 | 37 | ||
38 | #define KEY_PERSISTENT 0x00800000 | 38 | #define KEY_PERSISTENT 0x00800000 |
39 | #define KEYNUM_MASK 0x00EFFFFF | 39 | #define KEYNUM_MASK 0x00EFFFFF |
40 | #define KEY(col, row, val) (((col) << 28) | ((row) << 24) | (val)) | ||
41 | #define PERSISTENT_KEY(col, row) (((col) << 28) | ((row) << 24) | \ | ||
42 | KEY_PERSISTENT) | ||
40 | 43 | ||
41 | #endif | 44 | #endif |
42 | 45 | ||
diff --git a/arch/arm/plat-omap/include/mach/powerdomain.h b/arch/arm/plat-omap/include/mach/powerdomain.h index 6271d8556a40..fa6461423bd0 100644 --- a/arch/arm/plat-omap/include/mach/powerdomain.h +++ b/arch/arm/plat-omap/include/mach/powerdomain.h | |||
@@ -135,6 +135,8 @@ struct powerdomain *pwrdm_lookup(const char *name); | |||
135 | 135 | ||
136 | int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), | 136 | int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), |
137 | void *user); | 137 | void *user); |
138 | int pwrdm_for_each_nolock(int (*fn)(struct powerdomain *pwrdm, void *user), | ||
139 | void *user); | ||
138 | 140 | ||
139 | int pwrdm_add_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); | 141 | int pwrdm_add_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); |
140 | int pwrdm_del_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); | 142 | int pwrdm_del_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm); |
diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c index 4b6012707307..94584f167a82 100644 --- a/arch/arm/plat-omap/iommu.c +++ b/arch/arm/plat-omap/iommu.c | |||
@@ -664,7 +664,7 @@ static size_t iopgtable_clear_entry_core(struct iommu *obj, u32 da) | |||
664 | nent = 1; /* for the next L1 entry */ | 664 | nent = 1; /* for the next L1 entry */ |
665 | } else { | 665 | } else { |
666 | bytes = IOPGD_SIZE; | 666 | bytes = IOPGD_SIZE; |
667 | if (*iopgd & IOPGD_SUPER) { | 667 | if ((*iopgd & IOPGD_SUPER) == IOPGD_SUPER) { |
668 | nent *= 16; | 668 | nent *= 16; |
669 | /* rewind to the 1st entry */ | 669 | /* rewind to the 1st entry */ |
670 | iopgd = (u32 *)((u32)iopgd & IOSUPER_MASK); | 670 | iopgd = (u32 *)((u32)iopgd & IOSUPER_MASK); |
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c index 57f7122a0919..dc3fac3dd0ea 100644 --- a/arch/arm/plat-omap/iovmm.c +++ b/arch/arm/plat-omap/iovmm.c | |||
@@ -47,7 +47,7 @@ | |||
47 | * 'va': mpu virtual address | 47 | * 'va': mpu virtual address |
48 | * | 48 | * |
49 | * 'c': contiguous memory area | 49 | * 'c': contiguous memory area |
50 | * 'd': dicontiguous memory area | 50 | * 'd': discontiguous memory area |
51 | * 'a': anonymous memory allocation | 51 | * 'a': anonymous memory allocation |
52 | * '()': optional feature | 52 | * '()': optional feature |
53 | * | 53 | * |
@@ -363,8 +363,9 @@ void *da_to_va(struct iommu *obj, u32 da) | |||
363 | goto out; | 363 | goto out; |
364 | } | 364 | } |
365 | va = area->va; | 365 | va = area->va; |
366 | mutex_unlock(&obj->mmap_lock); | ||
367 | out: | 366 | out: |
367 | mutex_unlock(&obj->mmap_lock); | ||
368 | |||
368 | return va; | 369 | return va; |
369 | } | 370 | } |
370 | EXPORT_SYMBOL_GPL(da_to_va); | 371 | EXPORT_SYMBOL_GPL(da_to_va); |
@@ -398,7 +399,7 @@ static inline void sgtable_drain_vmalloc(struct sg_table *sgt) | |||
398 | { | 399 | { |
399 | /* | 400 | /* |
400 | * Actually this is not necessary at all, just exists for | 401 | * Actually this is not necessary at all, just exists for |
401 | * consistency of the code readibility. | 402 | * consistency of the code readability. |
402 | */ | 403 | */ |
403 | BUG_ON(!sgt); | 404 | BUG_ON(!sgt); |
404 | } | 405 | } |
@@ -434,7 +435,7 @@ static inline void sgtable_drain_kmalloc(struct sg_table *sgt) | |||
434 | { | 435 | { |
435 | /* | 436 | /* |
436 | * Actually this is not necessary at all, just exists for | 437 | * Actually this is not necessary at all, just exists for |
437 | * consistency of the code readibility | 438 | * consistency of the code readability |
438 | */ | 439 | */ |
439 | BUG_ON(!sgt); | 440 | BUG_ON(!sgt); |
440 | } | 441 | } |
diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 88ac9768f1c1..e664b912d7bb 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch/arm/plat-omap/mcbsp.c | |||
@@ -595,7 +595,7 @@ void omap_mcbsp_stop(unsigned int id, int tx, int rx) | |||
595 | rx &= 1; | 595 | rx &= 1; |
596 | if (cpu_is_omap2430() || cpu_is_omap34xx()) { | 596 | if (cpu_is_omap2430() || cpu_is_omap34xx()) { |
597 | w = OMAP_MCBSP_READ(io_base, RCCR); | 597 | w = OMAP_MCBSP_READ(io_base, RCCR); |
598 | w |= (tx ? RDISABLE : 0); | 598 | w |= (rx ? RDISABLE : 0); |
599 | OMAP_MCBSP_WRITE(io_base, RCCR, w); | 599 | OMAP_MCBSP_WRITE(io_base, RCCR, w); |
600 | } | 600 | } |
601 | w = OMAP_MCBSP_READ(io_base, SPCR1); | 601 | w = OMAP_MCBSP_READ(io_base, SPCR1); |
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 925f64711c37..75d1f26e5b17 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c | |||
@@ -270,7 +270,8 @@ void * omap_sram_push(void * start, unsigned long size) | |||
270 | omap_sram_ceil -= size; | 270 | omap_sram_ceil -= size; |
271 | omap_sram_ceil = ROUND_DOWN(omap_sram_ceil, sizeof(void *)); | 271 | omap_sram_ceil = ROUND_DOWN(omap_sram_ceil, sizeof(void *)); |
272 | memcpy((void *)omap_sram_ceil, start, size); | 272 | memcpy((void *)omap_sram_ceil, start, size); |
273 | flush_icache_range((unsigned long)start, (unsigned long)(start + size)); | 273 | flush_icache_range((unsigned long)omap_sram_ceil, |
274 | (unsigned long)(omap_sram_ceil + size)); | ||
274 | 275 | ||
275 | return (void *)omap_sram_ceil; | 276 | return (void *)omap_sram_ceil; |
276 | } | 277 | } |
diff --git a/arch/arm/plat-s3c24xx/adc.c b/arch/arm/plat-s3c24xx/adc.c index 11117a7ba911..4d36b784fb8b 100644 --- a/arch/arm/plat-s3c24xx/adc.c +++ b/arch/arm/plat-s3c24xx/adc.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/sched.h> | ||
17 | #include <linux/list.h> | 18 | #include <linux/list.h> |
18 | #include <linux/err.h> | 19 | #include <linux/err.h> |
19 | #include <linux/clk.h> | 20 | #include <linux/clk.h> |
diff --git a/arch/blackfin/ADI_BSD.txt b/arch/blackfin/ADI_BSD.txt new file mode 100644 index 000000000000..501d0b645943 --- /dev/null +++ b/arch/blackfin/ADI_BSD.txt | |||
@@ -0,0 +1,41 @@ | |||
1 | This BSD-Style License applies to a few files in ./arch/blackfin directory, | ||
2 | and is included here, so people understand which code they can use outside | ||
3 | the Linux kernel, in non-GPL based projects. | ||
4 | |||
5 | Using the files released under the "ADI BSD" license, must comply with | ||
6 | these license terms. | ||
7 | |||
8 | -------------------------------------------------------------------------- | ||
9 | |||
10 | Copyright Analog Devices, Inc. | ||
11 | |||
12 | All rights reserved. | ||
13 | |||
14 | Redistribution and use in source and binary forms, with or without | ||
15 | modification, are permitted provided that the following conditions | ||
16 | are met: | ||
17 | - Redistributions of source code must retain the above copyright | ||
18 | notice, this list of conditions and the following disclaimer. | ||
19 | - Redistributions in binary form must reproduce the above copyright | ||
20 | notice, this list of conditions and the following disclaimer in | ||
21 | the documentation and/or other materials provided with the | ||
22 | distribution. | ||
23 | - Neither the name of Analog Devices, Inc. nor the names of its | ||
24 | contributors may be used to endorse or promote products derived | ||
25 | from this software without specific prior written permission. | ||
26 | - The use of this software may or may not infringe the patent rights | ||
27 | of one or more patent holders. This license does not release you | ||
28 | from the requirement that you obtain separate licenses from these | ||
29 | patent holders to use this software. | ||
30 | |||
31 | THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR | ||
32 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, | ||
33 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
34 | IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
35 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
36 | BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF | ||
37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
38 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
39 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
40 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
41 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE | ||
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 9a01d445eca8..ae6a60f10120 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -47,6 +47,9 @@ config GENERIC_HARDIRQS | |||
47 | config GENERIC_IRQ_PROBE | 47 | config GENERIC_IRQ_PROBE |
48 | def_bool y | 48 | def_bool y |
49 | 49 | ||
50 | config GENERIC_HARDIRQS_NO__DO_IRQ | ||
51 | def_bool y | ||
52 | |||
50 | config GENERIC_GPIO | 53 | config GENERIC_GPIO |
51 | def_bool y | 54 | def_bool y |
52 | 55 | ||
@@ -229,7 +232,7 @@ endchoice | |||
229 | 232 | ||
230 | config SMP | 233 | config SMP |
231 | depends on BF561 | 234 | depends on BF561 |
232 | select GENERIC_TIME | 235 | select GENERIC_CLOCKEVENTS |
233 | bool "Symmetric multi-processing support" | 236 | bool "Symmetric multi-processing support" |
234 | ---help--- | 237 | ---help--- |
235 | This enables support for systems with more than one CPU, | 238 | This enables support for systems with more than one CPU, |
@@ -613,12 +616,10 @@ comment "Kernel Timer/Scheduler" | |||
613 | source kernel/Kconfig.hz | 616 | source kernel/Kconfig.hz |
614 | 617 | ||
615 | config GENERIC_TIME | 618 | config GENERIC_TIME |
616 | bool "Generic time" | 619 | def_bool y |
617 | default y | ||
618 | 620 | ||
619 | config GENERIC_CLOCKEVENTS | 621 | config GENERIC_CLOCKEVENTS |
620 | bool "Generic clock events" | 622 | bool "Generic clock events" |
621 | depends on GENERIC_TIME | ||
622 | default y | 623 | default y |
623 | 624 | ||
624 | choice | 625 | choice |
@@ -653,6 +654,10 @@ config GPTMR0_CLOCKSOURCE | |||
653 | depends on GENERIC_CLOCKEVENTS | 654 | depends on GENERIC_CLOCKEVENTS |
654 | depends on !TICKSOURCE_GPTMR0 | 655 | depends on !TICKSOURCE_GPTMR0 |
655 | 656 | ||
657 | config ARCH_USES_GETTIMEOFFSET | ||
658 | depends on !GENERIC_CLOCKEVENTS | ||
659 | def_bool y | ||
660 | |||
656 | source kernel/time/Kconfig | 661 | source kernel/time/Kconfig |
657 | 662 | ||
658 | comment "Misc" | 663 | comment "Misc" |
diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h index 88f36d599fe8..d27c6274247d 100644 --- a/arch/blackfin/include/asm/atomic.h +++ b/arch/blackfin/include/asm/atomic.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
3 | Â * | ||
4 | Â * Licensed under the GPL-2 or later. | ||
5 | Â */ | ||
6 | |||
1 | #ifndef __ARCH_BLACKFIN_ATOMIC__ | 7 | #ifndef __ARCH_BLACKFIN_ATOMIC__ |
2 | #define __ARCH_BLACKFIN_ATOMIC__ | 8 | #define __ARCH_BLACKFIN_ATOMIC__ |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/bfin-global.h b/arch/blackfin/include/asm/bfin-global.h index aef0594e7865..10064f902d20 100644 --- a/arch/blackfin/include/asm/bfin-global.h +++ b/arch/blackfin/include/asm/bfin-global.h | |||
@@ -1,29 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/bfin-global.h | 2 | * Global extern defines for blackfin |
3 | * Based on: | ||
4 | * Author: * | ||
5 | * Created: | ||
6 | * Description: Global extern defines for blackfin | ||
7 | * | 3 | * |
8 | * Modified: | 4 | * Copyright 2006-2009 Analog Devices Inc. |
9 | * Copyright 2004-2006 Analog Devices Inc. | ||
10 | * | 5 | * |
11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License as published by | ||
15 | * the Free Software Foundation; either version 2 of the License, or | ||
16 | * (at your option) any later version. | ||
17 | * | ||
18 | * This program is distributed in the hope that it will be useful, | ||
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
21 | * GNU General Public License for more details. | ||
22 | * | ||
23 | * You should have received a copy of the GNU General Public License | ||
24 | * along with this program; if not, see the file COPYING, or write | ||
25 | * to the Free Software Foundation, Inc., | ||
26 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
27 | */ | 7 | */ |
28 | 8 | ||
29 | #ifndef _BFIN_GLOBAL_H_ | 9 | #ifndef _BFIN_GLOBAL_H_ |
diff --git a/arch/blackfin/include/asm/bfin5xx_spi.h b/arch/blackfin/include/asm/bfin5xx_spi.h index c281c6328276..ed4f8c6db0cd 100644 --- a/arch/blackfin/include/asm/bfin5xx_spi.h +++ b/arch/blackfin/include/asm/bfin5xx_spi.h | |||
@@ -3,8 +3,6 @@ | |||
3 | * | 3 | * |
4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
7 | * | ||
8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
9 | */ | 7 | */ |
10 | 8 | ||
diff --git a/arch/blackfin/include/asm/bfin_rotary.h b/arch/blackfin/include/asm/bfin_rotary.h index 425ece64fd5e..abdb2af52902 100644 --- a/arch/blackfin/include/asm/bfin_rotary.h +++ b/arch/blackfin/include/asm/bfin_rotary.h | |||
@@ -1,6 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * board initialization should put one of these structures into platform_data | 2 | * board initialization should put one of these structures into platform_data |
3 | * and place the bfin-rotary onto platform_bus named "bfin-rotary". | 3 | * and place the bfin-rotary onto platform_bus named "bfin-rotary". |
4 | * | ||
5 | * Copyright 2008 Analog Devices Inc. | ||
6 | * | ||
7 | * Licensed under the GPL-2 or later. | ||
4 | */ | 8 | */ |
5 | 9 | ||
6 | #ifndef _BFIN_ROTARY_H | 10 | #ifndef _BFIN_ROTARY_H |
diff --git a/arch/blackfin/include/asm/bfin_simple_timer.h b/arch/blackfin/include/asm/bfin_simple_timer.h index fccbb595464a..5248c133bc68 100644 --- a/arch/blackfin/include/asm/bfin_simple_timer.h +++ b/arch/blackfin/include/asm/bfin_simple_timer.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2006-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _bfin_simple_timer_h_ | 7 | #ifndef _bfin_simple_timer_h_ |
2 | #define _bfin_simple_timer_h_ | 8 | #define _bfin_simple_timer_h_ |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index daffa71576d4..a2ff3fb3568d 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BLACKFIN_BITOPS_H | 7 | #ifndef _BLACKFIN_BITOPS_H |
2 | #define _BLACKFIN_BITOPS_H | 8 | #define _BLACKFIN_BITOPS_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/blackfin.h b/arch/blackfin/include/asm/blackfin.h index 4d4439583396..eb7c1441d8f9 100644 --- a/arch/blackfin/include/asm/blackfin.h +++ b/arch/blackfin/include/asm/blackfin.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Common header file for blackfin family of processors. | 2 | * Common header file for Blackfin family of processors. |
3 | * | 3 | * |
4 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
5 | Â * | ||
6 | Â * Licensed under the GPL-2 or later. | ||
4 | */ | 7 | */ |
5 | 8 | ||
6 | #ifndef _BLACKFIN_H_ | 9 | #ifndef _BLACKFIN_H_ |
diff --git a/arch/blackfin/include/asm/bug.h b/arch/blackfin/include/asm/bug.h index 655e49540e41..6f4548a13555 100644 --- a/arch/blackfin/include/asm/bug.h +++ b/arch/blackfin/include/asm/bug.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BLACKFIN_BUG_H | 7 | #ifndef _BLACKFIN_BUG_H |
2 | #define _BLACKFIN_BUG_H | 8 | #define _BLACKFIN_BUG_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/byteorder.h b/arch/blackfin/include/asm/byteorder.h index 3e69106a4d37..9558416d578b 100644 --- a/arch/blackfin/include/asm/byteorder.h +++ b/arch/blackfin/include/asm/byteorder.h | |||
@@ -1,6 +1 @@ | |||
1 | #ifndef _BLACKFIN_BYTEORDER_H | ||
2 | #define _BLACKFIN_BYTEORDER_H | ||
3 | |||
4 | #include <linux/byteorder/little_endian.h> | #include <linux/byteorder/little_endian.h> | |
5 | |||
6 | #endif /* _BLACKFIN_BYTEORDER_H */ | ||
diff --git a/arch/blackfin/include/asm/cache.h b/arch/blackfin/include/asm/cache.h index 477050ad5c53..8542bc31f63c 100644 --- a/arch/blackfin/include/asm/cache.h +++ b/arch/blackfin/include/asm/cache.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * include/asm-blackfin/cache.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
3 | */ | 5 | */ |
6 | |||
4 | #ifndef __ARCH_BLACKFIN_CACHE_H | 7 | #ifndef __ARCH_BLACKFIN_CACHE_H |
5 | #define __ARCH_BLACKFIN_CACHE_H | 8 | #define __ARCH_BLACKFIN_CACHE_H |
6 | 9 | ||
@@ -35,10 +38,10 @@ | |||
35 | 38 | ||
36 | #if defined(CONFIG_SMP) && \ | 39 | #if defined(CONFIG_SMP) && \ |
37 | !defined(CONFIG_BFIN_CACHE_COHERENT) | 40 | !defined(CONFIG_BFIN_CACHE_COHERENT) |
38 | # if defined(CONFIG_BFIN_ICACHEABLE) || defined(CONFIG_BFIN_L2_ICACHEABLE) | 41 | # if defined(CONFIG_BFIN_EXTMEM_ICACHEABLE) || defined(CONFIG_BFIN_L2_ICACHEABLE) |
39 | # define __ARCH_SYNC_CORE_ICACHE | 42 | # define __ARCH_SYNC_CORE_ICACHE |
40 | # endif | 43 | # endif |
41 | # if defined(CONFIG_BFIN_DCACHEABLE) || defined(CONFIG_BFIN_L2_DCACHEABLE) | 44 | # if defined(CONFIG_BFIN_EXTMEM_DCACHEABLE) || defined(CONFIG_BFIN_L2_DCACHEABLE) |
42 | # define __ARCH_SYNC_CORE_DCACHE | 45 | # define __ARCH_SYNC_CORE_DCACHE |
43 | # endif | 46 | # endif |
44 | #ifndef __ASSEMBLY__ | 47 | #ifndef __ASSEMBLY__ |
diff --git a/arch/blackfin/include/asm/cacheflush.h b/arch/blackfin/include/asm/cacheflush.h index 7e55549e180f..af03a36c7a4e 100644 --- a/arch/blackfin/include/asm/cacheflush.h +++ b/arch/blackfin/include/asm/cacheflush.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/cacheflush.h | 2 | * Blackfin low-level cache routines |
3 | * Based on: include/asm-m68knommu/cacheflush.h | ||
4 | * Author: LG Soft India | ||
5 | * Copyright (C) 2004 Analog Devices Inc. | ||
6 | * Created: Tue Sep 21 2004 | ||
7 | * Description: Blackfin low-level cache routines adapted from the i386 | ||
8 | * and PPC versions by Greg Ungerer (gerg@snapgear.com) | ||
9 | * | 3 | * |
10 | * Modified: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
11 | * | 5 | * |
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2, or (at your option) | ||
17 | * any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; see the file COPYING. | ||
26 | * If not, write to the Free Software Foundation, | ||
27 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef _BLACKFIN_CACHEFLUSH_H | 9 | #ifndef _BLACKFIN_CACHEFLUSH_H |
diff --git a/arch/blackfin/include/asm/cdef_LPBlackfin.h b/arch/blackfin/include/asm/cdef_LPBlackfin.h index 35f841bce57d..8778e0f03730 100644 --- a/arch/blackfin/include/asm/cdef_LPBlackfin.h +++ b/arch/blackfin/include/asm/cdef_LPBlackfin.h | |||
@@ -1,30 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-common/cdef_LPBlackfin.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * Based on: | 3 | * |
4 | * Author: unknown | 4 | * Licensed under the GPL-2 or later. |
5 | * COPYRIGHT 2005 Analog Devices | 5 | */ |
6 | * Created: ? | ||
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * | ||
11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License as published by | ||
15 | * the Free Software Foundation; either version 2, or (at your option) | ||
16 | * any later version. | ||
17 | * | ||
18 | * This program is distributed in the hope that it will be useful, | ||
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
21 | * GNU General Public License for more details. | ||
22 | * | ||
23 | * You should have received a copy of the GNU General Public License | ||
24 | * along with this program; see the file COPYING. | ||
25 | * If not, write to the Free Software Foundation, | ||
26 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
27 | */ | ||
28 | 6 | ||
29 | #ifndef _CDEF_LPBLACKFIN_H | 7 | #ifndef _CDEF_LPBLACKFIN_H |
30 | #define _CDEF_LPBLACKFIN_H | 8 | #define _CDEF_LPBLACKFIN_H |
diff --git a/arch/blackfin/include/asm/checksum.h b/arch/blackfin/include/asm/checksum.h index 793581fc9556..a23415be0de1 100644 --- a/arch/blackfin/include/asm/checksum.h +++ b/arch/blackfin/include/asm/checksum.h | |||
@@ -1,9 +1,14 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * akbar.hussain@lineo.com | ||
4 | * | ||
5 | * Licensed under the GPL-2 or later. | ||
6 | */ | ||
7 | |||
1 | #ifndef _BFIN_CHECKSUM_H | 8 | #ifndef _BFIN_CHECKSUM_H |
2 | #define _BFIN_CHECKSUM_H | 9 | #define _BFIN_CHECKSUM_H |
3 | 10 | ||
4 | /* | 11 | /* |
5 | * MODIFIED FOR BFIN April 30, 2001 akbar.hussain@lineo.com | ||
6 | * | ||
7 | * computes the checksum of a memory block at buff, length len, | 12 | * computes the checksum of a memory block at buff, length len, |
8 | * and adds in "sum" (32-bit) | 13 | * and adds in "sum" (32-bit) |
9 | * | 14 | * |
diff --git a/arch/blackfin/include/asm/clocks.h b/arch/blackfin/include/asm/clocks.h index 033bba92d61c..f80dad5ff257 100644 --- a/arch/blackfin/include/asm/clocks.h +++ b/arch/blackfin/include/asm/clocks.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-common/clocks.h | 2 | * Common Clock definitions for various kernel files |
3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
5 | * | 3 | * |
6 | * Created: 25Jul07 | 4 | * Copyright 2007-2008 Analog Devices Inc. |
7 | * Description: Common Clock definitions for various kernel files | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef _BFIN_CLOCKS_H | 9 | #ifndef _BFIN_CLOCKS_H |
diff --git a/arch/blackfin/include/asm/context.S b/arch/blackfin/include/asm/context.S index f8a664f022b1..5dffaf582a22 100644 --- a/arch/blackfin/include/asm/context.S +++ b/arch/blackfin/include/asm/context.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/context.S | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | /* | 7 | /* |
diff --git a/arch/blackfin/include/asm/cplb.h b/arch/blackfin/include/asm/cplb.h index d18d16837a6d..fda96261ed62 100644 --- a/arch/blackfin/include/asm/cplb.h +++ b/arch/blackfin/include/asm/cplb.h | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/cplb.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
5 | * | 3 | * |
6 | * Created: 2000 | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: Common CPLB definitions for CPLB init | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #ifndef _CPLB_H | 7 | #ifndef _CPLB_H |
diff --git a/arch/blackfin/include/asm/cplbinit.h b/arch/blackfin/include/asm/cplbinit.h index 05b14a631d0c..f315c83a015d 100644 --- a/arch/blackfin/include/asm/cplbinit.h +++ b/arch/blackfin/include/asm/cplbinit.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/cplbinit.h | 2 | * Common CPLB definitions for CPLB init |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2006-2008 Analog Devices Inc. |
7 | * Description: | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef __ASM_CPLBINIT_H__ | 9 | #ifndef __ASM_CPLBINIT_H__ |
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h index fadfa82f93b2..b191dc662bd8 100644 --- a/arch/blackfin/include/asm/cpu.h +++ b/arch/blackfin/include/asm/cpu.h | |||
@@ -1,23 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/include/asm/cpu.h. | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
4 | * | 4 | * |
5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, see the file COPYING, or write | ||
19 | * to the Free Software Foundation, Inc., | ||
20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | 6 | */ |
22 | 7 | ||
23 | #ifndef __ASM_BLACKFIN_CPU_H | 8 | #ifndef __ASM_BLACKFIN_CPU_H |
diff --git a/arch/blackfin/include/asm/def_LPBlackfin.h b/arch/blackfin/include/asm/def_LPBlackfin.h index 6341eebff3dc..25906468622f 100644 --- a/arch/blackfin/include/asm/def_LPBlackfin.h +++ b/arch/blackfin/include/asm/def_LPBlackfin.h | |||
@@ -1,32 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-common/def_LPBlackfin.h | 2 | * Blackfin core register bit & address definitions |
3 | * Based on: | 3 | * |
4 | * Author: unknown | 4 | * Copyright 2005-2008 Analog Devices Inc. |
5 | * COPYRIGHT 2005 Analog Devices | 5 | * |
6 | * Created: ? | 6 | * Licensed under the ADI BSD license or GPL-2 (or later). |
7 | * Description: | 7 | */ |
8 | * | ||
9 | * Modified: | ||
10 | * | ||
11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License as published by | ||
15 | * the Free Software Foundation; either version 2, or (at your option) | ||
16 | * any later version. | ||
17 | * | ||
18 | * This program is distributed in the hope that it will be useful, | ||
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
21 | * GNU General Public License for more details. | ||
22 | * | ||
23 | * You should have received a copy of the GNU General Public License | ||
24 | * along with this program; see the file COPYING. | ||
25 | * If not, write to the Free Software Foundation, | ||
26 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
27 | */ | ||
28 | |||
29 | /* LP Blackfin CORE REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF532/33 */ | ||
30 | 8 | ||
31 | #ifndef _DEF_LPBLACKFIN_H | 9 | #ifndef _DEF_LPBLACKFIN_H |
32 | #define _DEF_LPBLACKFIN_H | 10 | #define _DEF_LPBLACKFIN_H |
diff --git a/arch/blackfin/include/asm/dma-mapping.h b/arch/blackfin/include/asm/dma-mapping.h index ed6b1f3cccce..7a23d824ac96 100644 --- a/arch/blackfin/include/asm/dma-mapping.h +++ b/arch/blackfin/include/asm/dma-mapping.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BLACKFIN_DMA_MAPPING_H | 7 | #ifndef _BLACKFIN_DMA_MAPPING_H |
2 | #define _BLACKFIN_DMA_MAPPING_H | 8 | #define _BLACKFIN_DMA_MAPPING_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/dpmc.h b/arch/blackfin/include/asm/dpmc.h index 96e8208f929a..925e66cb2d49 100644 --- a/arch/blackfin/include/asm/dpmc.h +++ b/arch/blackfin/include/asm/dpmc.h | |||
@@ -1,9 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * include/asm-blackfin/dpmc.h - Miscellaneous IOCTL commands for Dynamic Power | 2 | * Miscellaneous IOCTL commands for Dynamic Power Management Controller Driver |
3 | * Management Controller Driver. | 3 | * |
4 | * Copyright (C) 2004-2008 Analog Device Inc. | 4 | * Copyright (C) 2004-2008 Analog Device Inc. |
5 | * | 5 | * |
6 | * Licensed under the GPL-2 | ||
6 | */ | 7 | */ |
8 | |||
7 | #ifndef _BLACKFIN_DPMC_H_ | 9 | #ifndef _BLACKFIN_DPMC_H_ |
8 | #define _BLACKFIN_DPMC_H_ | 10 | #define _BLACKFIN_DPMC_H_ |
9 | 11 | ||
diff --git a/arch/blackfin/include/asm/early_printk.h b/arch/blackfin/include/asm/early_printk.h index 53a762b6fcd2..68a910db8864 100644 --- a/arch/blackfin/include/asm/early_printk.h +++ b/arch/blackfin/include/asm/early_printk.h | |||
@@ -1,27 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/early_printk.h | 2 | * function prototpyes for early printk |
3 | * Author: Robin Getz <rgetz@blackfin.uclinux.org | ||
4 | * | 3 | * |
5 | * Created: 14Aug2007 | 4 | * Copyright 2007-2009 Analog Devices Inc. |
6 | * Description: function prototpyes for early printk | ||
7 | * | 5 | * |
8 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
9 | * Copyright 2004-2007 Analog Devices Inc. | ||
10 | * | ||
11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License as published by | ||
15 | * the Free Software Foundation; either version 2 of the License, or | ||
16 | * (at your option) any later version. | ||
17 | * | ||
18 | * This program is distributed in the hope that it will be useful, | ||
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
21 | * GNU General Public License for more details. | ||
22 | */ | 7 | */ |
23 | 8 | ||
24 | |||
25 | #ifndef __ASM_EARLY_PRINTK_H__ | 9 | #ifndef __ASM_EARLY_PRINTK_H__ |
26 | #define __ASM_EARLY_PRINTK_H__ | 10 | #define __ASM_EARLY_PRINTK_H__ |
27 | 11 | ||
diff --git a/arch/blackfin/include/asm/elf.h b/arch/blackfin/include/asm/elf.h index c823e8ebbfa1..8e0764c81eaf 100644 --- a/arch/blackfin/include/asm/elf.h +++ b/arch/blackfin/include/asm/elf.h | |||
@@ -1,4 +1,8 @@ | |||
1 | /* Changes made by LG Soft Oct 2004*/ | 1 | /* |
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
2 | 6 | ||
3 | #ifndef __ASMBFIN_ELF_H | 7 | #ifndef __ASMBFIN_ELF_H |
4 | #define __ASMBFIN_ELF_H | 8 | #define __ASMBFIN_ELF_H |
diff --git a/arch/blackfin/include/asm/entry.h b/arch/blackfin/include/asm/entry.h index 55b808fced71..a6886f6e4819 100644 --- a/arch/blackfin/include/asm/entry.h +++ b/arch/blackfin/include/asm/entry.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef __BFIN_ENTRY_H | 7 | #ifndef __BFIN_ENTRY_H |
2 | #define __BFIN_ENTRY_H | 8 | #define __BFIN_ENTRY_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/fcntl.h b/arch/blackfin/include/asm/fcntl.h index 9c4037127857..8727b2b382f1 100644 --- a/arch/blackfin/include/asm/fcntl.h +++ b/arch/blackfin/include/asm/fcntl.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BFIN_FCNTL_H | 7 | #ifndef _BFIN_FCNTL_H |
2 | #define _BFIN_FCNTL_H | 8 | #define _BFIN_FCNTL_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/fixed_code.h b/arch/blackfin/include/asm/fixed_code.h index 32c4d495d847..73fe53e7fd24 100644 --- a/arch/blackfin/include/asm/fixed_code.h +++ b/arch/blackfin/include/asm/fixed_code.h | |||
@@ -1,5 +1,11 @@ | |||
1 | /* This file defines the fixed addresses where userspace programs can find | 1 | /* |
2 | atomic code sequences. */ | 2 | * This file defines the fixed addresses where userspace programs |
3 | * can find atomic code sequences. | ||
4 | * | ||
5 | * Copyright 2007-2008 Analog Devices Inc. | ||
6 | * | ||
7 | * Licensed under the GPL-2 or later. | ||
8 | */ | ||
3 | 9 | ||
4 | #ifndef __BFIN_ASM_FIXED_CODE_H__ | 10 | #ifndef __BFIN_ASM_FIXED_CODE_H__ |
5 | #define __BFIN_ASM_FIXED_CODE_H__ | 11 | #define __BFIN_ASM_FIXED_CODE_H__ |
diff --git a/arch/blackfin/include/asm/flat.h b/arch/blackfin/include/asm/flat.h index 733a178d782d..c1314c56dd18 100644 --- a/arch/blackfin/include/asm/flat.h +++ b/arch/blackfin/include/asm/flat.h | |||
@@ -1,8 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * include/asm-blackfin/flat.h -- uClinux flat-format executables | 2 | * uClinux flat-format executables |
3 | * | 3 | * |
4 | * Copyright (C) 2003, | 4 | * Copyright 2003-2009 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Licensed under the GPL-2 | ||
6 | */ | 7 | */ |
7 | 8 | ||
8 | #ifndef __BLACKFIN_FLAT_H__ | 9 | #ifndef __BLACKFIN_FLAT_H__ |
diff --git a/arch/blackfin/include/asm/gpio.h b/arch/blackfin/include/asm/gpio.h index fe139619351f..5b44d05ca53e 100644 --- a/arch/blackfin/include/asm/gpio.h +++ b/arch/blackfin/include/asm/gpio.h | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/bfin_gpio.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: Michael Hennerich (hennerich@blackfin.uclinux.org) | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #ifndef __ARCH_BLACKFIN_GPIO_H__ | 7 | #ifndef __ARCH_BLACKFIN_GPIO_H__ |
diff --git a/arch/blackfin/include/asm/hardirq.h b/arch/blackfin/include/asm/hardirq.h index 0b78b873df51..c078dd78d998 100644 --- a/arch/blackfin/include/asm/hardirq.h +++ b/arch/blackfin/include/asm/hardirq.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef __BFIN_HARDIRQ_H | 7 | #ifndef __BFIN_HARDIRQ_H |
2 | #define __BFIN_HARDIRQ_H | 8 | #define __BFIN_HARDIRQ_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h index 37053eca200e..d1f5029189a7 100644 --- a/arch/blackfin/include/asm/io.h +++ b/arch/blackfin/include/asm/io.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BFIN_IO_H | 7 | #ifndef _BFIN_IO_H |
2 | #define _BFIN_IO_H | 8 | #define _BFIN_IO_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/irq.h b/arch/blackfin/include/asm/irq.h index 42a15f5ce0d0..e7c0623f9091 100644 --- a/arch/blackfin/include/asm/irq.h +++ b/arch/blackfin/include/asm/irq.h | |||
@@ -1,17 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * This file is subject to the terms and conditions of the GNU General Public | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * License. See the file COPYING in the main directory of this archive | 3 | * 2003 HuTao |
4 | * for more details. | 4 | * 2002 Arcturus Networks Inc. (www.arcturusnetworks.com |
5 | * Ted Ma <mated@sympatico.ca> | ||
5 | * | 6 | * |
6 | * Changed by HuTao Apr18, 2003 | 7 | * Licensed under the GPL-2 |
7 | * | ||
8 | * Copyright was missing when I got the code so took from MIPS arch ...MaTed--- | ||
9 | * Copyright (C) 1994 by Waldorf GMBH, written by Ralf Baechle | ||
10 | * Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001 by Ralf Baechle | ||
11 | * | ||
12 | * Adapted for BlackFin (ADI) by Ted Ma <mated@sympatico.ca> | ||
13 | * Copyright (c) 2002 Arcturus Networks Inc. (www.arcturusnetworks.com) | ||
14 | * Copyright (c) 2002 Lineo, Inc. <mattw@lineo.com> | ||
15 | */ | 8 | */ |
16 | 9 | ||
17 | #ifndef _BFIN_IRQ_H_ | 10 | #ifndef _BFIN_IRQ_H_ |
@@ -19,6 +12,8 @@ | |||
19 | 12 | ||
20 | #include <linux/irqflags.h> | 13 | #include <linux/irqflags.h> |
21 | 14 | ||
15 | #include <mach/anomaly.h> | ||
16 | |||
22 | /* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h> */ | 17 | /* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h> */ |
23 | #include <mach/irq.h> | 18 | #include <mach/irq.h> |
24 | 19 | ||
diff --git a/arch/blackfin/include/asm/irq_handler.h b/arch/blackfin/include/asm/irq_handler.h index 7d9e2d3bbede..7fbe42307b9a 100644 --- a/arch/blackfin/include/asm/irq_handler.h +++ b/arch/blackfin/include/asm/irq_handler.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _IRQ_HANDLER_H | 7 | #ifndef _IRQ_HANDLER_H |
2 | #define _IRQ_HANDLER_H | 8 | #define _IRQ_HANDLER_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/l1layout.h b/arch/blackfin/include/asm/l1layout.h index 79dbefaa5bef..c87e68647a2b 100644 --- a/arch/blackfin/include/asm/l1layout.h +++ b/arch/blackfin/include/asm/l1layout.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * l1layout.h | ||
3 | * Defines a layout of L1 scratchpad memory that userspace can rely on. | 2 | * Defines a layout of L1 scratchpad memory that userspace can rely on. |
3 | * | ||
4 | * Copyright 2006-2008 Analog Devices Inc. | ||
5 | * | ||
6 | * Licensed under the GPL-2 or later. | ||
4 | */ | 7 | */ |
5 | 8 | ||
6 | #ifndef _L1LAYOUT_H_ | 9 | #ifndef _L1LAYOUT_H_ |
diff --git a/arch/blackfin/include/asm/linkage.h b/arch/blackfin/include/asm/linkage.h index 5a822bb790f7..f7d6d47a048d 100644 --- a/arch/blackfin/include/asm/linkage.h +++ b/arch/blackfin/include/asm/linkage.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef __ASM_LINKAGE_H | 7 | #ifndef __ASM_LINKAGE_H |
2 | #define __ASM_LINKAGE_H | 8 | #define __ASM_LINKAGE_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/mmu.h b/arch/blackfin/include/asm/mmu.h index dbfd686360e6..26f6b70b11e2 100644 --- a/arch/blackfin/include/asm/mmu.h +++ b/arch/blackfin/include/asm/mmu.h | |||
@@ -1,8 +1,13 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * 2002 David McCullough <davidm@snapgear.com> | ||
4 | * | ||
5 | * Licensed under the GPL-2. | ||
6 | */ | ||
7 | |||
1 | #ifndef __MMU_H | 8 | #ifndef __MMU_H |
2 | #define __MMU_H | 9 | #define __MMU_H |
3 | 10 | ||
4 | /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */ | ||
5 | |||
6 | struct sram_list_struct { | 11 | struct sram_list_struct { |
7 | struct sram_list_struct *next; | 12 | struct sram_list_struct *next; |
8 | void *addr; | 13 | void *addr; |
diff --git a/arch/blackfin/include/asm/mmu_context.h b/arch/blackfin/include/asm/mmu_context.h index 040410bb07e1..4a3be376ad5b 100644 --- a/arch/blackfin/include/asm/mmu_context.h +++ b/arch/blackfin/include/asm/mmu_context.h | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mmu_context.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #ifndef __BLACKFIN_MMU_CONTEXT_H__ | 7 | #ifndef __BLACKFIN_MMU_CONTEXT_H__ |
diff --git a/arch/blackfin/include/asm/module.h b/arch/blackfin/include/asm/module.h index e3128df139d6..9c1cfffddd9b 100644 --- a/arch/blackfin/include/asm/module.h +++ b/arch/blackfin/include/asm/module.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | Â * Copyright 2004-2008 Analog Devices Inc. | ||
3 | Â * | ||
4 | Â * Licensed under the GPL-2 or later. | ||
5 | Â */ | ||
6 | |||
1 | #ifndef _ASM_BFIN_MODULE_H | 7 | #ifndef _ASM_BFIN_MODULE_H |
2 | #define _ASM_BFIN_MODULE_H | 8 | #define _ASM_BFIN_MODULE_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/mutex.h b/arch/blackfin/include/asm/mutex.h index 5cc641c50834..f726e3a80ad0 100644 --- a/arch/blackfin/include/asm/mutex.h +++ b/arch/blackfin/include/asm/mutex.h | |||
@@ -4,6 +4,10 @@ | |||
4 | * TODO: implement optimized primitives instead, or leave the generic | 4 | * TODO: implement optimized primitives instead, or leave the generic |
5 | * implementation in place, or pick the atomic_xchg() based generic | 5 | * implementation in place, or pick the atomic_xchg() based generic |
6 | * implementation. (see asm-generic/mutex-xchg.h for details) | 6 | * implementation. (see asm-generic/mutex-xchg.h for details) |
7 | * | ||
8 | * Copyright 2006-2009 Analog Devices Inc. | ||
9 | * | ||
10 | * Licensed under the GPL-2 or later. | ||
7 | */ | 11 | */ |
8 | 12 | ||
9 | #ifndef _ASM_MUTEX_H | 13 | #ifndef _ASM_MUTEX_H |
diff --git a/arch/blackfin/include/asm/nand.h b/arch/blackfin/include/asm/nand.h index afbaafa793f1..3ae8b569edfc 100644 --- a/arch/blackfin/include/asm/nand.h +++ b/arch/blackfin/include/asm/nand.h | |||
@@ -1,13 +1,9 @@ | |||
1 | /* linux/include/asm-blackfin/nand.h | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2007 Analog Devices, Inc. | ||
4 | * Bryan Wu <bryan.wu@analog.com> | ||
5 | * | ||
6 | * BF5XX - NAND flash controller platfrom_device info | 2 | * BF5XX - NAND flash controller platfrom_device info |
7 | * | 3 | * |
8 | * This program is free software; you can redistribute it and/or modify | 4 | * Copyright 2007-2008 Analog Devices, Inc. |
9 | * it under the terms of the GNU General Public License version 2 as | 5 | * |
10 | * published by the Free Software Foundation. | 6 | * Licensed under the GPL-2 |
11 | */ | 7 | */ |
12 | 8 | ||
13 | /* struct bf5xx_nand_platform | 9 | /* struct bf5xx_nand_platform |
diff --git a/arch/blackfin/include/asm/page.h b/arch/blackfin/include/asm/page.h index 29dcf75c6112..944a07c6cfd6 100644 --- a/arch/blackfin/include/asm/page.h +++ b/arch/blackfin/include/asm/page.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
3 | Â * | ||
4 | Â * Licensed under the GPL-2 or later. | ||
5 | Â */ | ||
6 | |||
1 | #ifndef _BLACKFIN_PAGE_H | 7 | #ifndef _BLACKFIN_PAGE_H |
2 | #define _BLACKFIN_PAGE_H | 8 | #define _BLACKFIN_PAGE_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/page_offset.h b/arch/blackfin/include/asm/page_offset.h index cbaff24b4b25..d06a89b89d20 100644 --- a/arch/blackfin/include/asm/page_offset.h +++ b/arch/blackfin/include/asm/page_offset.h | |||
@@ -1,5 +1,10 @@ | |||
1 | 1 | /* | |
2 | /* This handles the memory map.. */ | 2 | * This handles the memory map |
3 | * | ||
4 | * Copyright 2004-2008 Analog Devices Inc. | ||
5 | * | ||
6 | * Licensed under the GPL-2 or later. | ||
7 | */ | ||
3 | 8 | ||
4 | #ifdef CONFIG_BLACKFIN | 9 | #ifdef CONFIG_BLACKFIN |
5 | #define PAGE_OFFSET_RAW 0x00000000 | 10 | #define PAGE_OFFSET_RAW 0x00000000 |
diff --git a/arch/blackfin/include/asm/pda.h b/arch/blackfin/include/asm/pda.h index a6f95695731d..d49bb261d9b7 100644 --- a/arch/blackfin/include/asm/pda.h +++ b/arch/blackfin/include/asm/pda.h | |||
@@ -1,23 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/include/asm/pda.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
4 | * | 4 | * |
5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, see the file COPYING, or write | ||
19 | * to the Free Software Foundation, Inc., | ||
20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | 6 | */ |
22 | 7 | ||
23 | #ifndef _ASM_BLACKFIN_PDA_H | 8 | #ifndef _ASM_BLACKFIN_PDA_H |
diff --git a/arch/blackfin/include/asm/pgtable.h b/arch/blackfin/include/asm/pgtable.h index 783c8f7f8f8c..821c699c2238 100644 --- a/arch/blackfin/include/asm/pgtable.h +++ b/arch/blackfin/include/asm/pgtable.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BLACKFIN_PGTABLE_H | 7 | #ifndef _BLACKFIN_PGTABLE_H |
2 | #define _BLACKFIN_PGTABLE_H | 8 | #define _BLACKFIN_PGTABLE_H |
3 | 9 | ||
@@ -92,6 +98,12 @@ extern unsigned int kobjsize(const void *objp); | |||
92 | #define VMALLOC_START 0 | 98 | #define VMALLOC_START 0 |
93 | #define VMALLOC_END 0xffffffff | 99 | #define VMALLOC_END 0xffffffff |
94 | 100 | ||
101 | /* provide a special get_unmapped_area for framebuffer mmaps of nommu */ | ||
102 | extern unsigned long get_fb_unmapped_area(struct file *filp, unsigned long, | ||
103 | unsigned long, unsigned long, | ||
104 | unsigned long); | ||
105 | #define HAVE_ARCH_FB_UNMAPPED_AREA | ||
106 | |||
95 | #include <asm-generic/pgtable.h> | 107 | #include <asm-generic/pgtable.h> |
96 | 108 | ||
97 | #endif /* _BLACKFIN_PGTABLE_H */ | 109 | #endif /* _BLACKFIN_PGTABLE_H */ |
diff --git a/arch/blackfin/include/asm/poll.h b/arch/blackfin/include/asm/poll.h index a0556671357b..072d8966c5c3 100644 --- a/arch/blackfin/include/asm/poll.h +++ b/arch/blackfin/include/asm/poll.h | |||
@@ -1,3 +1,10 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | * | ||
6 | */ | ||
7 | |||
1 | #ifndef __BFIN_POLL_H | 8 | #ifndef __BFIN_POLL_H |
2 | #define __BFIN_POLL_H | 9 | #define __BFIN_POLL_H |
3 | 10 | ||
diff --git a/arch/blackfin/include/asm/portmux.h b/arch/blackfin/include/asm/portmux.h index 88eb5c07cc24..edd8ef3a3788 100644 --- a/arch/blackfin/include/asm/portmux.h +++ b/arch/blackfin/include/asm/portmux.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Common header file for blackfin family of processors. | 2 | * Common header file for Blackfin family of processors |
3 | * | 3 | * |
4 | Â * Copyright 2007-2008 Analog Devices Inc. | ||
5 | Â * | ||
6 | Â * Licensed under the GPL-2 or later. | ||
4 | */ | 7 | */ |
5 | 8 | ||
6 | #ifndef _PORTMUX_H_ | 9 | #ifndef _PORTMUX_H_ |
diff --git a/arch/blackfin/include/asm/posix_types.h b/arch/blackfin/include/asm/posix_types.h index 80c9d64eb26c..41bc1875c4d7 100644 --- a/arch/blackfin/include/asm/posix_types.h +++ b/arch/blackfin/include/asm/posix_types.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef __ARCH_BFIN_POSIX_TYPES_H | 7 | #ifndef __ARCH_BFIN_POSIX_TYPES_H |
2 | #define __ARCH_BFIN_POSIX_TYPES_H | 8 | #define __ARCH_BFIN_POSIX_TYPES_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/processor.h b/arch/blackfin/include/asm/processor.h index a36ad8dac068..aea880274de7 100644 --- a/arch/blackfin/include/asm/processor.h +++ b/arch/blackfin/include/asm/processor.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef __ASM_BFIN_PROCESSOR_H | 7 | #ifndef __ASM_BFIN_PROCESSOR_H |
2 | #define __ASM_BFIN_PROCESSOR_H | 8 | #define __ASM_BFIN_PROCESSOR_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/ptrace.h b/arch/blackfin/include/asm/ptrace.h index e3f086dc7268..27290c955a7a 100644 --- a/arch/blackfin/include/asm/ptrace.h +++ b/arch/blackfin/include/asm/ptrace.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BFIN_PTRACE_H | 7 | #ifndef _BFIN_PTRACE_H |
2 | #define _BFIN_PTRACE_H | 8 | #define _BFIN_PTRACE_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/sections.h b/arch/blackfin/include/asm/sections.h index ae4dae1e370b..1f5381fbb4a7 100644 --- a/arch/blackfin/include/asm/sections.h +++ b/arch/blackfin/include/asm/sections.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
3 | Â * | ||
4 | Â * Licensed under the GPL-2 or later. | ||
5 | Â */ | ||
6 | |||
1 | #ifndef _BLACKFIN_SECTIONS_H | 7 | #ifndef _BLACKFIN_SECTIONS_H |
2 | #define _BLACKFIN_SECTIONS_H | 8 | #define _BLACKFIN_SECTIONS_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/segment.h b/arch/blackfin/include/asm/segment.h index 02cfd09b5a99..f8e1984ffc7e 100644 --- a/arch/blackfin/include/asm/segment.h +++ b/arch/blackfin/include/asm/segment.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BFIN_SEGMENT_H | 7 | #ifndef _BFIN_SEGMENT_H |
2 | #define _BFIN_SEGMENT_H | 8 | #define _BFIN_SEGMENT_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/sigcontext.h b/arch/blackfin/include/asm/sigcontext.h index ce00b03c2775..ce4081a4d815 100644 --- a/arch/blackfin/include/asm/sigcontext.h +++ b/arch/blackfin/include/asm/sigcontext.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | Â * Copyright 2004-2008 Analog Devices Inc. | ||
3 | Â * | ||
4 | Â * Licensed under the GPL-2 or later. | ||
5 | Â */ | ||
6 | |||
1 | #ifndef _ASM_BLACKFIN_SIGCONTEXT_H | 7 | #ifndef _ASM_BLACKFIN_SIGCONTEXT_H |
2 | #define _ASM_BLACKFIN_SIGCONTEXT_H | 8 | #define _ASM_BLACKFIN_SIGCONTEXT_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/siginfo.h b/arch/blackfin/include/asm/siginfo.h index eca4565cea37..3e81306394e2 100644 --- a/arch/blackfin/include/asm/siginfo.h +++ b/arch/blackfin/include/asm/siginfo.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BFIN_SIGINFO_H | 7 | #ifndef _BFIN_SIGINFO_H |
2 | #define _BFIN_SIGINFO_H | 8 | #define _BFIN_SIGINFO_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/smp.h b/arch/blackfin/include/asm/smp.h index 118deeeae7c0..6a0fe94b84a6 100644 --- a/arch/blackfin/include/asm/smp.h +++ b/arch/blackfin/include/asm/smp.h | |||
@@ -1,23 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/include/asm/smp.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
4 | * | 4 | * |
5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, see the file COPYING, or write | ||
19 | * to the Free Software Foundation, Inc., | ||
20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | 6 | */ |
22 | 7 | ||
23 | #ifndef __ASM_BLACKFIN_SMP_H | 8 | #ifndef __ASM_BLACKFIN_SMP_H |
diff --git a/arch/blackfin/include/asm/spinlock.h b/arch/blackfin/include/asm/spinlock.h index d6ff4b59fcb1..b0c7f0ee4b03 100644 --- a/arch/blackfin/include/asm/spinlock.h +++ b/arch/blackfin/include/asm/spinlock.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
3 | Â * | ||
4 | Â * Licensed under the GPL-2 or later. | ||
5 | Â */ | ||
6 | |||
1 | #ifndef __BFIN_SPINLOCK_H | 7 | #ifndef __BFIN_SPINLOCK_H |
2 | #define __BFIN_SPINLOCK_H | 8 | #define __BFIN_SPINLOCK_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/spinlock_types.h b/arch/blackfin/include/asm/spinlock_types.h index b1e3c4c7b382..be75762c0610 100644 --- a/arch/blackfin/include/asm/spinlock_types.h +++ b/arch/blackfin/include/asm/spinlock_types.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef __ASM_SPINLOCK_TYPES_H | 7 | #ifndef __ASM_SPINLOCK_TYPES_H |
2 | #define __ASM_SPINLOCK_TYPES_H | 8 | #define __ASM_SPINLOCK_TYPES_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/stat.h b/arch/blackfin/include/asm/stat.h index d2b6f11ec231..2e27665c4e91 100644 --- a/arch/blackfin/include/asm/stat.h +++ b/arch/blackfin/include/asm/stat.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2006 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BFIN_STAT_H | 7 | #ifndef _BFIN_STAT_H |
2 | #define _BFIN_STAT_H | 8 | #define _BFIN_STAT_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/string.h b/arch/blackfin/include/asm/string.h index 321f4d96e4ae..d7f0ccb418c3 100644 --- a/arch/blackfin/include/asm/string.h +++ b/arch/blackfin/include/asm/string.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BLACKFIN_STRING_H_ | 7 | #ifndef _BLACKFIN_STRING_H_ |
2 | #define _BLACKFIN_STRING_H_ | 8 | #define _BLACKFIN_STRING_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/swab.h b/arch/blackfin/include/asm/swab.h index d442113de515..89de6507ca2b 100644 --- a/arch/blackfin/include/asm/swab.h +++ b/arch/blackfin/include/asm/swab.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BLACKFIN_SWAB_H | 7 | #ifndef _BLACKFIN_SWAB_H |
2 | #define _BLACKFIN_SWAB_H | 8 | #define _BLACKFIN_SWAB_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/system.h b/arch/blackfin/include/asm/system.h index 85e8f16cf8c2..dde19b1d25f5 100644 --- a/arch/blackfin/include/asm/system.h +++ b/arch/blackfin/include/asm/system.h | |||
@@ -1,34 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm/system.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | 3 | * Tony Kou (tonyko@lineo.ca) |
4 | * Author: Tony Kou (tonyko@lineo.ca) | ||
5 | * Copyright (c) 2002 Arcturus Networks Inc. | ||
6 | * (www.arcturusnetworks.com) | ||
7 | * Copyright (c) 2003 Metrowerks (www.metrowerks.com) | ||
8 | * Copyright (c) 2004 Analog Device Inc. | ||
9 | * Created: 25Jan2001 - Tony Kou | ||
10 | * Description: system.h include file | ||
11 | * | 4 | * |
12 | * Modified: 22Sep2006 - Robin Getz | 5 | * Licensed under the GPL-2 or later |
13 | * - move include blackfin.h down, so I can get access to | ||
14 | * irq functions in other include files. | ||
15 | * | ||
16 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
17 | * | ||
18 | * This program is free software; you can redistribute it and/or modify | ||
19 | * it under the terms of the GNU General Public License as published by | ||
20 | * the Free Software Foundation; either version 2, or (at your option) | ||
21 | * any later version. | ||
22 | * | ||
23 | * This program is distributed in the hope that it will be useful, | ||
24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
26 | * GNU General Public License for more details. | ||
27 | * | ||
28 | * You should have received a copy of the GNU General Public License | ||
29 | * along with this program; see the file COPYING. | ||
30 | * If not, write to the Free Software Foundation, | ||
31 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
32 | */ | 6 | */ |
33 | 7 | ||
34 | #ifndef _BLACKFIN_SYSTEM_H | 8 | #ifndef _BLACKFIN_SYSTEM_H |
diff --git a/arch/blackfin/include/asm/thread_info.h b/arch/blackfin/include/asm/thread_info.h index 2bbfdd950afc..afb3a8626380 100644 --- a/arch/blackfin/include/asm/thread_info.h +++ b/arch/blackfin/include/asm/thread_info.h | |||
@@ -1,27 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/thread_info.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: include/asm-m68knommu/thread_info.h | ||
4 | * Author: LG Soft India | ||
5 | * Copyright (C) 2004-2005 Analog Devices Inc. | ||
6 | * Created: Tue Sep 21 2004 | ||
7 | * Description: Blackfin low-level thread information | ||
8 | * Modified: | ||
9 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
10 | * | 3 | * |
11 | * This program is free software; you can redistribute it and/or modify | 4 | * Licensed under the GPL-2 or later. |
12 | * it under the terms of the GNU General Public License as published by | ||
13 | * the Free Software Foundation; either version 2, or (at your option) | ||
14 | * any later version. | ||
15 | * | ||
16 | * This program is distributed in the hope that it will be useful, | ||
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | * GNU General Public License for more details. | ||
20 | * | ||
21 | * You should have received a copy of the GNU General Public License | ||
22 | * along with this program; see the file COPYING. | ||
23 | * If not, write to the Free Software Foundation, | ||
24 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
25 | */ | 5 | */ |
26 | 6 | ||
27 | #ifndef _ASM_THREAD_INFO_H | 7 | #ifndef _ASM_THREAD_INFO_H |
diff --git a/arch/blackfin/include/asm/tlb.h b/arch/blackfin/include/asm/tlb.h index 89a12ee916d8..a74ae08af1a7 100644 --- a/arch/blackfin/include/asm/tlb.h +++ b/arch/blackfin/include/asm/tlb.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BLACKFIN_TLB_H | 7 | #ifndef _BLACKFIN_TLB_H |
2 | #define _BLACKFIN_TLB_H | 8 | #define _BLACKFIN_TLB_H |
3 | 9 | ||
diff --git a/arch/blackfin/include/asm/trace.h b/arch/blackfin/include/asm/trace.h index 312b596b9731..609ad3c84189 100644 --- a/arch/blackfin/include/asm/trace.h +++ b/arch/blackfin/include/asm/trace.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Common header file for blackfin family of processors. | 2 | * header file for hardware trace functions |
3 | * | 3 | * |
4 | * Copyright 2007-2008 Analog Devices Inc. | ||
5 | * | ||
6 | * Licensed under the GPL-2 or later. | ||
4 | */ | 7 | */ |
5 | 8 | ||
6 | #ifndef _BLACKFIN_TRACE_ | 9 | #ifndef _BLACKFIN_TRACE_ |
diff --git a/arch/blackfin/include/asm/traps.h b/arch/blackfin/include/asm/traps.h index 3cdc454cde23..9fe0da612c09 100644 --- a/arch/blackfin/include/asm/traps.h +++ b/arch/blackfin/include/asm/traps.h | |||
@@ -1,13 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * linux/include/asm/traps.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * 2001 Lineo, Inc | ||
4 | * Tony Kou | ||
5 | * 1993 Hamish Macdonald | ||
3 | * | 6 | * |
4 | * Copyright (C) 1993 Hamish Macdonald | 7 | * Licensed under the GPL-2 |
5 | * | ||
6 | * Lineo, Inc Jul 2001 Tony Kou | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General Public | ||
9 | * License. See the file COPYING in the main directory of this archive | ||
10 | * for more details. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #ifndef _BFIN_TRAPS_H | 10 | #ifndef _BFIN_TRAPS_H |
diff --git a/arch/blackfin/include/asm/uaccess.h b/arch/blackfin/include/asm/uaccess.h index 2f469a1f80fb..c03b8532aad3 100644 --- a/arch/blackfin/include/asm/uaccess.h +++ b/arch/blackfin/include/asm/uaccess.h | |||
@@ -1,4 +1,7 @@ | |||
1 | /* Changes made by Lineo Inc. May 2001 | 1 | /* |
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
2 | * | 5 | * |
3 | * Based on: include/asm-m68knommu/uaccess.h | 6 | * Based on: include/asm-m68knommu/uaccess.h |
4 | */ | 7 | */ |
diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h index 02b1529dad57..779be02a910a 100644 --- a/arch/blackfin/include/asm/unistd.h +++ b/arch/blackfin/include/asm/unistd.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef __ASM_BFIN_UNISTD_H | 7 | #ifndef __ASM_BFIN_UNISTD_H |
2 | #define __ASM_BFIN_UNISTD_H | 8 | #define __ASM_BFIN_UNISTD_H |
3 | /* | 9 | /* |
diff --git a/arch/blackfin/kernel/asm-offsets.c b/arch/blackfin/kernel/asm-offsets.c index f05d1b99b0ef..bd32c09b9349 100644 --- a/arch/blackfin/kernel/asm-offsets.c +++ b/arch/blackfin/kernel/asm-offsets.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/asm-offsets.c | 2 | * generate definitions needed by assembly language modules |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: generate definitions needed by assembly language modules. | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/stddef.h> | 9 | #include <linux/stddef.h> |
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 384868dedac3..1f170216d2f9 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -2,6 +2,7 @@ | |||
2 | * bfin_dma_5xx.c - Blackfin DMA implementation | 2 | * bfin_dma_5xx.c - Blackfin DMA implementation |
3 | * | 3 | * |
4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
5 | * | ||
5 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
6 | */ | 7 | */ |
7 | 8 | ||
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index fc4681c0170e..22705eeff34f 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/bfin_gpio.c | 2 | * GPIO Abstraction Layer |
3 | * Based on: | ||
4 | * Author: Michael Hennerich (hennerich@blackfin.uclinux.org) | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2006-2009 Analog Devices Inc. |
7 | * Description: GPIO Abstraction Layer | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
10 | * Copyright 2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbinit.c b/arch/blackfin/kernel/cplb-mpu/cplbinit.c index 36193eed9a1f..f7b9cdce8239 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbinit.c | |||
@@ -1,25 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * Blackfin CPLB initialization | 2 | * Blackfin CPLB initialization |
3 | * | 3 | * |
4 | * Copyright 2004-2007 Analog Devices Inc. | 4 | * Copyright 2008-2009 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, see the file COPYING, or write | ||
20 | * to the Free Software Foundation, Inc., | ||
21 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
22 | */ | 7 | */ |
8 | |||
23 | #include <linux/module.h> | 9 | #include <linux/module.h> |
24 | 10 | ||
25 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c index 8e1e9e9e9632..69e0e530d70f 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c | |||
@@ -1,22 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * Blackfin CPLB exception handling. | 2 | * Blackfin CPLB exception handling for when MPU in on |
3 | * Copyright 2004-2007 Analog Devices Inc. | ||
4 | * | 3 | * |
5 | * This program is free software; you can redistribute it and/or modify | 4 | * Copyright 2008-2009 Analog Devices Inc. |
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | 5 | * |
10 | * This program is distributed in the hope that it will be useful, | 6 | * Licensed under the GPL-2 or later. |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, see the file COPYING, or write | ||
17 | * to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
19 | */ | 7 | */ |
8 | |||
20 | #include <linux/module.h> | 9 | #include <linux/module.h> |
21 | #include <linux/mm.h> | 10 | #include <linux/mm.h> |
22 | 11 | ||
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c index 5d8ad503f82a..fd9a2f31e686 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c | |||
@@ -1,24 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Blackfin CPLB initialization | 2 | * Blackfin CPLB initialization |
3 | * | 3 | * |
4 | * Copyright 2004-2007 Analog Devices Inc. | 4 | * Copyright 2007-2009 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, see the file COPYING, or write | ||
20 | * to the Free Software Foundation, Inc., | ||
21 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
22 | */ | 7 | */ |
23 | 8 | ||
24 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbmgr.c b/arch/blackfin/kernel/cplb-nompu/cplbmgr.c index d9ea46c6e41a..5b88861d6183 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbmgr.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbmgr.c | |||
@@ -1,26 +1,14 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/cplb-nompu-c/cplbmgr.c | ||
3 | * Based on: arch/blackfin/kernel/cplb-mpu/cplbmgr.c | 2 | * Based on: arch/blackfin/kernel/cplb-mpu/cplbmgr.c |
4 | * Author: Michael McTernan <mmcternan@airvana.com> | 3 | * Author: Michael McTernan <mmcternan@airvana.com> |
5 | * | 4 | * |
6 | * Created: 01Nov2008 | ||
7 | * Description: CPLB miss handler. | 5 | * Description: CPLB miss handler. |
8 | * | 6 | * |
9 | * Modified: | 7 | * Modified: |
10 | * Copyright 2008 Airvana Inc. | 8 | * Copyright 2008 Airvana Inc. |
11 | * Copyright 2004-2007 Analog Devices Inc. | 9 | * Copyright 2008-2009 Analog Devices Inc. |
12 | * | 10 | * |
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 11 | * Licensed under the GPL-2 or later |
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | */ | 12 | */ |
25 | 13 | ||
26 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/kernel/cplbinfo.c b/arch/blackfin/kernel/cplbinfo.c index 64d78300dd08..0bdaa517a501 100644 --- a/arch/blackfin/kernel/cplbinfo.c +++ b/arch/blackfin/kernel/cplbinfo.c | |||
@@ -2,6 +2,7 @@ | |||
2 | * arch/blackfin/kernel/cplbinfo.c - display CPLB status | 2 | * arch/blackfin/kernel/cplbinfo.c - display CPLB status |
3 | * | 3 | * |
4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
5 | * | ||
5 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
6 | */ | 7 | */ |
7 | 8 | ||
@@ -111,24 +112,21 @@ static const struct seq_operations cplbinfo_sops = { | |||
111 | .show = cplbinfo_show, | 112 | .show = cplbinfo_show, |
112 | }; | 113 | }; |
113 | 114 | ||
115 | #define CPLBINFO_DCPLB_FLAG 0x80000000 | ||
116 | |||
114 | static int cplbinfo_open(struct inode *inode, struct file *file) | 117 | static int cplbinfo_open(struct inode *inode, struct file *file) |
115 | { | 118 | { |
116 | char buf[256], *path, *p; | 119 | struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); |
120 | char cplb_type; | ||
117 | unsigned int cpu; | 121 | unsigned int cpu; |
118 | char *s_cpu, *s_cplb; | ||
119 | int ret; | 122 | int ret; |
120 | struct seq_file *m; | 123 | struct seq_file *m; |
121 | struct cplbinfo_data *cdata; | 124 | struct cplbinfo_data *cdata; |
122 | 125 | ||
123 | path = d_path(&file->f_path, buf, sizeof(buf)); | 126 | cpu = (unsigned int)pde->data; |
124 | if (IS_ERR(path)) | 127 | cplb_type = cpu & CPLBINFO_DCPLB_FLAG ? 'D' : 'I'; |
125 | return PTR_ERR(path); | 128 | cpu &= ~CPLBINFO_DCPLB_FLAG; |
126 | s_cpu = strstr(path, "/cpu"); | ||
127 | s_cplb = strrchr(path, '/'); | ||
128 | if (!s_cpu || !s_cplb) | ||
129 | return -EINVAL; | ||
130 | 129 | ||
131 | cpu = simple_strtoul(s_cpu + 4, &p, 10); | ||
132 | if (!cpu_online(cpu)) | 130 | if (!cpu_online(cpu)) |
133 | return -ENODEV; | 131 | return -ENODEV; |
134 | 132 | ||
@@ -139,7 +137,7 @@ static int cplbinfo_open(struct inode *inode, struct file *file) | |||
139 | cdata = m->private; | 137 | cdata = m->private; |
140 | 138 | ||
141 | cdata->pos = 0; | 139 | cdata->pos = 0; |
142 | cdata->cplb_type = toupper(s_cplb[1]); | 140 | cdata->cplb_type = cplb_type; |
143 | cplbinfo_seq_init(cdata, cpu); | 141 | cplbinfo_seq_init(cdata, cpu); |
144 | 142 | ||
145 | return 0; | 143 | return 0; |
@@ -168,8 +166,10 @@ static int __init cplbinfo_init(void) | |||
168 | if (!cpu_dir) | 166 | if (!cpu_dir) |
169 | return -ENOMEM; | 167 | return -ENOMEM; |
170 | 168 | ||
171 | proc_create("icplb", S_IRUGO, cpu_dir, &cplbinfo_fops); | 169 | proc_create_data("icplb", S_IRUGO, cpu_dir, &cplbinfo_fops, |
172 | proc_create("dcplb", S_IRUGO, cpu_dir, &cplbinfo_fops); | 170 | (void *)cpu); |
171 | proc_create_data("dcplb", S_IRUGO, cpu_dir, &cplbinfo_fops, | ||
172 | (void *)(cpu | CPLBINFO_DCPLB_FLAG)); | ||
173 | } | 173 | } |
174 | 174 | ||
175 | return 0; | 175 | return 0; |
diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackfin/kernel/dma-mapping.c index 2f62a9f4058a..e74e74d7733f 100644 --- a/arch/blackfin/kernel/dma-mapping.c +++ b/arch/blackfin/kernel/dma-mapping.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/dma-mapping.c | 2 | * Dynamic DMA mapping support |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2005-2009 Analog Devices Inc. |
7 | * Description: Dynamic DMA mapping support. | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/types.h> | 9 | #include <linux/types.h> |
diff --git a/arch/blackfin/kernel/early_printk.c b/arch/blackfin/kernel/early_printk.c index 931c78b5ea1f..84ed8375113c 100644 --- a/arch/blackfin/kernel/early_printk.c +++ b/arch/blackfin/kernel/early_printk.c | |||
@@ -1,25 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/early_printk.c | 2 | * allow a console to be used for early printk |
3 | * Based on: arch/x86_64/kernel/early_printk.c | 3 | * derived from arch/x86/kernel/early_printk.c |
4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org | ||
5 | * | 4 | * |
6 | * Created: 14Aug2007 | 5 | * Copyright 2007-2009 Analog Devices Inc. |
7 | * Description: allow a console to be used for early printk | ||
8 | * | 6 | * |
9 | * Modified: | 7 | * Licensed under the GPL-2 |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | */ | 8 | */ |
24 | 9 | ||
25 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S index 3f8769b7db54..f27dc2292e1b 100644 --- a/arch/blackfin/kernel/entry.S +++ b/arch/blackfin/kernel/entry.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/entry.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/kernel/fixed_code.S b/arch/blackfin/kernel/fixed_code.S index 0d2d9e0968c8..0565917f23ba 100644 --- a/arch/blackfin/kernel/fixed_code.S +++ b/arch/blackfin/kernel/fixed_code.S | |||
@@ -6,7 +6,12 @@ | |||
6 | * These are aligned to 16 bytes, so that we have some space to replace | 6 | * These are aligned to 16 bytes, so that we have some space to replace |
7 | * these sequences with something else (e.g. kernel traps if we ever do | 7 | * these sequences with something else (e.g. kernel traps if we ever do |
8 | * BF561 SMP). | 8 | * BF561 SMP). |
9 | * | ||
10 | * Copyright 2007-2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Licensed under the GPL-2 or later. | ||
9 | */ | 13 | */ |
14 | |||
10 | #include <linux/linkage.h> | 15 | #include <linux/linkage.h> |
11 | #include <linux/init.h> | 16 | #include <linux/init.h> |
12 | #include <linux/unistd.h> | 17 | #include <linux/unistd.h> |
diff --git a/arch/blackfin/kernel/flat.c b/arch/blackfin/kernel/flat.c index d188b2430536..a88daddbf074 100644 --- a/arch/blackfin/kernel/flat.c +++ b/arch/blackfin/kernel/flat.c | |||
@@ -1,21 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * arch/blackfin/kernel/flat.c | 2 | * Copyright 2007 Analog Devices Inc. |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Analog Devices, Inc. | 4 | * Licensed under the GPL-2. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | */ | 5 | */ |
20 | 6 | ||
21 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/arch/blackfin/kernel/init_task.c b/arch/blackfin/kernel/init_task.c index c26c34de9f3c..118c5b9dedac 100644 --- a/arch/blackfin/kernel/init_task.c +++ b/arch/blackfin/kernel/init_task.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/init_task.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/mm.h> | 7 | #include <linux/mm.h> |
diff --git a/arch/blackfin/kernel/irqchip.c b/arch/blackfin/kernel/irqchip.c index 4b5fd36187d9..db9f9c91f11f 100644 --- a/arch/blackfin/kernel/irqchip.c +++ b/arch/blackfin/kernel/irqchip.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/irqchip.c | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/kernel_stat.h> | 7 | #include <linux/kernel_stat.h> |
diff --git a/arch/blackfin/kernel/module.c b/arch/blackfin/kernel/module.c index 67fc7a56c865..a6dfa6b71e63 100644 --- a/arch/blackfin/kernel/module.c +++ b/arch/blackfin/kernel/module.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/module.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #define pr_fmt(fmt) "module %s: " fmt | 7 | #define pr_fmt(fmt) "module %s: " fmt |
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index f5b286189647..430ae39456e8 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/process.c | 2 | * Blackfin architecture-dependent process handling |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: Blackfin architecture-dependent process handling. | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/kernel/ptrace.c b/arch/blackfin/kernel/ptrace.c index 30f4828277ad..0982b5d5af10 100644 --- a/arch/blackfin/kernel/ptrace.c +++ b/arch/blackfin/kernel/ptrace.c | |||
@@ -1,30 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/ptrace.c | 2 | * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds |
3 | * Based on: Taken from linux/kernel/ptrace.c | 3 | * these modifications are Copyright 2004-2009 Analog Devices Inc. |
4 | * Author: linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds | ||
5 | * | 4 | * |
6 | * Created: 1/23/92 | 5 | * Licensed under the GPL-2 |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 6 | */ |
29 | 7 | ||
30 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 369535b61ed1..c202a44d1416 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -1,9 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * arch/blackfin/kernel/setup.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * | ||
4 | * Copyright 2004-2006 Analog Devices Inc. | ||
5 | * | ||
6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
7 | * | 3 | * |
8 | * Licensed under the GPL-2 or later. | 4 | * Licensed under the GPL-2 or later. |
9 | */ | 5 | */ |
diff --git a/arch/blackfin/kernel/shadow_console.c b/arch/blackfin/kernel/shadow_console.c index 8b8c7107a162..557e9fef406a 100644 --- a/arch/blackfin/kernel/shadow_console.c +++ b/arch/blackfin/kernel/shadow_console.c | |||
@@ -4,8 +4,6 @@ | |||
4 | * | 4 | * |
5 | * Copyright 2009 Analog Devices Inc. | 5 | * Copyright 2009 Analog Devices Inc. |
6 | * | 6 | * |
7 | * Enter bugs at http://blackfin.uclinux.org/ | ||
8 | * | ||
9 | * Licensed under the GPL-2 or later. | 7 | * Licensed under the GPL-2 or later. |
10 | */ | 8 | */ |
11 | 9 | ||
diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c index dbc3bbf846be..9d90c18fab23 100644 --- a/arch/blackfin/kernel/signal.c +++ b/arch/blackfin/kernel/signal.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/signal.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/signal.h> | 7 | #include <linux/signal.h> |
diff --git a/arch/blackfin/kernel/sys_bfin.c b/arch/blackfin/kernel/sys_bfin.c index 3da60fb13ce4..afcef129d4e8 100644 --- a/arch/blackfin/kernel/sys_bfin.c +++ b/arch/blackfin/kernel/sys_bfin.c | |||
@@ -1,32 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/sys_bfin.c | 2 | * contains various random system calls that have a non-standard |
3 | * Based on: | 3 | * calling sequence on the Linux/Blackfin platform. |
4 | * Author: | ||
5 | * | 4 | * |
6 | * Created: | 5 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: This file contains various random system calls that | ||
8 | * have a non-standard calling sequence on the Linux/bfin | ||
9 | * platform. | ||
10 | * | 6 | * |
11 | * Modified: | 7 | * Licensed under the GPL-2 or later |
12 | * Copyright 2004-2006 Analog Devices Inc. | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2 of the License, or | ||
19 | * (at your option) any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; if not, see the file COPYING, or write | ||
28 | * to the Free Software Foundation, Inc., | ||
29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
30 | */ | 8 | */ |
31 | 9 | ||
32 | #include <linux/spinlock.h> | 10 | #include <linux/spinlock.h> |
@@ -91,3 +69,14 @@ asmlinkage void *sys_dma_memcpy(void *dest, const void *src, size_t len) | |||
91 | { | 69 | { |
92 | return safe_dma_memcpy(dest, src, len); | 70 | return safe_dma_memcpy(dest, src, len); |
93 | } | 71 | } |
72 | |||
73 | #if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) | ||
74 | #include <linux/fb.h> | ||
75 | unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, | ||
76 | unsigned long len, unsigned long pgoff, unsigned long flags) | ||
77 | { | ||
78 | struct fb_info *info = filp->private_data; | ||
79 | return (unsigned long)info->screen_base; | ||
80 | } | ||
81 | EXPORT_SYMBOL(get_fb_unmapped_area); | ||
82 | #endif | ||
diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c index f9715764383e..359cfb1815ca 100644 --- a/arch/blackfin/kernel/time-ts.c +++ b/arch/blackfin/kernel/time-ts.c | |||
@@ -1,13 +1,13 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/kernel/time-ts.c | ||
3 | * | ||
4 | * Based on arm clockevents implementation and old bfin time tick. | 2 | * Based on arm clockevents implementation and old bfin time tick. |
5 | * | 3 | * |
6 | * Copyright(C) 2008, GeoTechnologies, Vitja Makarov | 4 | * Copyright 2008-2009 Analog Devics Inc. |
5 | * 2008 GeoTechnologies | ||
6 | * Vitja Makarov | ||
7 | * | 7 | * |
8 | * This code is licenced under the GPL version 2. For details see | 8 | * Licensed under the GPL-2 |
9 | * kernel-base/COPYING. | ||
10 | */ | 9 | */ |
10 | |||
11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
12 | #include <linux/profile.h> | 12 | #include <linux/profile.h> |
13 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index adb54aa7d7c8..bd3b53da295e 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/time.h> | 14 | #include <linux/time.h> |
15 | #include <linux/irq.h> | 15 | #include <linux/irq.h> |
16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
17 | #include <linux/sched.h> | ||
17 | 18 | ||
18 | #include <asm/blackfin.h> | 19 | #include <asm/blackfin.h> |
19 | #include <asm/time.h> | 20 | #include <asm/time.h> |
@@ -81,11 +82,11 @@ time_sched_init(irqreturn_t(*timer_routine) (int, void *)) | |||
81 | #endif | 82 | #endif |
82 | } | 83 | } |
83 | 84 | ||
85 | #ifdef CONFIG_ARCH_USES_GETTIMEOFFSET | ||
84 | /* | 86 | /* |
85 | * Should return useconds since last timer tick | 87 | * Should return useconds since last timer tick |
86 | */ | 88 | */ |
87 | #ifndef CONFIG_GENERIC_TIME | 89 | u32 arch_gettimeoffset(void) |
88 | static unsigned long gettimeoffset(void) | ||
89 | { | 90 | { |
90 | unsigned long offset; | 91 | unsigned long offset; |
91 | unsigned long clocks_per_jiffy; | 92 | unsigned long clocks_per_jiffy; |
@@ -184,65 +185,6 @@ void __init time_init(void) | |||
184 | time_sched_init(timer_interrupt); | 185 | time_sched_init(timer_interrupt); |
185 | } | 186 | } |
186 | 187 | ||
187 | #ifndef CONFIG_GENERIC_TIME | ||
188 | void do_gettimeofday(struct timeval *tv) | ||
189 | { | ||
190 | unsigned long flags; | ||
191 | unsigned long seq; | ||
192 | unsigned long usec, sec; | ||
193 | |||
194 | do { | ||
195 | seq = read_seqbegin_irqsave(&xtime_lock, flags); | ||
196 | usec = gettimeoffset(); | ||
197 | sec = xtime.tv_sec; | ||
198 | usec += (xtime.tv_nsec / NSEC_PER_USEC); | ||
199 | } | ||
200 | while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); | ||
201 | |||
202 | while (usec >= USEC_PER_SEC) { | ||
203 | usec -= USEC_PER_SEC; | ||
204 | sec++; | ||
205 | } | ||
206 | |||
207 | tv->tv_sec = sec; | ||
208 | tv->tv_usec = usec; | ||
209 | } | ||
210 | EXPORT_SYMBOL(do_gettimeofday); | ||
211 | |||
212 | int do_settimeofday(struct timespec *tv) | ||
213 | { | ||
214 | time_t wtm_sec, sec = tv->tv_sec; | ||
215 | long wtm_nsec, nsec = tv->tv_nsec; | ||
216 | |||
217 | if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC) | ||
218 | return -EINVAL; | ||
219 | |||
220 | write_seqlock_irq(&xtime_lock); | ||
221 | /* | ||
222 | * This is revolting. We need to set the xtime.tv_usec | ||
223 | * correctly. However, the value in this location is | ||
224 | * is value at the last tick. | ||
225 | * Discover what correction gettimeofday | ||
226 | * would have done, and then undo it! | ||
227 | */ | ||
228 | nsec -= (gettimeoffset() * NSEC_PER_USEC); | ||
229 | |||
230 | wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); | ||
231 | wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); | ||
232 | |||
233 | set_normalized_timespec(&xtime, sec, nsec); | ||
234 | set_normalized_timespec(&wall_to_monotonic, wtm_sec, wtm_nsec); | ||
235 | |||
236 | ntp_clear(); | ||
237 | |||
238 | write_sequnlock_irq(&xtime_lock); | ||
239 | clock_was_set(); | ||
240 | |||
241 | return 0; | ||
242 | } | ||
243 | EXPORT_SYMBOL(do_settimeofday); | ||
244 | #endif /* !CONFIG_GENERIC_TIME */ | ||
245 | |||
246 | /* | 188 | /* |
247 | * Scheduler clock - returns current time in nanosec units. | 189 | * Scheduler clock - returns current time in nanosec units. |
248 | */ | 190 | */ |
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 56464cb8edf3..6b7325d634af 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/traps.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: Hamish Macdonald | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: uses S/W interrupt 15 for the system calls | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/bug.h> | 7 | #include <linux/bug.h> |
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index ffd90fbbc8f9..10e12539000e 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/vmlinux.lds.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: none - original work | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: Tue Sep 21 2004 | 4 | * Licensed under the GPL-2 or later |
7 | * Description: Master linker script for blackfin architecture | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #define VMLINUX_SYMBOL(_sym_) _##_sym_ | 7 | #define VMLINUX_SYMBOL(_sym_) _##_sym_ |
diff --git a/arch/blackfin/lib/ashldi3.c b/arch/blackfin/lib/ashldi3.c index a8c279e9b192..ab69d8768afc 100644 --- a/arch/blackfin/lib/ashldi3.c +++ b/arch/blackfin/lib/ashldi3.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/ashldi3.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include "gcclib.h" | 7 | #include "gcclib.h" |
diff --git a/arch/blackfin/lib/ashrdi3.c b/arch/blackfin/lib/ashrdi3.c index a0d3419329ca..b5b351e82e10 100644 --- a/arch/blackfin/lib/ashrdi3.c +++ b/arch/blackfin/lib/ashrdi3.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/ashrdi3.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include "gcclib.h" | 7 | #include "gcclib.h" |
diff --git a/arch/blackfin/lib/checksum.c b/arch/blackfin/lib/checksum.c index cd605e7d8518..c62969dc1bbb 100644 --- a/arch/blackfin/lib/checksum.c +++ b/arch/blackfin/lib/checksum.c | |||
@@ -1,32 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/checksum.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: none - original work | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: An implementation of the TCP/IP protocol suite for the LINUX | ||
8 | * operating system. INET is implemented using the BSD Socket | ||
9 | * interface as the means of communication with the user level. | ||
10 | * | 5 | * |
11 | * Modified: | 6 | * An implementation of the TCP/IP protocol suite for the LINUX operating |
12 | * Copyright 2004-2006 Analog Devices Inc. | 7 | * system. INET is implemented using the BSD Socket interface as the |
8 | * means of communication with the user level. | ||
13 | * | 9 | * |
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2 of the License, or | ||
19 | * (at your option) any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; if not, see the file COPYING, or write | ||
28 | * to the Free Software Foundation, Inc., | ||
29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
30 | */ | 10 | */ |
31 | 11 | ||
32 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/arch/blackfin/lib/divsi3.S b/arch/blackfin/lib/divsi3.S index 2ac59c70dd94..f89c5a49c47b 100644 --- a/arch/blackfin/lib/divsi3.S +++ b/arch/blackfin/lib/divsi3.S | |||
@@ -1,10 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/divsi3.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: 16 / 32 bit signed division. | 5 | * |
6 | * 16 / 32 bit signed division. | ||
8 | * Special cases : | 7 | * Special cases : |
9 | * 1) If(numerator == 0) | 8 | * 1) If(numerator == 0) |
10 | * return 0 | 9 | * return 0 |
@@ -22,25 +21,6 @@ | |||
22 | * R0 - Quotient (o) | 21 | * R0 - Quotient (o) |
23 | * Registers Used : R2-R7,P0-P2 | 22 | * Registers Used : R2-R7,P0-P2 |
24 | * | 23 | * |
25 | * Modified: | ||
26 | * Copyright 2004-2006 Analog Devices Inc. | ||
27 | * | ||
28 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
29 | * | ||
30 | * This program is free software; you can redistribute it and/or modify | ||
31 | * it under the terms of the GNU General Public License as published by | ||
32 | * the Free Software Foundation; either version 2 of the License, or | ||
33 | * (at your option) any later version. | ||
34 | * | ||
35 | * This program is distributed in the hope that it will be useful, | ||
36 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
37 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
38 | * GNU General Public License for more details. | ||
39 | * | ||
40 | * You should have received a copy of the GNU General Public License | ||
41 | * along with this program; if not, see the file COPYING, or write | ||
42 | * to the Free Software Foundation, Inc., | ||
43 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
44 | */ | 24 | */ |
45 | 25 | ||
46 | .global ___divsi3; | 26 | .global ___divsi3; |
diff --git a/arch/blackfin/lib/gcclib.h b/arch/blackfin/lib/gcclib.h index 9ccd39a135ee..724f07f14f8d 100644 --- a/arch/blackfin/lib/gcclib.h +++ b/arch/blackfin/lib/gcclib.h | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/gcclib.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #define BITS_PER_UNIT 8 | 7 | #define BITS_PER_UNIT 8 |
diff --git a/arch/blackfin/lib/lshrdi3.c b/arch/blackfin/lib/lshrdi3.c index e57bf6fbdf3f..53f1741047e5 100644 --- a/arch/blackfin/lib/lshrdi3.c +++ b/arch/blackfin/lib/lshrdi3.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/lshrdi3.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include "gcclib.h" | 7 | #include "gcclib.h" |
diff --git a/arch/blackfin/lib/memchr.S b/arch/blackfin/lib/memchr.S index 5da428134d32..542e40f8775f 100644 --- a/arch/blackfin/lib/memchr.S +++ b/arch/blackfin/lib/memchr.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/memchr.S | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memcmp.S b/arch/blackfin/lib/memcmp.S index 219fa2877c62..ce5b9f1a8267 100644 --- a/arch/blackfin/lib/memcmp.S +++ b/arch/blackfin/lib/memcmp.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/memcmp.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memcpy.S b/arch/blackfin/lib/memcpy.S index e654a18a0754..c31bf22aab19 100644 --- a/arch/blackfin/lib/memcpy.S +++ b/arch/blackfin/lib/memcpy.S | |||
@@ -1,36 +1,13 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/memcpy.S | 2 | * internal version of memcpy(), issued by the compiler to copy blocks of |
3 | * Based on: | 3 | * data around. This is really memmove() - it has to be able to deal with |
4 | * Author: | 4 | * possible overlaps, because that ambiguity is when the compiler gives up |
5 | * and calls a function. We have our own, internal version so that we get | ||
6 | * something we trust, even if the user has redefined the normal symbol. | ||
5 | * | 7 | * |
6 | * Created: | 8 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: internal version of memcpy(), issued by the compiler | ||
8 | * to copy blocks of data around. | ||
9 | * This is really memmove() - it has to be able to deal with | ||
10 | * possible overlaps, because that ambiguity is when the compiler | ||
11 | * gives up and calls a function. We have our own, internal version | ||
12 | * so that we get something we trust, even if the user has redefined | ||
13 | * the normal symbol. | ||
14 | * | 9 | * |
15 | * Modified: | 10 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
16 | * Copyright 2004-2006 Analog Devices Inc. | ||
17 | * | ||
18 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
19 | * | ||
20 | * This program is free software; you can redistribute it and/or modify | ||
21 | * it under the terms of the GNU General Public License as published by | ||
22 | * the Free Software Foundation; either version 2 of the License, or | ||
23 | * (at your option) any later version. | ||
24 | * | ||
25 | * This program is distributed in the hope that it will be useful, | ||
26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
28 | * GNU General Public License for more details. | ||
29 | * | ||
30 | * You should have received a copy of the GNU General Public License | ||
31 | * along with this program; if not, see the file COPYING, or write | ||
32 | * to the Free Software Foundation, Inc., | ||
33 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
34 | */ | 11 | */ |
35 | 12 | ||
36 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memmove.S b/arch/blackfin/lib/memmove.S index 33f8653145b7..80c240acac60 100644 --- a/arch/blackfin/lib/memmove.S +++ b/arch/blackfin/lib/memmove.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/memmove.S | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memset.S b/arch/blackfin/lib/memset.S index 8159136a29ea..c30d99b10969 100644 --- a/arch/blackfin/lib/memset.S +++ b/arch/blackfin/lib/memset.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/memset.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/modsi3.S b/arch/blackfin/lib/modsi3.S index ca1dd3973b39..8b0c7d4052af 100644 --- a/arch/blackfin/lib/modsi3.S +++ b/arch/blackfin/lib/modsi3.S | |||
@@ -1,36 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/modsi3.S | 2 | * This program computes 32 bit signed remainder. It calls div32 function |
3 | * Based on: | 3 | * for quotient estimation. |
4 | * Author: | 4 | * Registers in: R0, R1 = Numerator/ Denominator |
5 | * Registers out: R0 = Remainder | ||
5 | * | 6 | * |
6 | * Created: | 7 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: This program computes 32 bit signed remainder. It calls div32 function | ||
8 | * for quotient estimation. | ||
9 | * | 8 | * |
10 | * Registers used : | 9 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
11 | * Numerator/ Denominator in R0, R1 | ||
12 | * R0 - returns remainder. | ||
13 | * R2-R7 | ||
14 | * | ||
15 | * Modified: | ||
16 | * Copyright 2004-2006 Analog Devices Inc. | ||
17 | * | ||
18 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
19 | * | ||
20 | * This program is free software; you can redistribute it and/or modify | ||
21 | * it under the terms of the GNU General Public License as published by | ||
22 | * the Free Software Foundation; either version 2 of the License, or | ||
23 | * (at your option) any later version. | ||
24 | * | ||
25 | * This program is distributed in the hope that it will be useful, | ||
26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
28 | * GNU General Public License for more details. | ||
29 | * | ||
30 | * You should have received a copy of the GNU General Public License | ||
31 | * along with this program; if not, see the file COPYING, or write | ||
32 | * to the Free Software Foundation, Inc., | ||
33 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
34 | */ | 10 | */ |
35 | 11 | ||
36 | .global ___modsi3; | 12 | .global ___modsi3; |
diff --git a/arch/blackfin/lib/muldi3.S b/arch/blackfin/lib/muldi3.S index abde120ee230..953a38a1d1d1 100644 --- a/arch/blackfin/lib/muldi3.S +++ b/arch/blackfin/lib/muldi3.S | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the ADI BSD license or the GPL-2 (or later) | ||
5 | */ | ||
6 | |||
1 | .align 2 | 7 | .align 2 |
2 | .global ___muldi3; | 8 | .global ___muldi3; |
3 | .type ___muldi3, STT_FUNC; | 9 | .type ___muldi3, STT_FUNC; |
diff --git a/arch/blackfin/lib/outs.S b/arch/blackfin/lib/outs.S index 4685b7aa0080..250f4d4b9436 100644 --- a/arch/blackfin/lib/outs.S +++ b/arch/blackfin/lib/outs.S | |||
@@ -1,30 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/outs.S | 2 | * Implementation of outs{bwl} for BlackFin processors using zero overhead loops. |
3 | * Based on: | ||
4 | * Author: Bas Vermeulen <bas@buyways.nl> | ||
5 | * | 3 | * |
6 | * Created: Tue Mar 22 15:27:24 CEST 2005 | 4 | * Copyright 2005-2009 Analog Devices Inc. |
7 | * Description: Implementation of outs{bwl} for BlackFin processors using zero overhead loops. | 5 | * 2005 BuyWays BV |
6 | * Bas Vermeulen <bas@buyways.nl> | ||
8 | * | 7 | * |
9 | * Modified: Copyright (C) 2005 Bas Vermeulen, BuyWays BV <bas@buyways.nl> | 8 | * Licensed under the GPL-2. |
10 | * Copyright 2004-2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 9 | */ |
29 | 10 | ||
30 | #include <linux/linkage.h> | 11 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/smulsi3_highpart.S b/arch/blackfin/lib/smulsi3_highpart.S index e383cd3eca5d..99ee8c5de38b 100644 --- a/arch/blackfin/lib/smulsi3_highpart.S +++ b/arch/blackfin/lib/smulsi3_highpart.S | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the ADI BSD license or the GPL-2 (or later) | ||
5 | */ | ||
6 | |||
1 | .align 2 | 7 | .align 2 |
2 | .global ___smulsi3_highpart; | 8 | .global ___smulsi3_highpart; |
3 | .type ___smulsi3_highpart, STT_FUNC; | 9 | .type ___smulsi3_highpart, STT_FUNC; |
diff --git a/arch/blackfin/lib/udivsi3.S b/arch/blackfin/lib/udivsi3.S index 58fd96d74766..97e904315ec6 100644 --- a/arch/blackfin/lib/udivsi3.S +++ b/arch/blackfin/lib/udivsi3.S | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/udivsi3.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/umodsi3.S b/arch/blackfin/lib/umodsi3.S index 4f2b76ee7626..168eba7c64c8 100644 --- a/arch/blackfin/lib/umodsi3.S +++ b/arch/blackfin/lib/umodsi3.S | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/umodsi3.S | 2 | * libgcc1 routines for Blackfin 5xx |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: libgcc1 routines for Blackfin 5xx | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifdef CONFIG_ARITHMETIC_OPS_L1 | 9 | #ifdef CONFIG_ARITHMETIC_OPS_L1 |
diff --git a/arch/blackfin/lib/umulsi3_highpart.S b/arch/blackfin/lib/umulsi3_highpart.S index 67b799351e3e..051824a6ed00 100644 --- a/arch/blackfin/lib/umulsi3_highpart.S +++ b/arch/blackfin/lib/umulsi3_highpart.S | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the ADI BSD license or the GPL-2 (or later) | ||
5 | */ | ||
6 | |||
1 | .align 2 | 7 | .align 2 |
2 | .global ___umulsi3_highpart; | 8 | .global ___umulsi3_highpart; |
3 | .type ___umulsi3_highpart, STT_FUNC; | 9 | .type ___umulsi3_highpart, STT_FUNC; |
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index 03e4a9941f01..01975c017116 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf518/boards/ezbrd.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf527/boards/ezbrd.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Bryan Wu <cooloney@kernel.org> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -571,19 +549,6 @@ static struct platform_device bf51x_sdh_device = { | |||
571 | }; | 549 | }; |
572 | #endif | 550 | #endif |
573 | 551 | ||
574 | static struct resource bfin_gpios_resources = { | ||
575 | .start = 0, | ||
576 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
577 | .flags = IORESOURCE_IRQ, | ||
578 | }; | ||
579 | |||
580 | static struct platform_device bfin_gpios_device = { | ||
581 | .name = "simple-gpio", | ||
582 | .id = -1, | ||
583 | .num_resources = 1, | ||
584 | .resource = &bfin_gpios_resources, | ||
585 | }; | ||
586 | |||
587 | static const unsigned int cclk_vlev_datasheet[] = | 552 | static const unsigned int cclk_vlev_datasheet[] = |
588 | { | 553 | { |
589 | VRPAIR(VLEV_100, 400000000), | 554 | VRPAIR(VLEV_100, 400000000), |
@@ -660,8 +625,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
660 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 625 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
661 | &ezbrd_flash_device, | 626 | &ezbrd_flash_device, |
662 | #endif | 627 | #endif |
663 | |||
664 | &bfin_gpios_device, | ||
665 | }; | 628 | }; |
666 | 629 | ||
667 | static int __init ezbrd_init(void) | 630 | static int __init ezbrd_init(void) |
diff --git a/arch/blackfin/mach-bf518/dma.c b/arch/blackfin/mach-bf518/dma.c index 698e88ca5104..78b43605a0b5 100644 --- a/arch/blackfin/mach-bf518/dma.c +++ b/arch/blackfin/mach-bf518/dma.c | |||
@@ -1,31 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf518/dma.c | 2 | * the simple DMA Implementation for Blackfin |
3 | * Based on: | ||
4 | * Author: Bryan Wu <cooloney@kernel.org> | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
8 | |||
29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
30 | 10 | ||
31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf518/include/mach/bf518.h b/arch/blackfin/mach-bf518/include/mach/bf518.h index 78da1a07ee73..856b330ecf0b 100644 --- a/arch/blackfin/mach-bf518/include/mach/bf518.h +++ b/arch/blackfin/mach-bf518/include/mach/bf518.h | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/bf518.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * Based on: include/asm-blackfin/mach-bf527/bf527.h | ||
4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF518 | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #ifndef __MACH_BF518_H__ | 7 | #ifndef __MACH_BF518_H__ |
diff --git a/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h index dbade93395eb..970d310021e7 100644 --- a/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf518/bfin_serial_5xx.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later |
7 | * description: | ||
8 | * blackfin serial driver head file | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf518/include/mach/blackfin.h b/arch/blackfin/mach-bf518/include/mach/blackfin.h index 83421d393148..6cfb246aebec 100644 --- a/arch/blackfin/mach-bf518/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf518/include/mach/blackfin.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/blackfin.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF512.h b/arch/blackfin/mach-bf518/include/mach/cdefBF512.h index 820c13c4daaa..493020d0a65a 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF512.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF512.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/cdefbf512.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF512_H | 7 | #ifndef _CDEF_BF512_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF514.h b/arch/blackfin/mach-bf518/include/mach/cdefBF514.h index dfe492dfe54e..e1d99911025d 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF514.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF514.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/cdefbf514.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF514_H | 7 | #ifndef _CDEF_BF514_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h index 14df43d4677a..6b364eda4947 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/cdefbf516.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF516_H | 7 | #ifndef _CDEF_BF516_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF518.h b/arch/blackfin/mach-bf518/include/mach/cdefBF518.h index bafb370cfb3c..929b90650bd4 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF518.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF518.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/cdefbf518.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF518_H | 7 | #ifndef _CDEF_BF518_H |
@@ -211,6 +186,47 @@ | |||
211 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) | 186 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) |
212 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) | 187 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) |
213 | 188 | ||
189 | #define bfin_read_EMAC_PTP_CTL() bfin_read16(EMAC_PTP_CTL) | ||
190 | #define bfin_write_EMAC_PTP_CTL(val) bfin_write16(EMAC_PTP_CTL, val) | ||
191 | #define bfin_read_EMAC_PTP_IE() bfin_read16(EMAC_PTP_IE) | ||
192 | #define bfin_write_EMAC_PTP_IE(val) bfin_write16(EMAC_PTP_IE, val) | ||
193 | #define bfin_read_EMAC_PTP_ISTAT() bfin_read16(EMAC_PTP_ISTAT) | ||
194 | #define bfin_write_EMAC_PTP_ISTAT(val) bfin_write16(EMAC_PTP_ISTAT, val) | ||
195 | #define bfin_read_EMAC_PTP_FOFF() bfin_read32(EMAC_PTP_FOFF) | ||
196 | #define bfin_write_EMAC_PTP_FOFF(val) bfin_write32(EMAC_PTP_FOFF, val) | ||
197 | #define bfin_read_EMAC_PTP_FV1() bfin_read32(EMAC_PTP_FV1) | ||
198 | #define bfin_write_EMAC_PTP_FV1(val) bfin_write32(EMAC_PTP_FV1, val) | ||
199 | #define bfin_read_EMAC_PTP_FV2() bfin_read32(EMAC_PTP_FV2) | ||
200 | #define bfin_write_EMAC_PTP_FV2(val) bfin_write32(EMAC_PTP_FV2, val) | ||
201 | #define bfin_read_EMAC_PTP_FV3() bfin_read32(EMAC_PTP_FV3) | ||
202 | #define bfin_write_EMAC_PTP_FV3(val) bfin_write32(EMAC_PTP_FV3, val) | ||
203 | #define bfin_read_EMAC_PTP_ADDEND() bfin_read32(EMAC_PTP_ADDEND) | ||
204 | #define bfin_write_EMAC_PTP_ADDEND(val) bfin_write32(EMAC_PTP_ADDEND, val) | ||
205 | #define bfin_read_EMAC_PTP_ACCR() bfin_read32(EMAC_PTP_ACCR) | ||
206 | #define bfin_write_EMAC_PTP_ACCR(val) bfin_write32(EMAC_PTP_ACCR, val) | ||
207 | #define bfin_read_EMAC_PTP_OFFSET() bfin_read32(EMAC_PTP_OFFSET) | ||
208 | #define bfin_write_EMAC_PTP_OFFSET(val) bfin_write32(EMAC_PTP_OFFSET, val) | ||
209 | #define bfin_read_EMAC_PTP_TIMELO() bfin_read32(EMAC_PTP_TIMELO) | ||
210 | #define bfin_write_EMAC_PTP_TIMELO(val) bfin_write32(EMAC_PTP_TIMELO, val) | ||
211 | #define bfin_read_EMAC_PTP_TIMEHI() bfin_read32(EMAC_PTP_TIMEHI) | ||
212 | #define bfin_write_EMAC_PTP_TIMEHI(val) bfin_write32(EMAC_PTP_TIMEHI, val) | ||
213 | #define bfin_read_EMAC_PTP_RXSNAPLO() bfin_read32(EMAC_PTP_RXSNAPLO) | ||
214 | #define bfin_read_EMAC_PTP_RXSNAPHI() bfin_read32(EMAC_PTP_RXSNAPHI) | ||
215 | #define bfin_read_EMAC_PTP_TXSNAPLO() bfin_read32(EMAC_PTP_TXSNAPLO) | ||
216 | #define bfin_read_EMAC_PTP_TXSNAPHI() bfin_read32(EMAC_PTP_TXSNAPHI) | ||
217 | #define bfin_read_EMAC_PTP_ALARMLO() bfin_read32(EMAC_PTP_ALARMLO) | ||
218 | #define bfin_write_EMAC_PTP_ALARMLO(val) bfin_write32(EMAC_PTP_ALARMLO, val) | ||
219 | #define bfin_read_EMAC_PTP_ALARMHI() bfin_read32(EMAC_PTP_ALARMHI) | ||
220 | #define bfin_write_EMAC_PTP_ALARMHI(val) bfin_write32(EMAC_PTP_ALARMHI, val) | ||
221 | #define bfin_read_EMAC_PTP_ID_OFF() bfin_read16(EMAC_PTP_ID_OFF) | ||
222 | #define bfin_write_EMAC_PTP_ID_OFF(val) bfin_write16(EMAC_PTP_ID_OFF, val) | ||
223 | #define bfin_read_EMAC_PTP_ID_SNAP() bfin_read32(EMAC_PTP_ID_SNAP) | ||
224 | #define bfin_write_EMAC_PTP_ID_SNAP(val) bfin_write32(EMAC_PTP_ID_SNAP, val) | ||
225 | #define bfin_read_EMAC_PTP_PPS_STARTHI() bfin_read32(EMAC_PTP_PPS_STARTHI) | ||
226 | #define bfin_write_EMAC_PTP_PPS_STARTHI(val) bfin_write32(EMAC_PTP_PPS_STARTHI, val) | ||
227 | #define bfin_read_EMAC_PTP_PPS_PERIOD() bfin_read32(EMAC_PTP_PPS_PERIOD) | ||
228 | #define bfin_write_EMAC_PTP_PPS_PERIOD(val) bfin_write32(EMAC_PTP_PPS_PERIOD, val) | ||
229 | |||
214 | /* Removable Storage Interface Registers */ | 230 | /* Removable Storage Interface Registers */ |
215 | 231 | ||
216 | #define bfin_read_RSI_PWR_CTL() bfin_read16(RSI_PWR_CONTROL) | 232 | #define bfin_read_RSI_PWR_CTL() bfin_read16(RSI_PWR_CONTROL) |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h index ee3d4733369c..1d970df7aee9 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/cdefBF51x_base.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF52X_H | 7 | #ifndef _CDEF_BF52X_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF512.h b/arch/blackfin/mach-bf518/include/mach/defBF512.h index a96ca90154dd..9b505bb0cb2d 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF512.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF512.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/defBF512.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF512_H | 7 | #ifndef _DEF_BF512_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF514.h b/arch/blackfin/mach-bf518/include/mach/defBF514.h index 56ee5a7c2007..b5adca23a788 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF514.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF514.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/defBF514.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF514_H | 7 | #ifndef _DEF_BF514_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF516.h b/arch/blackfin/mach-bf518/include/mach/defBF516.h index dfc93843517d..7eb18774d727 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF516.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF516.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/defBF516.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF516_H | 7 | #ifndef _DEF_BF516_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF518.h b/arch/blackfin/mach-bf518/include/mach/defBF518.h index 6e982abf4ede..794cf06eb5ba 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF518.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF518.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/defBF518.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF518_H | 7 | #ifndef _DEF_BF518_H |
@@ -648,4 +624,32 @@ | |||
648 | 624 | ||
649 | #define RWR 0x1 /* Read Wait Request */ | 625 | #define RWR 0x1 /* Read Wait Request */ |
650 | 626 | ||
627 | /* Bit masks for EMAC_PTP_CTL */ | ||
628 | |||
629 | #define PTP_EN 0x1 /* Enable the PTP_TSYNC module */ | ||
630 | #define TL 0x2 /* Timestamp lock control */ | ||
631 | #define ASEN 0x10 /* Auxiliary snapshot control */ | ||
632 | #define PPSEN 0x80 /* Pulse-per-second (PPS) control */ | ||
633 | #define CKOEN 0x2000 /* Clock output control */ | ||
634 | |||
635 | /* Bit masks for EMAC_PTP_IE */ | ||
636 | |||
637 | #define ALIE 0x1 /* Alarm interrupt enable */ | ||
638 | #define RXEIE 0x2 /* Receive event interrupt enable */ | ||
639 | #define RXGIE 0x4 /* Receive general interrupt enable */ | ||
640 | #define TXIE 0x8 /* Transmit interrupt enable */ | ||
641 | #define RXOVE 0x10 /* Receive overrun error interrupt enable */ | ||
642 | #define TXOVE 0x20 /* Transmit overrun error interrupt enable */ | ||
643 | #define ASIE 0x40 /* Auxiliary snapshot interrupt enable */ | ||
644 | |||
645 | /* Bit masks for EMAC_PTP_ISTAT */ | ||
646 | |||
647 | #define ALS 0x1 /* Alarm status */ | ||
648 | #define RXEL 0x2 /* Receive event interrupt status */ | ||
649 | #define RXGL 0x4 /* Receive general interrupt status */ | ||
650 | #define TXTL 0x8 /* Transmit snapshot status */ | ||
651 | #define RXOV 0x10 /* Receive snapshot overrun status */ | ||
652 | #define TXOV 0x20 /* Transmit snapshot overrun status */ | ||
653 | #define ASL 0x40 /* Auxiliary snapshot interrupt status */ | ||
654 | |||
651 | #endif /* _DEF_BF518_H */ | 655 | #endif /* _DEF_BF518_H */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h index 1bec8d1c2a73..e06f4112c695 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf518/defBF51x_base.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF51X_H | 7 | #ifndef _DEF_BF51X_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/gpio.h b/arch/blackfin/mach-bf518/include/mach/gpio.h index 9757683c3948..bbab2d76499c 100644 --- a/arch/blackfin/mach-bf518/include/mach/gpio.h +++ b/arch/blackfin/mach-bf518/include/mach/gpio.h | |||
@@ -1,7 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf518/include/mach/gpio.h | ||
3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
4 | * | ||
5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/irq.h b/arch/blackfin/mach-bf518/include/mach/irq.h index 3ff0f093313d..14e52ec7afa5 100644 --- a/arch/blackfin/mach-bf518/include/mach/irq.h +++ b/arch/blackfin/mach-bf518/include/mach/irq.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf518/irq.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * based on: include/asm-blackfin/mach-bf527/irq.h | ||
4 | * author: Michael Hennerich (michael.hennerich@analog.com) | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later |
7 | * description: | ||
8 | * system mmr register map | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _BF518_IRQ_H_ | 7 | #ifndef _BF518_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf518/include/mach/portmux.h b/arch/blackfin/mach-bf518/include/mach/portmux.h index a0fc77fd3315..e352910f7f99 100644 --- a/arch/blackfin/mach-bf518/include/mach/portmux.h +++ b/arch/blackfin/mach-bf518/include/mach/portmux.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2008-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf518/ints-priority.c b/arch/blackfin/mach-bf518/ints-priority.c index 3151fd5501ca..bb05bef34ec0 100644 --- a/arch/blackfin/mach-bf518/ints-priority.c +++ b/arch/blackfin/mach-bf518/ints-priority.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf518/ints-priority.c | 2 | * Set up the interrupt priorities |
3 | * Based on: arch/blackfin/mach-bf527/ints-priority.c | ||
4 | * Author: Bryan Wu <cooloney@kernel.org> | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
7 | * Description: Set up the interrupt priorities | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 08a3f01c9886..f1996b13a3da 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -1,31 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf527/boards/cm-bf527.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 8 | */ |
30 | 9 | ||
31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -616,12 +595,6 @@ static struct platform_device bfin_spi0_device = { | |||
616 | }; | 595 | }; |
617 | #endif /* spi master and devices */ | 596 | #endif /* spi master and devices */ |
618 | 597 | ||
619 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
620 | static struct platform_device bfin_fb_adv7393_device = { | ||
621 | .name = "bfin-adv7393", | ||
622 | }; | ||
623 | #endif | ||
624 | |||
625 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 598 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
626 | static struct mtd_partition cm_partitions[] = { | 599 | static struct mtd_partition cm_partitions[] = { |
627 | { | 600 | { |
@@ -786,6 +759,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
786 | .irq = IRQ_PF8, | 759 | .irq = IRQ_PF8, |
787 | }, | 760 | }, |
788 | #endif | 761 | #endif |
762 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
763 | { | ||
764 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
765 | }, | ||
766 | #endif | ||
789 | }; | 767 | }; |
790 | 768 | ||
791 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 769 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -821,19 +799,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
821 | }; | 799 | }; |
822 | #endif | 800 | #endif |
823 | 801 | ||
824 | static struct resource bfin_gpios_resources = { | ||
825 | .start = 0, | ||
826 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
827 | .flags = IORESOURCE_IRQ, | ||
828 | }; | ||
829 | |||
830 | static struct platform_device bfin_gpios_device = { | ||
831 | .name = "simple-gpio", | ||
832 | .id = -1, | ||
833 | .num_resources = 1, | ||
834 | .resource = &bfin_gpios_resources, | ||
835 | }; | ||
836 | |||
837 | static const unsigned int cclk_vlev_datasheet[] = | 802 | static const unsigned int cclk_vlev_datasheet[] = |
838 | { | 803 | { |
839 | VRPAIR(VLEV_100, 400000000), | 804 | VRPAIR(VLEV_100, 400000000), |
@@ -909,10 +874,6 @@ static struct platform_device *cmbf527_devices[] __initdata = { | |||
909 | &bfin_spi0_device, | 874 | &bfin_spi0_device, |
910 | #endif | 875 | #endif |
911 | 876 | ||
912 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
913 | &bfin_fb_adv7393_device, | ||
914 | #endif | ||
915 | |||
916 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 877 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
917 | &bfin_uart_device, | 878 | &bfin_uart_device, |
918 | #endif | 879 | #endif |
@@ -942,8 +903,6 @@ static struct platform_device *cmbf527_devices[] __initdata = { | |||
942 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 903 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
943 | &cm_flash_device, | 904 | &cm_flash_device, |
944 | #endif | 905 | #endif |
945 | |||
946 | &bfin_gpios_device, | ||
947 | }; | 906 | }; |
948 | 907 | ||
949 | static int __init cm_init(void) | 908 | static int __init cm_init(void) |
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 68b4c804364c..cad23b15d83c 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf527/boards/ezbrd.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -611,19 +589,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
611 | }; | 589 | }; |
612 | #endif | 590 | #endif |
613 | 591 | ||
614 | static struct resource bfin_gpios_resources = { | ||
615 | .start = 0, | ||
616 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
617 | .flags = IORESOURCE_IRQ, | ||
618 | }; | ||
619 | |||
620 | static struct platform_device bfin_gpios_device = { | ||
621 | .name = "simple-gpio", | ||
622 | .id = -1, | ||
623 | .num_resources = 1, | ||
624 | .resource = &bfin_gpios_resources, | ||
625 | }; | ||
626 | |||
627 | static const unsigned int cclk_vlev_datasheet[] = | 592 | static const unsigned int cclk_vlev_datasheet[] = |
628 | { | 593 | { |
629 | VRPAIR(VLEV_100, 400000000), | 594 | VRPAIR(VLEV_100, 400000000), |
@@ -732,8 +697,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
732 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 697 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
733 | &ezbrd_flash_device, | 698 | &ezbrd_flash_device, |
734 | #endif | 699 | #endif |
735 | |||
736 | &bfin_gpios_device, | ||
737 | }; | 700 | }; |
738 | 701 | ||
739 | static int __init ezbrd_init(void) | 702 | static int __init ezbrd_init(void) |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 2849b09abe99..f09665f74ba0 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf527/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -716,12 +694,6 @@ static struct platform_device bfin_fb_device = { | |||
716 | }; | 694 | }; |
717 | #endif | 695 | #endif |
718 | 696 | ||
719 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
720 | static struct platform_device bfin_fb_adv7393_device = { | ||
721 | .name = "bfin-adv7393", | ||
722 | }; | ||
723 | #endif | ||
724 | |||
725 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 697 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
726 | static struct resource bfin_uart_resources[] = { | 698 | static struct resource bfin_uart_resources[] = { |
727 | #ifdef CONFIG_SERIAL_BFIN_UART0 | 699 | #ifdef CONFIG_SERIAL_BFIN_UART0 |
@@ -837,6 +809,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
837 | .irq = IRQ_PF8, | 809 | .irq = IRQ_PF8, |
838 | }, | 810 | }, |
839 | #endif | 811 | #endif |
812 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
813 | { | ||
814 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
815 | }, | ||
816 | #endif | ||
840 | }; | 817 | }; |
841 | 818 | ||
842 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 819 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -905,19 +882,6 @@ static struct platform_device bfin_rotary_device = { | |||
905 | }; | 882 | }; |
906 | #endif | 883 | #endif |
907 | 884 | ||
908 | static struct resource bfin_gpios_resources = { | ||
909 | .start = 0, | ||
910 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
911 | .flags = IORESOURCE_IRQ, | ||
912 | }; | ||
913 | |||
914 | static struct platform_device bfin_gpios_device = { | ||
915 | .name = "simple-gpio", | ||
916 | .id = -1, | ||
917 | .num_resources = 1, | ||
918 | .resource = &bfin_gpios_resources, | ||
919 | }; | ||
920 | |||
921 | static const unsigned int cclk_vlev_datasheet[] = | 885 | static const unsigned int cclk_vlev_datasheet[] = |
922 | { | 886 | { |
923 | VRPAIR(VLEV_100, 400000000), | 887 | VRPAIR(VLEV_100, 400000000), |
@@ -1001,10 +965,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1001 | &bf52x_t350mcqb_device, | 965 | &bf52x_t350mcqb_device, |
1002 | #endif | 966 | #endif |
1003 | 967 | ||
1004 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1005 | &bfin_fb_adv7393_device, | ||
1006 | #endif | ||
1007 | |||
1008 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 968 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
1009 | &bfin_uart_device, | 969 | &bfin_uart_device, |
1010 | #endif | 970 | #endif |
@@ -1038,8 +998,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1038 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 998 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
1039 | &ezkit_flash_device, | 999 | &ezkit_flash_device, |
1040 | #endif | 1000 | #endif |
1041 | |||
1042 | &bfin_gpios_device, | ||
1043 | }; | 1001 | }; |
1044 | 1002 | ||
1045 | static int __init ezkit_init(void) | 1003 | static int __init ezkit_init(void) |
diff --git a/arch/blackfin/mach-bf527/dma.c b/arch/blackfin/mach-bf527/dma.c index 231877578243..7bc7577d6c4f 100644 --- a/arch/blackfin/mach-bf527/dma.c +++ b/arch/blackfin/mach-bf527/dma.c | |||
@@ -1,31 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf527/dma.c | 2 | * This file contains the simple DMA Implementation for Blackfin |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2007-2008 Analog Devices Inc. |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
8 | |||
29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
30 | 10 | ||
31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf527/include/mach/bf527.h b/arch/blackfin/mach-bf527/include/mach/bf527.h index 3832aab11e9a..ff68c8897087 100644 --- a/arch/blackfin/mach-bf527/include/mach/bf527.h +++ b/arch/blackfin/mach-bf527/include/mach/bf527.h | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/bf527.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF527 | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #ifndef __MACH_BF527_H__ | 7 | #ifndef __MACH_BF527_H__ |
diff --git a/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h index ebd6cebc1fbc..c1d55b878b45 100644 --- a/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf527/bfin_serial_5xx.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later |
7 | * description: | ||
8 | * blackfin serial driver head file | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf527/include/mach/blackfin.h b/arch/blackfin/mach-bf527/include/mach/blackfin.h index ea9cb0fef8bc..e7d6034f268f 100644 --- a/arch/blackfin/mach-bf527/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf527/include/mach/blackfin.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/blackfin.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF522.h b/arch/blackfin/mach-bf527/include/mach/cdefBF522.h index 663c2bbdfd91..1079af8c7aef 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF522.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF522.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/cdefbf522.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF522_H | 7 | #ifndef _CDEF_BF522_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF525.h b/arch/blackfin/mach-bf527/include/mach/cdefBF525.h index 00377eb59b75..dc3119e9f663 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF525.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF525.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/cdefbf525.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF525_H | 7 | #ifndef _CDEF_BF525_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF527.h b/arch/blackfin/mach-bf527/include/mach/cdefBF527.h index fca8db708119..d6579449ee46 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF527.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF527.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/cdefbf527.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF527_H | 7 | #ifndef _CDEF_BF527_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h b/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h index 1fe76d8e0403..7014dde10dd6 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/cdefBF52x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF52X_H | 7 | #ifndef _CDEF_BF52X_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF522.h b/arch/blackfin/mach-bf527/include/mach/defBF522.h index 0a8cdcdf0b49..cb139a254810 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF522.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF522.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/defBF522.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF522_H | 7 | #ifndef _DEF_BF522_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF525.h b/arch/blackfin/mach-bf527/include/mach/defBF525.h index 5cd7576fef76..82abefc1ef6c 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF525.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF525.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/defBF525.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF525_H | 7 | #ifndef _DEF_BF525_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF527.h b/arch/blackfin/mach-bf527/include/mach/defBF527.h index f040f364afa3..570a125df025 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF527.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF527.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/defBF527.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF527_H | 7 | #ifndef _DEF_BF527_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h b/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h index 68b55d03fedf..f821700716ee 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf527/defBF52x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF52X_H | 7 | #ifndef _DEF_BF52X_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/gpio.h b/arch/blackfin/mach-bf527/include/mach/gpio.h index 06b6eebf0d49..104bff85290d 100644 --- a/arch/blackfin/mach-bf527/include/mach/gpio.h +++ b/arch/blackfin/mach-bf527/include/mach/gpio.h | |||
@@ -1,7 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf527/include/mach/gpio.h | ||
3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
4 | * | ||
5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf527/include/mach/irq.h b/arch/blackfin/mach-bf527/include/mach/irq.h index 8ea660d8151f..aa6579a64a2f 100644 --- a/arch/blackfin/mach-bf527/include/mach/irq.h +++ b/arch/blackfin/mach-bf527/include/mach/irq.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf527/irq.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * based on: include/asm-blackfin/mach-bf537/irq.h | ||
4 | * author: Michael Hennerich (michael.hennerich@analog.com) | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later |
7 | * description: | ||
8 | * system mmr register map | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _BF527_IRQ_H_ | 7 | #ifndef _BF527_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf527/include/mach/portmux.h b/arch/blackfin/mach-bf527/include/mach/portmux.h index 72b1652be4da..d4518b6f4adf 100644 --- a/arch/blackfin/mach-bf527/include/mach/portmux.h +++ b/arch/blackfin/mach-bf527/include/mach/portmux.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf527/ints-priority.c b/arch/blackfin/mach-bf527/ints-priority.c index f8c8acd73e30..44ca215bf164 100644 --- a/arch/blackfin/mach-bf527/ints-priority.c +++ b/arch/blackfin/mach-bf527/ints-priority.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/ints-priority.c | 2 | * Set up the interrupt priorities |
3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2007-2008 Analog Devices Inc. |
7 | * Description: Set up the interrupt priorities | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 6c2b47fe4fe4..43f43a095a99 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -1,32 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/H8606.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/stamp.c | 3 | * 2007-2008 HV Sistemas S.L. |
4 | * Author: Javier Herrero <jherrero@hvsistemas.es> | 4 | * Javier Herrero <jherrero@hvsistemas.es> |
5 | * 2005 National ICT Australia (NICTA) | ||
6 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 7 | * |
6 | * Created: 2007 | 8 | * Licensed under the GPL-2 or later. |
7 | * Description: Board Info File for the HV Sistemas H8606 board | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc | ||
12 | * Copyright 2007,2008 HV Sistemas S.L. | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2 of the License, or | ||
19 | * (at your option) any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; if not, see the file COPYING, or write | ||
28 | * to the Free Software Foundation, Inc., | ||
29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
30 | */ | 9 | */ |
31 | 10 | ||
32 | #include <linux/device.h> | 11 | #include <linux/device.h> |
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c index 8208d67e2c97..b580884848d4 100644 --- a/arch/blackfin/mach-bf533/boards/blackstamp.c +++ b/arch/blackfin/mach-bf533/boards/blackstamp.c | |||
@@ -1,16 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/blackstamp.c | 2 | * Board Info File for the BlackStamp |
3 | * Based on: arch/blackfin/mach-bf533/stamp.c | ||
4 | * Author: Benjamin Matthews <bmat@lle.rochester.edu> | ||
5 | * Aidan Williams <aidan@nicta.com.au> | ||
6 | * | 3 | * |
7 | * Created: 2008 | ||
8 | * Description: Board Info File for the BlackStamp | ||
9 | * | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
12 | * | 5 | * 2008 Benjamin Matthews <bmat@lle.rochester.edu> |
13 | * Enter bugs at http://blackfin.uclinux.org/ | 6 | * 2005 National ICT Australia (NICTA) |
7 | * Aidan Williams <aidan@nicta.com.au> | ||
14 | * | 8 | * |
15 | * More info about the BlackStamp at: | 9 | * More info about the BlackStamp at: |
16 | * http://blackfin.uclinux.org/gf/project/blackstamp/ | 10 | * http://blackfin.uclinux.org/gf/project/blackstamp/ |
@@ -281,19 +275,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
281 | }; | 275 | }; |
282 | #endif | 276 | #endif |
283 | 277 | ||
284 | static struct resource bfin_gpios_resources = { | ||
285 | .start = 0, | ||
286 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
287 | .flags = IORESOURCE_IRQ, | ||
288 | }; | ||
289 | |||
290 | static struct platform_device bfin_gpios_device = { | ||
291 | .name = "simple-gpio", | ||
292 | .id = -1, | ||
293 | .num_resources = 1, | ||
294 | .resource = &bfin_gpios_resources, | ||
295 | }; | ||
296 | |||
297 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 278 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
298 | #include <linux/i2c-gpio.h> | 279 | #include <linux/i2c-gpio.h> |
299 | 280 | ||
@@ -384,8 +365,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
384 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 365 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
385 | &i2c_gpio_device, | 366 | &i2c_gpio_device, |
386 | #endif | 367 | #endif |
387 | |||
388 | &bfin_gpios_device, | ||
389 | }; | 368 | }; |
390 | 369 | ||
391 | static int __init blackstamp_init(void) | 370 | static int __init blackstamp_init(void) |
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index 7443b26c80c5..7fc3b860d4ae 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -1,30 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/boards/cm_bf533.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> Copyright 2005 | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: Board description file | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 8 | */ |
29 | 9 | ||
30 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -261,19 +241,6 @@ static struct platform_device smsc911x_device = { | |||
261 | }; | 241 | }; |
262 | #endif | 242 | #endif |
263 | 243 | ||
264 | static struct resource bfin_gpios_resources = { | ||
265 | .start = 0, | ||
266 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
267 | .flags = IORESOURCE_IRQ, | ||
268 | }; | ||
269 | |||
270 | static struct platform_device bfin_gpios_device = { | ||
271 | .name = "simple-gpio", | ||
272 | .id = -1, | ||
273 | .num_resources = 1, | ||
274 | .resource = &bfin_gpios_resources, | ||
275 | }; | ||
276 | |||
277 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 244 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
278 | static struct resource bfin_uart_resources[] = { | 245 | static struct resource bfin_uart_resources[] = { |
279 | { | 246 | { |
@@ -506,8 +473,6 @@ static struct platform_device *cm_bf533_devices[] __initdata = { | |||
506 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 473 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
507 | ¶_flash_device, | 474 | ¶_flash_device, |
508 | #endif | 475 | #endif |
509 | |||
510 | &bfin_gpios_device, | ||
511 | }; | 476 | }; |
512 | 477 | ||
513 | static int __init cm_bf533_init(void) | 478 | static int __init cm_bf533_init(void) |
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index fd518e383b79..d4689dcc198e 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: Original Work | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: 2005 | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: Robin Getz <rgetz@blackfin.uclinux.org> - Named the boards | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -33,12 +11,14 @@ | |||
33 | #include <linux/mtd/mtd.h> | 11 | #include <linux/mtd/mtd.h> |
34 | #include <linux/mtd/partitions.h> | 12 | #include <linux/mtd/partitions.h> |
35 | #include <linux/mtd/plat-ram.h> | 13 | #include <linux/mtd/plat-ram.h> |
14 | #include <linux/mtd/physmap.h> | ||
36 | #include <linux/spi/spi.h> | 15 | #include <linux/spi/spi.h> |
37 | #include <linux/spi/flash.h> | 16 | #include <linux/spi/flash.h> |
38 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 17 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
39 | #include <linux/usb/isp1362.h> | 18 | #include <linux/usb/isp1362.h> |
40 | #endif | 19 | #endif |
41 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
21 | #include <linux/i2c.h> | ||
42 | #include <asm/dma.h> | 22 | #include <asm/dma.h> |
43 | #include <asm/bfin5xx_spi.h> | 23 | #include <asm/bfin5xx_spi.h> |
44 | #include <asm/portmux.h> | 24 | #include <asm/portmux.h> |
@@ -56,12 +36,6 @@ static struct platform_device rtc_device = { | |||
56 | }; | 36 | }; |
57 | #endif | 37 | #endif |
58 | 38 | ||
59 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
60 | static struct platform_device bfin_fb_adv7393_device = { | ||
61 | .name = "bfin-adv7393", | ||
62 | }; | ||
63 | #endif | ||
64 | |||
65 | /* | 39 | /* |
66 | * USB-LAN EzExtender board | 40 | * USB-LAN EzExtender board |
67 | * Driver needs to know address, irq and flag pin. | 41 | * Driver needs to know address, irq and flag pin. |
@@ -98,54 +72,69 @@ static struct platform_device smc91x_device = { | |||
98 | }; | 72 | }; |
99 | #endif | 73 | #endif |
100 | 74 | ||
101 | #if defined(CONFIG_MTD_PSD4256G) || defined(CONFIG_MTD_PSD4256G_MODULE) | 75 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
102 | static const char *map_probes[] = { | 76 | static struct mtd_partition ezkit_partitions_a[] = { |
103 | "stm_flash", | 77 | { |
104 | NULL, | 78 | .name = "bootloader(nor a)", |
79 | .size = 0x40000, | ||
80 | .offset = 0, | ||
81 | }, { | ||
82 | .name = "linux kernel(nor a)", | ||
83 | .size = MTDPART_SIZ_FULL, | ||
84 | .offset = MTDPART_OFS_APPEND, | ||
85 | }, | ||
105 | }; | 86 | }; |
106 | 87 | ||
107 | static struct platdata_mtd_ram stm_pri_data_a = { | 88 | static struct physmap_flash_data ezkit_flash_data_a = { |
108 | .mapname = "Flash A Primary", | 89 | .width = 2, |
109 | .map_probes = map_probes, | 90 | .parts = ezkit_partitions_a, |
110 | .bankwidth = 2, | 91 | .nr_parts = ARRAY_SIZE(ezkit_partitions_a), |
111 | }; | 92 | }; |
112 | 93 | ||
113 | static struct resource stm_pri_resource_a = { | 94 | static struct resource ezkit_flash_resource_a = { |
114 | .start = 0x20000000, | 95 | .start = 0x20000000, |
115 | .end = 0x200fffff, | 96 | .end = 0x200fffff, |
116 | .flags = IORESOURCE_MEM, | 97 | .flags = IORESOURCE_MEM, |
117 | }; | 98 | }; |
118 | 99 | ||
119 | static struct platform_device stm_pri_device_a = { | 100 | static struct platform_device ezkit_flash_device_a = { |
120 | .name = "mtd-ram", | 101 | .name = "physmap-flash", |
121 | .id = 0, | 102 | .id = 0, |
122 | .dev = { | 103 | .dev = { |
123 | .platform_data = &stm_pri_data_a, | 104 | .platform_data = &ezkit_flash_data_a, |
124 | }, | 105 | }, |
125 | .num_resources = 1, | 106 | .num_resources = 1, |
126 | .resource = &stm_pri_resource_a, | 107 | .resource = &ezkit_flash_resource_a, |
108 | }; | ||
109 | |||
110 | static struct mtd_partition ezkit_partitions_b[] = { | ||
111 | { | ||
112 | .name = "file system(nor b)", | ||
113 | .size = MTDPART_SIZ_FULL, | ||
114 | .offset = MTDPART_OFS_APPEND, | ||
115 | }, | ||
127 | }; | 116 | }; |
128 | 117 | ||
129 | static struct platdata_mtd_ram stm_pri_data_b = { | 118 | static struct physmap_flash_data ezkit_flash_data_b = { |
130 | .mapname = "Flash B Primary", | 119 | .width = 2, |
131 | .map_probes = map_probes, | 120 | .parts = ezkit_partitions_b, |
132 | .bankwidth = 2, | 121 | .nr_parts = ARRAY_SIZE(ezkit_partitions_b), |
133 | }; | 122 | }; |
134 | 123 | ||
135 | static struct resource stm_pri_resource_b = { | 124 | static struct resource ezkit_flash_resource_b = { |
136 | .start = 0x20100000, | 125 | .start = 0x20100000, |
137 | .end = 0x201fffff, | 126 | .end = 0x201fffff, |
138 | .flags = IORESOURCE_MEM, | 127 | .flags = IORESOURCE_MEM, |
139 | }; | 128 | }; |
140 | 129 | ||
141 | static struct platform_device stm_pri_device_b = { | 130 | static struct platform_device ezkit_flash_device_b = { |
142 | .name = "mtd-ram", | 131 | .name = "physmap-flash", |
143 | .id = 4, | 132 | .id = 4, |
144 | .dev = { | 133 | .dev = { |
145 | .platform_data = &stm_pri_data_b, | 134 | .platform_data = &ezkit_flash_data_b, |
146 | }, | 135 | }, |
147 | .num_resources = 1, | 136 | .num_resources = 1, |
148 | .resource = &stm_pri_resource_b, | 137 | .resource = &ezkit_flash_resource_b, |
149 | }; | 138 | }; |
150 | #endif | 139 | #endif |
151 | 140 | ||
@@ -400,19 +389,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
400 | }; | 389 | }; |
401 | #endif | 390 | #endif |
402 | 391 | ||
403 | static struct resource bfin_gpios_resources = { | ||
404 | .start = 0, | ||
405 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
406 | .flags = IORESOURCE_IRQ, | ||
407 | }; | ||
408 | |||
409 | static struct platform_device bfin_gpios_device = { | ||
410 | .name = "simple-gpio", | ||
411 | .id = -1, | ||
412 | .num_resources = 1, | ||
413 | .resource = &bfin_gpios_resources, | ||
414 | }; | ||
415 | |||
416 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 392 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
417 | #include <linux/i2c-gpio.h> | 393 | #include <linux/i2c-gpio.h> |
418 | 394 | ||
@@ -460,13 +436,21 @@ static struct platform_device bfin_dpmc = { | |||
460 | }, | 436 | }, |
461 | }; | 437 | }; |
462 | 438 | ||
439 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | ||
440 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
441 | { | ||
442 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
443 | }, | ||
444 | #endif | ||
445 | }; | ||
446 | |||
463 | static struct platform_device *ezkit_devices[] __initdata = { | 447 | static struct platform_device *ezkit_devices[] __initdata = { |
464 | 448 | ||
465 | &bfin_dpmc, | 449 | &bfin_dpmc, |
466 | 450 | ||
467 | #if defined(CONFIG_MTD_PSD4256G) || defined(CONFIG_MTD_PSD4256G_MODULE) | 451 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
468 | &stm_pri_device_a, | 452 | &ezkit_flash_device_a, |
469 | &stm_pri_device_b, | 453 | &ezkit_flash_device_b, |
470 | #endif | 454 | #endif |
471 | 455 | ||
472 | #if defined(CONFIG_MTD_PLATRAM) || defined(CONFIG_MTD_PLATRAM_MODULE) | 456 | #if defined(CONFIG_MTD_PLATRAM) || defined(CONFIG_MTD_PLATRAM_MODULE) |
@@ -482,10 +466,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
482 | &bfin_spi0_device, | 466 | &bfin_spi0_device, |
483 | #endif | 467 | #endif |
484 | 468 | ||
485 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
486 | &bfin_fb_adv7393_device, | ||
487 | #endif | ||
488 | |||
489 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 469 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
490 | &rtc_device, | 470 | &rtc_device, |
491 | #endif | 471 | #endif |
@@ -507,8 +487,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
507 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 487 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
508 | &i2c_gpio_device, | 488 | &i2c_gpio_device, |
509 | #endif | 489 | #endif |
510 | |||
511 | &bfin_gpios_device, | ||
512 | }; | 490 | }; |
513 | 491 | ||
514 | static int __init ezkit_init(void) | 492 | static int __init ezkit_init(void) |
@@ -516,6 +494,8 @@ static int __init ezkit_init(void) | |||
516 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | 494 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
517 | platform_add_devices(ezkit_devices, ARRAY_SIZE(ezkit_devices)); | 495 | platform_add_devices(ezkit_devices, ARRAY_SIZE(ezkit_devices)); |
518 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 496 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
497 | i2c_register_board_info(0, bfin_i2c_board_info, | ||
498 | ARRAY_SIZE(bfin_i2c_board_info)); | ||
519 | return 0; | 499 | return 0; |
520 | } | 500 | } |
521 | 501 | ||
diff --git a/arch/blackfin/mach-bf533/boards/ip0x.c b/arch/blackfin/mach-bf533/boards/ip0x.c index f19b63378b12..644be5e5ab6f 100644 --- a/arch/blackfin/mach-bf533/boards/ip0x.c +++ b/arch/blackfin/mach-bf533/boards/ip0x.c | |||
@@ -1,34 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/ip0x.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/bf1.c | 3 | * 2007 David Rowe |
4 | * Based on: arch/blackfin/mach-bf533/stamp.c | 4 | * 2006 Intratrade Ltd. |
5 | * Author: Ivan Danov <idanov@gmail.com> | 5 | * Ivan Danov <idanov@gmail.com> |
6 | * Modified for IP0X David Rowe | 6 | * 2005 National ICT Australia (NICTA) |
7 | * Aidan Williams <aidan@nicta.com.au> | ||
7 | * | 8 | * |
8 | * Created: 2007 | 9 | * Licensed under the GPL-2 or later. |
9 | * Description: Board info file for the IP04/IP08 boards, which | ||
10 | * are derived from the BlackfinOne V2.0 boards. | ||
11 | * | ||
12 | * Modified: | ||
13 | * COpyright 2007 David Rowe | ||
14 | * Copyright 2006 Intratrade Ltd. | ||
15 | * Copyright 2005 National ICT Australia (NICTA) | ||
16 | * Copyright 2004-2006 Analog Devices Inc. | ||
17 | * | ||
18 | * This program is free software; you can redistribute it and/or modify | ||
19 | * it under the terms of the GNU General Public License as published by | ||
20 | * the Free Software Foundation; either version 2 of the License, or | ||
21 | * (at your option) any later version. | ||
22 | * | ||
23 | * This program is distributed in the hope that it will be useful, | ||
24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
26 | * GNU General Public License for more details. | ||
27 | * | ||
28 | * You should have received a copy of the GNU General Public License | ||
29 | * along with this program; if not, see the file COPYING, or write | ||
30 | * to the Free Software Foundation, Inc., | ||
31 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
32 | */ | 10 | */ |
33 | 11 | ||
34 | #include <linux/device.h> | 12 | #include <linux/device.h> |
@@ -145,7 +123,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = { | |||
145 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ | 123 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ |
146 | .enable_dma = 0, /* if 1 - block!!! */ | 124 | .enable_dma = 0, /* if 1 - block!!! */ |
147 | .bits_per_word = 8, | 125 | .bits_per_word = 8, |
148 | .cs_change_per_word = 0, | ||
149 | }; | 126 | }; |
150 | #endif | 127 | #endif |
151 | 128 | ||
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 729fd7c26336..82f70efd66e7 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: 2005 | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: Board Info File for the BF533-STAMP | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -95,12 +73,6 @@ static struct platform_device smc91x_device = { | |||
95 | }; | 73 | }; |
96 | #endif | 74 | #endif |
97 | 75 | ||
98 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
99 | static struct platform_device bfin_fb_adv7393_device = { | ||
100 | .name = "bfin-adv7393", | ||
101 | }; | ||
102 | #endif | ||
103 | |||
104 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 76 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
105 | static struct resource net2272_bfin_resources[] = { | 77 | static struct resource net2272_bfin_resources[] = { |
106 | { | 78 | { |
@@ -436,19 +408,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
436 | }; | 408 | }; |
437 | #endif | 409 | #endif |
438 | 410 | ||
439 | static struct resource bfin_gpios_resources = { | ||
440 | .start = 0, | ||
441 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
442 | .flags = IORESOURCE_IRQ, | ||
443 | }; | ||
444 | |||
445 | static struct platform_device bfin_gpios_device = { | ||
446 | .name = "simple-gpio", | ||
447 | .id = -1, | ||
448 | .num_resources = 1, | ||
449 | .resource = &bfin_gpios_resources, | ||
450 | }; | ||
451 | |||
452 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 411 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
453 | #include <linux/i2c-gpio.h> | 412 | #include <linux/i2c-gpio.h> |
454 | 413 | ||
@@ -487,6 +446,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
487 | .irq = 39, | 446 | .irq = 39, |
488 | }, | 447 | }, |
489 | #endif | 448 | #endif |
449 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
450 | { | ||
451 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
452 | }, | ||
453 | #endif | ||
490 | }; | 454 | }; |
491 | 455 | ||
492 | static const unsigned int cclk_vlev_datasheet[] = | 456 | static const unsigned int cclk_vlev_datasheet[] = |
@@ -528,10 +492,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
528 | &smc91x_device, | 492 | &smc91x_device, |
529 | #endif | 493 | #endif |
530 | 494 | ||
531 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
532 | &bfin_fb_adv7393_device, | ||
533 | #endif | ||
534 | |||
535 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 495 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
536 | &net2272_bfin_device, | 496 | &net2272_bfin_device, |
537 | #endif | 497 | #endif |
@@ -563,8 +523,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
563 | &i2c_gpio_device, | 523 | &i2c_gpio_device, |
564 | #endif | 524 | #endif |
565 | 525 | ||
566 | &bfin_gpios_device, | ||
567 | |||
568 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) | 526 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) |
569 | &stamp_flash_device, | 527 | &stamp_flash_device, |
570 | #endif | 528 | #endif |
diff --git a/arch/blackfin/mach-bf533/dma.c b/arch/blackfin/mach-bf533/dma.c index 7a443c37fb9f..4a14a46a9a68 100644 --- a/arch/blackfin/mach-bf533/dma.c +++ b/arch/blackfin/mach-bf533/dma.c | |||
@@ -1,31 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/dma.c | 2 | * simple DMA Implementation for Blackfin |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2007-2009 Analog Devices Inc. |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
8 | |||
29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
30 | 10 | ||
31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf533/include/mach/bf533.h b/arch/blackfin/mach-bf533/include/mach/bf533.h index cf4427cd3f72..e3e05f8f7af9 100644 --- a/arch/blackfin/mach-bf533/include/mach/bf533.h +++ b/arch/blackfin/mach-bf533/include/mach/bf533.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf533/bf533.h | 2 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2005-2008 Analog Devices Inc. |
7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef __MACH_BF533_H__ | 9 | #ifndef __MACH_BF533_H__ |
diff --git a/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h index 6965b4088c44..9e1f3defb6bc 100644 --- a/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf533/bfin_serial_5xx.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later |
7 | * description: | ||
8 | * blackfin serial driver head file | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf533/include/mach/blackfin.h b/arch/blackfin/mach-bf533/include/mach/blackfin.h index 499e897a4f4f..f4bd6df5d968 100644 --- a/arch/blackfin/mach-bf533/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf533/include/mach/blackfin.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf533/blackfin.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf533/include/mach/cdefBF532.h b/arch/blackfin/mach-bf533/include/mach/cdefBF532.h index bbc3c8386d48..feb2392c43ea 100644 --- a/arch/blackfin/mach-bf533/include/mach/cdefBF532.h +++ b/arch/blackfin/mach-bf533/include/mach/cdefBF532.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf533/cdefBF532.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF532_H | 7 | #ifndef _CDEF_BF532_H |
diff --git a/arch/blackfin/mach-bf533/include/mach/defBF532.h b/arch/blackfin/mach-bf533/include/mach/defBF532.h index 7f4633223e6d..02b328eb0e07 100644 --- a/arch/blackfin/mach-bf533/include/mach/defBF532.h +++ b/arch/blackfin/mach-bf533/include/mach/defBF532.h | |||
@@ -1,48 +1,10 @@ | |||
1 | /************************************************************************ | ||
2 | * | ||
3 | * This file is subject to the terms and conditions of the GNU Public | ||
4 | * License. See the file "COPYING" in the main directory of this archive | ||
5 | * for more details. | ||
6 | * | ||
7 | * Non-GPL License also available as part of VisualDSP++ | ||
8 | * http://www.analog.com/processors/resources/crosscore/visualDspDevSoftware.html | ||
9 | * | ||
10 | * (c) Copyright 2001-2005 Analog Devices, Inc. All rights reserved | ||
11 | * | ||
12 | * This file under source code control, please send bugs or changes to: | ||
13 | * dsptools.support@analog.com | ||
14 | * | ||
15 | ************************************************************************/ | ||
16 | /* | 1 | /* |
17 | * File: include/asm-blackfin/mach-bf533/defBF532.h | 2 | * System & MMR bit and Address definitions for ADSP-BF532 |
18 | * Based on: | ||
19 | * Author: | ||
20 | * | ||
21 | * Created: | ||
22 | * Description: | ||
23 | * | ||
24 | * Rev: | ||
25 | * | ||
26 | * Modified: | ||
27 | * | ||
28 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
29 | * | ||
30 | * This program is free software; you can redistribute it and/or modify | ||
31 | * it under the terms of the GNU General Public License as published by | ||
32 | * the Free Software Foundation; either version 2, or (at your option) | ||
33 | * any later version. | ||
34 | * | 3 | * |
35 | * This program is distributed in the hope that it will be useful, | 4 | * Copyright 2005-2008 Analog Devices Inc. |
36 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
37 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
38 | * GNU General Public License for more details. | ||
39 | * | 5 | * |
40 | * You should have received a copy of the GNU General Public License | 6 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
41 | * along with this program; see the file COPYING. | ||
42 | * If not, write to the Free Software Foundation, | ||
43 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
44 | */ | 7 | */ |
45 | /* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF532 */ | ||
46 | 8 | ||
47 | #ifndef _DEF_BF532_H | 9 | #ifndef _DEF_BF532_H |
48 | #define _DEF_BF532_H | 10 | #define _DEF_BF532_H |
diff --git a/arch/blackfin/mach-bf533/include/mach/gpio.h b/arch/blackfin/mach-bf533/include/mach/gpio.h index e45c17077aff..2af19d69a7a7 100644 --- a/arch/blackfin/mach-bf533/include/mach/gpio.h +++ b/arch/blackfin/mach-bf533/include/mach/gpio.h | |||
@@ -1,7 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/include/mach/gpio.h | ||
3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
4 | * | ||
5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf533/include/mach/irq.h b/arch/blackfin/mach-bf533/include/mach/irq.h index db1e346cd1aa..c31498be0bbb 100644 --- a/arch/blackfin/mach-bf533/include/mach/irq.h +++ b/arch/blackfin/mach-bf533/include/mach/irq.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf533/defBF532.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _BF533_IRQ_H_ | 7 | #ifndef _BF533_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf533/include/mach/portmux.h b/arch/blackfin/mach-bf533/include/mach/portmux.h index 2f59ce0b0cb5..075dae1af164 100644 --- a/arch/blackfin/mach-bf533/include/mach/portmux.h +++ b/arch/blackfin/mach-bf533/include/mach/portmux.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf533/ints-priority.c b/arch/blackfin/mach-bf533/ints-priority.c index f51994b7a2b9..8f714cf8135b 100644 --- a/arch/blackfin/mach-bf533/ints-priority.c +++ b/arch/blackfin/mach-bf533/ints-priority.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/ints-priority.c | 2 | * Set up the interrupt priorities |
3 | * Based on: | ||
4 | * Author: Michael Hennerich | ||
5 | * | 3 | * |
6 | * Created: ? | 4 | * Copyright 2005-2009 Analog Devices Inc. |
7 | * Description: Set up the interrupt priorities | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537e.c b/arch/blackfin/mach-bf537/boards/cm_bf537e.c index 87acb7dd2df3..c85f4d770535 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537e.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537e.c | |||
@@ -1,31 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/boards/cm_bf537.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: Board description file | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 8 | */ |
30 | 9 | ||
31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -297,19 +276,6 @@ static struct platform_device net2272_bfin_device = { | |||
297 | }; | 276 | }; |
298 | #endif | 277 | #endif |
299 | 278 | ||
300 | static struct resource bfin_gpios_resources = { | ||
301 | .start = 0, | ||
302 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
303 | .flags = IORESOURCE_IRQ, | ||
304 | }; | ||
305 | |||
306 | static struct platform_device bfin_gpios_device = { | ||
307 | .name = "simple-gpio", | ||
308 | .id = -1, | ||
309 | .num_resources = 1, | ||
310 | .resource = &bfin_gpios_resources, | ||
311 | }; | ||
312 | |||
313 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 279 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
314 | static struct mtd_partition cm_partitions[] = { | 280 | static struct mtd_partition cm_partitions[] = { |
315 | { | 281 | { |
@@ -699,8 +665,6 @@ static struct platform_device *cm_bf537e_devices[] __initdata = { | |||
699 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 665 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
700 | &cm_flash_device, | 666 | &cm_flash_device, |
701 | #endif | 667 | #endif |
702 | |||
703 | &bfin_gpios_device, | ||
704 | }; | 668 | }; |
705 | 669 | ||
706 | static int __init cm_bf537e_init(void) | 670 | static int __init cm_bf537e_init(void) |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537u.c b/arch/blackfin/mach-bf537/boards/cm_bf537u.c index 8219dc3d65bd..ea11aa81340d 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537u.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537u.c | |||
@@ -1,31 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/boards/cm_bf537u.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: Board description file | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 8 | */ |
30 | 9 | ||
31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -298,19 +277,6 @@ static struct platform_device net2272_bfin_device = { | |||
298 | }; | 277 | }; |
299 | #endif | 278 | #endif |
300 | 279 | ||
301 | static struct resource bfin_gpios_resources = { | ||
302 | .start = 0, | ||
303 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
304 | .flags = IORESOURCE_IRQ, | ||
305 | }; | ||
306 | |||
307 | static struct platform_device bfin_gpios_device = { | ||
308 | .name = "simple-gpio", | ||
309 | .id = -1, | ||
310 | .num_resources = 1, | ||
311 | .resource = &bfin_gpios_resources, | ||
312 | }; | ||
313 | |||
314 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 280 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
315 | static struct mtd_partition cm_partitions[] = { | 281 | static struct mtd_partition cm_partitions[] = { |
316 | { | 282 | { |
@@ -605,8 +571,6 @@ static struct platform_device *cm_bf537u_devices[] __initdata = { | |||
605 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 571 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
606 | &cm_flash_device, | 572 | &cm_flash_device, |
607 | #endif | 573 | #endif |
608 | |||
609 | &bfin_gpios_device, | ||
610 | }; | 574 | }; |
611 | 575 | ||
612 | static int __init cm_bf537u_init(void) | 576 | static int __init cm_bf537u_init(void) |
diff --git a/arch/blackfin/mach-bf537/boards/minotaur.c b/arch/blackfin/mach-bf537/boards/minotaur.c index 399f81da7b93..0da927252701 100644 --- a/arch/blackfin/mach-bf537/boards/minotaur.c +++ b/arch/blackfin/mach-bf537/boards/minotaur.c | |||
@@ -1,4 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * 2008-2009 Cambridge Signal Processing | ||
4 | * 2005 National ICT Australia (NICTA) | ||
5 | * Aidan Williams <aidan@nicta.com.au> | ||
6 | * | ||
7 | * Licensed under the GPL-2 or later. | ||
2 | */ | 8 | */ |
3 | 9 | ||
4 | #include <linux/device.h> | 10 | #include <linux/device.h> |
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 10b35b838bac..9ba290466b56 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/boards/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -302,7 +280,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = { | |||
302 | 280 | ||
303 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 281 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
304 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 282 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
305 | .cs_change_per_word = 0, | ||
306 | .enable_dma = 0, | 283 | .enable_dma = 0, |
307 | .bits_per_word = 16, | 284 | .bits_per_word = 16, |
308 | }; | 285 | }; |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 9db6b40743e0..c46baa5e6d9b 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/boards/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -121,19 +99,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
121 | }; | 99 | }; |
122 | #endif | 100 | #endif |
123 | 101 | ||
124 | static struct resource bfin_gpios_resources = { | ||
125 | .start = 0, | ||
126 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
127 | .flags = IORESOURCE_IRQ, | ||
128 | }; | ||
129 | |||
130 | static struct platform_device bfin_gpios_device = { | ||
131 | .name = "simple-gpio", | ||
132 | .id = -1, | ||
133 | .num_resources = 1, | ||
134 | .resource = &bfin_gpios_resources, | ||
135 | }; | ||
136 | |||
137 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | 102 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) |
138 | static struct resource bfin_pcmcia_cf_resources[] = { | 103 | static struct resource bfin_pcmcia_cf_resources[] = { |
139 | { | 104 | { |
@@ -1078,12 +1043,6 @@ static struct platform_device bfin_fb_device = { | |||
1078 | }; | 1043 | }; |
1079 | #endif | 1044 | #endif |
1080 | 1045 | ||
1081 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1082 | static struct platform_device bfin_fb_adv7393_device = { | ||
1083 | .name = "bfin-adv7393", | ||
1084 | }; | ||
1085 | #endif | ||
1086 | |||
1087 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) | 1046 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) |
1088 | #include <asm/bfin-lq035q1.h> | 1047 | #include <asm/bfin-lq035q1.h> |
1089 | 1048 | ||
@@ -1498,6 +1457,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
1498 | .platform_data = (void *)&adp5588_gpio_data, | 1457 | .platform_data = (void *)&adp5588_gpio_data, |
1499 | }, | 1458 | }, |
1500 | #endif | 1459 | #endif |
1460 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1461 | { | ||
1462 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
1463 | }, | ||
1464 | #endif | ||
1501 | }; | 1465 | }; |
1502 | 1466 | ||
1503 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 1467 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -1668,10 +1632,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1668 | &bfin_lq035q1_device, | 1632 | &bfin_lq035q1_device, |
1669 | #endif | 1633 | #endif |
1670 | 1634 | ||
1671 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1672 | &bfin_fb_adv7393_device, | ||
1673 | #endif | ||
1674 | |||
1675 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 1635 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
1676 | &bfin_uart_device, | 1636 | &bfin_uart_device, |
1677 | #endif | 1637 | #endif |
@@ -1702,8 +1662,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1702 | &bfin_device_gpiokeys, | 1662 | &bfin_device_gpiokeys, |
1703 | #endif | 1663 | #endif |
1704 | 1664 | ||
1705 | &bfin_gpios_device, | ||
1706 | |||
1707 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | 1665 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) |
1708 | &bfin_async_nand_device, | 1666 | &bfin_async_nand_device, |
1709 | #endif | 1667 | #endif |
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 61353f7bcb9e..57163b65a4f5 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
@@ -1,31 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/boards/tcm_bf537.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/cm_bf537.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: Board description file | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 8 | */ |
30 | 9 | ||
31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -298,19 +277,6 @@ static struct platform_device net2272_bfin_device = { | |||
298 | }; | 277 | }; |
299 | #endif | 278 | #endif |
300 | 279 | ||
301 | static struct resource bfin_gpios_resources = { | ||
302 | .start = 0, | ||
303 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
304 | .flags = IORESOURCE_IRQ, | ||
305 | }; | ||
306 | |||
307 | static struct platform_device bfin_gpios_device = { | ||
308 | .name = "simple-gpio", | ||
309 | .id = -1, | ||
310 | .num_resources = 1, | ||
311 | .resource = &bfin_gpios_resources, | ||
312 | }; | ||
313 | |||
314 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 280 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
315 | static struct mtd_partition cm_partitions[] = { | 281 | static struct mtd_partition cm_partitions[] = { |
316 | { | 282 | { |
@@ -607,8 +573,6 @@ static struct platform_device *cm_bf537_devices[] __initdata = { | |||
607 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 573 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
608 | &cm_flash_device, | 574 | &cm_flash_device, |
609 | #endif | 575 | #endif |
610 | |||
611 | &bfin_gpios_device, | ||
612 | }; | 576 | }; |
613 | 577 | ||
614 | static int __init tcm_bf537_init(void) | 578 | static int __init tcm_bf537_init(void) |
diff --git a/arch/blackfin/mach-bf537/dma.c b/arch/blackfin/mach-bf537/dma.c index d23fc0edf2b9..5c8c4ed517bb 100644 --- a/arch/blackfin/mach-bf537/dma.c +++ b/arch/blackfin/mach-bf537/dma.c | |||
@@ -1,31 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/dma.c | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * This file contains the simple DMA Implementation for Blackfin |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
8 | |||
29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
30 | 10 | ||
31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf537/include/mach/bf537.h b/arch/blackfin/mach-bf537/include/mach/bf537.h index f194a848ae8e..17fab4474669 100644 --- a/arch/blackfin/mach-bf537/include/mach/bf537.h +++ b/arch/blackfin/mach-bf537/include/mach/bf537.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf537/bf537.h | 2 | * System MMR Register and memory map for ADSP-BF537 |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2005-2008 Analog Devices Inc. |
7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF537 | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef __MACH_BF537_H__ | 9 | #ifndef __MACH_BF537_H__ |
diff --git a/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h index e95d54f9af6c..635c91c526a3 100644 --- a/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf537/bfin_serial_5xx.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later |
7 | * description: | ||
8 | * blackfin serial driver header files | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf537/include/mach/blackfin.h b/arch/blackfin/mach-bf537/include/mach/blackfin.h index 9ee8834c8f1a..eab006d260c5 100644 --- a/arch/blackfin/mach-bf537/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf537/include/mach/blackfin.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf537/blackfin.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf537/include/mach/cdefBF534.h b/arch/blackfin/mach-bf537/include/mach/cdefBF534.h index 5f8b5f845be6..91825c9bd226 100644 --- a/arch/blackfin/mach-bf537/include/mach/cdefBF534.h +++ b/arch/blackfin/mach-bf537/include/mach/cdefBF534.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf537/cdefbf534.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: system mmr register map | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF534_H | 7 | #ifndef _CDEF_BF534_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/cdefBF537.h b/arch/blackfin/mach-bf537/include/mach/cdefBF537.h index b8fc949a991f..9363c3990421 100644 --- a/arch/blackfin/mach-bf537/include/mach/cdefBF537.h +++ b/arch/blackfin/mach-bf537/include/mach/cdefBF537.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf537/cdefBF537.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later |
7 | * Description: | ||
8 | * System MMR Register Map | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _CDEF_BF537_H | 7 | #ifndef _CDEF_BF537_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/defBF534.h b/arch/blackfin/mach-bf537/include/mach/defBF534.h index a3227f9003ff..cebb14feb1ba 100644 --- a/arch/blackfin/mach-bf537/include/mach/defBF534.h +++ b/arch/blackfin/mach-bf537/include/mach/defBF534.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf537/cdefBF537.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF534_H | 7 | #ifndef _DEF_BF534_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/defBF537.h b/arch/blackfin/mach-bf537/include/mach/defBF537.h index 3d6c83e31b1e..8cb5d5cf0c94 100644 --- a/arch/blackfin/mach-bf537/include/mach/defBF537.h +++ b/arch/blackfin/mach-bf537/include/mach/defBF537.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf537/defbf537.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * description: | ||
8 | * system mmr register map | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _DEF_BF537_H | 7 | #ifndef _DEF_BF537_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/gpio.h b/arch/blackfin/mach-bf537/include/mach/gpio.h index d77a31e45a30..104bff85290d 100644 --- a/arch/blackfin/mach-bf537/include/mach/gpio.h +++ b/arch/blackfin/mach-bf537/include/mach/gpio.h | |||
@@ -1,7 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/include/mach/gpio.h | ||
3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
4 | * | ||
5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf537/include/mach/irq.h b/arch/blackfin/mach-bf537/include/mach/irq.h index b2a71d5d4e5f..0defa9457e7f 100644 --- a/arch/blackfin/mach-bf537/include/mach/irq.h +++ b/arch/blackfin/mach-bf537/include/mach/irq.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf537/irq.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later |
7 | * description: | ||
8 | * system mmr register map | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _BF537_IRQ_H_ | 7 | #ifndef _BF537_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf537/include/mach/portmux.h b/arch/blackfin/mach-bf537/include/mach/portmux.h index 87285e75e903..da9760329e49 100644 --- a/arch/blackfin/mach-bf537/include/mach/portmux.h +++ b/arch/blackfin/mach-bf537/include/mach/portmux.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf537/ints-priority.c b/arch/blackfin/mach-bf537/ints-priority.c index 51c48087e03b..f6500622b35d 100644 --- a/arch/blackfin/mach-bf537/ints-priority.c +++ b/arch/blackfin/mach-bf537/ints-priority.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/ints-priority.c | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
4 | * Author: Michael Hennerich | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: Set up the interrupt priorities | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Set up the interrupt priorities |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index f2ac3b0ebf24..14af5c2088d4 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf538/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -237,7 +215,6 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
237 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 215 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
238 | .enable_dma = 0, /* use dma transfer with this chip*/ | 216 | .enable_dma = 0, /* use dma transfer with this chip*/ |
239 | .bits_per_word = 8, | 217 | .bits_per_word = 8, |
240 | .cs_change_per_word = 0, | ||
241 | }; | 218 | }; |
242 | #endif | 219 | #endif |
243 | 220 | ||
@@ -506,19 +483,6 @@ static struct platform_device i2c_bfin_twi1_device = { | |||
506 | #endif | 483 | #endif |
507 | #endif | 484 | #endif |
508 | 485 | ||
509 | static struct resource bfin_gpios_resources = { | ||
510 | .start = 0, | ||
511 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
512 | .flags = IORESOURCE_IRQ, | ||
513 | }; | ||
514 | |||
515 | static struct platform_device bfin_gpios_device = { | ||
516 | .name = "simple-gpio", | ||
517 | .id = -1, | ||
518 | .num_resources = 1, | ||
519 | .resource = &bfin_gpios_resources, | ||
520 | }; | ||
521 | |||
522 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 486 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
523 | #include <linux/gpio_keys.h> | 487 | #include <linux/gpio_keys.h> |
524 | 488 | ||
@@ -658,8 +622,6 @@ static struct platform_device *cm_bf538_devices[] __initdata = { | |||
658 | &bfin_device_gpiokeys, | 622 | &bfin_device_gpiokeys, |
659 | #endif | 623 | #endif |
660 | 624 | ||
661 | &bfin_gpios_device, | ||
662 | |||
663 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 625 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
664 | &ezkit_flash_device, | 626 | &ezkit_flash_device, |
665 | #endif | 627 | #endif |
diff --git a/arch/blackfin/mach-bf538/dma.c b/arch/blackfin/mach-bf538/dma.c index d6837fbf94ea..5dc022589214 100644 --- a/arch/blackfin/mach-bf538/dma.c +++ b/arch/blackfin/mach-bf538/dma.c | |||
@@ -1,31 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf538/dma.c | 2 | * the simple DMA Implementation for Blackfin |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
8 | |||
29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
30 | 10 | ||
31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf538/include/mach/bf538.h b/arch/blackfin/mach-bf538/include/mach/bf538.h index 9c8abb307908..0cf5bf8dab84 100644 --- a/arch/blackfin/mach-bf538/include/mach/bf538.h +++ b/arch/blackfin/mach-bf538/include/mach/bf538.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf538/bf538.h | 2 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF538 |
3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF527 | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef __MACH_BF538_H__ | 9 | #ifndef __MACH_BF538_H__ |
diff --git a/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h index 999f239fe1a6..5c148142f041 100644 --- a/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf538/bfin_serial_5xx.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later. |
7 | * description: | ||
8 | * blackfin serial driver header files | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf538/include/mach/blackfin.h b/arch/blackfin/mach-bf538/include/mach/blackfin.h index 5ecee1690957..278e8942eef2 100644 --- a/arch/blackfin/mach-bf538/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf538/include/mach/blackfin.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf538/blackfin.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h index 1de67515dc9d..401ebd79d0aa 100644 --- a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h +++ b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf538/cdefBF538.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF538_H | 7 | #ifndef _CDEF_BF538_H |
diff --git a/arch/blackfin/mach-bf538/include/mach/defBF539.h b/arch/blackfin/mach-bf538/include/mach/defBF539.h index 1c58914a8740..5f6c34dfd08e 100644 --- a/arch/blackfin/mach-bf538/include/mach/defBF539.h +++ b/arch/blackfin/mach-bf538/include/mach/defBF539.h | |||
@@ -1,47 +1,9 @@ | |||
1 | /************************************************************************ | ||
2 | * | ||
3 | * This file is subject to the terms and conditions of the GNU Public | ||
4 | * License. See the file "COPYING" in the main directory of this archive | ||
5 | * for more details. | ||
6 | * | ||
7 | * Non-GPL License also available as part of VisualDSP++ | ||
8 | * http://www.analog.com/processors/resources/crosscore/visualDspDevSoftware.html | ||
9 | * | ||
10 | * (c) Copyright 2001-2005 Analog Devices, Inc. All rights reserved | ||
11 | * | ||
12 | * This file under source code control, please send bugs or changes to: | ||
13 | * dsptools.support@analog.com | ||
14 | * | ||
15 | ************************************************************************/ | ||
16 | /* | 1 | /* |
17 | * File: include/asm-blackfin/mach-bf538/defBF539.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
18 | * Based on: | ||
19 | * Author: | ||
20 | * | ||
21 | * Created: | ||
22 | * Description: | ||
23 | * | 3 | * |
24 | * Rev: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
25 | * | ||
26 | * Modified: | ||
27 | * | ||
28 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
29 | * | ||
30 | * This program is free software; you can redistribute it and/or modify | ||
31 | * it under the terms of the GNU General Public License as published by | ||
32 | * the Free Software Foundation; either version 2, or (at your option) | ||
33 | * any later version. | ||
34 | * | ||
35 | * This program is distributed in the hope that it will be useful, | ||
36 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
37 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
38 | * GNU General Public License for more details. | ||
39 | * | ||
40 | * You should have received a copy of the GNU General Public License | ||
41 | * along with this program; see the file COPYING. | ||
42 | * If not, write to the Free Software Foundation, | ||
43 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
44 | */ | 5 | */ |
6 | |||
45 | /* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF538/9 */ | 7 | /* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF538/9 */ |
46 | 8 | ||
47 | #ifndef _DEF_BF539_H | 9 | #ifndef _DEF_BF539_H |
diff --git a/arch/blackfin/mach-bf538/include/mach/gpio.h b/arch/blackfin/mach-bf538/include/mach/gpio.h index 30f4f723f7cc..295c78a465c2 100644 --- a/arch/blackfin/mach-bf538/include/mach/gpio.h +++ b/arch/blackfin/mach-bf538/include/mach/gpio.h | |||
@@ -1,7 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf538/include/mach/gpio.h | ||
3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
4 | * | ||
5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf538/include/mach/irq.h b/arch/blackfin/mach-bf538/include/mach/irq.h index fdc87fe2c174..a4b7fcbc556b 100644 --- a/arch/blackfin/mach-bf538/include/mach/irq.h +++ b/arch/blackfin/mach-bf538/include/mach/irq.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf538/irq.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * based on: include/asm-blackfin/mach-bf537/irq.h | ||
4 | * author: Michael Hennerich (michael.hennerich@analog.com) | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later. |
7 | * description: | ||
8 | * system mmr register map | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _BF538_IRQ_H_ | 7 | #ifndef _BF538_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf538/include/mach/portmux.h b/arch/blackfin/mach-bf538/include/mach/portmux.h index c8db264e3e4d..6121cf8b5872 100644 --- a/arch/blackfin/mach-bf538/include/mach/portmux.h +++ b/arch/blackfin/mach-bf538/include/mach/portmux.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2008-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf538/ints-priority.c b/arch/blackfin/mach-bf538/ints-priority.c index 70d17e550e05..1fa793ced347 100644 --- a/arch/blackfin/mach-bf538/ints-priority.c +++ b/arch/blackfin/mach-bf538/ints-priority.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf538/ints-priority.c | 2 | * Set up the interrupt priorities |
3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
4 | * Author: Michael Hennerich | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
7 | * Description: Set up the interrupt priorities | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c index e565aae11d72..ccdcd6da2e9f 100644 --- a/arch/blackfin/mach-bf548/boards/cm_bf548.c +++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c | |||
@@ -1,31 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf548/boards/cm_bf548.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 8 | */ |
30 | 9 | ||
31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -380,19 +359,6 @@ static struct platform_device musb_device = { | |||
380 | }; | 359 | }; |
381 | #endif | 360 | #endif |
382 | 361 | ||
383 | static struct resource bfin_gpios_resources = { | ||
384 | .start = 0, | ||
385 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
386 | .flags = IORESOURCE_IRQ, | ||
387 | }; | ||
388 | |||
389 | static struct platform_device bfin_gpios_device = { | ||
390 | .name = "simple-gpio", | ||
391 | .id = -1, | ||
392 | .num_resources = 1, | ||
393 | .resource = &bfin_gpios_resources, | ||
394 | }; | ||
395 | |||
396 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) | 362 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) |
397 | static struct resource bfin_atapi_resources[] = { | 363 | static struct resource bfin_atapi_resources[] = { |
398 | { | 364 | { |
@@ -546,13 +512,11 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
546 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 512 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
547 | .enable_dma = 0, /* use dma transfer with this chip*/ | 513 | .enable_dma = 0, /* use dma transfer with this chip*/ |
548 | .bits_per_word = 8, | 514 | .bits_per_word = 8, |
549 | .cs_change_per_word = 0, | ||
550 | }; | 515 | }; |
551 | #endif | 516 | #endif |
552 | 517 | ||
553 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 518 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
554 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 519 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
555 | .cs_change_per_word = 0, | ||
556 | .enable_dma = 0, | 520 | .enable_dma = 0, |
557 | .bits_per_word = 16, | 521 | .bits_per_word = 16, |
558 | }; | 522 | }; |
@@ -853,8 +817,6 @@ static struct platform_device *cm_bf548_devices[] __initdata = { | |||
853 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 817 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
854 | ¶_flash_device, | 818 | ¶_flash_device, |
855 | #endif | 819 | #endif |
856 | |||
857 | &bfin_gpios_device, | ||
858 | }; | 820 | }; |
859 | 821 | ||
860 | static int __init cm_bf548_init(void) | 822 | static int __init cm_bf548_init(void) |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index c66f3801274f..1a5286bbb3fa 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf548/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2007 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -208,7 +186,6 @@ static struct platform_device bfin_rotary_device = { | |||
208 | #endif | 186 | #endif |
209 | 187 | ||
210 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) | 188 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) |
211 | #include <linux/input.h> | ||
212 | #include <linux/spi/adxl34x.h> | 189 | #include <linux/spi/adxl34x.h> |
213 | static const struct adxl34x_platform_data adxl34x_info = { | 190 | static const struct adxl34x_platform_data adxl34x_info = { |
214 | .x_axis_offset = 0, | 191 | .x_axis_offset = 0, |
@@ -636,7 +613,6 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
636 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 613 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
637 | .enable_dma = 0, /* use dma transfer with this chip*/ | 614 | .enable_dma = 0, /* use dma transfer with this chip*/ |
638 | .bits_per_word = 8, | 615 | .bits_per_word = 8, |
639 | .cs_change_per_word = 0, | ||
640 | }; | 616 | }; |
641 | #endif | 617 | #endif |
642 | 618 | ||
@@ -650,7 +626,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | |||
650 | 626 | ||
651 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 627 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
652 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 628 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
653 | .cs_change_per_word = 0, | ||
654 | .enable_dma = 0, | 629 | .enable_dma = 0, |
655 | .bits_per_word = 16, | 630 | .bits_per_word = 16, |
656 | }; | 631 | }; |
@@ -681,7 +656,6 @@ static struct bfin5xx_spi_chip spidev_chip_info = { | |||
681 | static struct bfin5xx_spi_chip spi_adxl34x_chip_info = { | 656 | static struct bfin5xx_spi_chip spi_adxl34x_chip_info = { |
682 | .enable_dma = 0, /* use dma transfer with this chip*/ | 657 | .enable_dma = 0, /* use dma transfer with this chip*/ |
683 | .bits_per_word = 8, | 658 | .bits_per_word = 8, |
684 | .cs_change_per_word = 0, | ||
685 | }; | 659 | }; |
686 | #endif | 660 | #endif |
687 | 661 | ||
@@ -908,19 +882,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
908 | }; | 882 | }; |
909 | #endif | 883 | #endif |
910 | 884 | ||
911 | static struct resource bfin_gpios_resources = { | ||
912 | .start = 0, | ||
913 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
914 | .flags = IORESOURCE_IRQ, | ||
915 | }; | ||
916 | |||
917 | static struct platform_device bfin_gpios_device = { | ||
918 | .name = "simple-gpio", | ||
919 | .id = -1, | ||
920 | .num_resources = 1, | ||
921 | .resource = &bfin_gpios_resources, | ||
922 | }; | ||
923 | |||
924 | static const unsigned int cclk_vlev_datasheet[] = | 885 | static const unsigned int cclk_vlev_datasheet[] = |
925 | { | 886 | { |
926 | /* | 887 | /* |
@@ -1028,8 +989,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
1028 | &bfin_device_gpiokeys, | 989 | &bfin_device_gpiokeys, |
1029 | #endif | 990 | #endif |
1030 | 991 | ||
1031 | &bfin_gpios_device, | ||
1032 | |||
1033 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 992 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
1034 | &ezkit_flash_device, | 993 | &ezkit_flash_device, |
1035 | #endif | 994 | #endif |
diff --git a/arch/blackfin/mach-bf548/dma.c b/arch/blackfin/mach-bf548/dma.c index d9239bc05dd4..039a6d9d38f3 100644 --- a/arch/blackfin/mach-bf548/dma.c +++ b/arch/blackfin/mach-bf548/dma.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf548/dma.c | 2 | * the simple DMA Implementation for Blackfin |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2007-2009 Analog Devices Inc. |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf548/include/mach/bf548.h b/arch/blackfin/mach-bf548/include/mach/bf548.h index cd31f72bdd82..7bead5ce0f3b 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf548.h +++ b/arch/blackfin/mach-bf548/include/mach/bf548.h | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/bf548.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: System MMR register and memory map for ADSP-BF548 | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #ifndef __MACH_BF548_H__ | 7 | #ifndef __MACH_BF548_H__ |
diff --git a/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h b/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h index 9c7ca62a45eb..8821efe57fbc 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h +++ b/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef BF54X_LQ043_H | 7 | #ifndef BF54X_LQ043_H |
2 | #define BF54X_LQ043_H | 8 | #define BF54X_LQ043_H |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h b/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h index 1fb4ec77cc25..49338ae299ab 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h +++ b/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _BFIN_KPAD_H | 7 | #ifndef _BFIN_KPAD_H |
2 | #define _BFIN_KPAD_H | 8 | #define _BFIN_KPAD_H |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h index 2d1b5fa3cca0..dd44aa75fe72 100644 --- a/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf548/bfin_serial_5xx.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later. |
7 | * description: | ||
8 | * blackfin serial driver head file | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf548/include/mach/blackfin.h b/arch/blackfin/mach-bf548/include/mach/blackfin.h index 318667b2f036..13302b67857a 100644 --- a/arch/blackfin/mach-bf548/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf548/include/mach/blackfin.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/blackfin.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF542.h b/arch/blackfin/mach-bf548/include/mach/cdefBF542.h index 07aefb9ed79b..42f4a9469549 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF542.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF542.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/cdefBF542.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF542_H | 7 | #ifndef _CDEF_BF542_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF544.h b/arch/blackfin/mach-bf548/include/mach/cdefBF544.h index 431a69278991..2207799575ff 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF544.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF544.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/cdefBF544.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF544_H | 7 | #ifndef _CDEF_BF544_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF547.h b/arch/blackfin/mach-bf548/include/mach/cdefBF547.h index 93376e90dfc5..423421515134 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF547.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF547.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/cdefBF547.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF548_H | 7 | #ifndef _CDEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF548.h b/arch/blackfin/mach-bf548/include/mach/cdefBF548.h index 9cd74384136f..df84180410c4 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF548.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF548.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/cdefBF548.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF548_H | 7 | #ifndef _CDEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF549.h b/arch/blackfin/mach-bf548/include/mach/cdefBF549.h index ead360b69dea..34c84c7fb256 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF549.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF549.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf549/cdefBF549.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF549_H | 7 | #ifndef _CDEF_BF549_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h index 6e636c418cb0..a2e9d9849eba 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/cdefBF54x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF54X_H | 7 | #ifndef _CDEF_BF54X_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF542.h b/arch/blackfin/mach-bf548/include/mach/defBF542.h index b1316541b8d6..d3bc6d1df547 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF542.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF542.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/defBF542.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF542_H | 7 | #ifndef _DEF_BF542_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF544.h b/arch/blackfin/mach-bf548/include/mach/defBF544.h index c2c785bdc5fc..dd414ae4ba4c 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF544.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF544.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/defBF544.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF544_H | 7 | #ifndef _DEF_BF544_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF547.h b/arch/blackfin/mach-bf548/include/mach/defBF547.h index 661f0d877bd1..5a9dbabe0a68 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF547.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF547.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/defBF547.h | 2 | * Copyright 2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF548_H | 7 | #ifndef _DEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF548.h b/arch/blackfin/mach-bf548/include/mach/defBF548.h index 85d4bade911d..82cd593f7391 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF548.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF548.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/defBF548.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF548_H | 7 | #ifndef _DEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF549.h b/arch/blackfin/mach-bf548/include/mach/defBF549.h index 096734541644..6fc6e39ab61b 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF549.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF549.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/defBF549.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF549_H | 7 | #ifndef _DEF_BF549_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h index e022e896cb18..8590c8c78336 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/defBF54x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _DEF_BF54X_H | 7 | #ifndef _DEF_BF54X_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/gpio.h b/arch/blackfin/mach-bf548/include/mach/gpio.h index 3a2051709787..850e39d193e3 100644 --- a/arch/blackfin/mach-bf548/include/mach/gpio.h +++ b/arch/blackfin/mach-bf548/include/mach/gpio.h | |||
@@ -1,34 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf548/gpio.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Based on: | 3 | * Licensed under the GPL-2 or later. |
4 | * Author: Michael Hennerich (hennerich@blackfin.uclinux.org) | ||
5 | * | ||
6 | * Created: | ||
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 4 | */ |
29 | 5 | ||
30 | |||
31 | |||
32 | #define GPIO_PA0 0 | 6 | #define GPIO_PA0 0 |
33 | #define GPIO_PA1 1 | 7 | #define GPIO_PA1 1 |
34 | #define GPIO_PA2 2 | 8 | #define GPIO_PA2 2 |
diff --git a/arch/blackfin/mach-bf548/include/mach/irq.h b/arch/blackfin/mach-bf548/include/mach/irq.h index f194625f6821..106db05684ae 100644 --- a/arch/blackfin/mach-bf548/include/mach/irq.h +++ b/arch/blackfin/mach-bf548/include/mach/irq.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf548/irq.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * based on: include/asm-blackfin/mach-bf537/irq.h | ||
4 | * author: Roy Huang (roy.huang@analog.com) | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later. |
7 | * description: | ||
8 | * system mmr register map | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _BF548_IRQ_H_ | 7 | #ifndef _BF548_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf548/include/mach/portmux.h b/arch/blackfin/mach-bf548/include/mach/portmux.h index ce372ba0f046..89ad6a886362 100644 --- a/arch/blackfin/mach-bf548/include/mach/portmux.h +++ b/arch/blackfin/mach-bf548/include/mach/portmux.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf548/ints-priority.c b/arch/blackfin/mach-bf548/ints-priority.c index 9dd0fa3ac4de..48dd3a4bc4a5 100644 --- a/arch/blackfin/mach-bf548/ints-priority.c +++ b/arch/blackfin/mach-bf548/ints-priority.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf537/ints-priority.c | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
4 | * Author: Michael Hennerich | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: Set up the interrupt priorities | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Set up the interrupt priorities |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf561/atomic.S b/arch/blackfin/mach-bf561/atomic.S index 9439bc6bd01f..0261a5e751b3 100644 --- a/arch/blackfin/mach-bf561/atomic.S +++ b/arch/blackfin/mach-bf561/atomic.S | |||
@@ -1,23 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/atomic.S | 2 | * Copyright 2007-2008 Analog Devices Inc. |
3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
4 | * | 4 | * |
5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, see the file COPYING, or write | ||
19 | * to the Free Software Foundation, Inc., | ||
20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | 6 | */ |
22 | 7 | ||
23 | #include <linux/linkage.h> | 8 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index 6577ecfcf11e..dfc8d5b77986 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
@@ -1,30 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/boards/cm_bf561.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> Copyright 2005 | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: 2006 | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: Board description file | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 8 | */ |
29 | 9 | ||
30 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -285,19 +265,6 @@ static struct platform_device net2272_bfin_device = { | |||
285 | }; | 265 | }; |
286 | #endif | 266 | #endif |
287 | 267 | ||
288 | static struct resource bfin_gpios_resources = { | ||
289 | .start = 0, | ||
290 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
291 | .flags = IORESOURCE_IRQ, | ||
292 | }; | ||
293 | |||
294 | static struct platform_device bfin_gpios_device = { | ||
295 | .name = "simple-gpio", | ||
296 | .id = -1, | ||
297 | .num_resources = 1, | ||
298 | .resource = &bfin_gpios_resources, | ||
299 | }; | ||
300 | |||
301 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 268 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
302 | static struct resource isp1362_hcd_resources[] = { | 269 | static struct resource isp1362_hcd_resources[] = { |
303 | { | 270 | { |
@@ -532,8 +499,6 @@ static struct platform_device *cm_bf561_devices[] __initdata = { | |||
532 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 499 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
533 | ¶_flash_device, | 500 | ¶_flash_device, |
534 | #endif | 501 | #endif |
535 | |||
536 | &bfin_gpios_device, | ||
537 | }; | 502 | }; |
538 | 503 | ||
539 | static int __init cm_bf561_init(void) | 504 | static int __init cm_bf561_init(void) |
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index caed96bb957e..9e2d8cfba546 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -387,19 +366,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
387 | }; | 366 | }; |
388 | #endif | 367 | #endif |
389 | 368 | ||
390 | static struct resource bfin_gpios_resources = { | ||
391 | .start = 0, | ||
392 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
393 | .flags = IORESOURCE_IRQ, | ||
394 | }; | ||
395 | |||
396 | static struct platform_device bfin_gpios_device = { | ||
397 | .name = "simple-gpio", | ||
398 | .id = -1, | ||
399 | .num_resources = 1, | ||
400 | .resource = &bfin_gpios_resources, | ||
401 | }; | ||
402 | |||
403 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 369 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
404 | #include <linux/i2c-gpio.h> | 370 | #include <linux/i2c-gpio.h> |
405 | 371 | ||
@@ -493,8 +459,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
493 | &isp1362_hcd_device, | 459 | &isp1362_hcd_device, |
494 | #endif | 460 | #endif |
495 | 461 | ||
496 | &bfin_gpios_device, | ||
497 | |||
498 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 462 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
499 | &ezkit_flash_device, | 463 | &ezkit_flash_device, |
500 | #endif | 464 | #endif |
diff --git a/arch/blackfin/mach-bf561/boards/tepla.c b/arch/blackfin/mach-bf561/boards/tepla.c index 6f77dbe952f5..8ba7252455e1 100644 --- a/arch/blackfin/mach-bf561/boards/tepla.c +++ b/arch/blackfin/mach-bf561/boards/tepla.c | |||
@@ -1,15 +1,13 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/tepla.c | 2 | * Copyright 2004-2007 Analog Devices Inc. |
3 | * 2005 National ICT Australia (NICTA) | ||
4 | * Aidan Williams <aidan@nicta.com.au> | ||
3 | * | 5 | * |
4 | * Copyright 2004-2007 Analog Devices Inc. | 6 | * Thanks to Jamey Hicks. |
5 | * Only SMSC91C1111 was registered, may do more later. | ||
6 | * | 7 | * |
7 | * Copyright 2005 National ICT Australia (NICTA), Aidan Williams <aidan@nicta.com.au> | 8 | * Only SMSC91C1111 was registered, may do more later. |
8 | * Thanks to Jamey Hicks. | ||
9 | * | 9 | * |
10 | * This program is free software; you can redistribute it and/or modify | 10 | * Licensed under the GPL-2 |
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 11 | */ |
14 | 12 | ||
15 | #include <linux/device.h> | 13 | #include <linux/device.h> |
diff --git a/arch/blackfin/mach-bf561/dma.c b/arch/blackfin/mach-bf561/dma.c index 42b0037afe61..c938c3c7355d 100644 --- a/arch/blackfin/mach-bf561/dma.c +++ b/arch/blackfin/mach-bf561/dma.c | |||
@@ -1,31 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/dma.c | 2 | * the simple DMA Implementation for Blackfin |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2007-2008 Analog Devices Inc. |
7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
8 | |||
29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
30 | 10 | ||
31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf561/include/mach/bf561.h b/arch/blackfin/mach-bf561/include/mach/bf561.h index 9968362a2ee4..9f9a367e6a24 100644 --- a/arch/blackfin/mach-bf561/include/mach/bf561.h +++ b/arch/blackfin/mach-bf561/include/mach/bf561.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf561/bf561.h | 2 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2005-2008 Analog Devices Inc. |
7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef __MACH_BF561_H__ | 9 | #ifndef __MACH_BF561_H__ |
diff --git a/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h index fd5e8878b8c4..e33e158bc16d 100644 --- a/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h | |||
@@ -1,32 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * file: include/asm-blackfin/mach-bf561/bfin_serial_5xx.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
3 | * based on: | ||
4 | * author: | ||
5 | * | 3 | * |
6 | * created: | 4 | * Licensed under the GPL-2 or later. |
7 | * description: | ||
8 | * blackfin serial driver head file | ||
9 | * rev: | ||
10 | * | ||
11 | * modified: | ||
12 | * | ||
13 | * | ||
14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * this program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the gnu general public license as published by | ||
18 | * the free software foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * this program is distributed in the hope that it will be useful, | ||
22 | * but without any warranty; without even the implied warranty of | ||
23 | * merchantability or fitness for a particular purpose. see the | ||
24 | * gnu general public license for more details. | ||
25 | * | ||
26 | * you should have received a copy of the gnu general public license | ||
27 | * along with this program; see the file copying. | ||
28 | * if not, write to the free software foundation, | ||
29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf561/include/mach/blackfin.h b/arch/blackfin/mach-bf561/include/mach/blackfin.h index 8be31358ef88..67d6bdcd3fa8 100644 --- a/arch/blackfin/mach-bf561/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf561/include/mach/blackfin.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf561/blackfin.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf561/include/mach/cdefBF561.h b/arch/blackfin/mach-bf561/include/mach/cdefBF561.h index 9d9858c2be68..81ecdb71c6af 100644 --- a/arch/blackfin/mach-bf561/include/mach/cdefBF561.h +++ b/arch/blackfin/mach-bf561/include/mach/cdefBF561.h | |||
@@ -1,31 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: include/asm-blackfin/mach-bf561/cdefBF561.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: C POINTERS TO SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
8 | * | ||
9 | * Rev: | ||
10 | * | ||
11 | * Modified: | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2, or (at your option) | ||
18 | * any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; see the file COPYING. | ||
27 | * If not, write to the Free Software Foundation, | ||
28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
29 | */ | 5 | */ |
30 | 6 | ||
31 | #ifndef _CDEF_BF561_H | 7 | #ifndef _CDEF_BF561_H |
diff --git a/arch/blackfin/mach-bf561/include/mach/defBF561.h b/arch/blackfin/mach-bf561/include/mach/defBF561.h index 5fc0f05026e0..a31e509553fb 100644 --- a/arch/blackfin/mach-bf561/include/mach/defBF561.h +++ b/arch/blackfin/mach-bf561/include/mach/defBF561.h | |||
@@ -1,32 +1,7 @@ | |||
1 | |||
2 | /* | 1 | /* |
3 | * File: include/asm-blackfin/mach-bf561/defBF561.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
4 | * Based on: | ||
5 | * Author: | ||
6 | * | ||
7 | * Created: | ||
8 | * Description: | ||
9 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
10 | * Rev: | ||
11 | * | ||
12 | * Modified: | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | 3 | * |
26 | * You should have received a copy of the GNU General Public License | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _DEF_BF561_H | 7 | #ifndef _DEF_BF561_H |
diff --git a/arch/blackfin/mach-bf561/include/mach/gpio.h b/arch/blackfin/mach-bf561/include/mach/gpio.h index 7882f79e1ade..a651a8cf805f 100644 --- a/arch/blackfin/mach-bf561/include/mach/gpio.h +++ b/arch/blackfin/mach-bf561/include/mach/gpio.h | |||
@@ -1,7 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/include/mach/gpio.h | ||
3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
4 | * | ||
5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf561/include/mach/irq.h b/arch/blackfin/mach-bf561/include/mach/irq.h index 6698389c5564..7b208db267bf 100644 --- a/arch/blackfin/mach-bf561/include/mach/irq.h +++ b/arch/blackfin/mach-bf561/include/mach/irq.h | |||
@@ -1,32 +1,7 @@ | |||
1 | |||
2 | /* | 1 | /* |
3 | * File: include/asm-blackfin/mach-bf561/irq.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
4 | * Based on: | ||
5 | * Author: | ||
6 | * | ||
7 | * Created: | ||
8 | * Description: | ||
9 | * | ||
10 | * Rev: | ||
11 | * | ||
12 | * Modified: | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2, or (at your option) | ||
19 | * any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | 3 | * |
26 | * You should have received a copy of the GNU General Public License | 4 | * Licensed under the GPL-2 or later. |
27 | * along with this program; see the file COPYING. | ||
28 | * If not, write to the Free Software Foundation, | ||
29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
30 | */ | 5 | */ |
31 | 6 | ||
32 | #ifndef _BF561_IRQ_H_ | 7 | #ifndef _BF561_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf561/include/mach/portmux.h b/arch/blackfin/mach-bf561/include/mach/portmux.h index 2e5ad6347dea..3a7b46bbe849 100644 --- a/arch/blackfin/mach-bf561/include/mach/portmux.h +++ b/arch/blackfin/mach-bf561/include/mach/portmux.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf561/include/mach/smp.h b/arch/blackfin/mach-bf561/include/mach/smp.h index f9e65ebe81b2..390c7f4ae7b3 100644 --- a/arch/blackfin/mach-bf561/include/mach/smp.h +++ b/arch/blackfin/mach-bf561/include/mach/smp.h | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright 2007-2008 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | */ | ||
6 | |||
1 | #ifndef _MACH_BF561_SMP | 7 | #ifndef _MACH_BF561_SMP |
2 | #define _MACH_BF561_SMP | 8 | #define _MACH_BF561_SMP |
3 | 9 | ||
diff --git a/arch/blackfin/mach-bf561/ints-priority.c b/arch/blackfin/mach-bf561/ints-priority.c index 9d2f23344720..b4424172ad9e 100644 --- a/arch/blackfin/mach-bf561/ints-priority.c +++ b/arch/blackfin/mach-bf561/ints-priority.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/ints-priority.c | 2 | * Set up the interrupt priorities |
3 | * Based on: arch/blackfin/mach-bf537/ints-priority.c | ||
4 | * Author: Michael Hennerich | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2005-2009 Analog Devices Inc. |
7 | * Description: Set up the interrupt priorities | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf561/secondary.S b/arch/blackfin/mach-bf561/secondary.S index f72a6af20c4f..8e6050369c06 100644 --- a/arch/blackfin/mach-bf561/secondary.S +++ b/arch/blackfin/mach-bf561/secondary.S | |||
@@ -1,26 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/secondary.S | 2 | * BF561 coreB bootstrap file |
3 | * Based on: arch/blackfin/mach-bf561/head.S | ||
4 | * Author: Philippe Gerum <rpm@xenomai.org> | ||
5 | * | 3 | * |
6 | * Copyright 2007 Analog Devices Inc. | 4 | * Copyright 2007-2009 Analog Devices Inc. |
5 | * Philippe Gerum <rpm@xenomai.org> | ||
7 | * | 6 | * |
8 | * Description: BF561 coreB bootstrap file | 7 | * Licensed under the GPL-2 or later. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License as published by | ||
12 | * the Free Software Foundation; either version 2 of the License, or | ||
13 | * (at your option) any later version. | ||
14 | * | ||
15 | * This program is distributed in the hope that it will be useful, | ||
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | * GNU General Public License for more details. | ||
19 | * | ||
20 | * You should have received a copy of the GNU General Public License | ||
21 | * along with this program; if not, see the file COPYING, or write | ||
22 | * to the Free Software Foundation, Inc., | ||
23 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
24 | */ | 8 | */ |
25 | 9 | ||
26 | #include <linux/linkage.h> | 10 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index 8c10701c251f..510f57641495 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c | |||
@@ -1,23 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf561/smp.c | 2 | * Copyright 2007-2009 Analog Devices Inc. |
3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
4 | * | 4 | * |
5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, see the file COPYING, or write | ||
19 | * to the Free Software Foundation, Inc., | ||
20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | 6 | */ |
22 | 7 | ||
23 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/arch/blackfin/mach-common/arch_checks.c b/arch/blackfin/mach-common/arch_checks.c index 5998d8632a73..9dbafcdcf479 100644 --- a/arch/blackfin/mach-common/arch_checks.c +++ b/arch/blackfin/mach-common/arch_checks.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-common/arch_checks.c | 2 | * Do some checking to make sure things are OK |
3 | * Based on: | ||
4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
5 | * | 3 | * |
6 | * Created: 25Jul07 | 4 | * Copyright 2007-2009 Analog Devices Inc. |
7 | * Description: Do some checking to make sure things are OK | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <asm/fixed_code.h> | 9 | #include <asm/fixed_code.h> |
diff --git a/arch/blackfin/mach-common/cache-c.c b/arch/blackfin/mach-common/cache-c.c index 4ebbd78db3a4..a60a24f5035d 100644 --- a/arch/blackfin/mach-common/cache-c.c +++ b/arch/blackfin/mach-common/cache-c.c | |||
@@ -3,8 +3,6 @@ | |||
3 | * | 3 | * |
4 | * Copyright 2004-2009 Analog Devices Inc. | 4 | * Copyright 2004-2009 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
7 | * | ||
8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
9 | */ | 7 | */ |
10 | 8 | ||
diff --git a/arch/blackfin/mach-common/cache.S b/arch/blackfin/mach-common/cache.S index d9666fe6c3d6..ea540318a228 100644 --- a/arch/blackfin/mach-common/cache.S +++ b/arch/blackfin/mach-common/cache.S | |||
@@ -3,8 +3,6 @@ | |||
3 | * | 3 | * |
4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
7 | * | ||
8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
9 | */ | 7 | */ |
10 | 8 | ||
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c index 85c658083279..01506504e6d0 100644 --- a/arch/blackfin/mach-common/cpufreq.c +++ b/arch/blackfin/mach-common/cpufreq.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-common/cpufreq.c | 2 | * Blackfin core clock scaling |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2008-2009 Analog Devices Inc. |
7 | * Description: Blackfin core clock scaling | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index 1e7cac23e25f..94a0375cbdcf 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
@@ -1,32 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-common/entry.S | 2 | * Contains the system-call and fault low-level handling routines. |
3 | * Based on: | 3 | * This also contains the timer-interrupt handler, as well as all |
4 | * Author: Linus Torvalds | 4 | * interrupts and faults that can result in a task-switch. |
5 | * | 5 | * |
6 | * Created: ? | 6 | * Copyright 2005-2009 Analog Devices Inc. |
7 | * Description: contains the system-call and fault low-level handling routines. | ||
8 | * This also contains the timer-interrupt handler, as well as all | ||
9 | * interrupts and faults that can result in a task-switch. | ||
10 | * | 7 | * |
11 | * Modified: | 8 | * Licensed under the GPL-2 or later. |
12 | * Copyright 2004-2006 Analog Devices Inc. | ||
13 | * | ||
14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License as published by | ||
18 | * the Free Software Foundation; either version 2 of the License, or | ||
19 | * (at your option) any later version. | ||
20 | * | ||
21 | * This program is distributed in the hope that it will be useful, | ||
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | * GNU General Public License for more details. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public License | ||
27 | * along with this program; if not, see the file COPYING, or write | ||
28 | * to the Free Software Foundation, Inc., | ||
29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
30 | */ | 9 | */ |
31 | 10 | ||
32 | /* NOTE: This code handles signal-recognition, which happens every time | 11 | /* NOTE: This code handles signal-recognition, which happens every time |
diff --git a/arch/blackfin/mach-common/head.S b/arch/blackfin/mach-common/head.S index 9c79dfea2a53..cab0a0031eee 100644 --- a/arch/blackfin/mach-common/head.S +++ b/arch/blackfin/mach-common/head.S | |||
@@ -3,8 +3,6 @@ | |||
3 | * | 3 | * |
4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
7 | * | ||
8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
9 | */ | 7 | */ |
10 | 8 | ||
diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S index 82d417ef4b5b..8085ff1cce00 100644 --- a/arch/blackfin/mach-common/interrupt.S +++ b/arch/blackfin/mach-common/interrupt.S | |||
@@ -1,31 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-common/interrupt.S | 2 | * Interrupt Entries |
3 | * Based on: | ||
4 | * Author: D. Jeff Dionne <jeff@ryeham.ee.ryerson.ca> | ||
5 | * Kenneth Albanowski <kjahds@kjahds.com> | ||
6 | * | ||
7 | * Created: ? | ||
8 | * Description: Interrupt Entries | ||
9 | * | ||
10 | * Modified: | ||
11 | * Copyright 2004-2006 Analog Devices Inc. | ||
12 | * | 3 | * |
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 4 | * Copyright 2005-2009 Analog Devices Inc. |
14 | * | 5 | * D. Jeff Dionne <jeff@ryeham.ee.ryerson.ca> |
15 | * This program is free software; you can redistribute it and/or modify | 6 | * Kenneth Albanowski <kjahds@kjahds.com> |
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | 7 | * |
25 | * You should have received a copy of the GNU General Public License | 8 | * Licensed under the GPL-2 or later. |
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 9 | */ |
30 | 10 | ||
31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index 6ffda78aaf9d..660ea1bec54c 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
@@ -1,33 +1,14 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-common/ints-priority.c | 2 | * Set up the interrupt priorities |
3 | * | 3 | * |
4 | * Description: Set up the interrupt priorities | 4 | * Copyright 2004-2009 Analog Devices Inc. |
5 | * 2003 Bas Vermeulen <bas@buyways.nl> | ||
6 | * 2002 Arcturus Networks Inc. MaTed <mated@sympatico.ca> | ||
7 | * 2000-2001 Lineo, Inc. D. Jefff Dionne <jeff@lineo.ca> | ||
8 | * 1999 D. Jeff Dionne <jeff@uclinux.org> | ||
9 | * 1996 Roman Zippel | ||
5 | * | 10 | * |
6 | * Modified: | 11 | * Licensed under the GPL-2 |
7 | * 1996 Roman Zippel | ||
8 | * 1999 D. Jeff Dionne <jeff@uclinux.org> | ||
9 | * 2000-2001 Lineo, Inc. D. Jefff Dionne <jeff@lineo.ca> | ||
10 | * 2002 Arcturus Networks Inc. MaTed <mated@sympatico.ca> | ||
11 | * 2003 Metrowerks/Motorola | ||
12 | * 2003 Bas Vermeulen <bas@buyways.nl> | ||
13 | * Copyright 2004-2008 Analog Devices Inc. | ||
14 | * | ||
15 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify | ||
18 | * it under the terms of the GNU General Public License as published by | ||
19 | * the Free Software Foundation; either version 2 of the License, or | ||
20 | * (at your option) any later version. | ||
21 | * | ||
22 | * This program is distributed in the hope that it will be useful, | ||
23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
25 | * GNU General Public License for more details. | ||
26 | * | ||
27 | * You should have received a copy of the GNU General Public License | ||
28 | * along with this program; if not, see the file COPYING, or write | ||
29 | * to the Free Software Foundation, Inc., | ||
30 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
31 | */ | 12 | */ |
32 | 13 | ||
33 | #include <linux/module.h> | 14 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-common/irqpanic.c b/arch/blackfin/mach-common/irqpanic.c index 883e3241b17e..c6496249e2bc 100644 --- a/arch/blackfin/mach-common/irqpanic.c +++ b/arch/blackfin/mach-common/irqpanic.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-common/irqpanic.c | 2 | * panic kernel with dump information |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: ? | 4 | * Copyright 2005-2009 Analog Devices Inc. |
7 | * Description: panic kernel with dump information | ||
8 | * | 5 | * |
9 | * Modified: rgetz - added cache checking code 14Feb06 | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c index 0e3d4ff9d8b6..8837be4edb4a 100644 --- a/arch/blackfin/mach-common/pm.c +++ b/arch/blackfin/mach-common/pm.c | |||
@@ -1,35 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-common/pm.c | 2 | * Blackfin power management |
3 | * Based on: arm/mach-omap/pm.c | ||
4 | * Author: Cliff Brake <cbrake@accelent.com> Copyright (c) 2001 | ||
5 | * | 3 | * |
6 | * Created: 2001 | 4 | * Copyright 2006-2009 Analog Devices Inc. |
7 | * Description: Blackfin power management | ||
8 | * | 5 | * |
9 | * Modified: Nicolas Pitre - PXA250 support | 6 | * Licensed under the GPL-2 |
10 | * Copyright (c) 2002 Monta Vista Software, Inc. | 7 | * based on arm/mach-omap/pm.c |
11 | * David Singleton - OMAP1510 | 8 | * Copyright 2001, Cliff Brake <cbrake@accelent.com> and others |
12 | * Copyright (c) 2002 Monta Vista Software, Inc. | ||
13 | * Dirk Behme <dirk.behme@de.bosch.com> - OMAP1510/1610 | ||
14 | * Copyright 2004 | ||
15 | * Copyright 2004-2008 Analog Devices Inc. | ||
16 | * | ||
17 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
18 | * | ||
19 | * This program is free software; you can redistribute it and/or modify | ||
20 | * it under the terms of the GNU General Public License as published by | ||
21 | * the Free Software Foundation; either version 2 of the License, or | ||
22 | * (at your option) any later version. | ||
23 | * | ||
24 | * This program is distributed in the hope that it will be useful, | ||
25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
27 | * GNU General Public License for more details. | ||
28 | * | ||
29 | * You should have received a copy of the GNU General Public License | ||
30 | * along with this program; if not, see the file COPYING, or write | ||
31 | * to the Free Software Foundation, Inc., | ||
32 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
33 | */ | 9 | */ |
34 | 10 | ||
35 | #include <linux/suspend.h> | 11 | #include <linux/suspend.h> |
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c index 349ee3f5466a..d98585f3237d 100644 --- a/arch/blackfin/mach-common/smp.c +++ b/arch/blackfin/mach-common/smp.c | |||
@@ -1,24 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/smp.c | 2 | * IPI management based on arch/arm/kernel/smp.c (Copyright 2002 ARM Limited) |
3 | * Author: Philippe Gerum <rpm@xenomai.org> | ||
4 | * IPI management based on arch/arm/kernel/smp.c. | ||
5 | * | 3 | * |
6 | * Copyright 2007 Analog Devices Inc. | 4 | * Copyright 2007-2009 Analog Devices Inc. |
5 | * Philippe Gerum <rpm@xenomai.org> | ||
7 | * | 6 | * |
8 | * This program is free software; you can redistribute it and/or modify | 7 | * Licensed under the GPL-2. |
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, see the file COPYING, or write | ||
20 | * to the Free Software Foundation, Inc., | ||
21 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
22 | */ | 8 | */ |
23 | 9 | ||
24 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/arch/blackfin/mm/blackfin_sram.h b/arch/blackfin/mm/blackfin_sram.h index bc0062884fde..fb0b1599cfb7 100644 --- a/arch/blackfin/mm/blackfin_sram.h +++ b/arch/blackfin/mm/blackfin_sram.h | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mm/blackfin_sram.h | 2 | * Local prototypes meant for internal use only |
3 | * Based on: arch/blackfin/mm/blackfin_sram.c | ||
4 | * Author: Mike Frysinger | ||
5 | * | 3 | * |
6 | * Created: Aug 2006 | 4 | * Copyright 2006-2009 Analog Devices Inc. |
7 | * Description: Local prototypes meant for internal use only | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #ifndef __BLACKFIN_SRAM_H__ | 9 | #ifndef __BLACKFIN_SRAM_H__ |
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index b88ce7fda548..bb9c98f9cb5b 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c | |||
@@ -1,30 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mm/init.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2007 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 5 | */ |
29 | 6 | ||
30 | #include <linux/swap.h> | 7 | #include <linux/swap.h> |
diff --git a/arch/blackfin/mm/isram-driver.c b/arch/blackfin/mm/isram-driver.c index beb1a608824c..84cdc5a1c139 100644 --- a/arch/blackfin/mm/isram-driver.c +++ b/arch/blackfin/mm/isram-driver.c | |||
@@ -1,19 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Description: Instruction SRAM accessor functions for the Blackfin | 2 | * Instruction SRAM accessor functions for the Blackfin |
3 | * | 3 | * |
4 | * Copyright 2008 Analog Devices Inc. | 4 | * Copyright 2008 Analog Devices Inc. |
5 | * | 5 | * |
6 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program; if not, see the file COPYING, or write | ||
15 | * to the Free Software Foundation, Inc., | ||
16 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
17 | */ | 7 | */ |
18 | 8 | ||
19 | #define pr_fmt(fmt) "isram: " fmt | 9 | #define pr_fmt(fmt) "isram: " fmt |
diff --git a/arch/blackfin/mm/sram-alloc.c b/arch/blackfin/mm/sram-alloc.c index eb63ab353e5a..f068c11ea98f 100644 --- a/arch/blackfin/mm/sram-alloc.c +++ b/arch/blackfin/mm/sram-alloc.c | |||
@@ -1,30 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mm/sram-alloc.c | 2 | * SRAM allocator for Blackfin on-chip memory |
3 | * Based on: | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: SRAM allocator for Blackfin L1 and L2 memory | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2008 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 6b0a2b6fed6a..0974c0ecc594 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c | |||
@@ -527,7 +527,7 @@ static void do_signal(void) | |||
527 | 527 | ||
528 | no_signal: | 528 | no_signal: |
529 | /* Did we come from a system call? */ | 529 | /* Did we come from a system call? */ |
530 | if (__frame->syscallno >= 0) { | 530 | if (__frame->syscallno != -1) { |
531 | /* Restart the system call - no handlers present */ | 531 | /* Restart the system call - no handlers present */ |
532 | switch (__frame->gr8) { | 532 | switch (__frame->gr8) { |
533 | case -ERESTARTNOHAND: | 533 | case -ERESTARTNOHAND: |
diff --git a/arch/m32r/kernel/smp.c b/arch/m32r/kernel/smp.c index 1b7598e6f6e8..8a88f1f0a3e2 100644 --- a/arch/m32r/kernel/smp.c +++ b/arch/m32r/kernel/smp.c | |||
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | #include <linux/irq.h> | 18 | #include <linux/irq.h> |
19 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
20 | #include <linux/sched.h> | ||
20 | #include <linux/spinlock.h> | 21 | #include <linux/spinlock.h> |
21 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
22 | #include <linux/smp.h> | 23 | #include <linux/smp.h> |
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 29dd8489ffec..ecdc19a299b2 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -561,7 +561,7 @@ config HPAPCI | |||
561 | 561 | ||
562 | config MVME147_SCC | 562 | config MVME147_SCC |
563 | bool "SCC support for MVME147 serial ports" | 563 | bool "SCC support for MVME147 serial ports" |
564 | depends on MVME147 | 564 | depends on MVME147 && BROKEN |
565 | help | 565 | help |
566 | This is the driver for the serial ports on the Motorola MVME147 | 566 | This is the driver for the serial ports on the Motorola MVME147 |
567 | boards. Everyone using one of these boards should say Y here. | 567 | boards. Everyone using one of these boards should say Y here. |
@@ -576,14 +576,14 @@ config SERIAL167 | |||
576 | 576 | ||
577 | config MVME162_SCC | 577 | config MVME162_SCC |
578 | bool "SCC support for MVME162 serial ports" | 578 | bool "SCC support for MVME162 serial ports" |
579 | depends on MVME16x | 579 | depends on MVME16x && BROKEN |
580 | help | 580 | help |
581 | This is the driver for the serial ports on the Motorola MVME162 and | 581 | This is the driver for the serial ports on the Motorola MVME162 and |
582 | 172 boards. Everyone using one of these boards should say Y here. | 582 | 172 boards. Everyone using one of these boards should say Y here. |
583 | 583 | ||
584 | config BVME6000_SCC | 584 | config BVME6000_SCC |
585 | bool "SCC support for BVME6000 serial ports" | 585 | bool "SCC support for BVME6000 serial ports" |
586 | depends on BVME6000 | 586 | depends on BVME6000 && BROKEN |
587 | help | 587 | help |
588 | This is the driver for the serial ports on the BVME4000 and BVME6000 | 588 | This is the driver for the serial ports on the BVME4000 and BVME6000 |
589 | boards from BVM Ltd. Everyone using one of these boards should say | 589 | boards from BVM Ltd. Everyone using one of these boards should say |
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c index 594ee0e657fe..9a8876f715d8 100644 --- a/arch/m68knommu/kernel/asm-offsets.c +++ b/arch/m68knommu/kernel/asm-offsets.c | |||
@@ -45,25 +45,25 @@ int main(void) | |||
45 | DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); | 45 | DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); |
46 | 46 | ||
47 | /* offsets into the pt_regs */ | 47 | /* offsets into the pt_regs */ |
48 | DEFINE(PT_D0, offsetof(struct pt_regs, d0)); | 48 | DEFINE(PT_OFF_D0, offsetof(struct pt_regs, d0)); |
49 | DEFINE(PT_ORIG_D0, offsetof(struct pt_regs, orig_d0)); | 49 | DEFINE(PT_OFF_ORIG_D0, offsetof(struct pt_regs, orig_d0)); |
50 | DEFINE(PT_D1, offsetof(struct pt_regs, d1)); | 50 | DEFINE(PT_OFF_D1, offsetof(struct pt_regs, d1)); |
51 | DEFINE(PT_D2, offsetof(struct pt_regs, d2)); | 51 | DEFINE(PT_OFF_D2, offsetof(struct pt_regs, d2)); |
52 | DEFINE(PT_D3, offsetof(struct pt_regs, d3)); | 52 | DEFINE(PT_OFF_D3, offsetof(struct pt_regs, d3)); |
53 | DEFINE(PT_D4, offsetof(struct pt_regs, d4)); | 53 | DEFINE(PT_OFF_D4, offsetof(struct pt_regs, d4)); |
54 | DEFINE(PT_D5, offsetof(struct pt_regs, d5)); | 54 | DEFINE(PT_OFF_D5, offsetof(struct pt_regs, d5)); |
55 | DEFINE(PT_A0, offsetof(struct pt_regs, a0)); | 55 | DEFINE(PT_OFF_A0, offsetof(struct pt_regs, a0)); |
56 | DEFINE(PT_A1, offsetof(struct pt_regs, a1)); | 56 | DEFINE(PT_OFF_A1, offsetof(struct pt_regs, a1)); |
57 | DEFINE(PT_A2, offsetof(struct pt_regs, a2)); | 57 | DEFINE(PT_OFF_A2, offsetof(struct pt_regs, a2)); |
58 | DEFINE(PT_PC, offsetof(struct pt_regs, pc)); | 58 | DEFINE(PT_OFF_PC, offsetof(struct pt_regs, pc)); |
59 | DEFINE(PT_SR, offsetof(struct pt_regs, sr)); | 59 | DEFINE(PT_OFF_SR, offsetof(struct pt_regs, sr)); |
60 | 60 | ||
61 | #ifdef CONFIG_COLDFIRE | 61 | #ifdef CONFIG_COLDFIRE |
62 | /* bitfields are a bit difficult */ | 62 | /* bitfields are a bit difficult */ |
63 | DEFINE(PT_FORMATVEC, offsetof(struct pt_regs, sr) - 2); | 63 | DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, sr) - 2); |
64 | #else | 64 | #else |
65 | /* bitfields are a bit difficult */ | 65 | /* bitfields are a bit difficult */ |
66 | DEFINE(PT_VECTOR, offsetof(struct pt_regs, pc) + 4); | 66 | DEFINE(PT_OFF_VECTOR, offsetof(struct pt_regs, pc) + 4); |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | /* signal defines */ | 69 | /* signal defines */ |
diff --git a/arch/m68knommu/kernel/entry.S b/arch/m68knommu/kernel/entry.S index f56faa5c9cd9..56043ade3941 100644 --- a/arch/m68knommu/kernel/entry.S +++ b/arch/m68knommu/kernel/entry.S | |||
@@ -46,7 +46,7 @@ | |||
46 | ENTRY(buserr) | 46 | ENTRY(buserr) |
47 | SAVE_ALL | 47 | SAVE_ALL |
48 | moveq #-1,%d0 | 48 | moveq #-1,%d0 |
49 | movel %d0,%sp@(PT_ORIG_D0) | 49 | movel %d0,%sp@(PT_OFF_ORIG_D0) |
50 | movel %sp,%sp@- /* stack frame pointer argument */ | 50 | movel %sp,%sp@- /* stack frame pointer argument */ |
51 | jsr buserr_c | 51 | jsr buserr_c |
52 | addql #4,%sp | 52 | addql #4,%sp |
@@ -55,7 +55,7 @@ ENTRY(buserr) | |||
55 | ENTRY(trap) | 55 | ENTRY(trap) |
56 | SAVE_ALL | 56 | SAVE_ALL |
57 | moveq #-1,%d0 | 57 | moveq #-1,%d0 |
58 | movel %d0,%sp@(PT_ORIG_D0) | 58 | movel %d0,%sp@(PT_OFF_ORIG_D0) |
59 | movel %sp,%sp@- /* stack frame pointer argument */ | 59 | movel %sp,%sp@- /* stack frame pointer argument */ |
60 | jsr trap_c | 60 | jsr trap_c |
61 | addql #4,%sp | 61 | addql #4,%sp |
@@ -67,7 +67,7 @@ ENTRY(trap) | |||
67 | ENTRY(dbginterrupt) | 67 | ENTRY(dbginterrupt) |
68 | SAVE_ALL | 68 | SAVE_ALL |
69 | moveq #-1,%d0 | 69 | moveq #-1,%d0 |
70 | movel %d0,%sp@(PT_ORIG_D0) | 70 | movel %d0,%sp@(PT_OFF_ORIG_D0) |
71 | movel %sp,%sp@- /* stack frame pointer argument */ | 71 | movel %sp,%sp@- /* stack frame pointer argument */ |
72 | jsr dbginterrupt_c | 72 | jsr dbginterrupt_c |
73 | addql #4,%sp | 73 | addql #4,%sp |
diff --git a/arch/m68knommu/mm/init.c b/arch/m68knommu/mm/init.c index b1703c67a4f1..f3236d0b522d 100644 --- a/arch/m68knommu/mm/init.c +++ b/arch/m68knommu/mm/init.c | |||
@@ -162,7 +162,7 @@ void free_initrd_mem(unsigned long start, unsigned long end) | |||
162 | totalram_pages++; | 162 | totalram_pages++; |
163 | pages++; | 163 | pages++; |
164 | } | 164 | } |
165 | printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages); | 165 | printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages * (PAGE_SIZE / 1024)); |
166 | } | 166 | } |
167 | #endif | 167 | #endif |
168 | 168 | ||
diff --git a/arch/m68knommu/platform/5206e/config.c b/arch/m68knommu/platform/5206e/config.c index 0f41ba82a3b5..942397984c66 100644 --- a/arch/m68knommu/platform/5206e/config.c +++ b/arch/m68knommu/platform/5206e/config.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <asm/mcfsim.h> | 17 | #include <asm/mcfsim.h> |
18 | #include <asm/mcfuart.h> | 18 | #include <asm/mcfuart.h> |
19 | #include <asm/mcfdma.h> | 19 | #include <asm/mcfdma.h> |
20 | #include <asm/mcfuart.h> | ||
21 | 20 | ||
22 | /***************************************************************************/ | 21 | /***************************************************************************/ |
23 | 22 | ||
diff --git a/arch/m68knommu/platform/68328/entry.S b/arch/m68knommu/platform/68328/entry.S index b1aef72f3baf..9d80d2c42866 100644 --- a/arch/m68knommu/platform/68328/entry.S +++ b/arch/m68knommu/platform/68328/entry.S | |||
@@ -39,17 +39,17 @@ | |||
39 | .globl inthandler7 | 39 | .globl inthandler7 |
40 | 40 | ||
41 | badsys: | 41 | badsys: |
42 | movel #-ENOSYS,%sp@(PT_D0) | 42 | movel #-ENOSYS,%sp@(PT_OFF_D0) |
43 | jra ret_from_exception | 43 | jra ret_from_exception |
44 | 44 | ||
45 | do_trace: | 45 | do_trace: |
46 | movel #-ENOSYS,%sp@(PT_D0) /* needed for strace*/ | 46 | movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ |
47 | subql #4,%sp | 47 | subql #4,%sp |
48 | SAVE_SWITCH_STACK | 48 | SAVE_SWITCH_STACK |
49 | jbsr syscall_trace | 49 | jbsr syscall_trace |
50 | RESTORE_SWITCH_STACK | 50 | RESTORE_SWITCH_STACK |
51 | addql #4,%sp | 51 | addql #4,%sp |
52 | movel %sp@(PT_ORIG_D0),%d1 | 52 | movel %sp@(PT_OFF_ORIG_D0),%d1 |
53 | movel #-ENOSYS,%d0 | 53 | movel #-ENOSYS,%d0 |
54 | cmpl #NR_syscalls,%d1 | 54 | cmpl #NR_syscalls,%d1 |
55 | jcc 1f | 55 | jcc 1f |
@@ -57,7 +57,7 @@ do_trace: | |||
57 | lea sys_call_table, %a0 | 57 | lea sys_call_table, %a0 |
58 | jbsr %a0@(%d1) | 58 | jbsr %a0@(%d1) |
59 | 59 | ||
60 | 1: movel %d0,%sp@(PT_D0) /* save the return value */ | 60 | 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ |
61 | subql #4,%sp /* dummy return address */ | 61 | subql #4,%sp /* dummy return address */ |
62 | SAVE_SWITCH_STACK | 62 | SAVE_SWITCH_STACK |
63 | jbsr syscall_trace | 63 | jbsr syscall_trace |
@@ -75,7 +75,7 @@ ENTRY(system_call) | |||
75 | jbsr set_esp0 | 75 | jbsr set_esp0 |
76 | addql #4,%sp | 76 | addql #4,%sp |
77 | 77 | ||
78 | movel %sp@(PT_ORIG_D0),%d0 | 78 | movel %sp@(PT_OFF_ORIG_D0),%d0 |
79 | 79 | ||
80 | movel %sp,%d1 /* get thread_info pointer */ | 80 | movel %sp,%d1 /* get thread_info pointer */ |
81 | andl #-THREAD_SIZE,%d1 | 81 | andl #-THREAD_SIZE,%d1 |
@@ -88,10 +88,10 @@ ENTRY(system_call) | |||
88 | lea sys_call_table,%a0 | 88 | lea sys_call_table,%a0 |
89 | movel %a0@(%d0), %a0 | 89 | movel %a0@(%d0), %a0 |
90 | jbsr %a0@ | 90 | jbsr %a0@ |
91 | movel %d0,%sp@(PT_D0) /* save the return value*/ | 91 | movel %d0,%sp@(PT_OFF_D0) /* save the return value*/ |
92 | 92 | ||
93 | ret_from_exception: | 93 | ret_from_exception: |
94 | btst #5,%sp@(PT_SR) /* check if returning to kernel*/ | 94 | btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel*/ |
95 | jeq Luser_return /* if so, skip resched, signals*/ | 95 | jeq Luser_return /* if so, skip resched, signals*/ |
96 | 96 | ||
97 | Lkernel_return: | 97 | Lkernel_return: |
@@ -133,7 +133,7 @@ Lreturn: | |||
133 | */ | 133 | */ |
134 | inthandler1: | 134 | inthandler1: |
135 | SAVE_ALL | 135 | SAVE_ALL |
136 | movew %sp@(PT_VECTOR), %d0 | 136 | movew %sp@(PT_OFF_VECTOR), %d0 |
137 | and #0x3ff, %d0 | 137 | and #0x3ff, %d0 |
138 | 138 | ||
139 | movel %sp,%sp@- | 139 | movel %sp,%sp@- |
@@ -144,7 +144,7 @@ inthandler1: | |||
144 | 144 | ||
145 | inthandler2: | 145 | inthandler2: |
146 | SAVE_ALL | 146 | SAVE_ALL |
147 | movew %sp@(PT_VECTOR), %d0 | 147 | movew %sp@(PT_OFF_VECTOR), %d0 |
148 | and #0x3ff, %d0 | 148 | and #0x3ff, %d0 |
149 | 149 | ||
150 | movel %sp,%sp@- | 150 | movel %sp,%sp@- |
@@ -155,7 +155,7 @@ inthandler2: | |||
155 | 155 | ||
156 | inthandler3: | 156 | inthandler3: |
157 | SAVE_ALL | 157 | SAVE_ALL |
158 | movew %sp@(PT_VECTOR), %d0 | 158 | movew %sp@(PT_OFF_VECTOR), %d0 |
159 | and #0x3ff, %d0 | 159 | and #0x3ff, %d0 |
160 | 160 | ||
161 | movel %sp,%sp@- | 161 | movel %sp,%sp@- |
@@ -166,7 +166,7 @@ inthandler3: | |||
166 | 166 | ||
167 | inthandler4: | 167 | inthandler4: |
168 | SAVE_ALL | 168 | SAVE_ALL |
169 | movew %sp@(PT_VECTOR), %d0 | 169 | movew %sp@(PT_OFF_VECTOR), %d0 |
170 | and #0x3ff, %d0 | 170 | and #0x3ff, %d0 |
171 | 171 | ||
172 | movel %sp,%sp@- | 172 | movel %sp,%sp@- |
@@ -177,7 +177,7 @@ inthandler4: | |||
177 | 177 | ||
178 | inthandler5: | 178 | inthandler5: |
179 | SAVE_ALL | 179 | SAVE_ALL |
180 | movew %sp@(PT_VECTOR), %d0 | 180 | movew %sp@(PT_OFF_VECTOR), %d0 |
181 | and #0x3ff, %d0 | 181 | and #0x3ff, %d0 |
182 | 182 | ||
183 | movel %sp,%sp@- | 183 | movel %sp,%sp@- |
@@ -188,7 +188,7 @@ inthandler5: | |||
188 | 188 | ||
189 | inthandler6: | 189 | inthandler6: |
190 | SAVE_ALL | 190 | SAVE_ALL |
191 | movew %sp@(PT_VECTOR), %d0 | 191 | movew %sp@(PT_OFF_VECTOR), %d0 |
192 | and #0x3ff, %d0 | 192 | and #0x3ff, %d0 |
193 | 193 | ||
194 | movel %sp,%sp@- | 194 | movel %sp,%sp@- |
@@ -199,7 +199,7 @@ inthandler6: | |||
199 | 199 | ||
200 | inthandler7: | 200 | inthandler7: |
201 | SAVE_ALL | 201 | SAVE_ALL |
202 | movew %sp@(PT_VECTOR), %d0 | 202 | movew %sp@(PT_OFF_VECTOR), %d0 |
203 | and #0x3ff, %d0 | 203 | and #0x3ff, %d0 |
204 | 204 | ||
205 | movel %sp,%sp@- | 205 | movel %sp,%sp@- |
@@ -210,7 +210,7 @@ inthandler7: | |||
210 | 210 | ||
211 | inthandler: | 211 | inthandler: |
212 | SAVE_ALL | 212 | SAVE_ALL |
213 | movew %sp@(PT_VECTOR), %d0 | 213 | movew %sp@(PT_OFF_VECTOR), %d0 |
214 | and #0x3ff, %d0 | 214 | and #0x3ff, %d0 |
215 | 215 | ||
216 | movel %sp,%sp@- | 216 | movel %sp,%sp@- |
@@ -224,7 +224,7 @@ ret_from_interrupt: | |||
224 | 2: | 224 | 2: |
225 | RESTORE_ALL | 225 | RESTORE_ALL |
226 | 1: | 226 | 1: |
227 | moveb %sp@(PT_SR), %d0 | 227 | moveb %sp@(PT_OFF_SR), %d0 |
228 | and #7, %d0 | 228 | and #7, %d0 |
229 | jhi 2b | 229 | jhi 2b |
230 | 230 | ||
diff --git a/arch/m68knommu/platform/68360/entry.S b/arch/m68knommu/platform/68360/entry.S index 55dfefe38642..6d3460a39cac 100644 --- a/arch/m68knommu/platform/68360/entry.S +++ b/arch/m68knommu/platform/68360/entry.S | |||
@@ -35,17 +35,17 @@ | |||
35 | .globl inthandler | 35 | .globl inthandler |
36 | 36 | ||
37 | badsys: | 37 | badsys: |
38 | movel #-ENOSYS,%sp@(PT_D0) | 38 | movel #-ENOSYS,%sp@(PT_OFF_D0) |
39 | jra ret_from_exception | 39 | jra ret_from_exception |
40 | 40 | ||
41 | do_trace: | 41 | do_trace: |
42 | movel #-ENOSYS,%sp@(PT_D0) /* needed for strace*/ | 42 | movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ |
43 | subql #4,%sp | 43 | subql #4,%sp |
44 | SAVE_SWITCH_STACK | 44 | SAVE_SWITCH_STACK |
45 | jbsr syscall_trace | 45 | jbsr syscall_trace |
46 | RESTORE_SWITCH_STACK | 46 | RESTORE_SWITCH_STACK |
47 | addql #4,%sp | 47 | addql #4,%sp |
48 | movel %sp@(PT_ORIG_D0),%d1 | 48 | movel %sp@(PT_OFF_ORIG_D0),%d1 |
49 | movel #-ENOSYS,%d0 | 49 | movel #-ENOSYS,%d0 |
50 | cmpl #NR_syscalls,%d1 | 50 | cmpl #NR_syscalls,%d1 |
51 | jcc 1f | 51 | jcc 1f |
@@ -53,7 +53,7 @@ do_trace: | |||
53 | lea sys_call_table, %a0 | 53 | lea sys_call_table, %a0 |
54 | jbsr %a0@(%d1) | 54 | jbsr %a0@(%d1) |
55 | 55 | ||
56 | 1: movel %d0,%sp@(PT_D0) /* save the return value */ | 56 | 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ |
57 | subql #4,%sp /* dummy return address */ | 57 | subql #4,%sp /* dummy return address */ |
58 | SAVE_SWITCH_STACK | 58 | SAVE_SWITCH_STACK |
59 | jbsr syscall_trace | 59 | jbsr syscall_trace |
@@ -79,10 +79,10 @@ ENTRY(system_call) | |||
79 | lea sys_call_table,%a0 | 79 | lea sys_call_table,%a0 |
80 | movel %a0@(%d0), %a0 | 80 | movel %a0@(%d0), %a0 |
81 | jbsr %a0@ | 81 | jbsr %a0@ |
82 | movel %d0,%sp@(PT_D0) /* save the return value*/ | 82 | movel %d0,%sp@(PT_OFF_D0) /* save the return value*/ |
83 | 83 | ||
84 | ret_from_exception: | 84 | ret_from_exception: |
85 | btst #5,%sp@(PT_SR) /* check if returning to kernel*/ | 85 | btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel*/ |
86 | jeq Luser_return /* if so, skip resched, signals*/ | 86 | jeq Luser_return /* if so, skip resched, signals*/ |
87 | 87 | ||
88 | Lkernel_return: | 88 | Lkernel_return: |
@@ -124,7 +124,7 @@ Lreturn: | |||
124 | */ | 124 | */ |
125 | inthandler: | 125 | inthandler: |
126 | SAVE_ALL | 126 | SAVE_ALL |
127 | movew %sp@(PT_VECTOR), %d0 | 127 | movew %sp@(PT_OFF_VECTOR), %d0 |
128 | and.l #0x3ff, %d0 | 128 | and.l #0x3ff, %d0 |
129 | lsr.l #0x02, %d0 | 129 | lsr.l #0x02, %d0 |
130 | 130 | ||
@@ -139,7 +139,7 @@ ret_from_interrupt: | |||
139 | 2: | 139 | 2: |
140 | RESTORE_ALL | 140 | RESTORE_ALL |
141 | 1: | 141 | 1: |
142 | moveb %sp@(PT_SR), %d0 | 142 | moveb %sp@(PT_OFF_SR), %d0 |
143 | and #7, %d0 | 143 | and #7, %d0 |
144 | jhi 2b | 144 | jhi 2b |
145 | /* check if we need to do software interrupts */ | 145 | /* check if we need to do software interrupts */ |
diff --git a/arch/m68knommu/platform/coldfire/entry.S b/arch/m68knommu/platform/coldfire/entry.S index 3b471c0da24a..dd7d591f70ea 100644 --- a/arch/m68knommu/platform/coldfire/entry.S +++ b/arch/m68knommu/platform/coldfire/entry.S | |||
@@ -81,11 +81,11 @@ ENTRY(system_call) | |||
81 | 81 | ||
82 | movel %d3,%a0 | 82 | movel %d3,%a0 |
83 | jbsr %a0@ | 83 | jbsr %a0@ |
84 | movel %d0,%sp@(PT_D0) /* save the return value */ | 84 | movel %d0,%sp@(PT_OFF_D0) /* save the return value */ |
85 | jra ret_from_exception | 85 | jra ret_from_exception |
86 | 1: | 86 | 1: |
87 | movel #-ENOSYS,%d2 /* strace needs -ENOSYS in PT_D0 */ | 87 | movel #-ENOSYS,%d2 /* strace needs -ENOSYS in PT_OFF_D0 */ |
88 | movel %d2,PT_D0(%sp) /* on syscall entry */ | 88 | movel %d2,PT_OFF_D0(%sp) /* on syscall entry */ |
89 | subql #4,%sp | 89 | subql #4,%sp |
90 | SAVE_SWITCH_STACK | 90 | SAVE_SWITCH_STACK |
91 | jbsr syscall_trace | 91 | jbsr syscall_trace |
@@ -93,7 +93,7 @@ ENTRY(system_call) | |||
93 | addql #4,%sp | 93 | addql #4,%sp |
94 | movel %d3,%a0 | 94 | movel %d3,%a0 |
95 | jbsr %a0@ | 95 | jbsr %a0@ |
96 | movel %d0,%sp@(PT_D0) /* save the return value */ | 96 | movel %d0,%sp@(PT_OFF_D0) /* save the return value */ |
97 | subql #4,%sp /* dummy return address */ | 97 | subql #4,%sp /* dummy return address */ |
98 | SAVE_SWITCH_STACK | 98 | SAVE_SWITCH_STACK |
99 | jbsr syscall_trace | 99 | jbsr syscall_trace |
@@ -104,7 +104,7 @@ ret_from_signal: | |||
104 | 104 | ||
105 | ret_from_exception: | 105 | ret_from_exception: |
106 | move #0x2700,%sr /* disable intrs */ | 106 | move #0x2700,%sr /* disable intrs */ |
107 | btst #5,%sp@(PT_SR) /* check if returning to kernel */ | 107 | btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel */ |
108 | jeq Luser_return /* if so, skip resched, signals */ | 108 | jeq Luser_return /* if so, skip resched, signals */ |
109 | 109 | ||
110 | #ifdef CONFIG_PREEMPT | 110 | #ifdef CONFIG_PREEMPT |
@@ -142,8 +142,8 @@ Luser_return: | |||
142 | Lreturn: | 142 | Lreturn: |
143 | move #0x2700,%sr /* disable intrs */ | 143 | move #0x2700,%sr /* disable intrs */ |
144 | movel sw_usp,%a0 /* get usp */ | 144 | movel sw_usp,%a0 /* get usp */ |
145 | movel %sp@(PT_PC),%a0@- /* copy exception program counter */ | 145 | movel %sp@(PT_OFF_PC),%a0@- /* copy exception program counter */ |
146 | movel %sp@(PT_FORMATVEC),%a0@-/* copy exception format/vector/sr */ | 146 | movel %sp@(PT_OFF_FORMATVEC),%a0@- /* copy exception format/vector/sr */ |
147 | moveml %sp@,%d1-%d5/%a0-%a2 | 147 | moveml %sp@,%d1-%d5/%a0-%a2 |
148 | lea %sp@(32),%sp /* space for 8 regs */ | 148 | lea %sp@(32),%sp /* space for 8 regs */ |
149 | movel %sp@+,%d0 | 149 | movel %sp@+,%d0 |
@@ -181,9 +181,9 @@ Lsignal_return: | |||
181 | ENTRY(inthandler) | 181 | ENTRY(inthandler) |
182 | SAVE_ALL | 182 | SAVE_ALL |
183 | moveq #-1,%d0 | 183 | moveq #-1,%d0 |
184 | movel %d0,%sp@(PT_ORIG_D0) | 184 | movel %d0,%sp@(PT_OFF_ORIG_D0) |
185 | 185 | ||
186 | movew %sp@(PT_FORMATVEC),%d0 /* put exception # in d0 */ | 186 | movew %sp@(PT_OFF_FORMATVEC),%d0 /* put exception # in d0 */ |
187 | andl #0x03fc,%d0 /* mask out vector only */ | 187 | andl #0x03fc,%d0 /* mask out vector only */ |
188 | 188 | ||
189 | movel %sp,%sp@- /* push regs arg */ | 189 | movel %sp,%sp@- /* push regs arg */ |
@@ -203,7 +203,7 @@ ENTRY(inthandler) | |||
203 | ENTRY(fasthandler) | 203 | ENTRY(fasthandler) |
204 | SAVE_LOCAL | 204 | SAVE_LOCAL |
205 | 205 | ||
206 | movew %sp@(PT_FORMATVEC),%d0 | 206 | movew %sp@(PT_OFF_FORMATVEC),%d0 |
207 | andl #0x03fc,%d0 /* mask out vector only */ | 207 | andl #0x03fc,%d0 /* mask out vector only */ |
208 | 208 | ||
209 | movel %sp,%sp@- /* push regs arg */ | 209 | movel %sp,%sp@- /* push regs arg */ |
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S index acc1f05d1e2c..e3ecb36dd554 100644 --- a/arch/microblaze/kernel/entry.S +++ b/arch/microblaze/kernel/entry.S | |||
@@ -592,6 +592,8 @@ C_ENTRY(full_exception_trap): | |||
592 | nop | 592 | nop |
593 | mfs r7, rfsr; /* save FSR */ | 593 | mfs r7, rfsr; /* save FSR */ |
594 | nop | 594 | nop |
595 | mts rfsr, r0; /* Clear sticky fsr */ | ||
596 | nop | ||
595 | la r12, r0, full_exception | 597 | la r12, r0, full_exception |
596 | set_vms; | 598 | set_vms; |
597 | rtbd r12, 0; | 599 | rtbd r12, 0; |
diff --git a/arch/microblaze/kernel/hw_exception_handler.S b/arch/microblaze/kernel/hw_exception_handler.S index 6b0288ebccd6..2b86c03aa841 100644 --- a/arch/microblaze/kernel/hw_exception_handler.S +++ b/arch/microblaze/kernel/hw_exception_handler.S | |||
@@ -384,7 +384,7 @@ handle_other_ex: /* Handle Other exceptions here */ | |||
384 | addk r8, r17, r0; /* Load exception address */ | 384 | addk r8, r17, r0; /* Load exception address */ |
385 | bralid r15, full_exception; /* Branch to the handler */ | 385 | bralid r15, full_exception; /* Branch to the handler */ |
386 | nop; | 386 | nop; |
387 | mts r0, rfsr; /* Clear sticky fsr */ | 387 | mts rfsr, r0; /* Clear sticky fsr */ |
388 | nop | 388 | nop |
389 | 389 | ||
390 | /* | 390 | /* |
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 4201c743cc9f..c592d475b3d8 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c | |||
@@ -235,7 +235,9 @@ void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) | |||
235 | regs->pc = pc; | 235 | regs->pc = pc; |
236 | regs->r1 = usp; | 236 | regs->r1 = usp; |
237 | regs->pt_mode = 0; | 237 | regs->pt_mode = 0; |
238 | #ifdef CONFIG_MMU | ||
238 | regs->msr |= MSR_UMS; | 239 | regs->msr |= MSR_UMS; |
240 | #endif | ||
239 | } | 241 | } |
240 | 242 | ||
241 | #ifdef CONFIG_MMU | 243 | #ifdef CONFIG_MMU |
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index f388dc68f605..524d9352f17e 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
@@ -18,6 +18,7 @@ config PARISC | |||
18 | select BUG | 18 | select BUG |
19 | select HAVE_PERF_EVENTS | 19 | select HAVE_PERF_EVENTS |
20 | select GENERIC_ATOMIC64 if !64BIT | 20 | select GENERIC_ATOMIC64 if !64BIT |
21 | select HAVE_ARCH_TRACEHOOK | ||
21 | help | 22 | help |
22 | The PA-RISC microprocessor is designed by Hewlett-Packard and used | 23 | The PA-RISC microprocessor is designed by Hewlett-Packard and used |
23 | in many of their workstations & servers (HP9000 700 and 800 series, | 24 | in many of their workstations & servers (HP9000 700 and 800 series, |
diff --git a/arch/parisc/include/asm/fixmap.h b/arch/parisc/include/asm/fixmap.h index de3fe3a18229..6fec4d4a1a18 100644 --- a/arch/parisc/include/asm/fixmap.h +++ b/arch/parisc/include/asm/fixmap.h | |||
@@ -21,9 +21,9 @@ | |||
21 | #define KERNEL_MAP_END (TMPALIAS_MAP_START) | 21 | #define KERNEL_MAP_END (TMPALIAS_MAP_START) |
22 | 22 | ||
23 | #ifndef __ASSEMBLY__ | 23 | #ifndef __ASSEMBLY__ |
24 | extern void *vmalloc_start; | 24 | extern void *parisc_vmalloc_start; |
25 | #define PCXL_DMA_MAP_SIZE (8*1024*1024) | 25 | #define PCXL_DMA_MAP_SIZE (8*1024*1024) |
26 | #define VMALLOC_START ((unsigned long)vmalloc_start) | 26 | #define VMALLOC_START ((unsigned long)parisc_vmalloc_start) |
27 | #define VMALLOC_END (KERNEL_MAP_END) | 27 | #define VMALLOC_END (KERNEL_MAP_END) |
28 | #endif /*__ASSEMBLY__*/ | 28 | #endif /*__ASSEMBLY__*/ |
29 | 29 | ||
diff --git a/arch/parisc/include/asm/hardirq.h b/arch/parisc/include/asm/hardirq.h index ce93133d5112..0d68184a76cb 100644 --- a/arch/parisc/include/asm/hardirq.h +++ b/arch/parisc/include/asm/hardirq.h | |||
@@ -1,29 +1,11 @@ | |||
1 | /* hardirq.h: PA-RISC hard IRQ support. | 1 | /* hardirq.h: PA-RISC hard IRQ support. |
2 | * | 2 | * |
3 | * Copyright (C) 2001 Matthew Wilcox <matthew@wil.cx> | 3 | * Copyright (C) 2001 Matthew Wilcox <matthew@wil.cx> |
4 | * | ||
5 | * The locking is really quite interesting. There's a cpu-local | ||
6 | * count of how many interrupts are being handled, and a global | ||
7 | * lock. An interrupt can only be serviced if the global lock | ||
8 | * is free. You can't be sure no more interrupts are being | ||
9 | * serviced until you've acquired the lock and then checked | ||
10 | * all the per-cpu interrupt counts are all zero. It's a specialised | ||
11 | * br_lock, and that's exactly how Sparc does it. We don't because | ||
12 | * it's more locking for us. This way is lock-free in the interrupt path. | ||
13 | */ | 4 | */ |
14 | 5 | ||
15 | #ifndef _PARISC_HARDIRQ_H | 6 | #ifndef _PARISC_HARDIRQ_H |
16 | #define _PARISC_HARDIRQ_H | 7 | #define _PARISC_HARDIRQ_H |
17 | 8 | ||
18 | #include <linux/threads.h> | 9 | #include <asm-generic/hardirq.h> |
19 | #include <linux/irq.h> | ||
20 | |||
21 | typedef struct { | ||
22 | unsigned long __softirq_pending; /* set_bit is used on this */ | ||
23 | } ____cacheline_aligned irq_cpustat_t; | ||
24 | |||
25 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | ||
26 | |||
27 | void ack_bad_irq(unsigned int irq); | ||
28 | 10 | ||
29 | #endif /* _PARISC_HARDIRQ_H */ | 11 | #endif /* _PARISC_HARDIRQ_H */ |
diff --git a/arch/parisc/include/asm/ptrace.h b/arch/parisc/include/asm/ptrace.h index 302f68dc889c..aead40b16dd8 100644 --- a/arch/parisc/include/asm/ptrace.h +++ b/arch/parisc/include/asm/ptrace.h | |||
@@ -59,8 +59,11 @@ void user_enable_block_step(struct task_struct *task); | |||
59 | #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) | 59 | #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) |
60 | #define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0) | 60 | #define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0) |
61 | #define instruction_pointer(regs) ((regs)->iaoq[0] & ~3) | 61 | #define instruction_pointer(regs) ((regs)->iaoq[0] & ~3) |
62 | #define user_stack_pointer(regs) ((regs)->gr[30]) | ||
62 | unsigned long profile_pc(struct pt_regs *); | 63 | unsigned long profile_pc(struct pt_regs *); |
63 | extern void show_regs(struct pt_regs *); | 64 | extern void show_regs(struct pt_regs *); |
64 | #endif | 65 | |
66 | |||
67 | #endif /* __KERNEL__ */ | ||
65 | 68 | ||
66 | #endif | 69 | #endif |
diff --git a/arch/parisc/include/asm/syscall.h b/arch/parisc/include/asm/syscall.h new file mode 100644 index 000000000000..8bdfd2c8c39f --- /dev/null +++ b/arch/parisc/include/asm/syscall.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* syscall.h */ | ||
2 | |||
3 | #ifndef _ASM_PARISC_SYSCALL_H_ | ||
4 | #define _ASM_PARISC_SYSCALL_H_ | ||
5 | |||
6 | #include <linux/err.h> | ||
7 | #include <asm/ptrace.h> | ||
8 | |||
9 | static inline long syscall_get_nr(struct task_struct *tsk, | ||
10 | struct pt_regs *regs) | ||
11 | { | ||
12 | return regs->gr[20]; | ||
13 | } | ||
14 | |||
15 | static inline void syscall_get_arguments(struct task_struct *tsk, | ||
16 | struct pt_regs *regs, unsigned int i, | ||
17 | unsigned int n, unsigned long *args) | ||
18 | { | ||
19 | BUG_ON(i); | ||
20 | |||
21 | switch (n) { | ||
22 | case 6: | ||
23 | args[5] = regs->gr[21]; | ||
24 | case 5: | ||
25 | args[4] = regs->gr[22]; | ||
26 | case 4: | ||
27 | args[3] = regs->gr[23]; | ||
28 | case 3: | ||
29 | args[2] = regs->gr[24]; | ||
30 | case 2: | ||
31 | args[1] = regs->gr[25]; | ||
32 | case 1: | ||
33 | args[0] = regs->gr[26]; | ||
34 | break; | ||
35 | default: | ||
36 | BUG(); | ||
37 | } | ||
38 | } | ||
39 | |||
40 | #endif /*_ASM_PARISC_SYSCALL_H_*/ | ||
diff --git a/arch/parisc/include/asm/thread_info.h b/arch/parisc/include/asm/thread_info.h index ac775a76bff7..7ecc1039cfed 100644 --- a/arch/parisc/include/asm/thread_info.h +++ b/arch/parisc/include/asm/thread_info.h | |||
@@ -32,6 +32,11 @@ struct thread_info { | |||
32 | #define init_thread_info (init_thread_union.thread_info) | 32 | #define init_thread_info (init_thread_union.thread_info) |
33 | #define init_stack (init_thread_union.stack) | 33 | #define init_stack (init_thread_union.stack) |
34 | 34 | ||
35 | /* how to get the thread information struct from C */ | ||
36 | #define current_thread_info() ((struct thread_info *)mfctl(30)) | ||
37 | |||
38 | #endif /* !__ASSEMBLY */ | ||
39 | |||
35 | /* thread information allocation */ | 40 | /* thread information allocation */ |
36 | 41 | ||
37 | #define THREAD_SIZE_ORDER 2 | 42 | #define THREAD_SIZE_ORDER 2 |
@@ -40,11 +45,6 @@ struct thread_info { | |||
40 | #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) | 45 | #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) |
41 | #define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER) | 46 | #define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER) |
42 | 47 | ||
43 | /* how to get the thread information struct from C */ | ||
44 | #define current_thread_info() ((struct thread_info *)mfctl(30)) | ||
45 | |||
46 | #endif /* !__ASSEMBLY */ | ||
47 | |||
48 | #define PREEMPT_ACTIVE_BIT 28 | 48 | #define PREEMPT_ACTIVE_BIT 28 |
49 | #define PREEMPT_ACTIVE (1 << PREEMPT_ACTIVE_BIT) | 49 | #define PREEMPT_ACTIVE (1 << PREEMPT_ACTIVE_BIT) |
50 | 50 | ||
@@ -60,6 +60,8 @@ struct thread_info { | |||
60 | #define TIF_RESTORE_SIGMASK 6 /* restore saved signal mask */ | 60 | #define TIF_RESTORE_SIGMASK 6 /* restore saved signal mask */ |
61 | #define TIF_FREEZE 7 /* is freezing for suspend */ | 61 | #define TIF_FREEZE 7 /* is freezing for suspend */ |
62 | #define TIF_NOTIFY_RESUME 8 /* callback before returning to user */ | 62 | #define TIF_NOTIFY_RESUME 8 /* callback before returning to user */ |
63 | #define TIF_SINGLESTEP 9 /* single stepping? */ | ||
64 | #define TIF_BLOCKSTEP 10 /* branch stepping? */ | ||
63 | 65 | ||
64 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) | 66 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) |
65 | #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) | 67 | #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) |
@@ -69,6 +71,8 @@ struct thread_info { | |||
69 | #define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK) | 71 | #define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK) |
70 | #define _TIF_FREEZE (1 << TIF_FREEZE) | 72 | #define _TIF_FREEZE (1 << TIF_FREEZE) |
71 | #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) | 73 | #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) |
74 | #define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) | ||
75 | #define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP) | ||
72 | 76 | ||
73 | #define _TIF_USER_WORK_MASK (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | \ | 77 | #define _TIF_USER_WORK_MASK (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | \ |
74 | _TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK) | 78 | _TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK) |
diff --git a/arch/parisc/kernel/asm-offsets.c b/arch/parisc/kernel/asm-offsets.c index 699cf8ef2118..fcd3c707bf12 100644 --- a/arch/parisc/kernel/asm-offsets.c +++ b/arch/parisc/kernel/asm-offsets.c | |||
@@ -270,8 +270,8 @@ int main(void) | |||
270 | DEFINE(DTLB_OFF_COUNT, offsetof(struct pdc_cache_info, dt_off_count)); | 270 | DEFINE(DTLB_OFF_COUNT, offsetof(struct pdc_cache_info, dt_off_count)); |
271 | DEFINE(DTLB_LOOP, offsetof(struct pdc_cache_info, dt_loop)); | 271 | DEFINE(DTLB_LOOP, offsetof(struct pdc_cache_info, dt_loop)); |
272 | BLANK(); | 272 | BLANK(); |
273 | DEFINE(PA_BLOCKSTEP_BIT, 31-PT_BLOCKSTEP_BIT); | 273 | DEFINE(TIF_BLOCKSTEP_PA_BIT, 31-TIF_BLOCKSTEP); |
274 | DEFINE(PA_SINGLESTEP_BIT, 31-PT_SINGLESTEP_BIT); | 274 | DEFINE(TIF_SINGLESTEP_PA_BIT, 31-TIF_SINGLESTEP); |
275 | BLANK(); | 275 | BLANK(); |
276 | DEFINE(ASM_PMD_SHIFT, PMD_SHIFT); | 276 | DEFINE(ASM_PMD_SHIFT, PMD_SHIFT); |
277 | DEFINE(ASM_PGDIR_SHIFT, PGDIR_SHIFT); | 277 | DEFINE(ASM_PGDIR_SHIFT, PGDIR_SHIFT); |
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S index 8c4712b74dc1..3a44f7f704fa 100644 --- a/arch/parisc/kernel/entry.S +++ b/arch/parisc/kernel/entry.S | |||
@@ -2047,12 +2047,13 @@ syscall_do_signal: | |||
2047 | b,n syscall_check_sig | 2047 | b,n syscall_check_sig |
2048 | 2048 | ||
2049 | syscall_restore: | 2049 | syscall_restore: |
2050 | /* Are we being ptraced? */ | ||
2051 | LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 | 2050 | LDREG TI_TASK-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 |
2052 | 2051 | ||
2053 | ldw TASK_PTRACE(%r1), %r19 | 2052 | /* Are we being ptraced? */ |
2054 | bb,< %r19,31,syscall_restore_rfi | 2053 | ldw TASK_FLAGS(%r1),%r19 |
2055 | nop | 2054 | ldi (_TIF_SINGLESTEP|_TIF_BLOCKSTEP),%r2 |
2055 | and,COND(=) %r19,%r2,%r0 | ||
2056 | b,n syscall_restore_rfi | ||
2056 | 2057 | ||
2057 | ldo TASK_PT_FR31(%r1),%r19 /* reload fpregs */ | 2058 | ldo TASK_PT_FR31(%r1),%r19 /* reload fpregs */ |
2058 | rest_fp %r19 | 2059 | rest_fp %r19 |
@@ -2113,16 +2114,16 @@ syscall_restore_rfi: | |||
2113 | ldi 0x0b,%r20 /* Create new PSW */ | 2114 | ldi 0x0b,%r20 /* Create new PSW */ |
2114 | depi -1,13,1,%r20 /* C, Q, D, and I bits */ | 2115 | depi -1,13,1,%r20 /* C, Q, D, and I bits */ |
2115 | 2116 | ||
2116 | /* The values of PA_SINGLESTEP_BIT and PA_BLOCKSTEP_BIT are | 2117 | /* The values of SINGLESTEP_BIT and BLOCKSTEP_BIT are |
2117 | * set in include/linux/ptrace.h and converted to PA bitmap | 2118 | * set in thread_info.h and converted to PA bitmap |
2118 | * numbers in asm-offsets.c */ | 2119 | * numbers in asm-offsets.c */ |
2119 | 2120 | ||
2120 | /* if ((%r19.PA_SINGLESTEP_BIT)) { %r20.27=1} */ | 2121 | /* if ((%r19.SINGLESTEP_BIT)) { %r20.27=1} */ |
2121 | extru,= %r19,PA_SINGLESTEP_BIT,1,%r0 | 2122 | extru,= %r19,TIF_SINGLESTEP_PA_BIT,1,%r0 |
2122 | depi -1,27,1,%r20 /* R bit */ | 2123 | depi -1,27,1,%r20 /* R bit */ |
2123 | 2124 | ||
2124 | /* if ((%r19.PA_BLOCKSTEP_BIT)) { %r20.7=1} */ | 2125 | /* if ((%r19.BLOCKSTEP_BIT)) { %r20.7=1} */ |
2125 | extru,= %r19,PA_BLOCKSTEP_BIT,1,%r0 | 2126 | extru,= %r19,TIF_BLOCKSTEP_PA_BIT,1,%r0 |
2126 | depi -1,7,1,%r20 /* T bit */ | 2127 | depi -1,7,1,%r20 /* T bit */ |
2127 | 2128 | ||
2128 | STREG %r20,TASK_PT_PSW(%r1) | 2129 | STREG %r20,TASK_PT_PSW(%r1) |
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index 330f536a9324..2e7610cb33d5 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c | |||
@@ -423,8 +423,3 @@ void __init init_IRQ(void) | |||
423 | set_eiem(cpu_eiem); /* EIEM : enable all external intr */ | 423 | set_eiem(cpu_eiem); /* EIEM : enable all external intr */ |
424 | 424 | ||
425 | } | 425 | } |
426 | |||
427 | void ack_bad_irq(unsigned int irq) | ||
428 | { | ||
429 | printk(KERN_WARNING "unexpected IRQ %d\n", irq); | ||
430 | } | ||
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c index 61ee0eec4e69..212074653df7 100644 --- a/arch/parisc/kernel/module.c +++ b/arch/parisc/kernel/module.c | |||
@@ -893,7 +893,7 @@ int module_finalize(const Elf_Ehdr *hdr, | |||
893 | * ourselves */ | 893 | * ourselves */ |
894 | for (i = 1; i < hdr->e_shnum; i++) { | 894 | for (i = 1; i < hdr->e_shnum; i++) { |
895 | if(sechdrs[i].sh_type == SHT_SYMTAB | 895 | if(sechdrs[i].sh_type == SHT_SYMTAB |
896 | && (sechdrs[i].sh_type & SHF_ALLOC)) { | 896 | && (sechdrs[i].sh_flags & SHF_ALLOC)) { |
897 | int strindex = sechdrs[i].sh_link; | 897 | int strindex = sechdrs[i].sh_link; |
898 | /* FIXME: AWFUL HACK | 898 | /* FIXME: AWFUL HACK |
899 | * The cast is to drop the const from | 899 | * The cast is to drop the const from |
diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c index 927db3668b6f..c4f49e45129d 100644 --- a/arch/parisc/kernel/ptrace.c +++ b/arch/parisc/kernel/ptrace.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/smp.h> | 13 | #include <linux/smp.h> |
14 | #include <linux/errno.h> | 14 | #include <linux/errno.h> |
15 | #include <linux/ptrace.h> | 15 | #include <linux/ptrace.h> |
16 | #include <linux/tracehook.h> | ||
16 | #include <linux/user.h> | 17 | #include <linux/user.h> |
17 | #include <linux/personality.h> | 18 | #include <linux/personality.h> |
18 | #include <linux/security.h> | 19 | #include <linux/security.h> |
@@ -35,7 +36,8 @@ | |||
35 | */ | 36 | */ |
36 | void ptrace_disable(struct task_struct *task) | 37 | void ptrace_disable(struct task_struct *task) |
37 | { | 38 | { |
38 | task->ptrace &= ~(PT_SINGLESTEP|PT_BLOCKSTEP); | 39 | clear_tsk_thread_flag(task, TIF_SINGLESTEP); |
40 | clear_tsk_thread_flag(task, TIF_BLOCKSTEP); | ||
39 | 41 | ||
40 | /* make sure the trap bits are not set */ | 42 | /* make sure the trap bits are not set */ |
41 | pa_psw(task)->r = 0; | 43 | pa_psw(task)->r = 0; |
@@ -55,8 +57,8 @@ void user_disable_single_step(struct task_struct *task) | |||
55 | 57 | ||
56 | void user_enable_single_step(struct task_struct *task) | 58 | void user_enable_single_step(struct task_struct *task) |
57 | { | 59 | { |
58 | task->ptrace &= ~PT_BLOCKSTEP; | 60 | clear_tsk_thread_flag(task, TIF_BLOCKSTEP); |
59 | task->ptrace |= PT_SINGLESTEP; | 61 | set_tsk_thread_flag(task, TIF_SINGLESTEP); |
60 | 62 | ||
61 | if (pa_psw(task)->n) { | 63 | if (pa_psw(task)->n) { |
62 | struct siginfo si; | 64 | struct siginfo si; |
@@ -98,8 +100,8 @@ void user_enable_single_step(struct task_struct *task) | |||
98 | 100 | ||
99 | void user_enable_block_step(struct task_struct *task) | 101 | void user_enable_block_step(struct task_struct *task) |
100 | { | 102 | { |
101 | task->ptrace &= ~PT_SINGLESTEP; | 103 | clear_tsk_thread_flag(task, TIF_SINGLESTEP); |
102 | task->ptrace |= PT_BLOCKSTEP; | 104 | set_tsk_thread_flag(task, TIF_BLOCKSTEP); |
103 | 105 | ||
104 | /* Enable taken branch trap. */ | 106 | /* Enable taken branch trap. */ |
105 | pa_psw(task)->r = 0; | 107 | pa_psw(task)->r = 0; |
@@ -263,22 +265,20 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request, | |||
263 | } | 265 | } |
264 | #endif | 266 | #endif |
265 | 267 | ||
268 | long do_syscall_trace_enter(struct pt_regs *regs) | ||
269 | { | ||
270 | if (test_thread_flag(TIF_SYSCALL_TRACE) && | ||
271 | tracehook_report_syscall_entry(regs)) | ||
272 | return -1L; | ||
273 | |||
274 | return regs->gr[20]; | ||
275 | } | ||
266 | 276 | ||
267 | void syscall_trace(void) | 277 | void do_syscall_trace_exit(struct pt_regs *regs) |
268 | { | 278 | { |
269 | if (!test_thread_flag(TIF_SYSCALL_TRACE)) | 279 | int stepping = test_thread_flag(TIF_SINGLESTEP) || |
270 | return; | 280 | test_thread_flag(TIF_BLOCKSTEP); |
271 | if (!(current->ptrace & PT_PTRACED)) | 281 | |
272 | return; | 282 | if (stepping || test_thread_flag(TIF_SYSCALL_TRACE)) |
273 | ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) | 283 | tracehook_report_syscall_exit(regs, stepping); |
274 | ? 0x80 : 0)); | ||
275 | /* | ||
276 | * this isn't the same as continuing with a signal, but it will do | ||
277 | * for normal use. strace only continues with a signal if the | ||
278 | * stopping signal is not SIGTRAP. -brl | ||
279 | */ | ||
280 | if (current->exit_code) { | ||
281 | send_sig(current->exit_code, current, 1); | ||
282 | current->exit_code = 0; | ||
283 | } | ||
284 | } | 284 | } |
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index 8eb3c63c407a..e8467e4aa8d1 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/errno.h> | 21 | #include <linux/errno.h> |
22 | #include <linux/wait.h> | 22 | #include <linux/wait.h> |
23 | #include <linux/ptrace.h> | 23 | #include <linux/ptrace.h> |
24 | #include <linux/tracehook.h> | ||
24 | #include <linux/unistd.h> | 25 | #include <linux/unistd.h> |
25 | #include <linux/stddef.h> | 26 | #include <linux/stddef.h> |
26 | #include <linux/compat.h> | 27 | #include <linux/compat.h> |
@@ -34,7 +35,6 @@ | |||
34 | #include <asm/asm-offsets.h> | 35 | #include <asm/asm-offsets.h> |
35 | 36 | ||
36 | #ifdef CONFIG_COMPAT | 37 | #ifdef CONFIG_COMPAT |
37 | #include <linux/compat.h> | ||
38 | #include "signal32.h" | 38 | #include "signal32.h" |
39 | #endif | 39 | #endif |
40 | 40 | ||
@@ -468,6 +468,9 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka, | |||
468 | sigaddset(¤t->blocked,sig); | 468 | sigaddset(¤t->blocked,sig); |
469 | recalc_sigpending(); | 469 | recalc_sigpending(); |
470 | spin_unlock_irq(¤t->sighand->siglock); | 470 | spin_unlock_irq(¤t->sighand->siglock); |
471 | |||
472 | tracehook_signal_handler(sig, info, ka, regs, 0); | ||
473 | |||
471 | return 1; | 474 | return 1; |
472 | } | 475 | } |
473 | 476 | ||
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index 59fc1a43ec3e..f5f96021caa0 100644 --- a/arch/parisc/kernel/syscall.S +++ b/arch/parisc/kernel/syscall.S | |||
@@ -288,18 +288,23 @@ tracesys: | |||
288 | STREG %r18,PT_GR18(%r2) | 288 | STREG %r18,PT_GR18(%r2) |
289 | /* Finished saving things for the debugger */ | 289 | /* Finished saving things for the debugger */ |
290 | 290 | ||
291 | ldil L%syscall_trace,%r1 | 291 | copy %r2,%r26 |
292 | ldil L%do_syscall_trace_enter,%r1 | ||
292 | ldil L%tracesys_next,%r2 | 293 | ldil L%tracesys_next,%r2 |
293 | be R%syscall_trace(%sr7,%r1) | 294 | be R%do_syscall_trace_enter(%sr7,%r1) |
294 | ldo R%tracesys_next(%r2),%r2 | 295 | ldo R%tracesys_next(%r2),%r2 |
295 | 296 | ||
296 | tracesys_next: | 297 | tracesys_next: |
298 | /* do_syscall_trace_enter either returned the syscallno, or -1L, | ||
299 | * so we skip restoring the PT_GR20 below, since we pulled it from | ||
300 | * task->thread.regs.gr[20] above. | ||
301 | */ | ||
302 | copy %ret0,%r20 | ||
297 | ldil L%sys_call_table,%r1 | 303 | ldil L%sys_call_table,%r1 |
298 | ldo R%sys_call_table(%r1), %r19 | 304 | ldo R%sys_call_table(%r1), %r19 |
299 | 305 | ||
300 | ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ | 306 | ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ |
301 | LDREG TI_TASK(%r1), %r1 | 307 | LDREG TI_TASK(%r1), %r1 |
302 | LDREG TASK_PT_GR20(%r1), %r20 | ||
303 | LDREG TASK_PT_GR26(%r1), %r26 /* Restore the users args */ | 308 | LDREG TASK_PT_GR26(%r1), %r26 /* Restore the users args */ |
304 | LDREG TASK_PT_GR25(%r1), %r25 | 309 | LDREG TASK_PT_GR25(%r1), %r25 |
305 | LDREG TASK_PT_GR24(%r1), %r24 | 310 | LDREG TASK_PT_GR24(%r1), %r24 |
@@ -336,7 +341,8 @@ tracesys_exit: | |||
336 | #ifdef CONFIG_64BIT | 341 | #ifdef CONFIG_64BIT |
337 | ldo -16(%r30),%r29 /* Reference param save area */ | 342 | ldo -16(%r30),%r29 /* Reference param save area */ |
338 | #endif | 343 | #endif |
339 | bl syscall_trace, %r2 | 344 | ldo TASK_REGS(%r1),%r26 |
345 | bl do_syscall_trace_exit,%r2 | ||
340 | STREG %r28,TASK_PT_GR28(%r1) /* save return value now */ | 346 | STREG %r28,TASK_PT_GR28(%r1) /* save return value now */ |
341 | ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ | 347 | ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ |
342 | LDREG TI_TASK(%r1), %r1 | 348 | LDREG TI_TASK(%r1), %r1 |
@@ -353,12 +359,12 @@ tracesys_exit: | |||
353 | 359 | ||
354 | tracesys_sigexit: | 360 | tracesys_sigexit: |
355 | ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ | 361 | ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */ |
356 | LDREG 0(%r1), %r1 | 362 | LDREG TI_TASK(%r1), %r1 |
357 | #ifdef CONFIG_64BIT | 363 | #ifdef CONFIG_64BIT |
358 | ldo -16(%r30),%r29 /* Reference param save area */ | 364 | ldo -16(%r30),%r29 /* Reference param save area */ |
359 | #endif | 365 | #endif |
360 | bl syscall_trace, %r2 | 366 | bl do_syscall_trace_exit,%r2 |
361 | nop | 367 | ldo TASK_REGS(%r1),%r26 |
362 | 368 | ||
363 | ldil L%syscall_exit_rfi,%r1 | 369 | ldil L%syscall_exit_rfi,%r1 |
364 | be,n R%syscall_exit_rfi(%sr7,%r1) | 370 | be,n R%syscall_exit_rfi(%sr7,%r1) |
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S index 775be2791bc2..fda4baa059b5 100644 --- a/arch/parisc/kernel/vmlinux.lds.S +++ b/arch/parisc/kernel/vmlinux.lds.S | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <asm/cache.h> | 28 | #include <asm/cache.h> |
29 | #include <asm/page.h> | 29 | #include <asm/page.h> |
30 | #include <asm/asm-offsets.h> | 30 | #include <asm/asm-offsets.h> |
31 | #include <asm/thread_info.h> | ||
31 | 32 | ||
32 | /* ld script to make hppa Linux kernel */ | 33 | /* ld script to make hppa Linux kernel */ |
33 | #ifndef CONFIG_64BIT | 34 | #ifndef CONFIG_64BIT |
@@ -134,6 +135,15 @@ SECTIONS | |||
134 | __init_begin = .; | 135 | __init_begin = .; |
135 | INIT_TEXT_SECTION(16384) | 136 | INIT_TEXT_SECTION(16384) |
136 | INIT_DATA_SECTION(16) | 137 | INIT_DATA_SECTION(16) |
138 | /* we have to discard exit text and such at runtime, not link time */ | ||
139 | .exit.text : | ||
140 | { | ||
141 | EXIT_TEXT | ||
142 | } | ||
143 | .exit.data : | ||
144 | { | ||
145 | EXIT_DATA | ||
146 | } | ||
137 | 147 | ||
138 | PERCPU(PAGE_SIZE) | 148 | PERCPU(PAGE_SIZE) |
139 | . = ALIGN(PAGE_SIZE); | 149 | . = ALIGN(PAGE_SIZE); |
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index d5aca31fddbb..13b6e3e59b99 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c | |||
@@ -434,8 +434,8 @@ void mark_rodata_ro(void) | |||
434 | #define SET_MAP_OFFSET(x) ((void *)(((unsigned long)(x) + VM_MAP_OFFSET) \ | 434 | #define SET_MAP_OFFSET(x) ((void *)(((unsigned long)(x) + VM_MAP_OFFSET) \ |
435 | & ~(VM_MAP_OFFSET-1))) | 435 | & ~(VM_MAP_OFFSET-1))) |
436 | 436 | ||
437 | void *vmalloc_start __read_mostly; | 437 | void *parisc_vmalloc_start __read_mostly; |
438 | EXPORT_SYMBOL(vmalloc_start); | 438 | EXPORT_SYMBOL(parisc_vmalloc_start); |
439 | 439 | ||
440 | #ifdef CONFIG_PA11 | 440 | #ifdef CONFIG_PA11 |
441 | unsigned long pcxl_dma_start __read_mostly; | 441 | unsigned long pcxl_dma_start __read_mostly; |
@@ -496,13 +496,14 @@ void __init mem_init(void) | |||
496 | #ifdef CONFIG_PA11 | 496 | #ifdef CONFIG_PA11 |
497 | if (hppa_dma_ops == &pcxl_dma_ops) { | 497 | if (hppa_dma_ops == &pcxl_dma_ops) { |
498 | pcxl_dma_start = (unsigned long)SET_MAP_OFFSET(MAP_START); | 498 | pcxl_dma_start = (unsigned long)SET_MAP_OFFSET(MAP_START); |
499 | vmalloc_start = SET_MAP_OFFSET(pcxl_dma_start + PCXL_DMA_MAP_SIZE); | 499 | parisc_vmalloc_start = SET_MAP_OFFSET(pcxl_dma_start |
500 | + PCXL_DMA_MAP_SIZE); | ||
500 | } else { | 501 | } else { |
501 | pcxl_dma_start = 0; | 502 | pcxl_dma_start = 0; |
502 | vmalloc_start = SET_MAP_OFFSET(MAP_START); | 503 | parisc_vmalloc_start = SET_MAP_OFFSET(MAP_START); |
503 | } | 504 | } |
504 | #else | 505 | #else |
505 | vmalloc_start = SET_MAP_OFFSET(MAP_START); | 506 | parisc_vmalloc_start = SET_MAP_OFFSET(MAP_START); |
506 | #endif | 507 | #endif |
507 | 508 | ||
508 | printk(KERN_INFO "Memory: %luk/%luk available (%dk kernel code, %dk reserved, %dk data, %dk init)\n", | 509 | printk(KERN_INFO "Memory: %luk/%luk available (%dk kernel code, %dk reserved, %dk data, %dk init)\n", |
diff --git a/arch/powerpc/boot/dts/cm5200.dts b/arch/powerpc/boot/dts/cm5200.dts index cee8080aa245..dd3860846f15 100644 --- a/arch/powerpc/boot/dts/cm5200.dts +++ b/arch/powerpc/boot/dts/cm5200.dts | |||
@@ -210,7 +210,6 @@ | |||
210 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 210 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
211 | reg = <0x3d40 0x40>; | 211 | reg = <0x3d40 0x40>; |
212 | interrupts = <2 16 0>; | 212 | interrupts = <2 16 0>; |
213 | fsl5200-clocking; | ||
214 | }; | 213 | }; |
215 | 214 | ||
216 | sram@8000 { | 215 | sram@8000 { |
diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index 4c36186ef946..8e9be6bfe23e 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts | |||
@@ -199,7 +199,6 @@ | |||
199 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 199 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
200 | reg = <0x3d00 0x40>; | 200 | reg = <0x3d00 0x40>; |
201 | interrupts = <2 15 0>; | 201 | interrupts = <2 15 0>; |
202 | fsl5200-clocking; | ||
203 | 202 | ||
204 | rtc@50 { | 203 | rtc@50 { |
205 | compatible = "at,24c08"; | 204 | compatible = "at,24c08"; |
diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index de30b3f9eb26..82ff2b13bc37 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts | |||
@@ -247,7 +247,6 @@ | |||
247 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; | 247 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; |
248 | reg = <0x3d00 0x40>; | 248 | reg = <0x3d00 0x40>; |
249 | interrupts = <2 15 0>; | 249 | interrupts = <2 15 0>; |
250 | fsl5200-clocking; | ||
251 | }; | 250 | }; |
252 | 251 | ||
253 | i2c@3d40 { | 252 | i2c@3d40 { |
@@ -256,7 +255,6 @@ | |||
256 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; | 255 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; |
257 | reg = <0x3d40 0x40>; | 256 | reg = <0x3d40 0x40>; |
258 | interrupts = <2 16 0>; | 257 | interrupts = <2 16 0>; |
259 | fsl5200-clocking; | ||
260 | }; | 258 | }; |
261 | sram@8000 { | 259 | sram@8000 { |
262 | compatible = "fsl,mpc5200-sram"; | 260 | compatible = "fsl,mpc5200-sram"; |
diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index d13cb11ce623..e45a63be3a86 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts | |||
@@ -251,7 +251,6 @@ | |||
251 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 251 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
252 | reg = <0x3d00 0x40>; | 252 | reg = <0x3d00 0x40>; |
253 | interrupts = <2 15 0>; | 253 | interrupts = <2 15 0>; |
254 | fsl5200-clocking; | ||
255 | }; | 254 | }; |
256 | 255 | ||
257 | i2c@3d40 { | 256 | i2c@3d40 { |
@@ -260,7 +259,6 @@ | |||
260 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 259 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
261 | reg = <0x3d40 0x40>; | 260 | reg = <0x3d40 0x40>; |
262 | interrupts = <2 16 0>; | 261 | interrupts = <2 16 0>; |
263 | fsl5200-clocking; | ||
264 | }; | 262 | }; |
265 | 263 | ||
266 | sram@8000 { | 264 | sram@8000 { |
diff --git a/arch/powerpc/boot/dts/media5200.dts b/arch/powerpc/boot/dts/media5200.dts index e297d8b41875..0c3902bc5b6a 100644 --- a/arch/powerpc/boot/dts/media5200.dts +++ b/arch/powerpc/boot/dts/media5200.dts | |||
@@ -223,7 +223,6 @@ | |||
223 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 223 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
224 | reg = <0x3d00 0x40>; | 224 | reg = <0x3d00 0x40>; |
225 | interrupts = <2 15 0>; | 225 | interrupts = <2 15 0>; |
226 | fsl5200-clocking; | ||
227 | }; | 226 | }; |
228 | 227 | ||
229 | i2c@3d40 { | 228 | i2c@3d40 { |
@@ -232,7 +231,6 @@ | |||
232 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 231 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
233 | reg = <0x3d40 0x40>; | 232 | reg = <0x3d40 0x40>; |
234 | interrupts = <2 16 0>; | 233 | interrupts = <2 16 0>; |
235 | fsl5200-clocking; | ||
236 | }; | 234 | }; |
237 | 235 | ||
238 | sram@8000 { | 236 | sram@8000 { |
diff --git a/arch/powerpc/boot/dts/motionpro.dts b/arch/powerpc/boot/dts/motionpro.dts index 7be8ca038676..6ca4fc144a33 100644 --- a/arch/powerpc/boot/dts/motionpro.dts +++ b/arch/powerpc/boot/dts/motionpro.dts | |||
@@ -222,7 +222,6 @@ | |||
222 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 222 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
223 | reg = <0x3d40 0x40>; | 223 | reg = <0x3d40 0x40>; |
224 | interrupts = <2 16 0>; | 224 | interrupts = <2 16 0>; |
225 | fsl5200-clocking; | ||
226 | 225 | ||
227 | rtc@68 { | 226 | rtc@68 { |
228 | compatible = "dallas,ds1339"; | 227 | compatible = "dallas,ds1339"; |
diff --git a/arch/powerpc/boot/dts/mpc5121ads.dts b/arch/powerpc/boot/dts/mpc5121ads.dts index c2b8dbfab79e..c353dac33416 100644 --- a/arch/powerpc/boot/dts/mpc5121ads.dts +++ b/arch/powerpc/boot/dts/mpc5121ads.dts | |||
@@ -209,7 +209,6 @@ | |||
209 | reg = <0x1700 0x20>; | 209 | reg = <0x1700 0x20>; |
210 | interrupts = <9 0x8>; | 210 | interrupts = <9 0x8>; |
211 | interrupt-parent = < &ipic >; | 211 | interrupt-parent = < &ipic >; |
212 | fsl5200-clocking; | ||
213 | }; | 212 | }; |
214 | 213 | ||
215 | i2c@1720 { | 214 | i2c@1720 { |
@@ -220,7 +219,6 @@ | |||
220 | reg = <0x1720 0x20>; | 219 | reg = <0x1720 0x20>; |
221 | interrupts = <10 0x8>; | 220 | interrupts = <10 0x8>; |
222 | interrupt-parent = < &ipic >; | 221 | interrupt-parent = < &ipic >; |
223 | fsl5200-clocking; | ||
224 | }; | 222 | }; |
225 | 223 | ||
226 | i2c@1740 { | 224 | i2c@1740 { |
@@ -231,7 +229,6 @@ | |||
231 | reg = <0x1740 0x20>; | 229 | reg = <0x1740 0x20>; |
232 | interrupts = <11 0x8>; | 230 | interrupts = <11 0x8>; |
233 | interrupt-parent = < &ipic >; | 231 | interrupt-parent = < &ipic >; |
234 | fsl5200-clocking; | ||
235 | }; | 232 | }; |
236 | 233 | ||
237 | i2ccontrol@1760 { | 234 | i2ccontrol@1760 { |
diff --git a/arch/powerpc/boot/dts/mucmc52.dts b/arch/powerpc/boot/dts/mucmc52.dts new file mode 100644 index 000000000000..b72a7581d798 --- /dev/null +++ b/arch/powerpc/boot/dts/mucmc52.dts | |||
@@ -0,0 +1,332 @@ | |||
1 | /* | ||
2 | * Manroland mucmc52 board Device Tree Source | ||
3 | * | ||
4 | * Copyright (C) 2009 DENX Software Engineering GmbH | ||
5 | * Heiko Schocher <hs@denx.de> | ||
6 | * Copyright 2006-2007 Secret Lab Technologies Ltd. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License as published by the | ||
10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
11 | * option) any later version. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | |||
16 | / { | ||
17 | model = "manroland,mucmc52"; | ||
18 | compatible = "manroland,mucmc52"; | ||
19 | #address-cells = <1>; | ||
20 | #size-cells = <1>; | ||
21 | interrupt-parent = <&mpc5200_pic>; | ||
22 | |||
23 | cpus { | ||
24 | #address-cells = <1>; | ||
25 | #size-cells = <0>; | ||
26 | |||
27 | PowerPC,5200@0 { | ||
28 | device_type = "cpu"; | ||
29 | reg = <0>; | ||
30 | d-cache-line-size = <32>; | ||
31 | i-cache-line-size = <32>; | ||
32 | d-cache-size = <0x4000>; // L1, 16K | ||
33 | i-cache-size = <0x4000>; // L1, 16K | ||
34 | timebase-frequency = <0>; // from bootloader | ||
35 | bus-frequency = <0>; // from bootloader | ||
36 | clock-frequency = <0>; // from bootloader | ||
37 | }; | ||
38 | }; | ||
39 | |||
40 | memory { | ||
41 | device_type = "memory"; | ||
42 | reg = <0x00000000 0x04000000>; // 64MB | ||
43 | }; | ||
44 | |||
45 | soc5200@f0000000 { | ||
46 | #address-cells = <1>; | ||
47 | #size-cells = <1>; | ||
48 | compatible = "fsl,mpc5200b-immr"; | ||
49 | ranges = <0 0xf0000000 0x0000c000>; | ||
50 | reg = <0xf0000000 0x00000100>; | ||
51 | bus-frequency = <0>; // from bootloader | ||
52 | system-frequency = <0>; // from bootloader | ||
53 | |||
54 | cdm@200 { | ||
55 | compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; | ||
56 | reg = <0x200 0x38>; | ||
57 | }; | ||
58 | |||
59 | mpc5200_pic: interrupt-controller@500 { | ||
60 | // 5200 interrupts are encoded into two levels; | ||
61 | interrupt-controller; | ||
62 | #interrupt-cells = <3>; | ||
63 | compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; | ||
64 | reg = <0x500 0x80>; | ||
65 | }; | ||
66 | |||
67 | gpt0: timer@600 { // GPT 0 in GPIO mode | ||
68 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
69 | reg = <0x600 0x10>; | ||
70 | interrupts = <1 9 0>; | ||
71 | gpio-controller; | ||
72 | #gpio-cells = <2>; | ||
73 | }; | ||
74 | |||
75 | gpt1: timer@610 { // General Purpose Timer in GPIO mode | ||
76 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
77 | reg = <0x610 0x10>; | ||
78 | interrupts = <1 10 0>; | ||
79 | gpio-controller; | ||
80 | #gpio-cells = <2>; | ||
81 | }; | ||
82 | |||
83 | gpt2: timer@620 { // General Purpose Timer in GPIO mode | ||
84 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
85 | reg = <0x620 0x10>; | ||
86 | interrupts = <1 11 0>; | ||
87 | gpio-controller; | ||
88 | #gpio-cells = <2>; | ||
89 | }; | ||
90 | |||
91 | gpt3: timer@630 { // General Purpose Timer in GPIO mode | ||
92 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
93 | reg = <0x630 0x10>; | ||
94 | interrupts = <1 12 0>; | ||
95 | gpio-controller; | ||
96 | #gpio-cells = <2>; | ||
97 | }; | ||
98 | |||
99 | gpio_simple: gpio@b00 { | ||
100 | compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; | ||
101 | reg = <0xb00 0x40>; | ||
102 | interrupts = <1 7 0>; | ||
103 | gpio-controller; | ||
104 | #gpio-cells = <2>; | ||
105 | }; | ||
106 | |||
107 | gpio_wkup: gpio@c00 { | ||
108 | compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; | ||
109 | reg = <0xc00 0x40>; | ||
110 | interrupts = <1 8 0 0 3 0>; | ||
111 | gpio-controller; | ||
112 | #gpio-cells = <2>; | ||
113 | }; | ||
114 | |||
115 | dma-controller@1200 { | ||
116 | compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; | ||
117 | reg = <0x1200 0x80>; | ||
118 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | ||
119 | 3 4 0 3 5 0 3 6 0 3 7 0 | ||
120 | 3 8 0 3 9 0 3 10 0 3 11 0 | ||
121 | 3 12 0 3 13 0 3 14 0 3 15 0>; | ||
122 | }; | ||
123 | |||
124 | xlb@1f00 { | ||
125 | compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; | ||
126 | reg = <0x1f00 0x100>; | ||
127 | }; | ||
128 | |||
129 | serial@2000 { /* PSC1 in UART mode */ | ||
130 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | ||
131 | reg = <0x2000 0x100>; | ||
132 | interrupts = <2 1 0>; | ||
133 | }; | ||
134 | |||
135 | serial@2200 { /* PSC2 in UART mode */ | ||
136 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | ||
137 | reg = <0x2200 0x100>; | ||
138 | interrupts = <2 2 0>; | ||
139 | }; | ||
140 | |||
141 | serial@2c00 { /* PSC6 in UART mode */ | ||
142 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | ||
143 | reg = <0x2c00 0x100>; | ||
144 | interrupts = <2 4 0>; | ||
145 | }; | ||
146 | |||
147 | ethernet@3000 { | ||
148 | compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; | ||
149 | reg = <0x3000 0x400>; | ||
150 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
151 | interrupts = <2 5 0>; | ||
152 | phy-handle = <&phy0>; | ||
153 | }; | ||
154 | |||
155 | mdio@3000 { | ||
156 | #address-cells = <1>; | ||
157 | #size-cells = <0>; | ||
158 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; | ||
159 | reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts | ||
160 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. | ||
161 | |||
162 | phy0: ethernet-phy@0 { | ||
163 | compatible = "intel,lxt971"; | ||
164 | reg = <0>; | ||
165 | }; | ||
166 | }; | ||
167 | |||
168 | ata@3a00 { | ||
169 | compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; | ||
170 | reg = <0x3a00 0x100>; | ||
171 | interrupts = <2 7 0>; | ||
172 | }; | ||
173 | |||
174 | i2c@3d40 { | ||
175 | #address-cells = <1>; | ||
176 | #size-cells = <0>; | ||
177 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | ||
178 | reg = <0x3d40 0x40>; | ||
179 | interrupts = <2 16 0>; | ||
180 | hwmon@2c { | ||
181 | compatible = "ad,adm9240"; | ||
182 | reg = <0x2c>; | ||
183 | }; | ||
184 | rtc@51 { | ||
185 | compatible = "nxp,pcf8563"; | ||
186 | reg = <0x51>; | ||
187 | }; | ||
188 | }; | ||
189 | |||
190 | sram@8000 { | ||
191 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; | ||
192 | reg = <0x8000 0x4000>; | ||
193 | }; | ||
194 | }; | ||
195 | |||
196 | pci@f0000d00 { | ||
197 | #interrupt-cells = <1>; | ||
198 | #size-cells = <2>; | ||
199 | #address-cells = <3>; | ||
200 | device_type = "pci"; | ||
201 | compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci"; | ||
202 | reg = <0xf0000d00 0x100>; | ||
203 | interrupt-map-mask = <0xf800 0 0 7>; | ||
204 | interrupt-map = < | ||
205 | /* IDSEL 0x10 */ | ||
206 | 0x8000 0 0 1 &mpc5200_pic 0 3 3 | ||
207 | 0x8000 0 0 2 &mpc5200_pic 0 3 3 | ||
208 | 0x8000 0 0 3 &mpc5200_pic 0 2 3 | ||
209 | 0x8000 0 0 4 &mpc5200_pic 0 1 3 | ||
210 | >; | ||
211 | clock-frequency = <0>; // From boot loader | ||
212 | interrupts = <2 8 0 2 9 0 2 10 0>; | ||
213 | bus-range = <0 0>; | ||
214 | ranges = <0x42000000 0 0x60000000 0x60000000 0 0x10000000 | ||
215 | 0x02000000 0 0x90000000 0x90000000 0 0x10000000 | ||
216 | 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>; | ||
217 | }; | ||
218 | |||
219 | localbus { | ||
220 | compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; | ||
221 | |||
222 | #address-cells = <2>; | ||
223 | #size-cells = <1>; | ||
224 | |||
225 | ranges = <0 0 0xff800000 0x00800000 | ||
226 | 1 0 0x80000000 0x00800000 | ||
227 | 3 0 0x80000000 0x00800000>; | ||
228 | |||
229 | flash@0,0 { | ||
230 | compatible = "cfi-flash"; | ||
231 | reg = <0 0 0x00800000>; | ||
232 | bank-width = <4>; | ||
233 | device-width = <2>; | ||
234 | #size-cells = <1>; | ||
235 | #address-cells = <1>; | ||
236 | partition@0 { | ||
237 | label = "DTS"; | ||
238 | reg = <0x0 0x00100000>; | ||
239 | }; | ||
240 | partition@100000 { | ||
241 | label = "Kernel"; | ||
242 | reg = <0x100000 0x00200000>; | ||
243 | }; | ||
244 | partition@300000 { | ||
245 | label = "RootFS"; | ||
246 | reg = <0x00300000 0x00200000>; | ||
247 | }; | ||
248 | partition@500000 { | ||
249 | label = "user"; | ||
250 | reg = <0x00500000 0x00200000>; | ||
251 | }; | ||
252 | partition@700000 { | ||
253 | label = "U-Boot"; | ||
254 | reg = <0x00700000 0x00040000>; | ||
255 | }; | ||
256 | partition@740000 { | ||
257 | label = "Env"; | ||
258 | reg = <0x00740000 0x00020000>; | ||
259 | }; | ||
260 | partition@760000 { | ||
261 | label = "red. Env"; | ||
262 | reg = <0x00760000 0x00020000>; | ||
263 | }; | ||
264 | partition@780000 { | ||
265 | label = "reserve"; | ||
266 | reg = <0x00780000 0x00080000>; | ||
267 | }; | ||
268 | }; | ||
269 | |||
270 | simple100: gpio-controller-100@3,600100 { | ||
271 | compatible = "manroland,mucmc52-aux-gpio"; | ||
272 | reg = <3 0x00600100 0x1>; | ||
273 | gpio-controller; | ||
274 | #gpio-cells = <2>; | ||
275 | }; | ||
276 | simple104: gpio-controller-104@3,600104 { | ||
277 | compatible = "manroland,mucmc52-aux-gpio"; | ||
278 | reg = <3 0x00600104 0x1>; | ||
279 | gpio-controller; | ||
280 | #gpio-cells = <2>; | ||
281 | }; | ||
282 | simple200: gpio-controller-200@3,600200 { | ||
283 | compatible = "manroland,mucmc52-aux-gpio"; | ||
284 | reg = <3 0x00600200 0x1>; | ||
285 | gpio-controller; | ||
286 | #gpio-cells = <2>; | ||
287 | }; | ||
288 | simple201: gpio-controller-201@3,600201 { | ||
289 | compatible = "manroland,mucmc52-aux-gpio"; | ||
290 | reg = <3 0x00600201 0x1>; | ||
291 | gpio-controller; | ||
292 | #gpio-cells = <2>; | ||
293 | }; | ||
294 | simple202: gpio-controller-202@3,600202 { | ||
295 | compatible = "manroland,mucmc52-aux-gpio"; | ||
296 | reg = <3 0x00600202 0x1>; | ||
297 | gpio-controller; | ||
298 | #gpio-cells = <2>; | ||
299 | }; | ||
300 | simple203: gpio-controller-203@3,600203 { | ||
301 | compatible = "manroland,mucmc52-aux-gpio"; | ||
302 | reg = <3 0x00600203 0x1>; | ||
303 | gpio-controller; | ||
304 | #gpio-cells = <2>; | ||
305 | }; | ||
306 | simple204: gpio-controller-204@3,600204 { | ||
307 | compatible = "manroland,mucmc52-aux-gpio"; | ||
308 | reg = <3 0x00600204 0x1>; | ||
309 | gpio-controller; | ||
310 | #gpio-cells = <2>; | ||
311 | }; | ||
312 | simple206: gpio-controller-206@3,600206 { | ||
313 | compatible = "manroland,mucmc52-aux-gpio"; | ||
314 | reg = <3 0x00600206 0x1>; | ||
315 | gpio-controller; | ||
316 | #gpio-cells = <2>; | ||
317 | }; | ||
318 | simple207: gpio-controller-207@3,600207 { | ||
319 | compatible = "manroland,mucmc52-aux-gpio"; | ||
320 | reg = <3 0x00600207 0x1>; | ||
321 | gpio-controller; | ||
322 | #gpio-cells = <2>; | ||
323 | }; | ||
324 | simple20f: gpio-controller-20f@3,60020f { | ||
325 | compatible = "manroland,mucmc52-aux-gpio"; | ||
326 | reg = <3 0x0060020f 0x1>; | ||
327 | gpio-controller; | ||
328 | #gpio-cells = <2>; | ||
329 | }; | ||
330 | |||
331 | }; | ||
332 | }; | ||
diff --git a/arch/powerpc/boot/dts/pcm030.dts b/arch/powerpc/boot/dts/pcm030.dts index 30bfdc04c6df..8a4ec30b21ae 100644 --- a/arch/powerpc/boot/dts/pcm030.dts +++ b/arch/powerpc/boot/dts/pcm030.dts | |||
@@ -244,7 +244,6 @@ | |||
244 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 244 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
245 | reg = <0x3d00 0x40>; | 245 | reg = <0x3d00 0x40>; |
246 | interrupts = <2 15 0>; | 246 | interrupts = <2 15 0>; |
247 | fsl5200-clocking; | ||
248 | }; | 247 | }; |
249 | 248 | ||
250 | i2c@3d40 { | 249 | i2c@3d40 { |
@@ -253,7 +252,6 @@ | |||
253 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 252 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
254 | reg = <0x3d40 0x40>; | 253 | reg = <0x3d40 0x40>; |
255 | interrupts = <2 16 0>; | 254 | interrupts = <2 16 0>; |
256 | fsl5200-clocking; | ||
257 | rtc@51 { | 255 | rtc@51 { |
258 | compatible = "nxp,pcf8563"; | 256 | compatible = "nxp,pcf8563"; |
259 | reg = <0x51>; | 257 | reg = <0x51>; |
diff --git a/arch/powerpc/boot/dts/pcm032.dts b/arch/powerpc/boot/dts/pcm032.dts index 030042678392..85d857a5d46e 100644 --- a/arch/powerpc/boot/dts/pcm032.dts +++ b/arch/powerpc/boot/dts/pcm032.dts | |||
@@ -244,7 +244,6 @@ | |||
244 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 244 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
245 | reg = <0x3d00 0x40>; | 245 | reg = <0x3d00 0x40>; |
246 | interrupts = <2 15 0>; | 246 | interrupts = <2 15 0>; |
247 | fsl5200-clocking; | ||
248 | }; | 247 | }; |
249 | 248 | ||
250 | i2c@3d40 { | 249 | i2c@3d40 { |
@@ -253,7 +252,6 @@ | |||
253 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 252 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
254 | reg = <0x3d40 0x40>; | 253 | reg = <0x3d40 0x40>; |
255 | interrupts = <2 16 0>; | 254 | interrupts = <2 16 0>; |
256 | fsl5200-clocking; | ||
257 | rtc@51 { | 255 | rtc@51 { |
258 | compatible = "nxp,pcf8563"; | 256 | compatible = "nxp,pcf8563"; |
259 | reg = <0x51>; | 257 | reg = <0x51>; |
diff --git a/arch/powerpc/boot/dts/tqm5200.dts b/arch/powerpc/boot/dts/tqm5200.dts index c9590b58b7b0..1db07f6cf133 100644 --- a/arch/powerpc/boot/dts/tqm5200.dts +++ b/arch/powerpc/boot/dts/tqm5200.dts | |||
@@ -160,7 +160,6 @@ | |||
160 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; | 160 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; |
161 | reg = <0x3d40 0x40>; | 161 | reg = <0x3d40 0x40>; |
162 | interrupts = <2 16 0>; | 162 | interrupts = <2 16 0>; |
163 | fsl5200-clocking; | ||
164 | 163 | ||
165 | rtc@68 { | 164 | rtc@68 { |
166 | compatible = "dallas,ds1307"; | 165 | compatible = "dallas,ds1307"; |
diff --git a/arch/powerpc/boot/dts/uc101.dts b/arch/powerpc/boot/dts/uc101.dts new file mode 100644 index 000000000000..019264c62904 --- /dev/null +++ b/arch/powerpc/boot/dts/uc101.dts | |||
@@ -0,0 +1,284 @@ | |||
1 | /* | ||
2 | * Manroland uc101 board Device Tree Source | ||
3 | * | ||
4 | * Copyright (C) 2009 DENX Software Engineering GmbH | ||
5 | * Heiko Schocher <hs@denx.de> | ||
6 | * Copyright 2006-2007 Secret Lab Technologies Ltd. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License as published by the | ||
10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
11 | * option) any later version. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | |||
16 | / { | ||
17 | model = "manroland,uc101"; | ||
18 | compatible = "manroland,uc101"; | ||
19 | #address-cells = <1>; | ||
20 | #size-cells = <1>; | ||
21 | interrupt-parent = <&mpc5200_pic>; | ||
22 | |||
23 | cpus { | ||
24 | #address-cells = <1>; | ||
25 | #size-cells = <0>; | ||
26 | |||
27 | PowerPC,5200@0 { | ||
28 | device_type = "cpu"; | ||
29 | reg = <0>; | ||
30 | d-cache-line-size = <32>; | ||
31 | i-cache-line-size = <32>; | ||
32 | d-cache-size = <0x4000>; // L1, 16K | ||
33 | i-cache-size = <0x4000>; // L1, 16K | ||
34 | timebase-frequency = <0>; // from bootloader | ||
35 | bus-frequency = <0>; // from bootloader | ||
36 | clock-frequency = <0>; // from bootloader | ||
37 | }; | ||
38 | }; | ||
39 | |||
40 | memory { | ||
41 | device_type = "memory"; | ||
42 | reg = <0x00000000 0x04000000>; // 64MB | ||
43 | }; | ||
44 | |||
45 | soc5200@f0000000 { | ||
46 | #address-cells = <1>; | ||
47 | #size-cells = <1>; | ||
48 | compatible = "fsl,mpc5200b-immr"; | ||
49 | ranges = <0 0xf0000000 0x0000c000>; | ||
50 | reg = <0xf0000000 0x00000100>; | ||
51 | bus-frequency = <0>; // from bootloader | ||
52 | system-frequency = <0>; // from bootloader | ||
53 | |||
54 | cdm@200 { | ||
55 | compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; | ||
56 | reg = <0x200 0x38>; | ||
57 | }; | ||
58 | |||
59 | mpc5200_pic: interrupt-controller@500 { | ||
60 | // 5200 interrupts are encoded into two levels; | ||
61 | interrupt-controller; | ||
62 | #interrupt-cells = <3>; | ||
63 | compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; | ||
64 | reg = <0x500 0x80>; | ||
65 | }; | ||
66 | |||
67 | gpt0: timer@600 { // General Purpose Timer in GPIO mode | ||
68 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
69 | reg = <0x600 0x10>; | ||
70 | interrupts = <1 9 0>; | ||
71 | gpio-controller; | ||
72 | #gpio-cells = <2>; | ||
73 | }; | ||
74 | |||
75 | gpt1: timer@610 { // General Purpose Timer in GPIO mode | ||
76 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
77 | reg = <0x610 0x10>; | ||
78 | interrupts = <1 10 0>; | ||
79 | gpio-controller; | ||
80 | #gpio-cells = <2>; | ||
81 | }; | ||
82 | |||
83 | gpt2: timer@620 { // General Purpose Timer in GPIO mode | ||
84 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
85 | reg = <0x620 0x10>; | ||
86 | interrupts = <1 11 0>; | ||
87 | gpio-controller; | ||
88 | #gpio-cells = <2>; | ||
89 | }; | ||
90 | |||
91 | gpt3: timer@630 { // General Purpose Timer in GPIO mode | ||
92 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
93 | reg = <0x630 0x10>; | ||
94 | interrupts = <1 12 0>; | ||
95 | gpio-controller; | ||
96 | #gpio-cells = <2>; | ||
97 | }; | ||
98 | |||
99 | gpt4: timer@640 { // General Purpose Timer in GPIO mode | ||
100 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
101 | reg = <0x640 0x10>; | ||
102 | interrupts = <1 13 0>; | ||
103 | gpio-controller; | ||
104 | #gpio-cells = <2>; | ||
105 | }; | ||
106 | |||
107 | gpt5: timer@650 { // General Purpose Timer in GPIO mode | ||
108 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
109 | reg = <0x650 0x10>; | ||
110 | interrupts = <1 14 0>; | ||
111 | gpio-controller; | ||
112 | #gpio-cells = <2>; | ||
113 | }; | ||
114 | |||
115 | gpt6: timer@660 { // General Purpose Timer in GPIO mode | ||
116 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
117 | reg = <0x660 0x10>; | ||
118 | interrupts = <1 15 0>; | ||
119 | gpio-controller; | ||
120 | #gpio-cells = <2>; | ||
121 | }; | ||
122 | |||
123 | gpt7: timer@670 { // General Purpose Timer in GPIO mode | ||
124 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
125 | reg = <0x670 0x10>; | ||
126 | interrupts = <1 16 0>; | ||
127 | gpio-controller; | ||
128 | #gpio-cells = <2>; | ||
129 | }; | ||
130 | |||
131 | gpio_simple: gpio@b00 { | ||
132 | compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; | ||
133 | reg = <0xb00 0x40>; | ||
134 | interrupts = <1 7 0>; | ||
135 | gpio-controller; | ||
136 | #gpio-cells = <2>; | ||
137 | }; | ||
138 | |||
139 | gpio_wkup: gpio@c00 { | ||
140 | compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; | ||
141 | reg = <0xc00 0x40>; | ||
142 | interrupts = <1 8 0 0 3 0>; | ||
143 | gpio-controller; | ||
144 | #gpio-cells = <2>; | ||
145 | }; | ||
146 | |||
147 | dma-controller@1200 { | ||
148 | compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; | ||
149 | reg = <0x1200 0x80>; | ||
150 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | ||
151 | 3 4 0 3 5 0 3 6 0 3 7 0 | ||
152 | 3 8 0 3 9 0 3 10 0 3 11 0 | ||
153 | 3 12 0 3 13 0 3 14 0 3 15 0>; | ||
154 | }; | ||
155 | |||
156 | xlb@1f00 { | ||
157 | compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; | ||
158 | reg = <0x1f00 0x100>; | ||
159 | }; | ||
160 | |||
161 | serial@2000 { /* PSC1 in UART mode */ | ||
162 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | ||
163 | reg = <0x2000 0x100>; | ||
164 | interrupts = <2 1 0>; | ||
165 | }; | ||
166 | |||
167 | serial@2200 { /* PSC2 in UART mode */ | ||
168 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | ||
169 | reg = <0x2200 0x100>; | ||
170 | interrupts = <2 2 0>; | ||
171 | }; | ||
172 | |||
173 | serial@2c00 { /* PSC6 in UART mode */ | ||
174 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | ||
175 | reg = <0x2c00 0x100>; | ||
176 | interrupts = <2 4 0>; | ||
177 | }; | ||
178 | |||
179 | ethernet@3000 { | ||
180 | compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; | ||
181 | reg = <0x3000 0x400>; | ||
182 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
183 | interrupts = <2 5 0>; | ||
184 | phy-handle = <&phy0>; | ||
185 | }; | ||
186 | |||
187 | mdio@3000 { | ||
188 | #address-cells = <1>; | ||
189 | #size-cells = <0>; | ||
190 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; | ||
191 | reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts | ||
192 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. | ||
193 | |||
194 | phy0: ethernet-phy@0 { | ||
195 | compatible = "intel,lxt971"; | ||
196 | reg = <0>; | ||
197 | }; | ||
198 | }; | ||
199 | |||
200 | ata@3a00 { | ||
201 | compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; | ||
202 | reg = <0x3a00 0x100>; | ||
203 | interrupts = <2 7 0>; | ||
204 | }; | ||
205 | |||
206 | i2c@3d40 { | ||
207 | #address-cells = <1>; | ||
208 | #size-cells = <0>; | ||
209 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | ||
210 | reg = <0x3d40 0x40>; | ||
211 | interrupts = <2 16 0>; | ||
212 | fsl,preserve-clocking; | ||
213 | clock-frequency = <400000>; | ||
214 | |||
215 | hwmon@2c { | ||
216 | compatible = "ad,adm9240"; | ||
217 | reg = <0x2c>; | ||
218 | }; | ||
219 | rtc@51 { | ||
220 | compatible = "nxp,pcf8563"; | ||
221 | reg = <0x51>; | ||
222 | }; | ||
223 | }; | ||
224 | |||
225 | sram@8000 { | ||
226 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; | ||
227 | reg = <0x8000 0x4000>; | ||
228 | }; | ||
229 | }; | ||
230 | |||
231 | localbus { | ||
232 | compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; | ||
233 | |||
234 | #address-cells = <2>; | ||
235 | #size-cells = <1>; | ||
236 | |||
237 | ranges = <0 0 0xff800000 0x00800000 | ||
238 | 1 0 0x80000000 0x00800000 | ||
239 | 3 0 0x80000000 0x00800000>; | ||
240 | |||
241 | flash@0,0 { | ||
242 | compatible = "cfi-flash"; | ||
243 | reg = <0 0 0x00800000>; | ||
244 | bank-width = <2>; | ||
245 | device-width = <2>; | ||
246 | #size-cells = <1>; | ||
247 | #address-cells = <1>; | ||
248 | |||
249 | partition@0 { | ||
250 | label = "DTS"; | ||
251 | reg = <0x0 0x00100000>; | ||
252 | }; | ||
253 | partition@100000 { | ||
254 | label = "Kernel"; | ||
255 | reg = <0x100000 0x00200000>; | ||
256 | }; | ||
257 | partition@300000 { | ||
258 | label = "RootFS"; | ||
259 | reg = <0x00300000 0x00200000>; | ||
260 | }; | ||
261 | partition@500000 { | ||
262 | label = "user"; | ||
263 | reg = <0x00500000 0x00200000>; | ||
264 | }; | ||
265 | partition@700000 { | ||
266 | label = "U-Boot"; | ||
267 | reg = <0x00700000 0x00040000>; | ||
268 | }; | ||
269 | partition@740000 { | ||
270 | label = "Env"; | ||
271 | reg = <0x00740000 0x00010000>; | ||
272 | }; | ||
273 | partition@750000 { | ||
274 | label = "red. Env"; | ||
275 | reg = <0x00750000 0x00010000>; | ||
276 | }; | ||
277 | partition@760000 { | ||
278 | label = "reserve"; | ||
279 | reg = <0x00760000 0x000a0000>; | ||
280 | }; | ||
281 | }; | ||
282 | |||
283 | }; | ||
284 | }; | ||
diff --git a/arch/powerpc/configs/52xx/cm5200_defconfig b/arch/powerpc/configs/52xx/cm5200_defconfig index 3838b77b8116..0396ce7bffc6 100644 --- a/arch/powerpc/configs/52xx/cm5200_defconfig +++ b/arch/powerpc/configs/52xx/cm5200_defconfig | |||
@@ -1,25 +1,27 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc2 | 3 | # Linux kernel version: 2.6.32-rc4 |
4 | # Sat Apr 18 00:47:44 2009 | 4 | # Thu Oct 15 10:33:22 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
8 | # | 8 | # |
9 | # Processor support | 9 | # Processor support |
10 | # | 10 | # |
11 | CONFIG_6xx=y | 11 | CONFIG_PPC_BOOK3S_32=y |
12 | # CONFIG_PPC_85xx is not set | 12 | # CONFIG_PPC_85xx is not set |
13 | # CONFIG_PPC_8xx is not set | 13 | # CONFIG_PPC_8xx is not set |
14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_PPC_BOOK3S=y | 17 | CONFIG_PPC_BOOK3S=y |
18 | CONFIG_6xx=y | ||
18 | CONFIG_PPC_FPU=y | 19 | CONFIG_PPC_FPU=y |
19 | # CONFIG_ALTIVEC is not set | 20 | # CONFIG_ALTIVEC is not set |
20 | CONFIG_PPC_STD_MMU=y | 21 | CONFIG_PPC_STD_MMU=y |
21 | CONFIG_PPC_STD_MMU_32=y | 22 | CONFIG_PPC_STD_MMU_32=y |
22 | # CONFIG_PPC_MM_SLICES is not set | 23 | # CONFIG_PPC_MM_SLICES is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
23 | # CONFIG_SMP is not set | 25 | # CONFIG_SMP is not set |
24 | CONFIG_PPC32=y | 26 | CONFIG_PPC32=y |
25 | CONFIG_WORD_SIZE=32 | 27 | CONFIG_WORD_SIZE=32 |
@@ -30,15 +32,17 @@ CONFIG_GENERIC_TIME=y | |||
30 | CONFIG_GENERIC_TIME_VSYSCALL=y | 32 | CONFIG_GENERIC_TIME_VSYSCALL=y |
31 | CONFIG_GENERIC_CLOCKEVENTS=y | 33 | CONFIG_GENERIC_CLOCKEVENTS=y |
32 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
33 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
34 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
35 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
41 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
37 | CONFIG_LOCKDEP_SUPPORT=y | 42 | CONFIG_LOCKDEP_SUPPORT=y |
38 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 43 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
39 | CONFIG_ARCH_HAS_ILOG2_U32=y | 44 | CONFIG_ARCH_HAS_ILOG2_U32=y |
40 | CONFIG_GENERIC_HWEIGHT=y | 45 | CONFIG_GENERIC_HWEIGHT=y |
41 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
42 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 46 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
43 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 47 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
44 | CONFIG_PPC=y | 48 | CONFIG_PPC=y |
@@ -52,11 +56,13 @@ CONFIG_OF=y | |||
52 | # CONFIG_GENERIC_TBSYNC is not set | 56 | # CONFIG_GENERIC_TBSYNC is not set |
53 | CONFIG_AUDIT_ARCH=y | 57 | CONFIG_AUDIT_ARCH=y |
54 | CONFIG_GENERIC_BUG=y | 58 | CONFIG_GENERIC_BUG=y |
59 | CONFIG_DTC=y | ||
55 | CONFIG_DEFAULT_UIMAGE=y | 60 | CONFIG_DEFAULT_UIMAGE=y |
56 | # CONFIG_PPC_DCR_NATIVE is not set | 61 | # CONFIG_PPC_DCR_NATIVE is not set |
57 | # CONFIG_PPC_DCR_MMIO is not set | 62 | # CONFIG_PPC_DCR_MMIO is not set |
58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | 63 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y |
59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 64 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
65 | CONFIG_CONSTRUCTORS=y | ||
60 | 66 | ||
61 | # | 67 | # |
62 | # General setup | 68 | # General setup |
@@ -77,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
77 | # | 83 | # |
78 | # RCU Subsystem | 84 | # RCU Subsystem |
79 | # | 85 | # |
80 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
81 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
82 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
83 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
84 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
85 | # CONFIG_IKCONFIG is not set | 92 | # CONFIG_IKCONFIG is not set |
86 | CONFIG_LOG_BUF_SHIFT=14 | 93 | CONFIG_LOG_BUF_SHIFT=14 |
87 | CONFIG_GROUP_SCHED=y | 94 | CONFIG_GROUP_SCHED=y |
@@ -105,7 +112,6 @@ CONFIG_ANON_INODES=y | |||
105 | CONFIG_EMBEDDED=y | 112 | CONFIG_EMBEDDED=y |
106 | # CONFIG_SYSCTL_SYSCALL is not set | 113 | # CONFIG_SYSCTL_SYSCALL is not set |
107 | # CONFIG_KALLSYMS is not set | 114 | # CONFIG_KALLSYMS is not set |
108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
109 | CONFIG_HOTPLUG=y | 115 | CONFIG_HOTPLUG=y |
110 | CONFIG_PRINTK=y | 116 | CONFIG_PRINTK=y |
111 | CONFIG_BUG=y | 117 | CONFIG_BUG=y |
@@ -118,6 +124,13 @@ CONFIG_TIMERFD=y | |||
118 | CONFIG_EVENTFD=y | 124 | CONFIG_EVENTFD=y |
119 | CONFIG_SHMEM=y | 125 | CONFIG_SHMEM=y |
120 | CONFIG_AIO=y | 126 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_EVENTS=y | ||
128 | |||
129 | # | ||
130 | # Kernel Performance Events And Counters | ||
131 | # | ||
132 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | ||
121 | CONFIG_VM_EVENT_COUNTERS=y | 134 | CONFIG_VM_EVENT_COUNTERS=y |
122 | CONFIG_SLUB_DEBUG=y | 135 | CONFIG_SLUB_DEBUG=y |
123 | CONFIG_COMPAT_BRK=y | 136 | CONFIG_COMPAT_BRK=y |
@@ -125,14 +138,19 @@ CONFIG_COMPAT_BRK=y | |||
125 | CONFIG_SLUB=y | 138 | CONFIG_SLUB=y |
126 | # CONFIG_SLOB is not set | 139 | # CONFIG_SLOB is not set |
127 | # CONFIG_PROFILING is not set | 140 | # CONFIG_PROFILING is not set |
128 | # CONFIG_MARKERS is not set | ||
129 | CONFIG_HAVE_OPROFILE=y | 141 | CONFIG_HAVE_OPROFILE=y |
130 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 142 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
131 | CONFIG_HAVE_IOREMAP_PROT=y | 143 | CONFIG_HAVE_IOREMAP_PROT=y |
132 | CONFIG_HAVE_KPROBES=y | 144 | CONFIG_HAVE_KPROBES=y |
133 | CONFIG_HAVE_KRETPROBES=y | 145 | CONFIG_HAVE_KRETPROBES=y |
134 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 146 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
147 | CONFIG_HAVE_DMA_ATTRS=y | ||
135 | CONFIG_HAVE_CLK=y | 148 | CONFIG_HAVE_CLK=y |
149 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | |||
151 | # | ||
152 | # GCOV-based kernel profiling | ||
153 | # | ||
136 | # CONFIG_SLOW_WORK is not set | 154 | # CONFIG_SLOW_WORK is not set |
137 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 155 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
138 | CONFIG_SLABINFO=y | 156 | CONFIG_SLABINFO=y |
@@ -140,7 +158,7 @@ CONFIG_RT_MUTEXES=y | |||
140 | CONFIG_BASE_SMALL=0 | 158 | CONFIG_BASE_SMALL=0 |
141 | # CONFIG_MODULES is not set | 159 | # CONFIG_MODULES is not set |
142 | CONFIG_BLOCK=y | 160 | CONFIG_BLOCK=y |
143 | # CONFIG_LBD is not set | 161 | CONFIG_LBDAF=y |
144 | # CONFIG_BLK_DEV_BSG is not set | 162 | # CONFIG_BLK_DEV_BSG is not set |
145 | # CONFIG_BLK_DEV_INTEGRITY is not set | 163 | # CONFIG_BLK_DEV_INTEGRITY is not set |
146 | 164 | ||
@@ -219,11 +237,13 @@ CONFIG_BINFMT_ELF=y | |||
219 | # CONFIG_HAVE_AOUT is not set | 237 | # CONFIG_HAVE_AOUT is not set |
220 | # CONFIG_BINFMT_MISC is not set | 238 | # CONFIG_BINFMT_MISC is not set |
221 | # CONFIG_IOMMU_HELPER is not set | 239 | # CONFIG_IOMMU_HELPER is not set |
240 | # CONFIG_SWIOTLB is not set | ||
222 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 241 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
223 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 242 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
224 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 243 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
225 | # CONFIG_KEXEC is not set | 244 | # CONFIG_KEXEC is not set |
226 | # CONFIG_CRASH_DUMP is not set | 245 | # CONFIG_CRASH_DUMP is not set |
246 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
227 | CONFIG_ARCH_FLATMEM_ENABLE=y | 247 | CONFIG_ARCH_FLATMEM_ENABLE=y |
228 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 248 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
229 | CONFIG_SELECT_MEMORY_MODEL=y | 249 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -239,9 +259,10 @@ CONFIG_MIGRATION=y | |||
239 | CONFIG_ZONE_DMA_FLAG=1 | 259 | CONFIG_ZONE_DMA_FLAG=1 |
240 | CONFIG_BOUNCE=y | 260 | CONFIG_BOUNCE=y |
241 | CONFIG_VIRT_TO_BUS=y | 261 | CONFIG_VIRT_TO_BUS=y |
242 | CONFIG_UNEVICTABLE_LRU=y | ||
243 | CONFIG_HAVE_MLOCK=y | 262 | CONFIG_HAVE_MLOCK=y |
244 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 263 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
264 | # CONFIG_KSM is not set | ||
265 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
245 | CONFIG_PPC_4K_PAGES=y | 266 | CONFIG_PPC_4K_PAGES=y |
246 | # CONFIG_PPC_16K_PAGES is not set | 267 | # CONFIG_PPC_16K_PAGES is not set |
247 | # CONFIG_PPC_64K_PAGES is not set | 268 | # CONFIG_PPC_64K_PAGES is not set |
@@ -252,6 +273,7 @@ CONFIG_PROC_DEVICETREE=y | |||
252 | CONFIG_EXTRA_TARGETS="" | 273 | CONFIG_EXTRA_TARGETS="" |
253 | CONFIG_PM=y | 274 | CONFIG_PM=y |
254 | # CONFIG_PM_DEBUG is not set | 275 | # CONFIG_PM_DEBUG is not set |
276 | # CONFIG_PM_RUNTIME is not set | ||
255 | CONFIG_SECCOMP=y | 277 | CONFIG_SECCOMP=y |
256 | CONFIG_ISA_DMA_API=y | 278 | CONFIG_ISA_DMA_API=y |
257 | 279 | ||
@@ -328,6 +350,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
328 | # CONFIG_NETFILTER is not set | 350 | # CONFIG_NETFILTER is not set |
329 | # CONFIG_IP_DCCP is not set | 351 | # CONFIG_IP_DCCP is not set |
330 | # CONFIG_IP_SCTP is not set | 352 | # CONFIG_IP_SCTP is not set |
353 | # CONFIG_RDS is not set | ||
331 | # CONFIG_TIPC is not set | 354 | # CONFIG_TIPC is not set |
332 | # CONFIG_ATM is not set | 355 | # CONFIG_ATM is not set |
333 | # CONFIG_BRIDGE is not set | 356 | # CONFIG_BRIDGE is not set |
@@ -342,6 +365,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
342 | # CONFIG_ECONET is not set | 365 | # CONFIG_ECONET is not set |
343 | # CONFIG_WAN_ROUTER is not set | 366 | # CONFIG_WAN_ROUTER is not set |
344 | # CONFIG_PHONET is not set | 367 | # CONFIG_PHONET is not set |
368 | # CONFIG_IEEE802154 is not set | ||
345 | # CONFIG_NET_SCHED is not set | 369 | # CONFIG_NET_SCHED is not set |
346 | # CONFIG_DCB is not set | 370 | # CONFIG_DCB is not set |
347 | 371 | ||
@@ -367,6 +391,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
367 | # Generic Driver Options | 391 | # Generic Driver Options |
368 | # | 392 | # |
369 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 393 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
394 | # CONFIG_DEVTMPFS is not set | ||
370 | CONFIG_STANDALONE=y | 395 | CONFIG_STANDALONE=y |
371 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 396 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
372 | # CONFIG_FW_LOADER is not set | 397 | # CONFIG_FW_LOADER is not set |
@@ -457,6 +482,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
457 | # CONFIG_MTD_UBI is not set | 482 | # CONFIG_MTD_UBI is not set |
458 | CONFIG_OF_DEVICE=y | 483 | CONFIG_OF_DEVICE=y |
459 | CONFIG_OF_I2C=y | 484 | CONFIG_OF_I2C=y |
485 | CONFIG_OF_MDIO=y | ||
460 | # CONFIG_PARPORT is not set | 486 | # CONFIG_PARPORT is not set |
461 | CONFIG_BLK_DEV=y | 487 | CONFIG_BLK_DEV=y |
462 | # CONFIG_BLK_DEV_FD is not set | 488 | # CONFIG_BLK_DEV_FD is not set |
@@ -495,10 +521,6 @@ CONFIG_BLK_DEV_SD=y | |||
495 | # CONFIG_BLK_DEV_SR is not set | 521 | # CONFIG_BLK_DEV_SR is not set |
496 | CONFIG_CHR_DEV_SG=y | 522 | CONFIG_CHR_DEV_SG=y |
497 | # CONFIG_CHR_DEV_SCH is not set | 523 | # CONFIG_CHR_DEV_SCH is not set |
498 | |||
499 | # | ||
500 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
501 | # | ||
502 | # CONFIG_SCSI_MULTI_LUN is not set | 524 | # CONFIG_SCSI_MULTI_LUN is not set |
503 | # CONFIG_SCSI_CONSTANTS is not set | 525 | # CONFIG_SCSI_CONSTANTS is not set |
504 | # CONFIG_SCSI_LOGGING is not set | 526 | # CONFIG_SCSI_LOGGING is not set |
@@ -519,7 +541,6 @@ CONFIG_CHR_DEV_SG=y | |||
519 | # CONFIG_MD is not set | 541 | # CONFIG_MD is not set |
520 | # CONFIG_MACINTOSH_DRIVERS is not set | 542 | # CONFIG_MACINTOSH_DRIVERS is not set |
521 | CONFIG_NETDEVICES=y | 543 | CONFIG_NETDEVICES=y |
522 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
523 | # CONFIG_DUMMY is not set | 544 | # CONFIG_DUMMY is not set |
524 | # CONFIG_BONDING is not set | 545 | # CONFIG_BONDING is not set |
525 | # CONFIG_MACVLAN is not set | 546 | # CONFIG_MACVLAN is not set |
@@ -558,14 +579,14 @@ CONFIG_NET_ETHERNET=y | |||
558 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | 579 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set |
559 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 580 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
560 | # CONFIG_B44 is not set | 581 | # CONFIG_B44 is not set |
582 | # CONFIG_KS8842 is not set | ||
583 | # CONFIG_KS8851_MLL is not set | ||
561 | CONFIG_FEC_MPC52xx=y | 584 | CONFIG_FEC_MPC52xx=y |
562 | CONFIG_FEC_MPC52xx_MDIO=y | 585 | CONFIG_FEC_MPC52xx_MDIO=y |
586 | # CONFIG_XILINX_EMACLITE is not set | ||
563 | # CONFIG_NETDEV_1000 is not set | 587 | # CONFIG_NETDEV_1000 is not set |
564 | # CONFIG_NETDEV_10000 is not set | 588 | # CONFIG_NETDEV_10000 is not set |
565 | 589 | CONFIG_WLAN=y | |
566 | # | ||
567 | # Wireless LAN | ||
568 | # | ||
569 | # CONFIG_WLAN_PRE80211 is not set | 590 | # CONFIG_WLAN_PRE80211 is not set |
570 | # CONFIG_WLAN_80211 is not set | 591 | # CONFIG_WLAN_80211 is not set |
571 | 592 | ||
@@ -636,6 +657,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
636 | # CONFIG_TCG_TPM is not set | 657 | # CONFIG_TCG_TPM is not set |
637 | CONFIG_I2C=y | 658 | CONFIG_I2C=y |
638 | CONFIG_I2C_BOARDINFO=y | 659 | CONFIG_I2C_BOARDINFO=y |
660 | CONFIG_I2C_COMPAT=y | ||
639 | CONFIG_I2C_CHARDEV=y | 661 | CONFIG_I2C_CHARDEV=y |
640 | CONFIG_I2C_HELPER_AUTO=y | 662 | CONFIG_I2C_HELPER_AUTO=y |
641 | 663 | ||
@@ -646,6 +668,7 @@ CONFIG_I2C_HELPER_AUTO=y | |||
646 | # | 668 | # |
647 | # I2C system bus drivers (mostly embedded / system-on-chip) | 669 | # I2C system bus drivers (mostly embedded / system-on-chip) |
648 | # | 670 | # |
671 | # CONFIG_I2C_DESIGNWARE is not set | ||
649 | CONFIG_I2C_MPC=y | 672 | CONFIG_I2C_MPC=y |
650 | # CONFIG_I2C_OCORES is not set | 673 | # CONFIG_I2C_OCORES is not set |
651 | # CONFIG_I2C_SIMTEC is not set | 674 | # CONFIG_I2C_SIMTEC is not set |
@@ -666,23 +689,23 @@ CONFIG_I2C_MPC=y | |||
666 | # Miscellaneous I2C Chip support | 689 | # Miscellaneous I2C Chip support |
667 | # | 690 | # |
668 | # CONFIG_DS1682 is not set | 691 | # CONFIG_DS1682 is not set |
669 | # CONFIG_SENSORS_PCF8574 is not set | ||
670 | # CONFIG_PCF8575 is not set | ||
671 | # CONFIG_SENSORS_PCA9539 is not set | ||
672 | # CONFIG_SENSORS_MAX6875 is not set | ||
673 | # CONFIG_SENSORS_TSL2550 is not set | 692 | # CONFIG_SENSORS_TSL2550 is not set |
674 | # CONFIG_I2C_DEBUG_CORE is not set | 693 | # CONFIG_I2C_DEBUG_CORE is not set |
675 | # CONFIG_I2C_DEBUG_ALGO is not set | 694 | # CONFIG_I2C_DEBUG_ALGO is not set |
676 | # CONFIG_I2C_DEBUG_BUS is not set | 695 | # CONFIG_I2C_DEBUG_BUS is not set |
677 | # CONFIG_I2C_DEBUG_CHIP is not set | 696 | # CONFIG_I2C_DEBUG_CHIP is not set |
678 | # CONFIG_SPI is not set | 697 | # CONFIG_SPI is not set |
698 | |||
699 | # | ||
700 | # PPS support | ||
701 | # | ||
702 | # CONFIG_PPS is not set | ||
679 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 703 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
680 | # CONFIG_GPIOLIB is not set | 704 | # CONFIG_GPIOLIB is not set |
681 | # CONFIG_W1 is not set | 705 | # CONFIG_W1 is not set |
682 | # CONFIG_POWER_SUPPLY is not set | 706 | # CONFIG_POWER_SUPPLY is not set |
683 | # CONFIG_HWMON is not set | 707 | # CONFIG_HWMON is not set |
684 | # CONFIG_THERMAL is not set | 708 | # CONFIG_THERMAL is not set |
685 | # CONFIG_THERMAL_HWMON is not set | ||
686 | CONFIG_WATCHDOG=y | 709 | CONFIG_WATCHDOG=y |
687 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 710 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
688 | 711 | ||
@@ -713,25 +736,12 @@ CONFIG_SSB_POSSIBLE=y | |||
713 | # CONFIG_MFD_TMIO is not set | 736 | # CONFIG_MFD_TMIO is not set |
714 | # CONFIG_PMIC_DA903X is not set | 737 | # CONFIG_PMIC_DA903X is not set |
715 | # CONFIG_MFD_WM8400 is not set | 738 | # CONFIG_MFD_WM8400 is not set |
739 | # CONFIG_MFD_WM831X is not set | ||
716 | # CONFIG_MFD_WM8350_I2C is not set | 740 | # CONFIG_MFD_WM8350_I2C is not set |
717 | # CONFIG_MFD_PCF50633 is not set | 741 | # CONFIG_MFD_PCF50633 is not set |
742 | # CONFIG_AB3100_CORE is not set | ||
718 | # CONFIG_REGULATOR is not set | 743 | # CONFIG_REGULATOR is not set |
719 | 744 | # CONFIG_MEDIA_SUPPORT is not set | |
720 | # | ||
721 | # Multimedia devices | ||
722 | # | ||
723 | |||
724 | # | ||
725 | # Multimedia core support | ||
726 | # | ||
727 | # CONFIG_VIDEO_DEV is not set | ||
728 | # CONFIG_DVB_CORE is not set | ||
729 | # CONFIG_VIDEO_MEDIA is not set | ||
730 | |||
731 | # | ||
732 | # Multimedia drivers | ||
733 | # | ||
734 | # CONFIG_DAB is not set | ||
735 | 745 | ||
736 | # | 746 | # |
737 | # Graphics support | 747 | # Graphics support |
@@ -775,11 +785,12 @@ CONFIG_USB_DEVICEFS=y | |||
775 | # CONFIG_USB_OXU210HP_HCD is not set | 785 | # CONFIG_USB_OXU210HP_HCD is not set |
776 | # CONFIG_USB_ISP116X_HCD is not set | 786 | # CONFIG_USB_ISP116X_HCD is not set |
777 | # CONFIG_USB_ISP1760_HCD is not set | 787 | # CONFIG_USB_ISP1760_HCD is not set |
788 | # CONFIG_USB_ISP1362_HCD is not set | ||
778 | CONFIG_USB_OHCI_HCD=y | 789 | CONFIG_USB_OHCI_HCD=y |
779 | CONFIG_USB_OHCI_HCD_PPC_SOC=y | 790 | CONFIG_USB_OHCI_HCD_PPC_SOC=y |
780 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
781 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 791 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
782 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 792 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
793 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
783 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | 794 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y |
784 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | 795 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y |
785 | # CONFIG_USB_OHCI_LITTLE_ENDIAN is not set | 796 | # CONFIG_USB_OHCI_LITTLE_ENDIAN is not set |
@@ -866,6 +877,10 @@ CONFIG_USB_STORAGE=y | |||
866 | # CONFIG_DMADEVICES is not set | 877 | # CONFIG_DMADEVICES is not set |
867 | # CONFIG_AUXDISPLAY is not set | 878 | # CONFIG_AUXDISPLAY is not set |
868 | # CONFIG_UIO is not set | 879 | # CONFIG_UIO is not set |
880 | |||
881 | # | ||
882 | # TI VLYNQ | ||
883 | # | ||
869 | # CONFIG_STAGING is not set | 884 | # CONFIG_STAGING is not set |
870 | 885 | ||
871 | # | 886 | # |
@@ -885,10 +900,13 @@ CONFIG_FS_MBCACHE=y | |||
885 | # CONFIG_REISERFS_FS is not set | 900 | # CONFIG_REISERFS_FS is not set |
886 | # CONFIG_JFS_FS is not set | 901 | # CONFIG_JFS_FS is not set |
887 | # CONFIG_FS_POSIX_ACL is not set | 902 | # CONFIG_FS_POSIX_ACL is not set |
888 | CONFIG_FILE_LOCKING=y | ||
889 | # CONFIG_XFS_FS is not set | 903 | # CONFIG_XFS_FS is not set |
904 | # CONFIG_GFS2_FS is not set | ||
890 | # CONFIG_OCFS2_FS is not set | 905 | # CONFIG_OCFS2_FS is not set |
891 | # CONFIG_BTRFS_FS is not set | 906 | # CONFIG_BTRFS_FS is not set |
907 | # CONFIG_NILFS2_FS is not set | ||
908 | CONFIG_FILE_LOCKING=y | ||
909 | CONFIG_FSNOTIFY=y | ||
892 | CONFIG_DNOTIFY=y | 910 | CONFIG_DNOTIFY=y |
893 | CONFIG_INOTIFY=y | 911 | CONFIG_INOTIFY=y |
894 | CONFIG_INOTIFY_USER=y | 912 | CONFIG_INOTIFY_USER=y |
@@ -959,12 +977,12 @@ CONFIG_CRAMFS=y | |||
959 | # CONFIG_ROMFS_FS is not set | 977 | # CONFIG_ROMFS_FS is not set |
960 | # CONFIG_SYSV_FS is not set | 978 | # CONFIG_SYSV_FS is not set |
961 | # CONFIG_UFS_FS is not set | 979 | # CONFIG_UFS_FS is not set |
962 | # CONFIG_NILFS2_FS is not set | ||
963 | CONFIG_NETWORK_FILESYSTEMS=y | 980 | CONFIG_NETWORK_FILESYSTEMS=y |
964 | CONFIG_NFS_FS=y | 981 | CONFIG_NFS_FS=y |
965 | CONFIG_NFS_V3=y | 982 | CONFIG_NFS_V3=y |
966 | # CONFIG_NFS_V3_ACL is not set | 983 | # CONFIG_NFS_V3_ACL is not set |
967 | CONFIG_NFS_V4=y | 984 | CONFIG_NFS_V4=y |
985 | # CONFIG_NFS_V4_1 is not set | ||
968 | CONFIG_ROOT_NFS=y | 986 | CONFIG_ROOT_NFS=y |
969 | # CONFIG_NFSD is not set | 987 | # CONFIG_NFSD is not set |
970 | CONFIG_LOCKD=y | 988 | CONFIG_LOCKD=y |
@@ -1064,6 +1082,7 @@ CONFIG_HAS_IOPORT=y | |||
1064 | CONFIG_HAS_DMA=y | 1082 | CONFIG_HAS_DMA=y |
1065 | CONFIG_HAVE_LMB=y | 1083 | CONFIG_HAVE_LMB=y |
1066 | CONFIG_NLATTR=y | 1084 | CONFIG_NLATTR=y |
1085 | CONFIG_GENERIC_ATOMIC64=y | ||
1067 | 1086 | ||
1068 | # | 1087 | # |
1069 | # Kernel hacking | 1088 | # Kernel hacking |
@@ -1073,6 +1092,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1073 | CONFIG_ENABLE_MUST_CHECK=y | 1092 | CONFIG_ENABLE_MUST_CHECK=y |
1074 | CONFIG_FRAME_WARN=1024 | 1093 | CONFIG_FRAME_WARN=1024 |
1075 | # CONFIG_MAGIC_SYSRQ is not set | 1094 | # CONFIG_MAGIC_SYSRQ is not set |
1095 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1076 | # CONFIG_UNUSED_SYMBOLS is not set | 1096 | # CONFIG_UNUSED_SYMBOLS is not set |
1077 | # CONFIG_DEBUG_FS is not set | 1097 | # CONFIG_DEBUG_FS is not set |
1078 | # CONFIG_HEADERS_CHECK is not set | 1098 | # CONFIG_HEADERS_CHECK is not set |
@@ -1090,10 +1110,14 @@ CONFIG_SCHED_DEBUG=y | |||
1090 | # CONFIG_DEBUG_OBJECTS is not set | 1110 | # CONFIG_DEBUG_OBJECTS is not set |
1091 | # CONFIG_SLUB_DEBUG_ON is not set | 1111 | # CONFIG_SLUB_DEBUG_ON is not set |
1092 | # CONFIG_SLUB_STATS is not set | 1112 | # CONFIG_SLUB_STATS is not set |
1113 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1093 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1114 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1094 | # CONFIG_RT_MUTEX_TESTER is not set | 1115 | # CONFIG_RT_MUTEX_TESTER is not set |
1095 | # CONFIG_DEBUG_SPINLOCK is not set | 1116 | # CONFIG_DEBUG_SPINLOCK is not set |
1096 | # CONFIG_DEBUG_MUTEXES is not set | 1117 | # CONFIG_DEBUG_MUTEXES is not set |
1118 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1119 | # CONFIG_PROVE_LOCKING is not set | ||
1120 | # CONFIG_LOCK_STAT is not set | ||
1097 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1121 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1098 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1122 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1099 | # CONFIG_DEBUG_KOBJECT is not set | 1123 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1105,11 +1129,12 @@ CONFIG_SCHED_DEBUG=y | |||
1105 | # CONFIG_DEBUG_LIST is not set | 1129 | # CONFIG_DEBUG_LIST is not set |
1106 | # CONFIG_DEBUG_SG is not set | 1130 | # CONFIG_DEBUG_SG is not set |
1107 | # CONFIG_DEBUG_NOTIFIERS is not set | 1131 | # CONFIG_DEBUG_NOTIFIERS is not set |
1108 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1132 | # CONFIG_DEBUG_CREDENTIALS is not set |
1109 | # CONFIG_RCU_TORTURE_TEST is not set | 1133 | # CONFIG_RCU_TORTURE_TEST is not set |
1110 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1134 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1111 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1135 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1112 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1136 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1137 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1113 | # CONFIG_FAULT_INJECTION is not set | 1138 | # CONFIG_FAULT_INJECTION is not set |
1114 | # CONFIG_LATENCYTOP is not set | 1139 | # CONFIG_LATENCYTOP is not set |
1115 | # CONFIG_DEBUG_PAGEALLOC is not set | 1140 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -1118,23 +1143,25 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | |||
1118 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1143 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
1119 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1144 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1120 | CONFIG_TRACING_SUPPORT=y | 1145 | CONFIG_TRACING_SUPPORT=y |
1121 | 1146 | CONFIG_FTRACE=y | |
1122 | # | ||
1123 | # Tracers | ||
1124 | # | ||
1125 | # CONFIG_FUNCTION_TRACER is not set | 1147 | # CONFIG_FUNCTION_TRACER is not set |
1148 | # CONFIG_IRQSOFF_TRACER is not set | ||
1126 | # CONFIG_SCHED_TRACER is not set | 1149 | # CONFIG_SCHED_TRACER is not set |
1127 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1150 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set |
1128 | # CONFIG_EVENT_TRACER is not set | ||
1129 | # CONFIG_BOOT_TRACER is not set | 1151 | # CONFIG_BOOT_TRACER is not set |
1130 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1152 | CONFIG_BRANCH_PROFILE_NONE=y |
1153 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1154 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1131 | # CONFIG_STACK_TRACER is not set | 1155 | # CONFIG_STACK_TRACER is not set |
1132 | # CONFIG_KMEMTRACE is not set | 1156 | # CONFIG_KMEMTRACE is not set |
1133 | # CONFIG_WORKQUEUE_TRACER is not set | 1157 | # CONFIG_WORKQUEUE_TRACER is not set |
1134 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1158 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1159 | # CONFIG_DMA_API_DEBUG is not set | ||
1135 | # CONFIG_SAMPLES is not set | 1160 | # CONFIG_SAMPLES is not set |
1136 | CONFIG_HAVE_ARCH_KGDB=y | 1161 | CONFIG_HAVE_ARCH_KGDB=y |
1137 | # CONFIG_KGDB is not set | 1162 | # CONFIG_KGDB is not set |
1163 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
1164 | CONFIG_PPC_WERROR=y | ||
1138 | CONFIG_PRINT_STACK_DEPTH=64 | 1165 | CONFIG_PRINT_STACK_DEPTH=64 |
1139 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1166 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1140 | # CONFIG_DEBUG_STACK_USAGE is not set | 1167 | # CONFIG_DEBUG_STACK_USAGE is not set |
@@ -1159,7 +1186,6 @@ CONFIG_CRYPTO=y | |||
1159 | # | 1186 | # |
1160 | # Crypto core or helper | 1187 | # Crypto core or helper |
1161 | # | 1188 | # |
1162 | # CONFIG_CRYPTO_FIPS is not set | ||
1163 | CONFIG_CRYPTO_ALGAPI=y | 1189 | CONFIG_CRYPTO_ALGAPI=y |
1164 | CONFIG_CRYPTO_ALGAPI2=y | 1190 | CONFIG_CRYPTO_ALGAPI2=y |
1165 | CONFIG_CRYPTO_AEAD2=y | 1191 | CONFIG_CRYPTO_AEAD2=y |
@@ -1200,11 +1226,13 @@ CONFIG_CRYPTO_PCBC=y | |||
1200 | # | 1226 | # |
1201 | # CONFIG_CRYPTO_HMAC is not set | 1227 | # CONFIG_CRYPTO_HMAC is not set |
1202 | # CONFIG_CRYPTO_XCBC is not set | 1228 | # CONFIG_CRYPTO_XCBC is not set |
1229 | # CONFIG_CRYPTO_VMAC is not set | ||
1203 | 1230 | ||
1204 | # | 1231 | # |
1205 | # Digest | 1232 | # Digest |
1206 | # | 1233 | # |
1207 | # CONFIG_CRYPTO_CRC32C is not set | 1234 | # CONFIG_CRYPTO_CRC32C is not set |
1235 | # CONFIG_CRYPTO_GHASH is not set | ||
1208 | # CONFIG_CRYPTO_MD4 is not set | 1236 | # CONFIG_CRYPTO_MD4 is not set |
1209 | CONFIG_CRYPTO_MD5=y | 1237 | CONFIG_CRYPTO_MD5=y |
1210 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1238 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/52xx/lite5200b_defconfig b/arch/powerpc/configs/52xx/lite5200b_defconfig index 29b0f34488f5..f5c07fd72239 100644 --- a/arch/powerpc/configs/52xx/lite5200b_defconfig +++ b/arch/powerpc/configs/52xx/lite5200b_defconfig | |||
@@ -1,25 +1,27 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc2 | 3 | # Linux kernel version: 2.6.32-rc4 |
4 | # Sat Apr 18 00:48:04 2009 | 4 | # Thu Oct 15 10:33:24 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
8 | # | 8 | # |
9 | # Processor support | 9 | # Processor support |
10 | # | 10 | # |
11 | CONFIG_6xx=y | 11 | CONFIG_PPC_BOOK3S_32=y |
12 | # CONFIG_PPC_85xx is not set | 12 | # CONFIG_PPC_85xx is not set |
13 | # CONFIG_PPC_8xx is not set | 13 | # CONFIG_PPC_8xx is not set |
14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_PPC_BOOK3S=y | 17 | CONFIG_PPC_BOOK3S=y |
18 | CONFIG_6xx=y | ||
18 | CONFIG_PPC_FPU=y | 19 | CONFIG_PPC_FPU=y |
19 | # CONFIG_ALTIVEC is not set | 20 | # CONFIG_ALTIVEC is not set |
20 | CONFIG_PPC_STD_MMU=y | 21 | CONFIG_PPC_STD_MMU=y |
21 | CONFIG_PPC_STD_MMU_32=y | 22 | CONFIG_PPC_STD_MMU_32=y |
22 | # CONFIG_PPC_MM_SLICES is not set | 23 | # CONFIG_PPC_MM_SLICES is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
23 | # CONFIG_SMP is not set | 25 | # CONFIG_SMP is not set |
24 | CONFIG_PPC32=y | 26 | CONFIG_PPC32=y |
25 | CONFIG_WORD_SIZE=32 | 27 | CONFIG_WORD_SIZE=32 |
@@ -30,15 +32,17 @@ CONFIG_GENERIC_TIME=y | |||
30 | CONFIG_GENERIC_TIME_VSYSCALL=y | 32 | CONFIG_GENERIC_TIME_VSYSCALL=y |
31 | CONFIG_GENERIC_CLOCKEVENTS=y | 33 | CONFIG_GENERIC_CLOCKEVENTS=y |
32 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
33 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
34 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
35 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
41 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
37 | CONFIG_LOCKDEP_SUPPORT=y | 42 | CONFIG_LOCKDEP_SUPPORT=y |
38 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 43 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
39 | CONFIG_ARCH_HAS_ILOG2_U32=y | 44 | CONFIG_ARCH_HAS_ILOG2_U32=y |
40 | CONFIG_GENERIC_HWEIGHT=y | 45 | CONFIG_GENERIC_HWEIGHT=y |
41 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
42 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 46 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
43 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 47 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
44 | CONFIG_PPC=y | 48 | CONFIG_PPC=y |
@@ -52,12 +56,14 @@ CONFIG_OF=y | |||
52 | # CONFIG_GENERIC_TBSYNC is not set | 56 | # CONFIG_GENERIC_TBSYNC is not set |
53 | CONFIG_AUDIT_ARCH=y | 57 | CONFIG_AUDIT_ARCH=y |
54 | CONFIG_GENERIC_BUG=y | 58 | CONFIG_GENERIC_BUG=y |
59 | CONFIG_DTC=y | ||
55 | CONFIG_DEFAULT_UIMAGE=y | 60 | CONFIG_DEFAULT_UIMAGE=y |
56 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 61 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
57 | # CONFIG_PPC_DCR_NATIVE is not set | 62 | # CONFIG_PPC_DCR_NATIVE is not set |
58 | # CONFIG_PPC_DCR_MMIO is not set | 63 | # CONFIG_PPC_DCR_MMIO is not set |
59 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | 64 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y |
60 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 65 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
66 | CONFIG_CONSTRUCTORS=y | ||
61 | 67 | ||
62 | # | 68 | # |
63 | # General setup | 69 | # General setup |
@@ -78,11 +84,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
78 | # | 84 | # |
79 | # RCU Subsystem | 85 | # RCU Subsystem |
80 | # | 86 | # |
81 | CONFIG_CLASSIC_RCU=y | 87 | CONFIG_TREE_RCU=y |
82 | # CONFIG_TREE_RCU is not set | 88 | # CONFIG_TREE_PREEMPT_RCU is not set |
83 | # CONFIG_PREEMPT_RCU is not set | 89 | # CONFIG_RCU_TRACE is not set |
90 | CONFIG_RCU_FANOUT=32 | ||
91 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
84 | # CONFIG_TREE_RCU_TRACE is not set | 92 | # CONFIG_TREE_RCU_TRACE is not set |
85 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
86 | # CONFIG_IKCONFIG is not set | 93 | # CONFIG_IKCONFIG is not set |
87 | CONFIG_LOG_BUF_SHIFT=14 | 94 | CONFIG_LOG_BUF_SHIFT=14 |
88 | CONFIG_GROUP_SCHED=y | 95 | CONFIG_GROUP_SCHED=y |
@@ -106,7 +113,6 @@ CONFIG_ANON_INODES=y | |||
106 | CONFIG_EMBEDDED=y | 113 | CONFIG_EMBEDDED=y |
107 | # CONFIG_SYSCTL_SYSCALL is not set | 114 | # CONFIG_SYSCTL_SYSCALL is not set |
108 | # CONFIG_KALLSYMS is not set | 115 | # CONFIG_KALLSYMS is not set |
109 | # CONFIG_STRIP_ASM_SYMS is not set | ||
110 | CONFIG_HOTPLUG=y | 116 | CONFIG_HOTPLUG=y |
111 | CONFIG_PRINTK=y | 117 | CONFIG_PRINTK=y |
112 | CONFIG_BUG=y | 118 | CONFIG_BUG=y |
@@ -119,6 +125,13 @@ CONFIG_TIMERFD=y | |||
119 | CONFIG_EVENTFD=y | 125 | CONFIG_EVENTFD=y |
120 | CONFIG_SHMEM=y | 126 | CONFIG_SHMEM=y |
121 | CONFIG_AIO=y | 127 | CONFIG_AIO=y |
128 | CONFIG_HAVE_PERF_EVENTS=y | ||
129 | |||
130 | # | ||
131 | # Kernel Performance Events And Counters | ||
132 | # | ||
133 | # CONFIG_PERF_EVENTS is not set | ||
134 | # CONFIG_PERF_COUNTERS is not set | ||
122 | CONFIG_VM_EVENT_COUNTERS=y | 135 | CONFIG_VM_EVENT_COUNTERS=y |
123 | CONFIG_PCI_QUIRKS=y | 136 | CONFIG_PCI_QUIRKS=y |
124 | CONFIG_SLUB_DEBUG=y | 137 | CONFIG_SLUB_DEBUG=y |
@@ -127,14 +140,19 @@ CONFIG_COMPAT_BRK=y | |||
127 | CONFIG_SLUB=y | 140 | CONFIG_SLUB=y |
128 | # CONFIG_SLOB is not set | 141 | # CONFIG_SLOB is not set |
129 | # CONFIG_PROFILING is not set | 142 | # CONFIG_PROFILING is not set |
130 | # CONFIG_MARKERS is not set | ||
131 | CONFIG_HAVE_OPROFILE=y | 143 | CONFIG_HAVE_OPROFILE=y |
132 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 144 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
133 | CONFIG_HAVE_IOREMAP_PROT=y | 145 | CONFIG_HAVE_IOREMAP_PROT=y |
134 | CONFIG_HAVE_KPROBES=y | 146 | CONFIG_HAVE_KPROBES=y |
135 | CONFIG_HAVE_KRETPROBES=y | 147 | CONFIG_HAVE_KRETPROBES=y |
136 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 148 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
149 | CONFIG_HAVE_DMA_ATTRS=y | ||
137 | CONFIG_HAVE_CLK=y | 150 | CONFIG_HAVE_CLK=y |
151 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
152 | |||
153 | # | ||
154 | # GCOV-based kernel profiling | ||
155 | # | ||
138 | # CONFIG_SLOW_WORK is not set | 156 | # CONFIG_SLOW_WORK is not set |
139 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 157 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
140 | CONFIG_SLABINFO=y | 158 | CONFIG_SLABINFO=y |
@@ -147,7 +165,7 @@ CONFIG_MODULE_UNLOAD=y | |||
147 | # CONFIG_MODVERSIONS is not set | 165 | # CONFIG_MODVERSIONS is not set |
148 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 166 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
149 | CONFIG_BLOCK=y | 167 | CONFIG_BLOCK=y |
150 | # CONFIG_LBD is not set | 168 | CONFIG_LBDAF=y |
151 | # CONFIG_BLK_DEV_BSG is not set | 169 | # CONFIG_BLK_DEV_BSG is not set |
152 | # CONFIG_BLK_DEV_INTEGRITY is not set | 170 | # CONFIG_BLK_DEV_INTEGRITY is not set |
153 | 171 | ||
@@ -228,11 +246,13 @@ CONFIG_BINFMT_ELF=y | |||
228 | # CONFIG_HAVE_AOUT is not set | 246 | # CONFIG_HAVE_AOUT is not set |
229 | # CONFIG_BINFMT_MISC is not set | 247 | # CONFIG_BINFMT_MISC is not set |
230 | # CONFIG_IOMMU_HELPER is not set | 248 | # CONFIG_IOMMU_HELPER is not set |
249 | # CONFIG_SWIOTLB is not set | ||
231 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 250 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
232 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 251 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
233 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 252 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
234 | # CONFIG_KEXEC is not set | 253 | # CONFIG_KEXEC is not set |
235 | # CONFIG_CRASH_DUMP is not set | 254 | # CONFIG_CRASH_DUMP is not set |
255 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
236 | CONFIG_ARCH_FLATMEM_ENABLE=y | 256 | CONFIG_ARCH_FLATMEM_ENABLE=y |
237 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 257 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
238 | CONFIG_SELECT_MEMORY_MODEL=y | 258 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -248,9 +268,10 @@ CONFIG_MIGRATION=y | |||
248 | CONFIG_ZONE_DMA_FLAG=1 | 268 | CONFIG_ZONE_DMA_FLAG=1 |
249 | CONFIG_BOUNCE=y | 269 | CONFIG_BOUNCE=y |
250 | CONFIG_VIRT_TO_BUS=y | 270 | CONFIG_VIRT_TO_BUS=y |
251 | CONFIG_UNEVICTABLE_LRU=y | ||
252 | CONFIG_HAVE_MLOCK=y | 271 | CONFIG_HAVE_MLOCK=y |
253 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 272 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
273 | # CONFIG_KSM is not set | ||
274 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
254 | CONFIG_PPC_4K_PAGES=y | 275 | CONFIG_PPC_4K_PAGES=y |
255 | # CONFIG_PPC_16K_PAGES is not set | 276 | # CONFIG_PPC_16K_PAGES is not set |
256 | # CONFIG_PPC_64K_PAGES is not set | 277 | # CONFIG_PPC_64K_PAGES is not set |
@@ -264,6 +285,7 @@ CONFIG_PM=y | |||
264 | CONFIG_PM_SLEEP=y | 285 | CONFIG_PM_SLEEP=y |
265 | CONFIG_SUSPEND=y | 286 | CONFIG_SUSPEND=y |
266 | CONFIG_SUSPEND_FREEZER=y | 287 | CONFIG_SUSPEND_FREEZER=y |
288 | # CONFIG_PM_RUNTIME is not set | ||
267 | CONFIG_SECCOMP=y | 289 | CONFIG_SECCOMP=y |
268 | CONFIG_ISA_DMA_API=y | 290 | CONFIG_ISA_DMA_API=y |
269 | 291 | ||
@@ -348,6 +370,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
348 | # CONFIG_NETFILTER is not set | 370 | # CONFIG_NETFILTER is not set |
349 | # CONFIG_IP_DCCP is not set | 371 | # CONFIG_IP_DCCP is not set |
350 | # CONFIG_IP_SCTP is not set | 372 | # CONFIG_IP_SCTP is not set |
373 | # CONFIG_RDS is not set | ||
351 | # CONFIG_TIPC is not set | 374 | # CONFIG_TIPC is not set |
352 | # CONFIG_ATM is not set | 375 | # CONFIG_ATM is not set |
353 | # CONFIG_BRIDGE is not set | 376 | # CONFIG_BRIDGE is not set |
@@ -362,6 +385,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
362 | # CONFIG_ECONET is not set | 385 | # CONFIG_ECONET is not set |
363 | # CONFIG_WAN_ROUTER is not set | 386 | # CONFIG_WAN_ROUTER is not set |
364 | # CONFIG_PHONET is not set | 387 | # CONFIG_PHONET is not set |
388 | # CONFIG_IEEE802154 is not set | ||
365 | # CONFIG_NET_SCHED is not set | 389 | # CONFIG_NET_SCHED is not set |
366 | # CONFIG_DCB is not set | 390 | # CONFIG_DCB is not set |
367 | 391 | ||
@@ -387,6 +411,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
387 | # Generic Driver Options | 411 | # Generic Driver Options |
388 | # | 412 | # |
389 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 413 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
414 | # CONFIG_DEVTMPFS is not set | ||
390 | CONFIG_STANDALONE=y | 415 | CONFIG_STANDALONE=y |
391 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 416 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
392 | # CONFIG_FW_LOADER is not set | 417 | # CONFIG_FW_LOADER is not set |
@@ -397,6 +422,7 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
397 | # CONFIG_MTD is not set | 422 | # CONFIG_MTD is not set |
398 | CONFIG_OF_DEVICE=y | 423 | CONFIG_OF_DEVICE=y |
399 | CONFIG_OF_I2C=y | 424 | CONFIG_OF_I2C=y |
425 | CONFIG_OF_MDIO=y | ||
400 | # CONFIG_PARPORT is not set | 426 | # CONFIG_PARPORT is not set |
401 | CONFIG_BLK_DEV=y | 427 | CONFIG_BLK_DEV=y |
402 | # CONFIG_BLK_DEV_FD is not set | 428 | # CONFIG_BLK_DEV_FD is not set |
@@ -431,7 +457,9 @@ CONFIG_MISC_DEVICES=y | |||
431 | # | 457 | # |
432 | # CONFIG_EEPROM_AT24 is not set | 458 | # CONFIG_EEPROM_AT24 is not set |
433 | # CONFIG_EEPROM_LEGACY is not set | 459 | # CONFIG_EEPROM_LEGACY is not set |
460 | # CONFIG_EEPROM_MAX6875 is not set | ||
434 | # CONFIG_EEPROM_93CX6 is not set | 461 | # CONFIG_EEPROM_93CX6 is not set |
462 | # CONFIG_CB710_CORE is not set | ||
435 | CONFIG_HAVE_IDE=y | 463 | CONFIG_HAVE_IDE=y |
436 | # CONFIG_IDE is not set | 464 | # CONFIG_IDE is not set |
437 | 465 | ||
@@ -454,10 +482,6 @@ CONFIG_BLK_DEV_SD=y | |||
454 | # CONFIG_BLK_DEV_SR is not set | 482 | # CONFIG_BLK_DEV_SR is not set |
455 | # CONFIG_CHR_DEV_SG is not set | 483 | # CONFIG_CHR_DEV_SG is not set |
456 | # CONFIG_CHR_DEV_SCH is not set | 484 | # CONFIG_CHR_DEV_SCH is not set |
457 | |||
458 | # | ||
459 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
460 | # | ||
461 | # CONFIG_SCSI_MULTI_LUN is not set | 485 | # CONFIG_SCSI_MULTI_LUN is not set |
462 | # CONFIG_SCSI_CONSTANTS is not set | 486 | # CONFIG_SCSI_CONSTANTS is not set |
463 | # CONFIG_SCSI_LOGGING is not set | 487 | # CONFIG_SCSI_LOGGING is not set |
@@ -475,6 +499,8 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
475 | CONFIG_SCSI_LOWLEVEL=y | 499 | CONFIG_SCSI_LOWLEVEL=y |
476 | # CONFIG_ISCSI_TCP is not set | 500 | # CONFIG_ISCSI_TCP is not set |
477 | # CONFIG_SCSI_CXGB3_ISCSI is not set | 501 | # CONFIG_SCSI_CXGB3_ISCSI is not set |
502 | # CONFIG_SCSI_BNX2_ISCSI is not set | ||
503 | # CONFIG_BE2ISCSI is not set | ||
478 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 504 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
479 | # CONFIG_SCSI_3W_9XXX is not set | 505 | # CONFIG_SCSI_3W_9XXX is not set |
480 | # CONFIG_SCSI_ACARD is not set | 506 | # CONFIG_SCSI_ACARD is not set |
@@ -483,6 +509,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
483 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 509 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
484 | # CONFIG_SCSI_AIC79XX is not set | 510 | # CONFIG_SCSI_AIC79XX is not set |
485 | # CONFIG_SCSI_AIC94XX is not set | 511 | # CONFIG_SCSI_AIC94XX is not set |
512 | # CONFIG_SCSI_MVSAS is not set | ||
486 | # CONFIG_SCSI_DPT_I2O is not set | 513 | # CONFIG_SCSI_DPT_I2O is not set |
487 | # CONFIG_SCSI_ADVANSYS is not set | 514 | # CONFIG_SCSI_ADVANSYS is not set |
488 | # CONFIG_SCSI_ARCMSR is not set | 515 | # CONFIG_SCSI_ARCMSR is not set |
@@ -502,7 +529,6 @@ CONFIG_SCSI_LOWLEVEL=y | |||
502 | # CONFIG_SCSI_IPS is not set | 529 | # CONFIG_SCSI_IPS is not set |
503 | # CONFIG_SCSI_INITIO is not set | 530 | # CONFIG_SCSI_INITIO is not set |
504 | # CONFIG_SCSI_INIA100 is not set | 531 | # CONFIG_SCSI_INIA100 is not set |
505 | # CONFIG_SCSI_MVSAS is not set | ||
506 | # CONFIG_SCSI_STEX is not set | 532 | # CONFIG_SCSI_STEX is not set |
507 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 533 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
508 | # CONFIG_SCSI_IPR is not set | 534 | # CONFIG_SCSI_IPR is not set |
@@ -514,11 +540,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
514 | # CONFIG_SCSI_DC390T is not set | 540 | # CONFIG_SCSI_DC390T is not set |
515 | # CONFIG_SCSI_NSP32 is not set | 541 | # CONFIG_SCSI_NSP32 is not set |
516 | # CONFIG_SCSI_DEBUG is not set | 542 | # CONFIG_SCSI_DEBUG is not set |
543 | # CONFIG_SCSI_PMCRAID is not set | ||
517 | # CONFIG_SCSI_SRP is not set | 544 | # CONFIG_SCSI_SRP is not set |
545 | # CONFIG_SCSI_BFA_FC is not set | ||
518 | # CONFIG_SCSI_DH is not set | 546 | # CONFIG_SCSI_DH is not set |
519 | # CONFIG_SCSI_OSD_INITIATOR is not set | 547 | # CONFIG_SCSI_OSD_INITIATOR is not set |
520 | CONFIG_ATA=y | 548 | CONFIG_ATA=y |
521 | # CONFIG_ATA_NONSTANDARD is not set | 549 | # CONFIG_ATA_NONSTANDARD is not set |
550 | CONFIG_ATA_VERBOSE_ERROR=y | ||
522 | CONFIG_SATA_PMP=y | 551 | CONFIG_SATA_PMP=y |
523 | # CONFIG_SATA_AHCI is not set | 552 | # CONFIG_SATA_AHCI is not set |
524 | # CONFIG_SATA_SIL24 is not set | 553 | # CONFIG_SATA_SIL24 is not set |
@@ -540,6 +569,7 @@ CONFIG_ATA_SFF=y | |||
540 | # CONFIG_PATA_ALI is not set | 569 | # CONFIG_PATA_ALI is not set |
541 | # CONFIG_PATA_AMD is not set | 570 | # CONFIG_PATA_AMD is not set |
542 | # CONFIG_PATA_ARTOP is not set | 571 | # CONFIG_PATA_ARTOP is not set |
572 | # CONFIG_PATA_ATP867X is not set | ||
543 | # CONFIG_PATA_ATIIXP is not set | 573 | # CONFIG_PATA_ATIIXP is not set |
544 | # CONFIG_PATA_CMD640_PCI is not set | 574 | # CONFIG_PATA_CMD640_PCI is not set |
545 | # CONFIG_PATA_CMD64X is not set | 575 | # CONFIG_PATA_CMD64X is not set |
@@ -568,6 +598,7 @@ CONFIG_PATA_MPC52xx=y | |||
568 | # CONFIG_PATA_OPTIDMA is not set | 598 | # CONFIG_PATA_OPTIDMA is not set |
569 | # CONFIG_PATA_PDC_OLD is not set | 599 | # CONFIG_PATA_PDC_OLD is not set |
570 | # CONFIG_PATA_RADISYS is not set | 600 | # CONFIG_PATA_RADISYS is not set |
601 | # CONFIG_PATA_RDC is not set | ||
571 | # CONFIG_PATA_RZ1000 is not set | 602 | # CONFIG_PATA_RZ1000 is not set |
572 | # CONFIG_PATA_SC1200 is not set | 603 | # CONFIG_PATA_SC1200 is not set |
573 | # CONFIG_PATA_SERVERWORKS is not set | 604 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -586,14 +617,17 @@ CONFIG_PATA_MPC52xx=y | |||
586 | # | 617 | # |
587 | 618 | ||
588 | # | 619 | # |
589 | # Enable only one of the two stacks, unless you know what you are doing | 620 | # You can enable one or both FireWire driver stacks. |
621 | # | ||
622 | |||
623 | # | ||
624 | # See the help texts for more information. | ||
590 | # | 625 | # |
591 | # CONFIG_FIREWIRE is not set | 626 | # CONFIG_FIREWIRE is not set |
592 | # CONFIG_IEEE1394 is not set | 627 | # CONFIG_IEEE1394 is not set |
593 | # CONFIG_I2O is not set | 628 | # CONFIG_I2O is not set |
594 | # CONFIG_MACINTOSH_DRIVERS is not set | 629 | # CONFIG_MACINTOSH_DRIVERS is not set |
595 | CONFIG_NETDEVICES=y | 630 | CONFIG_NETDEVICES=y |
596 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
597 | # CONFIG_DUMMY is not set | 631 | # CONFIG_DUMMY is not set |
598 | # CONFIG_BONDING is not set | 632 | # CONFIG_BONDING is not set |
599 | # CONFIG_MACVLAN is not set | 633 | # CONFIG_MACVLAN is not set |
@@ -640,9 +674,12 @@ CONFIG_NET_ETHERNET=y | |||
640 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 674 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
641 | # CONFIG_NET_PCI is not set | 675 | # CONFIG_NET_PCI is not set |
642 | # CONFIG_B44 is not set | 676 | # CONFIG_B44 is not set |
677 | # CONFIG_KS8842 is not set | ||
678 | # CONFIG_KS8851_MLL is not set | ||
643 | CONFIG_FEC_MPC52xx=y | 679 | CONFIG_FEC_MPC52xx=y |
644 | CONFIG_FEC_MPC52xx_MDIO=y | 680 | CONFIG_FEC_MPC52xx_MDIO=y |
645 | # CONFIG_ATL2 is not set | 681 | # CONFIG_ATL2 is not set |
682 | # CONFIG_XILINX_EMACLITE is not set | ||
646 | CONFIG_NETDEV_1000=y | 683 | CONFIG_NETDEV_1000=y |
647 | # CONFIG_ACENIC is not set | 684 | # CONFIG_ACENIC is not set |
648 | # CONFIG_DL2K is not set | 685 | # CONFIG_DL2K is not set |
@@ -661,6 +698,8 @@ CONFIG_NETDEV_1000=y | |||
661 | # CONFIG_VIA_VELOCITY is not set | 698 | # CONFIG_VIA_VELOCITY is not set |
662 | # CONFIG_TIGON3 is not set | 699 | # CONFIG_TIGON3 is not set |
663 | # CONFIG_BNX2 is not set | 700 | # CONFIG_BNX2 is not set |
701 | # CONFIG_CNIC is not set | ||
702 | # CONFIG_MV643XX_ETH is not set | ||
664 | # CONFIG_QLA3XXX is not set | 703 | # CONFIG_QLA3XXX is not set |
665 | # CONFIG_ATL1 is not set | 704 | # CONFIG_ATL1 is not set |
666 | # CONFIG_ATL1E is not set | 705 | # CONFIG_ATL1E is not set |
@@ -686,10 +725,7 @@ CONFIG_CHELSIO_T3_DEPENDS=y | |||
686 | # CONFIG_SFC is not set | 725 | # CONFIG_SFC is not set |
687 | # CONFIG_BE2NET is not set | 726 | # CONFIG_BE2NET is not set |
688 | # CONFIG_TR is not set | 727 | # CONFIG_TR is not set |
689 | 728 | CONFIG_WLAN=y | |
690 | # | ||
691 | # Wireless LAN | ||
692 | # | ||
693 | # CONFIG_WLAN_PRE80211 is not set | 729 | # CONFIG_WLAN_PRE80211 is not set |
694 | # CONFIG_WLAN_80211 is not set | 730 | # CONFIG_WLAN_80211 is not set |
695 | 731 | ||
@@ -759,6 +795,7 @@ CONFIG_GEN_RTC=y | |||
759 | CONFIG_DEVPORT=y | 795 | CONFIG_DEVPORT=y |
760 | CONFIG_I2C=y | 796 | CONFIG_I2C=y |
761 | CONFIG_I2C_BOARDINFO=y | 797 | CONFIG_I2C_BOARDINFO=y |
798 | CONFIG_I2C_COMPAT=y | ||
762 | CONFIG_I2C_CHARDEV=y | 799 | CONFIG_I2C_CHARDEV=y |
763 | CONFIG_I2C_HELPER_AUTO=y | 800 | CONFIG_I2C_HELPER_AUTO=y |
764 | 801 | ||
@@ -787,6 +824,7 @@ CONFIG_I2C_HELPER_AUTO=y | |||
787 | # | 824 | # |
788 | # I2C system bus drivers (mostly embedded / system-on-chip) | 825 | # I2C system bus drivers (mostly embedded / system-on-chip) |
789 | # | 826 | # |
827 | # CONFIG_I2C_DESIGNWARE is not set | ||
790 | CONFIG_I2C_MPC=y | 828 | CONFIG_I2C_MPC=y |
791 | # CONFIG_I2C_OCORES is not set | 829 | # CONFIG_I2C_OCORES is not set |
792 | # CONFIG_I2C_SIMTEC is not set | 830 | # CONFIG_I2C_SIMTEC is not set |
@@ -812,23 +850,23 @@ CONFIG_I2C_MPC=y | |||
812 | # Miscellaneous I2C Chip support | 850 | # Miscellaneous I2C Chip support |
813 | # | 851 | # |
814 | # CONFIG_DS1682 is not set | 852 | # CONFIG_DS1682 is not set |
815 | # CONFIG_SENSORS_PCF8574 is not set | ||
816 | # CONFIG_PCF8575 is not set | ||
817 | # CONFIG_SENSORS_PCA9539 is not set | ||
818 | # CONFIG_SENSORS_MAX6875 is not set | ||
819 | # CONFIG_SENSORS_TSL2550 is not set | 853 | # CONFIG_SENSORS_TSL2550 is not set |
820 | # CONFIG_I2C_DEBUG_CORE is not set | 854 | # CONFIG_I2C_DEBUG_CORE is not set |
821 | # CONFIG_I2C_DEBUG_ALGO is not set | 855 | # CONFIG_I2C_DEBUG_ALGO is not set |
822 | # CONFIG_I2C_DEBUG_BUS is not set | 856 | # CONFIG_I2C_DEBUG_BUS is not set |
823 | # CONFIG_I2C_DEBUG_CHIP is not set | 857 | # CONFIG_I2C_DEBUG_CHIP is not set |
824 | # CONFIG_SPI is not set | 858 | # CONFIG_SPI is not set |
859 | |||
860 | # | ||
861 | # PPS support | ||
862 | # | ||
863 | # CONFIG_PPS is not set | ||
825 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 864 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
826 | # CONFIG_GPIOLIB is not set | 865 | # CONFIG_GPIOLIB is not set |
827 | # CONFIG_W1 is not set | 866 | # CONFIG_W1 is not set |
828 | # CONFIG_POWER_SUPPLY is not set | 867 | # CONFIG_POWER_SUPPLY is not set |
829 | # CONFIG_HWMON is not set | 868 | # CONFIG_HWMON is not set |
830 | # CONFIG_THERMAL is not set | 869 | # CONFIG_THERMAL is not set |
831 | # CONFIG_THERMAL_HWMON is not set | ||
832 | # CONFIG_WATCHDOG is not set | 870 | # CONFIG_WATCHDOG is not set |
833 | CONFIG_SSB_POSSIBLE=y | 871 | CONFIG_SSB_POSSIBLE=y |
834 | 872 | ||
@@ -847,30 +885,18 @@ CONFIG_SSB_POSSIBLE=y | |||
847 | # CONFIG_MFD_TMIO is not set | 885 | # CONFIG_MFD_TMIO is not set |
848 | # CONFIG_PMIC_DA903X is not set | 886 | # CONFIG_PMIC_DA903X is not set |
849 | # CONFIG_MFD_WM8400 is not set | 887 | # CONFIG_MFD_WM8400 is not set |
888 | # CONFIG_MFD_WM831X is not set | ||
850 | # CONFIG_MFD_WM8350_I2C is not set | 889 | # CONFIG_MFD_WM8350_I2C is not set |
851 | # CONFIG_MFD_PCF50633 is not set | 890 | # CONFIG_MFD_PCF50633 is not set |
891 | # CONFIG_AB3100_CORE is not set | ||
852 | # CONFIG_REGULATOR is not set | 892 | # CONFIG_REGULATOR is not set |
853 | 893 | # CONFIG_MEDIA_SUPPORT is not set | |
854 | # | ||
855 | # Multimedia devices | ||
856 | # | ||
857 | |||
858 | # | ||
859 | # Multimedia core support | ||
860 | # | ||
861 | # CONFIG_VIDEO_DEV is not set | ||
862 | # CONFIG_DVB_CORE is not set | ||
863 | # CONFIG_VIDEO_MEDIA is not set | ||
864 | |||
865 | # | ||
866 | # Multimedia drivers | ||
867 | # | ||
868 | # CONFIG_DAB is not set | ||
869 | 894 | ||
870 | # | 895 | # |
871 | # Graphics support | 896 | # Graphics support |
872 | # | 897 | # |
873 | # CONFIG_AGP is not set | 898 | # CONFIG_AGP is not set |
899 | CONFIG_VGA_ARB=y | ||
874 | # CONFIG_DRM is not set | 900 | # CONFIG_DRM is not set |
875 | # CONFIG_VGASTATE is not set | 901 | # CONFIG_VGASTATE is not set |
876 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 902 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
@@ -913,6 +939,10 @@ CONFIG_USB_ARCH_HAS_EHCI=y | |||
913 | # CONFIG_DMADEVICES is not set | 939 | # CONFIG_DMADEVICES is not set |
914 | # CONFIG_AUXDISPLAY is not set | 940 | # CONFIG_AUXDISPLAY is not set |
915 | # CONFIG_UIO is not set | 941 | # CONFIG_UIO is not set |
942 | |||
943 | # | ||
944 | # TI VLYNQ | ||
945 | # | ||
916 | # CONFIG_STAGING is not set | 946 | # CONFIG_STAGING is not set |
917 | 947 | ||
918 | # | 948 | # |
@@ -932,10 +962,13 @@ CONFIG_FS_MBCACHE=y | |||
932 | # CONFIG_REISERFS_FS is not set | 962 | # CONFIG_REISERFS_FS is not set |
933 | # CONFIG_JFS_FS is not set | 963 | # CONFIG_JFS_FS is not set |
934 | # CONFIG_FS_POSIX_ACL is not set | 964 | # CONFIG_FS_POSIX_ACL is not set |
935 | CONFIG_FILE_LOCKING=y | ||
936 | # CONFIG_XFS_FS is not set | 965 | # CONFIG_XFS_FS is not set |
966 | # CONFIG_GFS2_FS is not set | ||
937 | # CONFIG_OCFS2_FS is not set | 967 | # CONFIG_OCFS2_FS is not set |
938 | # CONFIG_BTRFS_FS is not set | 968 | # CONFIG_BTRFS_FS is not set |
969 | # CONFIG_NILFS2_FS is not set | ||
970 | CONFIG_FILE_LOCKING=y | ||
971 | CONFIG_FSNOTIFY=y | ||
939 | CONFIG_DNOTIFY=y | 972 | CONFIG_DNOTIFY=y |
940 | CONFIG_INOTIFY=y | 973 | CONFIG_INOTIFY=y |
941 | CONFIG_INOTIFY_USER=y | 974 | CONFIG_INOTIFY_USER=y |
@@ -992,12 +1025,12 @@ CONFIG_MISC_FILESYSTEMS=y | |||
992 | # CONFIG_ROMFS_FS is not set | 1025 | # CONFIG_ROMFS_FS is not set |
993 | # CONFIG_SYSV_FS is not set | 1026 | # CONFIG_SYSV_FS is not set |
994 | # CONFIG_UFS_FS is not set | 1027 | # CONFIG_UFS_FS is not set |
995 | # CONFIG_NILFS2_FS is not set | ||
996 | CONFIG_NETWORK_FILESYSTEMS=y | 1028 | CONFIG_NETWORK_FILESYSTEMS=y |
997 | CONFIG_NFS_FS=y | 1029 | CONFIG_NFS_FS=y |
998 | CONFIG_NFS_V3=y | 1030 | CONFIG_NFS_V3=y |
999 | # CONFIG_NFS_V3_ACL is not set | 1031 | # CONFIG_NFS_V3_ACL is not set |
1000 | CONFIG_NFS_V4=y | 1032 | CONFIG_NFS_V4=y |
1033 | # CONFIG_NFS_V4_1 is not set | ||
1001 | CONFIG_ROOT_NFS=y | 1034 | CONFIG_ROOT_NFS=y |
1002 | # CONFIG_NFSD is not set | 1035 | # CONFIG_NFSD is not set |
1003 | CONFIG_LOCKD=y | 1036 | CONFIG_LOCKD=y |
@@ -1041,6 +1074,7 @@ CONFIG_HAS_IOPORT=y | |||
1041 | CONFIG_HAS_DMA=y | 1074 | CONFIG_HAS_DMA=y |
1042 | CONFIG_HAVE_LMB=y | 1075 | CONFIG_HAVE_LMB=y |
1043 | CONFIG_NLATTR=y | 1076 | CONFIG_NLATTR=y |
1077 | CONFIG_GENERIC_ATOMIC64=y | ||
1044 | 1078 | ||
1045 | # | 1079 | # |
1046 | # Kernel hacking | 1080 | # Kernel hacking |
@@ -1050,6 +1084,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1050 | CONFIG_ENABLE_MUST_CHECK=y | 1084 | CONFIG_ENABLE_MUST_CHECK=y |
1051 | CONFIG_FRAME_WARN=1024 | 1085 | CONFIG_FRAME_WARN=1024 |
1052 | # CONFIG_MAGIC_SYSRQ is not set | 1086 | # CONFIG_MAGIC_SYSRQ is not set |
1087 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1053 | # CONFIG_UNUSED_SYMBOLS is not set | 1088 | # CONFIG_UNUSED_SYMBOLS is not set |
1054 | # CONFIG_DEBUG_FS is not set | 1089 | # CONFIG_DEBUG_FS is not set |
1055 | # CONFIG_HEADERS_CHECK is not set | 1090 | # CONFIG_HEADERS_CHECK is not set |
@@ -1067,10 +1102,14 @@ CONFIG_SCHED_DEBUG=y | |||
1067 | # CONFIG_DEBUG_OBJECTS is not set | 1102 | # CONFIG_DEBUG_OBJECTS is not set |
1068 | # CONFIG_SLUB_DEBUG_ON is not set | 1103 | # CONFIG_SLUB_DEBUG_ON is not set |
1069 | # CONFIG_SLUB_STATS is not set | 1104 | # CONFIG_SLUB_STATS is not set |
1105 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1070 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1106 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1071 | # CONFIG_RT_MUTEX_TESTER is not set | 1107 | # CONFIG_RT_MUTEX_TESTER is not set |
1072 | # CONFIG_DEBUG_SPINLOCK is not set | 1108 | # CONFIG_DEBUG_SPINLOCK is not set |
1073 | # CONFIG_DEBUG_MUTEXES is not set | 1109 | # CONFIG_DEBUG_MUTEXES is not set |
1110 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1111 | # CONFIG_PROVE_LOCKING is not set | ||
1112 | # CONFIG_LOCK_STAT is not set | ||
1074 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1113 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1075 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1114 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1076 | # CONFIG_DEBUG_KOBJECT is not set | 1115 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1082,11 +1121,12 @@ CONFIG_DEBUG_INFO=y | |||
1082 | # CONFIG_DEBUG_LIST is not set | 1121 | # CONFIG_DEBUG_LIST is not set |
1083 | # CONFIG_DEBUG_SG is not set | 1122 | # CONFIG_DEBUG_SG is not set |
1084 | # CONFIG_DEBUG_NOTIFIERS is not set | 1123 | # CONFIG_DEBUG_NOTIFIERS is not set |
1085 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1124 | # CONFIG_DEBUG_CREDENTIALS is not set |
1086 | # CONFIG_RCU_TORTURE_TEST is not set | 1125 | # CONFIG_RCU_TORTURE_TEST is not set |
1087 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1126 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1088 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1127 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1089 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1128 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1129 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1090 | # CONFIG_FAULT_INJECTION is not set | 1130 | # CONFIG_FAULT_INJECTION is not set |
1091 | # CONFIG_LATENCYTOP is not set | 1131 | # CONFIG_LATENCYTOP is not set |
1092 | # CONFIG_DEBUG_PAGEALLOC is not set | 1132 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -1095,23 +1135,25 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | |||
1095 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1135 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
1096 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1136 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1097 | CONFIG_TRACING_SUPPORT=y | 1137 | CONFIG_TRACING_SUPPORT=y |
1098 | 1138 | CONFIG_FTRACE=y | |
1099 | # | ||
1100 | # Tracers | ||
1101 | # | ||
1102 | # CONFIG_FUNCTION_TRACER is not set | 1139 | # CONFIG_FUNCTION_TRACER is not set |
1140 | # CONFIG_IRQSOFF_TRACER is not set | ||
1103 | # CONFIG_SCHED_TRACER is not set | 1141 | # CONFIG_SCHED_TRACER is not set |
1104 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1142 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set |
1105 | # CONFIG_EVENT_TRACER is not set | ||
1106 | # CONFIG_BOOT_TRACER is not set | 1143 | # CONFIG_BOOT_TRACER is not set |
1107 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1144 | CONFIG_BRANCH_PROFILE_NONE=y |
1145 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1146 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1108 | # CONFIG_STACK_TRACER is not set | 1147 | # CONFIG_STACK_TRACER is not set |
1109 | # CONFIG_KMEMTRACE is not set | 1148 | # CONFIG_KMEMTRACE is not set |
1110 | # CONFIG_WORKQUEUE_TRACER is not set | 1149 | # CONFIG_WORKQUEUE_TRACER is not set |
1111 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1150 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1151 | # CONFIG_DMA_API_DEBUG is not set | ||
1112 | # CONFIG_SAMPLES is not set | 1152 | # CONFIG_SAMPLES is not set |
1113 | CONFIG_HAVE_ARCH_KGDB=y | 1153 | CONFIG_HAVE_ARCH_KGDB=y |
1114 | # CONFIG_KGDB is not set | 1154 | # CONFIG_KGDB is not set |
1155 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
1156 | CONFIG_PPC_WERROR=y | ||
1115 | CONFIG_PRINT_STACK_DEPTH=64 | 1157 | CONFIG_PRINT_STACK_DEPTH=64 |
1116 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1158 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1117 | # CONFIG_DEBUG_STACK_USAGE is not set | 1159 | # CONFIG_DEBUG_STACK_USAGE is not set |
@@ -1136,7 +1178,6 @@ CONFIG_CRYPTO=y | |||
1136 | # | 1178 | # |
1137 | # Crypto core or helper | 1179 | # Crypto core or helper |
1138 | # | 1180 | # |
1139 | # CONFIG_CRYPTO_FIPS is not set | ||
1140 | CONFIG_CRYPTO_ALGAPI=y | 1181 | CONFIG_CRYPTO_ALGAPI=y |
1141 | CONFIG_CRYPTO_ALGAPI2=y | 1182 | CONFIG_CRYPTO_ALGAPI2=y |
1142 | CONFIG_CRYPTO_AEAD2=y | 1183 | CONFIG_CRYPTO_AEAD2=y |
@@ -1178,11 +1219,13 @@ CONFIG_CRYPTO_CBC=y | |||
1178 | # | 1219 | # |
1179 | # CONFIG_CRYPTO_HMAC is not set | 1220 | # CONFIG_CRYPTO_HMAC is not set |
1180 | # CONFIG_CRYPTO_XCBC is not set | 1221 | # CONFIG_CRYPTO_XCBC is not set |
1222 | # CONFIG_CRYPTO_VMAC is not set | ||
1181 | 1223 | ||
1182 | # | 1224 | # |
1183 | # Digest | 1225 | # Digest |
1184 | # | 1226 | # |
1185 | # CONFIG_CRYPTO_CRC32C is not set | 1227 | # CONFIG_CRYPTO_CRC32C is not set |
1228 | # CONFIG_CRYPTO_GHASH is not set | ||
1186 | # CONFIG_CRYPTO_MD4 is not set | 1229 | # CONFIG_CRYPTO_MD4 is not set |
1187 | CONFIG_CRYPTO_MD5=y | 1230 | CONFIG_CRYPTO_MD5=y |
1188 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1231 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/52xx/motionpro_defconfig b/arch/powerpc/configs/52xx/motionpro_defconfig index 07b6b266ea95..4f77a1bdc8f9 100644 --- a/arch/powerpc/configs/52xx/motionpro_defconfig +++ b/arch/powerpc/configs/52xx/motionpro_defconfig | |||
@@ -1,25 +1,27 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc2 | 3 | # Linux kernel version: 2.6.32-rc4 |
4 | # Sat Apr 18 00:48:22 2009 | 4 | # Thu Oct 15 10:33:22 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
8 | # | 8 | # |
9 | # Processor support | 9 | # Processor support |
10 | # | 10 | # |
11 | CONFIG_6xx=y | 11 | CONFIG_PPC_BOOK3S_32=y |
12 | # CONFIG_PPC_85xx is not set | 12 | # CONFIG_PPC_85xx is not set |
13 | # CONFIG_PPC_8xx is not set | 13 | # CONFIG_PPC_8xx is not set |
14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_PPC_BOOK3S=y | 17 | CONFIG_PPC_BOOK3S=y |
18 | CONFIG_6xx=y | ||
18 | CONFIG_PPC_FPU=y | 19 | CONFIG_PPC_FPU=y |
19 | # CONFIG_ALTIVEC is not set | 20 | # CONFIG_ALTIVEC is not set |
20 | CONFIG_PPC_STD_MMU=y | 21 | CONFIG_PPC_STD_MMU=y |
21 | CONFIG_PPC_STD_MMU_32=y | 22 | CONFIG_PPC_STD_MMU_32=y |
22 | # CONFIG_PPC_MM_SLICES is not set | 23 | # CONFIG_PPC_MM_SLICES is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
23 | # CONFIG_SMP is not set | 25 | # CONFIG_SMP is not set |
24 | CONFIG_PPC32=y | 26 | CONFIG_PPC32=y |
25 | CONFIG_WORD_SIZE=32 | 27 | CONFIG_WORD_SIZE=32 |
@@ -30,15 +32,17 @@ CONFIG_GENERIC_TIME=y | |||
30 | CONFIG_GENERIC_TIME_VSYSCALL=y | 32 | CONFIG_GENERIC_TIME_VSYSCALL=y |
31 | CONFIG_GENERIC_CLOCKEVENTS=y | 33 | CONFIG_GENERIC_CLOCKEVENTS=y |
32 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
33 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
34 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
35 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
41 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
37 | CONFIG_LOCKDEP_SUPPORT=y | 42 | CONFIG_LOCKDEP_SUPPORT=y |
38 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 43 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
39 | CONFIG_ARCH_HAS_ILOG2_U32=y | 44 | CONFIG_ARCH_HAS_ILOG2_U32=y |
40 | CONFIG_GENERIC_HWEIGHT=y | 45 | CONFIG_GENERIC_HWEIGHT=y |
41 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
42 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 46 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
43 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 47 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
44 | CONFIG_PPC=y | 48 | CONFIG_PPC=y |
@@ -52,11 +56,13 @@ CONFIG_OF=y | |||
52 | # CONFIG_GENERIC_TBSYNC is not set | 56 | # CONFIG_GENERIC_TBSYNC is not set |
53 | CONFIG_AUDIT_ARCH=y | 57 | CONFIG_AUDIT_ARCH=y |
54 | CONFIG_GENERIC_BUG=y | 58 | CONFIG_GENERIC_BUG=y |
59 | CONFIG_DTC=y | ||
55 | CONFIG_DEFAULT_UIMAGE=y | 60 | CONFIG_DEFAULT_UIMAGE=y |
56 | # CONFIG_PPC_DCR_NATIVE is not set | 61 | # CONFIG_PPC_DCR_NATIVE is not set |
57 | # CONFIG_PPC_DCR_MMIO is not set | 62 | # CONFIG_PPC_DCR_MMIO is not set |
58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | 63 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y |
59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 64 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
65 | CONFIG_CONSTRUCTORS=y | ||
60 | 66 | ||
61 | # | 67 | # |
62 | # General setup | 68 | # General setup |
@@ -77,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
77 | # | 83 | # |
78 | # RCU Subsystem | 84 | # RCU Subsystem |
79 | # | 85 | # |
80 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
81 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
82 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
83 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
84 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
85 | # CONFIG_IKCONFIG is not set | 92 | # CONFIG_IKCONFIG is not set |
86 | CONFIG_LOG_BUF_SHIFT=14 | 93 | CONFIG_LOG_BUF_SHIFT=14 |
87 | CONFIG_GROUP_SCHED=y | 94 | CONFIG_GROUP_SCHED=y |
@@ -105,7 +112,6 @@ CONFIG_ANON_INODES=y | |||
105 | CONFIG_EMBEDDED=y | 112 | CONFIG_EMBEDDED=y |
106 | # CONFIG_SYSCTL_SYSCALL is not set | 113 | # CONFIG_SYSCTL_SYSCALL is not set |
107 | # CONFIG_KALLSYMS is not set | 114 | # CONFIG_KALLSYMS is not set |
108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
109 | CONFIG_HOTPLUG=y | 115 | CONFIG_HOTPLUG=y |
110 | CONFIG_PRINTK=y | 116 | CONFIG_PRINTK=y |
111 | CONFIG_BUG=y | 117 | CONFIG_BUG=y |
@@ -118,6 +124,13 @@ CONFIG_TIMERFD=y | |||
118 | CONFIG_EVENTFD=y | 124 | CONFIG_EVENTFD=y |
119 | CONFIG_SHMEM=y | 125 | CONFIG_SHMEM=y |
120 | CONFIG_AIO=y | 126 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_EVENTS=y | ||
128 | |||
129 | # | ||
130 | # Kernel Performance Events And Counters | ||
131 | # | ||
132 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | ||
121 | CONFIG_VM_EVENT_COUNTERS=y | 134 | CONFIG_VM_EVENT_COUNTERS=y |
122 | CONFIG_SLUB_DEBUG=y | 135 | CONFIG_SLUB_DEBUG=y |
123 | CONFIG_COMPAT_BRK=y | 136 | CONFIG_COMPAT_BRK=y |
@@ -125,14 +138,19 @@ CONFIG_COMPAT_BRK=y | |||
125 | CONFIG_SLUB=y | 138 | CONFIG_SLUB=y |
126 | # CONFIG_SLOB is not set | 139 | # CONFIG_SLOB is not set |
127 | # CONFIG_PROFILING is not set | 140 | # CONFIG_PROFILING is not set |
128 | # CONFIG_MARKERS is not set | ||
129 | CONFIG_HAVE_OPROFILE=y | 141 | CONFIG_HAVE_OPROFILE=y |
130 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 142 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
131 | CONFIG_HAVE_IOREMAP_PROT=y | 143 | CONFIG_HAVE_IOREMAP_PROT=y |
132 | CONFIG_HAVE_KPROBES=y | 144 | CONFIG_HAVE_KPROBES=y |
133 | CONFIG_HAVE_KRETPROBES=y | 145 | CONFIG_HAVE_KRETPROBES=y |
134 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 146 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
147 | CONFIG_HAVE_DMA_ATTRS=y | ||
135 | CONFIG_HAVE_CLK=y | 148 | CONFIG_HAVE_CLK=y |
149 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | |||
151 | # | ||
152 | # GCOV-based kernel profiling | ||
153 | # | ||
136 | # CONFIG_SLOW_WORK is not set | 154 | # CONFIG_SLOW_WORK is not set |
137 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 155 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
138 | CONFIG_SLABINFO=y | 156 | CONFIG_SLABINFO=y |
@@ -140,7 +158,7 @@ CONFIG_RT_MUTEXES=y | |||
140 | CONFIG_BASE_SMALL=0 | 158 | CONFIG_BASE_SMALL=0 |
141 | # CONFIG_MODULES is not set | 159 | # CONFIG_MODULES is not set |
142 | CONFIG_BLOCK=y | 160 | CONFIG_BLOCK=y |
143 | # CONFIG_LBD is not set | 161 | CONFIG_LBDAF=y |
144 | # CONFIG_BLK_DEV_BSG is not set | 162 | # CONFIG_BLK_DEV_BSG is not set |
145 | # CONFIG_BLK_DEV_INTEGRITY is not set | 163 | # CONFIG_BLK_DEV_INTEGRITY is not set |
146 | 164 | ||
@@ -220,11 +238,13 @@ CONFIG_BINFMT_ELF=y | |||
220 | # CONFIG_HAVE_AOUT is not set | 238 | # CONFIG_HAVE_AOUT is not set |
221 | # CONFIG_BINFMT_MISC is not set | 239 | # CONFIG_BINFMT_MISC is not set |
222 | # CONFIG_IOMMU_HELPER is not set | 240 | # CONFIG_IOMMU_HELPER is not set |
241 | # CONFIG_SWIOTLB is not set | ||
223 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 242 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
224 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 243 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
225 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 244 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
226 | # CONFIG_KEXEC is not set | 245 | # CONFIG_KEXEC is not set |
227 | # CONFIG_CRASH_DUMP is not set | 246 | # CONFIG_CRASH_DUMP is not set |
247 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
228 | CONFIG_ARCH_FLATMEM_ENABLE=y | 248 | CONFIG_ARCH_FLATMEM_ENABLE=y |
229 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 249 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
230 | CONFIG_SELECT_MEMORY_MODEL=y | 250 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -240,9 +260,10 @@ CONFIG_MIGRATION=y | |||
240 | CONFIG_ZONE_DMA_FLAG=1 | 260 | CONFIG_ZONE_DMA_FLAG=1 |
241 | CONFIG_BOUNCE=y | 261 | CONFIG_BOUNCE=y |
242 | CONFIG_VIRT_TO_BUS=y | 262 | CONFIG_VIRT_TO_BUS=y |
243 | CONFIG_UNEVICTABLE_LRU=y | ||
244 | CONFIG_HAVE_MLOCK=y | 263 | CONFIG_HAVE_MLOCK=y |
245 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 264 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
265 | # CONFIG_KSM is not set | ||
266 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
246 | CONFIG_PPC_4K_PAGES=y | 267 | CONFIG_PPC_4K_PAGES=y |
247 | # CONFIG_PPC_16K_PAGES is not set | 268 | # CONFIG_PPC_16K_PAGES is not set |
248 | # CONFIG_PPC_64K_PAGES is not set | 269 | # CONFIG_PPC_64K_PAGES is not set |
@@ -253,6 +274,7 @@ CONFIG_PROC_DEVICETREE=y | |||
253 | CONFIG_EXTRA_TARGETS="" | 274 | CONFIG_EXTRA_TARGETS="" |
254 | CONFIG_PM=y | 275 | CONFIG_PM=y |
255 | # CONFIG_PM_DEBUG is not set | 276 | # CONFIG_PM_DEBUG is not set |
277 | # CONFIG_PM_RUNTIME is not set | ||
256 | CONFIG_SECCOMP=y | 278 | CONFIG_SECCOMP=y |
257 | CONFIG_ISA_DMA_API=y | 279 | CONFIG_ISA_DMA_API=y |
258 | 280 | ||
@@ -329,6 +351,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
329 | # CONFIG_NETFILTER is not set | 351 | # CONFIG_NETFILTER is not set |
330 | # CONFIG_IP_DCCP is not set | 352 | # CONFIG_IP_DCCP is not set |
331 | # CONFIG_IP_SCTP is not set | 353 | # CONFIG_IP_SCTP is not set |
354 | # CONFIG_RDS is not set | ||
332 | # CONFIG_TIPC is not set | 355 | # CONFIG_TIPC is not set |
333 | # CONFIG_ATM is not set | 356 | # CONFIG_ATM is not set |
334 | # CONFIG_BRIDGE is not set | 357 | # CONFIG_BRIDGE is not set |
@@ -343,6 +366,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
343 | # CONFIG_ECONET is not set | 366 | # CONFIG_ECONET is not set |
344 | # CONFIG_WAN_ROUTER is not set | 367 | # CONFIG_WAN_ROUTER is not set |
345 | # CONFIG_PHONET is not set | 368 | # CONFIG_PHONET is not set |
369 | # CONFIG_IEEE802154 is not set | ||
346 | # CONFIG_NET_SCHED is not set | 370 | # CONFIG_NET_SCHED is not set |
347 | # CONFIG_DCB is not set | 371 | # CONFIG_DCB is not set |
348 | 372 | ||
@@ -368,6 +392,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
368 | # Generic Driver Options | 392 | # Generic Driver Options |
369 | # | 393 | # |
370 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 394 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
395 | # CONFIG_DEVTMPFS is not set | ||
371 | CONFIG_STANDALONE=y | 396 | CONFIG_STANDALONE=y |
372 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 397 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
373 | # CONFIG_FW_LOADER is not set | 398 | # CONFIG_FW_LOADER is not set |
@@ -458,6 +483,7 @@ CONFIG_MTD_ROM=y | |||
458 | # CONFIG_MTD_UBI is not set | 483 | # CONFIG_MTD_UBI is not set |
459 | CONFIG_OF_DEVICE=y | 484 | CONFIG_OF_DEVICE=y |
460 | CONFIG_OF_I2C=y | 485 | CONFIG_OF_I2C=y |
486 | CONFIG_OF_MDIO=y | ||
461 | # CONFIG_PARPORT is not set | 487 | # CONFIG_PARPORT is not set |
462 | CONFIG_BLK_DEV=y | 488 | CONFIG_BLK_DEV=y |
463 | # CONFIG_BLK_DEV_FD is not set | 489 | # CONFIG_BLK_DEV_FD is not set |
@@ -483,6 +509,7 @@ CONFIG_MISC_DEVICES=y | |||
483 | # | 509 | # |
484 | # CONFIG_EEPROM_AT24 is not set | 510 | # CONFIG_EEPROM_AT24 is not set |
485 | CONFIG_EEPROM_LEGACY=y | 511 | CONFIG_EEPROM_LEGACY=y |
512 | # CONFIG_EEPROM_MAX6875 is not set | ||
486 | # CONFIG_EEPROM_93CX6 is not set | 513 | # CONFIG_EEPROM_93CX6 is not set |
487 | CONFIG_HAVE_IDE=y | 514 | CONFIG_HAVE_IDE=y |
488 | # CONFIG_IDE is not set | 515 | # CONFIG_IDE is not set |
@@ -506,10 +533,6 @@ CONFIG_BLK_DEV_SD=y | |||
506 | # CONFIG_BLK_DEV_SR is not set | 533 | # CONFIG_BLK_DEV_SR is not set |
507 | CONFIG_CHR_DEV_SG=y | 534 | CONFIG_CHR_DEV_SG=y |
508 | # CONFIG_CHR_DEV_SCH is not set | 535 | # CONFIG_CHR_DEV_SCH is not set |
509 | |||
510 | # | ||
511 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
512 | # | ||
513 | # CONFIG_SCSI_MULTI_LUN is not set | 536 | # CONFIG_SCSI_MULTI_LUN is not set |
514 | # CONFIG_SCSI_CONSTANTS is not set | 537 | # CONFIG_SCSI_CONSTANTS is not set |
515 | # CONFIG_SCSI_LOGGING is not set | 538 | # CONFIG_SCSI_LOGGING is not set |
@@ -532,6 +555,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
532 | # CONFIG_SCSI_OSD_INITIATOR is not set | 555 | # CONFIG_SCSI_OSD_INITIATOR is not set |
533 | CONFIG_ATA=y | 556 | CONFIG_ATA=y |
534 | # CONFIG_ATA_NONSTANDARD is not set | 557 | # CONFIG_ATA_NONSTANDARD is not set |
558 | CONFIG_ATA_VERBOSE_ERROR=y | ||
535 | CONFIG_SATA_PMP=y | 559 | CONFIG_SATA_PMP=y |
536 | CONFIG_ATA_SFF=y | 560 | CONFIG_ATA_SFF=y |
537 | # CONFIG_SATA_MV is not set | 561 | # CONFIG_SATA_MV is not set |
@@ -540,7 +564,6 @@ CONFIG_PATA_MPC52xx=y | |||
540 | # CONFIG_MD is not set | 564 | # CONFIG_MD is not set |
541 | # CONFIG_MACINTOSH_DRIVERS is not set | 565 | # CONFIG_MACINTOSH_DRIVERS is not set |
542 | CONFIG_NETDEVICES=y | 566 | CONFIG_NETDEVICES=y |
543 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
544 | # CONFIG_DUMMY is not set | 567 | # CONFIG_DUMMY is not set |
545 | # CONFIG_BONDING is not set | 568 | # CONFIG_BONDING is not set |
546 | # CONFIG_MACVLAN is not set | 569 | # CONFIG_MACVLAN is not set |
@@ -579,14 +602,14 @@ CONFIG_MII=y | |||
579 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | 602 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set |
580 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 603 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
581 | # CONFIG_B44 is not set | 604 | # CONFIG_B44 is not set |
605 | # CONFIG_KS8842 is not set | ||
606 | # CONFIG_KS8851_MLL is not set | ||
582 | CONFIG_FEC_MPC52xx=y | 607 | CONFIG_FEC_MPC52xx=y |
583 | CONFIG_FEC_MPC52xx_MDIO=y | 608 | CONFIG_FEC_MPC52xx_MDIO=y |
609 | # CONFIG_XILINX_EMACLITE is not set | ||
584 | # CONFIG_NETDEV_1000 is not set | 610 | # CONFIG_NETDEV_1000 is not set |
585 | # CONFIG_NETDEV_10000 is not set | 611 | # CONFIG_NETDEV_10000 is not set |
586 | 612 | CONFIG_WLAN=y | |
587 | # | ||
588 | # Wireless LAN | ||
589 | # | ||
590 | # CONFIG_WLAN_PRE80211 is not set | 613 | # CONFIG_WLAN_PRE80211 is not set |
591 | # CONFIG_WLAN_80211 is not set | 614 | # CONFIG_WLAN_80211 is not set |
592 | 615 | ||
@@ -647,6 +670,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
647 | # CONFIG_TCG_TPM is not set | 670 | # CONFIG_TCG_TPM is not set |
648 | CONFIG_I2C=y | 671 | CONFIG_I2C=y |
649 | CONFIG_I2C_BOARDINFO=y | 672 | CONFIG_I2C_BOARDINFO=y |
673 | CONFIG_I2C_COMPAT=y | ||
650 | CONFIG_I2C_CHARDEV=y | 674 | CONFIG_I2C_CHARDEV=y |
651 | CONFIG_I2C_HELPER_AUTO=y | 675 | CONFIG_I2C_HELPER_AUTO=y |
652 | 676 | ||
@@ -657,6 +681,7 @@ CONFIG_I2C_HELPER_AUTO=y | |||
657 | # | 681 | # |
658 | # I2C system bus drivers (mostly embedded / system-on-chip) | 682 | # I2C system bus drivers (mostly embedded / system-on-chip) |
659 | # | 683 | # |
684 | # CONFIG_I2C_DESIGNWARE is not set | ||
660 | CONFIG_I2C_MPC=y | 685 | CONFIG_I2C_MPC=y |
661 | # CONFIG_I2C_OCORES is not set | 686 | # CONFIG_I2C_OCORES is not set |
662 | # CONFIG_I2C_SIMTEC is not set | 687 | # CONFIG_I2C_SIMTEC is not set |
@@ -676,22 +701,28 @@ CONFIG_I2C_MPC=y | |||
676 | # Miscellaneous I2C Chip support | 701 | # Miscellaneous I2C Chip support |
677 | # | 702 | # |
678 | # CONFIG_DS1682 is not set | 703 | # CONFIG_DS1682 is not set |
679 | # CONFIG_SENSORS_PCF8574 is not set | ||
680 | # CONFIG_PCF8575 is not set | ||
681 | # CONFIG_SENSORS_PCA9539 is not set | ||
682 | # CONFIG_SENSORS_MAX6875 is not set | ||
683 | # CONFIG_SENSORS_TSL2550 is not set | 704 | # CONFIG_SENSORS_TSL2550 is not set |
684 | # CONFIG_I2C_DEBUG_CORE is not set | 705 | # CONFIG_I2C_DEBUG_CORE is not set |
685 | # CONFIG_I2C_DEBUG_ALGO is not set | 706 | # CONFIG_I2C_DEBUG_ALGO is not set |
686 | # CONFIG_I2C_DEBUG_BUS is not set | 707 | # CONFIG_I2C_DEBUG_BUS is not set |
687 | # CONFIG_I2C_DEBUG_CHIP is not set | 708 | # CONFIG_I2C_DEBUG_CHIP is not set |
688 | # CONFIG_SPI is not set | 709 | # CONFIG_SPI is not set |
710 | |||
711 | # | ||
712 | # PPS support | ||
713 | # | ||
714 | # CONFIG_PPS is not set | ||
689 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 715 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
690 | # CONFIG_GPIOLIB is not set | 716 | # CONFIG_GPIOLIB is not set |
691 | # CONFIG_W1 is not set | 717 | # CONFIG_W1 is not set |
692 | # CONFIG_POWER_SUPPLY is not set | 718 | # CONFIG_POWER_SUPPLY is not set |
693 | CONFIG_HWMON=y | 719 | CONFIG_HWMON=y |
694 | # CONFIG_HWMON_VID is not set | 720 | # CONFIG_HWMON_VID is not set |
721 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
722 | |||
723 | # | ||
724 | # Native drivers | ||
725 | # | ||
695 | # CONFIG_SENSORS_AD7414 is not set | 726 | # CONFIG_SENSORS_AD7414 is not set |
696 | # CONFIG_SENSORS_AD7418 is not set | 727 | # CONFIG_SENSORS_AD7418 is not set |
697 | # CONFIG_SENSORS_ADM1021 is not set | 728 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -738,6 +769,8 @@ CONFIG_HWMON=y | |||
738 | # CONFIG_SENSORS_SMSC47B397 is not set | 769 | # CONFIG_SENSORS_SMSC47B397 is not set |
739 | # CONFIG_SENSORS_ADS7828 is not set | 770 | # CONFIG_SENSORS_ADS7828 is not set |
740 | # CONFIG_SENSORS_THMC50 is not set | 771 | # CONFIG_SENSORS_THMC50 is not set |
772 | # CONFIG_SENSORS_TMP401 is not set | ||
773 | # CONFIG_SENSORS_TMP421 is not set | ||
741 | # CONFIG_SENSORS_VT1211 is not set | 774 | # CONFIG_SENSORS_VT1211 is not set |
742 | # CONFIG_SENSORS_W83781D is not set | 775 | # CONFIG_SENSORS_W83781D is not set |
743 | # CONFIG_SENSORS_W83791D is not set | 776 | # CONFIG_SENSORS_W83791D is not set |
@@ -747,9 +780,7 @@ CONFIG_HWMON=y | |||
747 | # CONFIG_SENSORS_W83L786NG is not set | 780 | # CONFIG_SENSORS_W83L786NG is not set |
748 | # CONFIG_SENSORS_W83627HF is not set | 781 | # CONFIG_SENSORS_W83627HF is not set |
749 | # CONFIG_SENSORS_W83627EHF is not set | 782 | # CONFIG_SENSORS_W83627EHF is not set |
750 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
751 | # CONFIG_THERMAL is not set | 783 | # CONFIG_THERMAL is not set |
752 | # CONFIG_THERMAL_HWMON is not set | ||
753 | CONFIG_WATCHDOG=y | 784 | CONFIG_WATCHDOG=y |
754 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 785 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
755 | 786 | ||
@@ -775,25 +806,12 @@ CONFIG_SSB_POSSIBLE=y | |||
775 | # CONFIG_MFD_TMIO is not set | 806 | # CONFIG_MFD_TMIO is not set |
776 | # CONFIG_PMIC_DA903X is not set | 807 | # CONFIG_PMIC_DA903X is not set |
777 | # CONFIG_MFD_WM8400 is not set | 808 | # CONFIG_MFD_WM8400 is not set |
809 | # CONFIG_MFD_WM831X is not set | ||
778 | # CONFIG_MFD_WM8350_I2C is not set | 810 | # CONFIG_MFD_WM8350_I2C is not set |
779 | # CONFIG_MFD_PCF50633 is not set | 811 | # CONFIG_MFD_PCF50633 is not set |
812 | # CONFIG_AB3100_CORE is not set | ||
780 | # CONFIG_REGULATOR is not set | 813 | # CONFIG_REGULATOR is not set |
781 | 814 | # CONFIG_MEDIA_SUPPORT is not set | |
782 | # | ||
783 | # Multimedia devices | ||
784 | # | ||
785 | |||
786 | # | ||
787 | # Multimedia core support | ||
788 | # | ||
789 | # CONFIG_VIDEO_DEV is not set | ||
790 | # CONFIG_DVB_CORE is not set | ||
791 | # CONFIG_VIDEO_MEDIA is not set | ||
792 | |||
793 | # | ||
794 | # Multimedia drivers | ||
795 | # | ||
796 | CONFIG_DAB=y | ||
797 | 815 | ||
798 | # | 816 | # |
799 | # Graphics support | 817 | # Graphics support |
@@ -817,7 +835,7 @@ CONFIG_LEDS_CLASS=y | |||
817 | # | 835 | # |
818 | # LED drivers | 836 | # LED drivers |
819 | # | 837 | # |
820 | # CONFIG_LEDS_LP5521 is not set | 838 | # CONFIG_LEDS_LP3944 is not set |
821 | # CONFIG_LEDS_PCA955X is not set | 839 | # CONFIG_LEDS_PCA955X is not set |
822 | # CONFIG_LEDS_BD2802 is not set | 840 | # CONFIG_LEDS_BD2802 is not set |
823 | 841 | ||
@@ -866,6 +884,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
866 | # CONFIG_RTC_DRV_S35390A is not set | 884 | # CONFIG_RTC_DRV_S35390A is not set |
867 | # CONFIG_RTC_DRV_FM3130 is not set | 885 | # CONFIG_RTC_DRV_FM3130 is not set |
868 | # CONFIG_RTC_DRV_RX8581 is not set | 886 | # CONFIG_RTC_DRV_RX8581 is not set |
887 | # CONFIG_RTC_DRV_RX8025 is not set | ||
869 | 888 | ||
870 | # | 889 | # |
871 | # SPI RTC drivers | 890 | # SPI RTC drivers |
@@ -893,6 +912,10 @@ CONFIG_RTC_DRV_DS1307=y | |||
893 | # CONFIG_DMADEVICES is not set | 912 | # CONFIG_DMADEVICES is not set |
894 | # CONFIG_AUXDISPLAY is not set | 913 | # CONFIG_AUXDISPLAY is not set |
895 | # CONFIG_UIO is not set | 914 | # CONFIG_UIO is not set |
915 | |||
916 | # | ||
917 | # TI VLYNQ | ||
918 | # | ||
896 | # CONFIG_STAGING is not set | 919 | # CONFIG_STAGING is not set |
897 | 920 | ||
898 | # | 921 | # |
@@ -912,10 +935,13 @@ CONFIG_FS_MBCACHE=y | |||
912 | # CONFIG_REISERFS_FS is not set | 935 | # CONFIG_REISERFS_FS is not set |
913 | # CONFIG_JFS_FS is not set | 936 | # CONFIG_JFS_FS is not set |
914 | # CONFIG_FS_POSIX_ACL is not set | 937 | # CONFIG_FS_POSIX_ACL is not set |
915 | CONFIG_FILE_LOCKING=y | ||
916 | # CONFIG_XFS_FS is not set | 938 | # CONFIG_XFS_FS is not set |
939 | # CONFIG_GFS2_FS is not set | ||
917 | # CONFIG_OCFS2_FS is not set | 940 | # CONFIG_OCFS2_FS is not set |
918 | # CONFIG_BTRFS_FS is not set | 941 | # CONFIG_BTRFS_FS is not set |
942 | # CONFIG_NILFS2_FS is not set | ||
943 | CONFIG_FILE_LOCKING=y | ||
944 | CONFIG_FSNOTIFY=y | ||
919 | CONFIG_DNOTIFY=y | 945 | CONFIG_DNOTIFY=y |
920 | CONFIG_INOTIFY=y | 946 | CONFIG_INOTIFY=y |
921 | CONFIG_INOTIFY_USER=y | 947 | CONFIG_INOTIFY_USER=y |
@@ -986,12 +1012,12 @@ CONFIG_CRAMFS=y | |||
986 | # CONFIG_ROMFS_FS is not set | 1012 | # CONFIG_ROMFS_FS is not set |
987 | # CONFIG_SYSV_FS is not set | 1013 | # CONFIG_SYSV_FS is not set |
988 | # CONFIG_UFS_FS is not set | 1014 | # CONFIG_UFS_FS is not set |
989 | # CONFIG_NILFS2_FS is not set | ||
990 | CONFIG_NETWORK_FILESYSTEMS=y | 1015 | CONFIG_NETWORK_FILESYSTEMS=y |
991 | CONFIG_NFS_FS=y | 1016 | CONFIG_NFS_FS=y |
992 | CONFIG_NFS_V3=y | 1017 | CONFIG_NFS_V3=y |
993 | # CONFIG_NFS_V3_ACL is not set | 1018 | # CONFIG_NFS_V3_ACL is not set |
994 | CONFIG_NFS_V4=y | 1019 | CONFIG_NFS_V4=y |
1020 | # CONFIG_NFS_V4_1 is not set | ||
995 | CONFIG_ROOT_NFS=y | 1021 | CONFIG_ROOT_NFS=y |
996 | # CONFIG_NFSD is not set | 1022 | # CONFIG_NFSD is not set |
997 | CONFIG_LOCKD=y | 1023 | CONFIG_LOCKD=y |
@@ -1091,6 +1117,7 @@ CONFIG_HAS_IOPORT=y | |||
1091 | CONFIG_HAS_DMA=y | 1117 | CONFIG_HAS_DMA=y |
1092 | CONFIG_HAVE_LMB=y | 1118 | CONFIG_HAVE_LMB=y |
1093 | CONFIG_NLATTR=y | 1119 | CONFIG_NLATTR=y |
1120 | CONFIG_GENERIC_ATOMIC64=y | ||
1094 | 1121 | ||
1095 | # | 1122 | # |
1096 | # Kernel hacking | 1123 | # Kernel hacking |
@@ -1100,6 +1127,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1100 | CONFIG_ENABLE_MUST_CHECK=y | 1127 | CONFIG_ENABLE_MUST_CHECK=y |
1101 | CONFIG_FRAME_WARN=1024 | 1128 | CONFIG_FRAME_WARN=1024 |
1102 | # CONFIG_MAGIC_SYSRQ is not set | 1129 | # CONFIG_MAGIC_SYSRQ is not set |
1130 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1103 | # CONFIG_UNUSED_SYMBOLS is not set | 1131 | # CONFIG_UNUSED_SYMBOLS is not set |
1104 | # CONFIG_DEBUG_FS is not set | 1132 | # CONFIG_DEBUG_FS is not set |
1105 | # CONFIG_HEADERS_CHECK is not set | 1133 | # CONFIG_HEADERS_CHECK is not set |
@@ -1117,10 +1145,14 @@ CONFIG_SCHED_DEBUG=y | |||
1117 | # CONFIG_DEBUG_OBJECTS is not set | 1145 | # CONFIG_DEBUG_OBJECTS is not set |
1118 | # CONFIG_SLUB_DEBUG_ON is not set | 1146 | # CONFIG_SLUB_DEBUG_ON is not set |
1119 | # CONFIG_SLUB_STATS is not set | 1147 | # CONFIG_SLUB_STATS is not set |
1148 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1120 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1149 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1121 | # CONFIG_RT_MUTEX_TESTER is not set | 1150 | # CONFIG_RT_MUTEX_TESTER is not set |
1122 | # CONFIG_DEBUG_SPINLOCK is not set | 1151 | # CONFIG_DEBUG_SPINLOCK is not set |
1123 | # CONFIG_DEBUG_MUTEXES is not set | 1152 | # CONFIG_DEBUG_MUTEXES is not set |
1153 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1154 | # CONFIG_PROVE_LOCKING is not set | ||
1155 | # CONFIG_LOCK_STAT is not set | ||
1124 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1156 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1125 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1157 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1126 | # CONFIG_DEBUG_KOBJECT is not set | 1158 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1132,11 +1164,12 @@ CONFIG_DEBUG_INFO=y | |||
1132 | # CONFIG_DEBUG_LIST is not set | 1164 | # CONFIG_DEBUG_LIST is not set |
1133 | # CONFIG_DEBUG_SG is not set | 1165 | # CONFIG_DEBUG_SG is not set |
1134 | # CONFIG_DEBUG_NOTIFIERS is not set | 1166 | # CONFIG_DEBUG_NOTIFIERS is not set |
1135 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1167 | # CONFIG_DEBUG_CREDENTIALS is not set |
1136 | # CONFIG_RCU_TORTURE_TEST is not set | 1168 | # CONFIG_RCU_TORTURE_TEST is not set |
1137 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1169 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1138 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1170 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1139 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1171 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1172 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1140 | # CONFIG_FAULT_INJECTION is not set | 1173 | # CONFIG_FAULT_INJECTION is not set |
1141 | # CONFIG_LATENCYTOP is not set | 1174 | # CONFIG_LATENCYTOP is not set |
1142 | # CONFIG_DEBUG_PAGEALLOC is not set | 1175 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -1145,23 +1178,25 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | |||
1145 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1178 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
1146 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1179 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1147 | CONFIG_TRACING_SUPPORT=y | 1180 | CONFIG_TRACING_SUPPORT=y |
1148 | 1181 | CONFIG_FTRACE=y | |
1149 | # | ||
1150 | # Tracers | ||
1151 | # | ||
1152 | # CONFIG_FUNCTION_TRACER is not set | 1182 | # CONFIG_FUNCTION_TRACER is not set |
1183 | # CONFIG_IRQSOFF_TRACER is not set | ||
1153 | # CONFIG_SCHED_TRACER is not set | 1184 | # CONFIG_SCHED_TRACER is not set |
1154 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1185 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set |
1155 | # CONFIG_EVENT_TRACER is not set | ||
1156 | # CONFIG_BOOT_TRACER is not set | 1186 | # CONFIG_BOOT_TRACER is not set |
1157 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1187 | CONFIG_BRANCH_PROFILE_NONE=y |
1188 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1189 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1158 | # CONFIG_STACK_TRACER is not set | 1190 | # CONFIG_STACK_TRACER is not set |
1159 | # CONFIG_KMEMTRACE is not set | 1191 | # CONFIG_KMEMTRACE is not set |
1160 | # CONFIG_WORKQUEUE_TRACER is not set | 1192 | # CONFIG_WORKQUEUE_TRACER is not set |
1161 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1193 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1194 | # CONFIG_DMA_API_DEBUG is not set | ||
1162 | # CONFIG_SAMPLES is not set | 1195 | # CONFIG_SAMPLES is not set |
1163 | CONFIG_HAVE_ARCH_KGDB=y | 1196 | CONFIG_HAVE_ARCH_KGDB=y |
1164 | # CONFIG_KGDB is not set | 1197 | # CONFIG_KGDB is not set |
1198 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
1199 | CONFIG_PPC_WERROR=y | ||
1165 | CONFIG_PRINT_STACK_DEPTH=64 | 1200 | CONFIG_PRINT_STACK_DEPTH=64 |
1166 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1201 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1167 | # CONFIG_DEBUG_STACK_USAGE is not set | 1202 | # CONFIG_DEBUG_STACK_USAGE is not set |
@@ -1186,7 +1221,6 @@ CONFIG_CRYPTO=y | |||
1186 | # | 1221 | # |
1187 | # Crypto core or helper | 1222 | # Crypto core or helper |
1188 | # | 1223 | # |
1189 | # CONFIG_CRYPTO_FIPS is not set | ||
1190 | CONFIG_CRYPTO_ALGAPI=y | 1224 | CONFIG_CRYPTO_ALGAPI=y |
1191 | CONFIG_CRYPTO_ALGAPI2=y | 1225 | CONFIG_CRYPTO_ALGAPI2=y |
1192 | CONFIG_CRYPTO_AEAD2=y | 1226 | CONFIG_CRYPTO_AEAD2=y |
@@ -1227,11 +1261,13 @@ CONFIG_CRYPTO_PCBC=y | |||
1227 | # | 1261 | # |
1228 | # CONFIG_CRYPTO_HMAC is not set | 1262 | # CONFIG_CRYPTO_HMAC is not set |
1229 | # CONFIG_CRYPTO_XCBC is not set | 1263 | # CONFIG_CRYPTO_XCBC is not set |
1264 | # CONFIG_CRYPTO_VMAC is not set | ||
1230 | 1265 | ||
1231 | # | 1266 | # |
1232 | # Digest | 1267 | # Digest |
1233 | # | 1268 | # |
1234 | # CONFIG_CRYPTO_CRC32C is not set | 1269 | # CONFIG_CRYPTO_CRC32C is not set |
1270 | # CONFIG_CRYPTO_GHASH is not set | ||
1235 | # CONFIG_CRYPTO_MD4 is not set | 1271 | # CONFIG_CRYPTO_MD4 is not set |
1236 | CONFIG_CRYPTO_MD5=y | 1272 | CONFIG_CRYPTO_MD5=y |
1237 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1273 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/52xx/pcm030_defconfig b/arch/powerpc/configs/52xx/pcm030_defconfig index afb1a3d1ef0a..f9168c1a2fa5 100644 --- a/arch/powerpc/configs/52xx/pcm030_defconfig +++ b/arch/powerpc/configs/52xx/pcm030_defconfig | |||
@@ -1,25 +1,27 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc2 | 3 | # Linux kernel version: 2.6.32-rc4 |
4 | # Sat Apr 18 00:48:42 2009 | 4 | # Thu Oct 15 10:33:25 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
8 | # | 8 | # |
9 | # Processor support | 9 | # Processor support |
10 | # | 10 | # |
11 | CONFIG_6xx=y | 11 | CONFIG_PPC_BOOK3S_32=y |
12 | # CONFIG_PPC_85xx is not set | 12 | # CONFIG_PPC_85xx is not set |
13 | # CONFIG_PPC_8xx is not set | 13 | # CONFIG_PPC_8xx is not set |
14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_PPC_BOOK3S=y | 17 | CONFIG_PPC_BOOK3S=y |
18 | CONFIG_6xx=y | ||
18 | CONFIG_PPC_FPU=y | 19 | CONFIG_PPC_FPU=y |
19 | # CONFIG_ALTIVEC is not set | 20 | # CONFIG_ALTIVEC is not set |
20 | CONFIG_PPC_STD_MMU=y | 21 | CONFIG_PPC_STD_MMU=y |
21 | CONFIG_PPC_STD_MMU_32=y | 22 | CONFIG_PPC_STD_MMU_32=y |
22 | # CONFIG_PPC_MM_SLICES is not set | 23 | # CONFIG_PPC_MM_SLICES is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
23 | # CONFIG_SMP is not set | 25 | # CONFIG_SMP is not set |
24 | CONFIG_PPC32=y | 26 | CONFIG_PPC32=y |
25 | CONFIG_WORD_SIZE=32 | 27 | CONFIG_WORD_SIZE=32 |
@@ -30,15 +32,17 @@ CONFIG_GENERIC_TIME=y | |||
30 | CONFIG_GENERIC_TIME_VSYSCALL=y | 32 | CONFIG_GENERIC_TIME_VSYSCALL=y |
31 | CONFIG_GENERIC_CLOCKEVENTS=y | 33 | CONFIG_GENERIC_CLOCKEVENTS=y |
32 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
33 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
34 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
35 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
41 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
37 | CONFIG_LOCKDEP_SUPPORT=y | 42 | CONFIG_LOCKDEP_SUPPORT=y |
38 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 43 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
39 | CONFIG_ARCH_HAS_ILOG2_U32=y | 44 | CONFIG_ARCH_HAS_ILOG2_U32=y |
40 | CONFIG_GENERIC_HWEIGHT=y | 45 | CONFIG_GENERIC_HWEIGHT=y |
41 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
42 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 46 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
43 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 47 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
44 | CONFIG_PPC=y | 48 | CONFIG_PPC=y |
@@ -52,11 +56,13 @@ CONFIG_OF=y | |||
52 | # CONFIG_GENERIC_TBSYNC is not set | 56 | # CONFIG_GENERIC_TBSYNC is not set |
53 | CONFIG_AUDIT_ARCH=y | 57 | CONFIG_AUDIT_ARCH=y |
54 | CONFIG_GENERIC_BUG=y | 58 | CONFIG_GENERIC_BUG=y |
59 | CONFIG_DTC=y | ||
55 | CONFIG_DEFAULT_UIMAGE=y | 60 | CONFIG_DEFAULT_UIMAGE=y |
56 | # CONFIG_PPC_DCR_NATIVE is not set | 61 | # CONFIG_PPC_DCR_NATIVE is not set |
57 | # CONFIG_PPC_DCR_MMIO is not set | 62 | # CONFIG_PPC_DCR_MMIO is not set |
58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | 63 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y |
59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 64 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
65 | CONFIG_CONSTRUCTORS=y | ||
60 | 66 | ||
61 | # | 67 | # |
62 | # General setup | 68 | # General setup |
@@ -79,11 +85,12 @@ CONFIG_POSIX_MQUEUE_SYSCTL=y | |||
79 | # | 85 | # |
80 | # RCU Subsystem | 86 | # RCU Subsystem |
81 | # | 87 | # |
82 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
83 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
84 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
85 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
86 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
87 | CONFIG_IKCONFIG=y | 94 | CONFIG_IKCONFIG=y |
88 | CONFIG_IKCONFIG_PROC=y | 95 | CONFIG_IKCONFIG_PROC=y |
89 | CONFIG_LOG_BUF_SHIFT=14 | 96 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -105,7 +112,6 @@ CONFIG_EMBEDDED=y | |||
105 | # CONFIG_SYSCTL_SYSCALL is not set | 112 | # CONFIG_SYSCTL_SYSCALL is not set |
106 | CONFIG_KALLSYMS=y | 113 | CONFIG_KALLSYMS=y |
107 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 114 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
109 | CONFIG_HOTPLUG=y | 115 | CONFIG_HOTPLUG=y |
110 | CONFIG_PRINTK=y | 116 | CONFIG_PRINTK=y |
111 | CONFIG_BUG=y | 117 | CONFIG_BUG=y |
@@ -118,6 +124,13 @@ CONFIG_TIMERFD=y | |||
118 | CONFIG_EVENTFD=y | 124 | CONFIG_EVENTFD=y |
119 | CONFIG_SHMEM=y | 125 | CONFIG_SHMEM=y |
120 | CONFIG_AIO=y | 126 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_EVENTS=y | ||
128 | |||
129 | # | ||
130 | # Kernel Performance Events And Counters | ||
131 | # | ||
132 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | ||
121 | # CONFIG_VM_EVENT_COUNTERS is not set | 134 | # CONFIG_VM_EVENT_COUNTERS is not set |
122 | CONFIG_PCI_QUIRKS=y | 135 | CONFIG_PCI_QUIRKS=y |
123 | CONFIG_COMPAT_BRK=y | 136 | CONFIG_COMPAT_BRK=y |
@@ -125,7 +138,6 @@ CONFIG_SLAB=y | |||
125 | # CONFIG_SLUB is not set | 138 | # CONFIG_SLUB is not set |
126 | # CONFIG_SLOB is not set | 139 | # CONFIG_SLOB is not set |
127 | # CONFIG_PROFILING is not set | 140 | # CONFIG_PROFILING is not set |
128 | # CONFIG_MARKERS is not set | ||
129 | CONFIG_HAVE_OPROFILE=y | 141 | CONFIG_HAVE_OPROFILE=y |
130 | # CONFIG_KPROBES is not set | 142 | # CONFIG_KPROBES is not set |
131 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 143 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
@@ -133,7 +145,13 @@ CONFIG_HAVE_IOREMAP_PROT=y | |||
133 | CONFIG_HAVE_KPROBES=y | 145 | CONFIG_HAVE_KPROBES=y |
134 | CONFIG_HAVE_KRETPROBES=y | 146 | CONFIG_HAVE_KRETPROBES=y |
135 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 147 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
148 | CONFIG_HAVE_DMA_ATTRS=y | ||
136 | CONFIG_HAVE_CLK=y | 149 | CONFIG_HAVE_CLK=y |
150 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
151 | |||
152 | # | ||
153 | # GCOV-based kernel profiling | ||
154 | # | ||
137 | # CONFIG_SLOW_WORK is not set | 155 | # CONFIG_SLOW_WORK is not set |
138 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 156 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
139 | CONFIG_SLABINFO=y | 157 | CONFIG_SLABINFO=y |
@@ -146,7 +164,7 @@ CONFIG_MODULE_UNLOAD=y | |||
146 | # CONFIG_MODVERSIONS is not set | 164 | # CONFIG_MODVERSIONS is not set |
147 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 165 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
148 | CONFIG_BLOCK=y | 166 | CONFIG_BLOCK=y |
149 | # CONFIG_LBD is not set | 167 | CONFIG_LBDAF=y |
150 | # CONFIG_BLK_DEV_BSG is not set | 168 | # CONFIG_BLK_DEV_BSG is not set |
151 | # CONFIG_BLK_DEV_INTEGRITY is not set | 169 | # CONFIG_BLK_DEV_INTEGRITY is not set |
152 | 170 | ||
@@ -227,11 +245,13 @@ CONFIG_BINFMT_ELF=y | |||
227 | # CONFIG_HAVE_AOUT is not set | 245 | # CONFIG_HAVE_AOUT is not set |
228 | # CONFIG_BINFMT_MISC is not set | 246 | # CONFIG_BINFMT_MISC is not set |
229 | # CONFIG_IOMMU_HELPER is not set | 247 | # CONFIG_IOMMU_HELPER is not set |
248 | # CONFIG_SWIOTLB is not set | ||
230 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 249 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
231 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 250 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
232 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 251 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
233 | # CONFIG_KEXEC is not set | 252 | # CONFIG_KEXEC is not set |
234 | # CONFIG_CRASH_DUMP is not set | 253 | # CONFIG_CRASH_DUMP is not set |
254 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
235 | CONFIG_ARCH_FLATMEM_ENABLE=y | 255 | CONFIG_ARCH_FLATMEM_ENABLE=y |
236 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 256 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
237 | CONFIG_SELECT_MEMORY_MODEL=y | 257 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -247,9 +267,10 @@ CONFIG_MIGRATION=y | |||
247 | CONFIG_ZONE_DMA_FLAG=1 | 267 | CONFIG_ZONE_DMA_FLAG=1 |
248 | CONFIG_BOUNCE=y | 268 | CONFIG_BOUNCE=y |
249 | CONFIG_VIRT_TO_BUS=y | 269 | CONFIG_VIRT_TO_BUS=y |
250 | CONFIG_UNEVICTABLE_LRU=y | ||
251 | CONFIG_HAVE_MLOCK=y | 270 | CONFIG_HAVE_MLOCK=y |
252 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 271 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
272 | # CONFIG_KSM is not set | ||
273 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
253 | CONFIG_PPC_4K_PAGES=y | 274 | CONFIG_PPC_4K_PAGES=y |
254 | # CONFIG_PPC_16K_PAGES is not set | 275 | # CONFIG_PPC_16K_PAGES is not set |
255 | # CONFIG_PPC_64K_PAGES is not set | 276 | # CONFIG_PPC_64K_PAGES is not set |
@@ -336,6 +357,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
336 | # CONFIG_NETFILTER is not set | 357 | # CONFIG_NETFILTER is not set |
337 | # CONFIG_IP_DCCP is not set | 358 | # CONFIG_IP_DCCP is not set |
338 | # CONFIG_IP_SCTP is not set | 359 | # CONFIG_IP_SCTP is not set |
360 | # CONFIG_RDS is not set | ||
339 | # CONFIG_TIPC is not set | 361 | # CONFIG_TIPC is not set |
340 | # CONFIG_ATM is not set | 362 | # CONFIG_ATM is not set |
341 | # CONFIG_BRIDGE is not set | 363 | # CONFIG_BRIDGE is not set |
@@ -350,6 +372,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
350 | # CONFIG_ECONET is not set | 372 | # CONFIG_ECONET is not set |
351 | # CONFIG_WAN_ROUTER is not set | 373 | # CONFIG_WAN_ROUTER is not set |
352 | # CONFIG_PHONET is not set | 374 | # CONFIG_PHONET is not set |
375 | # CONFIG_IEEE802154 is not set | ||
353 | # CONFIG_NET_SCHED is not set | 376 | # CONFIG_NET_SCHED is not set |
354 | # CONFIG_DCB is not set | 377 | # CONFIG_DCB is not set |
355 | 378 | ||
@@ -375,6 +398,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
375 | # Generic Driver Options | 398 | # Generic Driver Options |
376 | # | 399 | # |
377 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 400 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
401 | # CONFIG_DEVTMPFS is not set | ||
378 | CONFIG_STANDALONE=y | 402 | CONFIG_STANDALONE=y |
379 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 403 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
380 | # CONFIG_FW_LOADER is not set | 404 | # CONFIG_FW_LOADER is not set |
@@ -382,9 +406,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
382 | # CONFIG_CONNECTOR is not set | 406 | # CONFIG_CONNECTOR is not set |
383 | CONFIG_MTD=y | 407 | CONFIG_MTD=y |
384 | # CONFIG_MTD_DEBUG is not set | 408 | # CONFIG_MTD_DEBUG is not set |
409 | # CONFIG_MTD_TESTS is not set | ||
385 | # CONFIG_MTD_CONCAT is not set | 410 | # CONFIG_MTD_CONCAT is not set |
386 | CONFIG_MTD_PARTITIONS=y | 411 | CONFIG_MTD_PARTITIONS=y |
387 | # CONFIG_MTD_TESTS is not set | ||
388 | # CONFIG_MTD_REDBOOT_PARTS is not set | 412 | # CONFIG_MTD_REDBOOT_PARTS is not set |
389 | CONFIG_MTD_CMDLINE_PARTS=y | 413 | CONFIG_MTD_CMDLINE_PARTS=y |
390 | # CONFIG_MTD_OF_PARTS is not set | 414 | # CONFIG_MTD_OF_PARTS is not set |
@@ -467,6 +491,7 @@ CONFIG_MTD_PHYSMAP=y | |||
467 | # CONFIG_MTD_UBI is not set | 491 | # CONFIG_MTD_UBI is not set |
468 | CONFIG_OF_DEVICE=y | 492 | CONFIG_OF_DEVICE=y |
469 | CONFIG_OF_I2C=y | 493 | CONFIG_OF_I2C=y |
494 | CONFIG_OF_MDIO=y | ||
470 | # CONFIG_PARPORT is not set | 495 | # CONFIG_PARPORT is not set |
471 | # CONFIG_BLK_DEV is not set | 496 | # CONFIG_BLK_DEV is not set |
472 | # CONFIG_MISC_DEVICES is not set | 497 | # CONFIG_MISC_DEVICES is not set |
@@ -492,10 +517,6 @@ CONFIG_BLK_DEV_SD=m | |||
492 | # CONFIG_BLK_DEV_SR is not set | 517 | # CONFIG_BLK_DEV_SR is not set |
493 | # CONFIG_CHR_DEV_SG is not set | 518 | # CONFIG_CHR_DEV_SG is not set |
494 | # CONFIG_CHR_DEV_SCH is not set | 519 | # CONFIG_CHR_DEV_SCH is not set |
495 | |||
496 | # | ||
497 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
498 | # | ||
499 | # CONFIG_SCSI_MULTI_LUN is not set | 520 | # CONFIG_SCSI_MULTI_LUN is not set |
500 | # CONFIG_SCSI_CONSTANTS is not set | 521 | # CONFIG_SCSI_CONSTANTS is not set |
501 | # CONFIG_SCSI_LOGGING is not set | 522 | # CONFIG_SCSI_LOGGING is not set |
@@ -515,6 +536,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
515 | # CONFIG_SCSI_OSD_INITIATOR is not set | 536 | # CONFIG_SCSI_OSD_INITIATOR is not set |
516 | CONFIG_ATA=m | 537 | CONFIG_ATA=m |
517 | # CONFIG_ATA_NONSTANDARD is not set | 538 | # CONFIG_ATA_NONSTANDARD is not set |
539 | CONFIG_ATA_VERBOSE_ERROR=y | ||
518 | CONFIG_SATA_PMP=y | 540 | CONFIG_SATA_PMP=y |
519 | # CONFIG_SATA_AHCI is not set | 541 | # CONFIG_SATA_AHCI is not set |
520 | # CONFIG_SATA_SIL24 is not set | 542 | # CONFIG_SATA_SIL24 is not set |
@@ -536,6 +558,7 @@ CONFIG_ATA_SFF=y | |||
536 | # CONFIG_PATA_ALI is not set | 558 | # CONFIG_PATA_ALI is not set |
537 | # CONFIG_PATA_AMD is not set | 559 | # CONFIG_PATA_AMD is not set |
538 | # CONFIG_PATA_ARTOP is not set | 560 | # CONFIG_PATA_ARTOP is not set |
561 | # CONFIG_PATA_ATP867X is not set | ||
539 | # CONFIG_PATA_ATIIXP is not set | 562 | # CONFIG_PATA_ATIIXP is not set |
540 | # CONFIG_PATA_CMD640_PCI is not set | 563 | # CONFIG_PATA_CMD640_PCI is not set |
541 | # CONFIG_PATA_CMD64X is not set | 564 | # CONFIG_PATA_CMD64X is not set |
@@ -564,6 +587,7 @@ CONFIG_PATA_MPC52xx=m | |||
564 | # CONFIG_PATA_OPTIDMA is not set | 587 | # CONFIG_PATA_OPTIDMA is not set |
565 | # CONFIG_PATA_PDC_OLD is not set | 588 | # CONFIG_PATA_PDC_OLD is not set |
566 | # CONFIG_PATA_RADISYS is not set | 589 | # CONFIG_PATA_RADISYS is not set |
590 | # CONFIG_PATA_RDC is not set | ||
567 | # CONFIG_PATA_RZ1000 is not set | 591 | # CONFIG_PATA_RZ1000 is not set |
568 | # CONFIG_PATA_SC1200 is not set | 592 | # CONFIG_PATA_SC1200 is not set |
569 | # CONFIG_PATA_SERVERWORKS is not set | 593 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -582,14 +606,17 @@ CONFIG_PATA_MPC52xx=m | |||
582 | # | 606 | # |
583 | 607 | ||
584 | # | 608 | # |
585 | # Enable only one of the two stacks, unless you know what you are doing | 609 | # You can enable one or both FireWire driver stacks. |
610 | # | ||
611 | |||
612 | # | ||
613 | # See the help texts for more information. | ||
586 | # | 614 | # |
587 | # CONFIG_FIREWIRE is not set | 615 | # CONFIG_FIREWIRE is not set |
588 | # CONFIG_IEEE1394 is not set | 616 | # CONFIG_IEEE1394 is not set |
589 | # CONFIG_I2O is not set | 617 | # CONFIG_I2O is not set |
590 | # CONFIG_MACINTOSH_DRIVERS is not set | 618 | # CONFIG_MACINTOSH_DRIVERS is not set |
591 | CONFIG_NETDEVICES=y | 619 | CONFIG_NETDEVICES=y |
592 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
593 | # CONFIG_DUMMY is not set | 620 | # CONFIG_DUMMY is not set |
594 | # CONFIG_BONDING is not set | 621 | # CONFIG_BONDING is not set |
595 | # CONFIG_MACVLAN is not set | 622 | # CONFIG_MACVLAN is not set |
@@ -636,16 +663,16 @@ CONFIG_MII=y | |||
636 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 663 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
637 | # CONFIG_NET_PCI is not set | 664 | # CONFIG_NET_PCI is not set |
638 | # CONFIG_B44 is not set | 665 | # CONFIG_B44 is not set |
666 | # CONFIG_KS8842 is not set | ||
667 | # CONFIG_KS8851_MLL is not set | ||
639 | CONFIG_FEC_MPC52xx=y | 668 | CONFIG_FEC_MPC52xx=y |
640 | CONFIG_FEC_MPC52xx_MDIO=y | 669 | CONFIG_FEC_MPC52xx_MDIO=y |
641 | # CONFIG_ATL2 is not set | 670 | # CONFIG_ATL2 is not set |
671 | # CONFIG_XILINX_EMACLITE is not set | ||
642 | # CONFIG_NETDEV_1000 is not set | 672 | # CONFIG_NETDEV_1000 is not set |
643 | # CONFIG_NETDEV_10000 is not set | 673 | # CONFIG_NETDEV_10000 is not set |
644 | # CONFIG_TR is not set | 674 | # CONFIG_TR is not set |
645 | 675 | CONFIG_WLAN=y | |
646 | # | ||
647 | # Wireless LAN | ||
648 | # | ||
649 | # CONFIG_WLAN_PRE80211 is not set | 676 | # CONFIG_WLAN_PRE80211 is not set |
650 | # CONFIG_WLAN_80211 is not set | 677 | # CONFIG_WLAN_80211 is not set |
651 | 678 | ||
@@ -722,6 +749,7 @@ CONFIG_HW_RANDOM=y | |||
722 | CONFIG_DEVPORT=y | 749 | CONFIG_DEVPORT=y |
723 | CONFIG_I2C=y | 750 | CONFIG_I2C=y |
724 | CONFIG_I2C_BOARDINFO=y | 751 | CONFIG_I2C_BOARDINFO=y |
752 | CONFIG_I2C_COMPAT=y | ||
725 | CONFIG_I2C_CHARDEV=y | 753 | CONFIG_I2C_CHARDEV=y |
726 | CONFIG_I2C_HELPER_AUTO=y | 754 | CONFIG_I2C_HELPER_AUTO=y |
727 | 755 | ||
@@ -750,6 +778,7 @@ CONFIG_I2C_HELPER_AUTO=y | |||
750 | # | 778 | # |
751 | # I2C system bus drivers (mostly embedded / system-on-chip) | 779 | # I2C system bus drivers (mostly embedded / system-on-chip) |
752 | # | 780 | # |
781 | # CONFIG_I2C_DESIGNWARE is not set | ||
753 | CONFIG_I2C_MPC=y | 782 | CONFIG_I2C_MPC=y |
754 | # CONFIG_I2C_OCORES is not set | 783 | # CONFIG_I2C_OCORES is not set |
755 | # CONFIG_I2C_SIMTEC is not set | 784 | # CONFIG_I2C_SIMTEC is not set |
@@ -776,23 +805,23 @@ CONFIG_I2C_MPC=y | |||
776 | # Miscellaneous I2C Chip support | 805 | # Miscellaneous I2C Chip support |
777 | # | 806 | # |
778 | # CONFIG_DS1682 is not set | 807 | # CONFIG_DS1682 is not set |
779 | # CONFIG_SENSORS_PCF8574 is not set | ||
780 | # CONFIG_PCF8575 is not set | ||
781 | # CONFIG_SENSORS_PCA9539 is not set | ||
782 | # CONFIG_SENSORS_MAX6875 is not set | ||
783 | # CONFIG_SENSORS_TSL2550 is not set | 808 | # CONFIG_SENSORS_TSL2550 is not set |
784 | # CONFIG_I2C_DEBUG_CORE is not set | 809 | # CONFIG_I2C_DEBUG_CORE is not set |
785 | # CONFIG_I2C_DEBUG_ALGO is not set | 810 | # CONFIG_I2C_DEBUG_ALGO is not set |
786 | # CONFIG_I2C_DEBUG_BUS is not set | 811 | # CONFIG_I2C_DEBUG_BUS is not set |
787 | # CONFIG_I2C_DEBUG_CHIP is not set | 812 | # CONFIG_I2C_DEBUG_CHIP is not set |
788 | # CONFIG_SPI is not set | 813 | # CONFIG_SPI is not set |
814 | |||
815 | # | ||
816 | # PPS support | ||
817 | # | ||
818 | # CONFIG_PPS is not set | ||
789 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 819 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
790 | # CONFIG_GPIOLIB is not set | 820 | # CONFIG_GPIOLIB is not set |
791 | # CONFIG_W1 is not set | 821 | # CONFIG_W1 is not set |
792 | # CONFIG_POWER_SUPPLY is not set | 822 | # CONFIG_POWER_SUPPLY is not set |
793 | # CONFIG_HWMON is not set | 823 | # CONFIG_HWMON is not set |
794 | # CONFIG_THERMAL is not set | 824 | # CONFIG_THERMAL is not set |
795 | # CONFIG_THERMAL_HWMON is not set | ||
796 | # CONFIG_WATCHDOG is not set | 825 | # CONFIG_WATCHDOG is not set |
797 | CONFIG_SSB_POSSIBLE=y | 826 | CONFIG_SSB_POSSIBLE=y |
798 | 827 | ||
@@ -811,30 +840,18 @@ CONFIG_SSB_POSSIBLE=y | |||
811 | # CONFIG_MFD_TMIO is not set | 840 | # CONFIG_MFD_TMIO is not set |
812 | # CONFIG_PMIC_DA903X is not set | 841 | # CONFIG_PMIC_DA903X is not set |
813 | # CONFIG_MFD_WM8400 is not set | 842 | # CONFIG_MFD_WM8400 is not set |
843 | # CONFIG_MFD_WM831X is not set | ||
814 | # CONFIG_MFD_WM8350_I2C is not set | 844 | # CONFIG_MFD_WM8350_I2C is not set |
815 | # CONFIG_MFD_PCF50633 is not set | 845 | # CONFIG_MFD_PCF50633 is not set |
846 | # CONFIG_AB3100_CORE is not set | ||
816 | # CONFIG_REGULATOR is not set | 847 | # CONFIG_REGULATOR is not set |
817 | 848 | # CONFIG_MEDIA_SUPPORT is not set | |
818 | # | ||
819 | # Multimedia devices | ||
820 | # | ||
821 | |||
822 | # | ||
823 | # Multimedia core support | ||
824 | # | ||
825 | # CONFIG_VIDEO_DEV is not set | ||
826 | # CONFIG_DVB_CORE is not set | ||
827 | # CONFIG_VIDEO_MEDIA is not set | ||
828 | |||
829 | # | ||
830 | # Multimedia drivers | ||
831 | # | ||
832 | # CONFIG_DAB is not set | ||
833 | 849 | ||
834 | # | 850 | # |
835 | # Graphics support | 851 | # Graphics support |
836 | # | 852 | # |
837 | # CONFIG_AGP is not set | 853 | # CONFIG_AGP is not set |
854 | CONFIG_VGA_ARB=y | ||
838 | # CONFIG_DRM is not set | 855 | # CONFIG_DRM is not set |
839 | # CONFIG_VGASTATE is not set | 856 | # CONFIG_VGASTATE is not set |
840 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 857 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
@@ -871,15 +888,17 @@ CONFIG_USB_DEVICEFS=y | |||
871 | # USB Host Controller Drivers | 888 | # USB Host Controller Drivers |
872 | # | 889 | # |
873 | # CONFIG_USB_C67X00_HCD is not set | 890 | # CONFIG_USB_C67X00_HCD is not set |
891 | # CONFIG_USB_XHCI_HCD is not set | ||
874 | # CONFIG_USB_EHCI_HCD is not set | 892 | # CONFIG_USB_EHCI_HCD is not set |
875 | # CONFIG_USB_OXU210HP_HCD is not set | 893 | # CONFIG_USB_OXU210HP_HCD is not set |
876 | # CONFIG_USB_ISP116X_HCD is not set | 894 | # CONFIG_USB_ISP116X_HCD is not set |
877 | # CONFIG_USB_ISP1760_HCD is not set | 895 | # CONFIG_USB_ISP1760_HCD is not set |
896 | # CONFIG_USB_ISP1362_HCD is not set | ||
878 | CONFIG_USB_OHCI_HCD=m | 897 | CONFIG_USB_OHCI_HCD=m |
879 | # CONFIG_USB_OHCI_HCD_PPC_SOC is not set | 898 | # CONFIG_USB_OHCI_HCD_PPC_SOC is not set |
880 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
881 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 899 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
882 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 900 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
901 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
883 | # CONFIG_USB_OHCI_HCD_PCI is not set | 902 | # CONFIG_USB_OHCI_HCD_PCI is not set |
884 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | 903 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y |
885 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | 904 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y |
@@ -995,6 +1014,7 @@ CONFIG_RTC_DRV_PCF8563=m | |||
995 | # CONFIG_RTC_DRV_S35390A is not set | 1014 | # CONFIG_RTC_DRV_S35390A is not set |
996 | # CONFIG_RTC_DRV_FM3130 is not set | 1015 | # CONFIG_RTC_DRV_FM3130 is not set |
997 | # CONFIG_RTC_DRV_RX8581 is not set | 1016 | # CONFIG_RTC_DRV_RX8581 is not set |
1017 | # CONFIG_RTC_DRV_RX8025 is not set | ||
998 | 1018 | ||
999 | # | 1019 | # |
1000 | # SPI RTC drivers | 1020 | # SPI RTC drivers |
@@ -1022,6 +1042,10 @@ CONFIG_RTC_DRV_PCF8563=m | |||
1022 | # CONFIG_DMADEVICES is not set | 1042 | # CONFIG_DMADEVICES is not set |
1023 | # CONFIG_AUXDISPLAY is not set | 1043 | # CONFIG_AUXDISPLAY is not set |
1024 | # CONFIG_UIO is not set | 1044 | # CONFIG_UIO is not set |
1045 | |||
1046 | # | ||
1047 | # TI VLYNQ | ||
1048 | # | ||
1025 | # CONFIG_STAGING is not set | 1049 | # CONFIG_STAGING is not set |
1026 | 1050 | ||
1027 | # | 1051 | # |
@@ -1041,12 +1065,16 @@ CONFIG_FS_MBCACHE=m | |||
1041 | # CONFIG_REISERFS_FS is not set | 1065 | # CONFIG_REISERFS_FS is not set |
1042 | # CONFIG_JFS_FS is not set | 1066 | # CONFIG_JFS_FS is not set |
1043 | # CONFIG_FS_POSIX_ACL is not set | 1067 | # CONFIG_FS_POSIX_ACL is not set |
1044 | CONFIG_FILE_LOCKING=y | ||
1045 | # CONFIG_XFS_FS is not set | 1068 | # CONFIG_XFS_FS is not set |
1069 | # CONFIG_GFS2_FS is not set | ||
1046 | # CONFIG_OCFS2_FS is not set | 1070 | # CONFIG_OCFS2_FS is not set |
1047 | # CONFIG_BTRFS_FS is not set | 1071 | # CONFIG_BTRFS_FS is not set |
1072 | # CONFIG_NILFS2_FS is not set | ||
1073 | CONFIG_FILE_LOCKING=y | ||
1074 | CONFIG_FSNOTIFY=y | ||
1048 | # CONFIG_DNOTIFY is not set | 1075 | # CONFIG_DNOTIFY is not set |
1049 | # CONFIG_INOTIFY is not set | 1076 | # CONFIG_INOTIFY is not set |
1077 | CONFIG_INOTIFY_USER=y | ||
1050 | # CONFIG_QUOTA is not set | 1078 | # CONFIG_QUOTA is not set |
1051 | # CONFIG_AUTOFS_FS is not set | 1079 | # CONFIG_AUTOFS_FS is not set |
1052 | # CONFIG_AUTOFS4_FS is not set | 1080 | # CONFIG_AUTOFS4_FS is not set |
@@ -1114,7 +1142,6 @@ CONFIG_JFFS2_RTIME=y | |||
1114 | # CONFIG_ROMFS_FS is not set | 1142 | # CONFIG_ROMFS_FS is not set |
1115 | # CONFIG_SYSV_FS is not set | 1143 | # CONFIG_SYSV_FS is not set |
1116 | # CONFIG_UFS_FS is not set | 1144 | # CONFIG_UFS_FS is not set |
1117 | # CONFIG_NILFS2_FS is not set | ||
1118 | CONFIG_NETWORK_FILESYSTEMS=y | 1145 | CONFIG_NETWORK_FILESYSTEMS=y |
1119 | CONFIG_NFS_FS=y | 1146 | CONFIG_NFS_FS=y |
1120 | CONFIG_NFS_V3=y | 1147 | CONFIG_NFS_V3=y |
@@ -1201,6 +1228,7 @@ CONFIG_HAS_IOPORT=y | |||
1201 | CONFIG_HAS_DMA=y | 1228 | CONFIG_HAS_DMA=y |
1202 | CONFIG_HAVE_LMB=y | 1229 | CONFIG_HAVE_LMB=y |
1203 | CONFIG_NLATTR=y | 1230 | CONFIG_NLATTR=y |
1231 | CONFIG_GENERIC_ATOMIC64=y | ||
1204 | 1232 | ||
1205 | # | 1233 | # |
1206 | # Kernel hacking | 1234 | # Kernel hacking |
@@ -1210,6 +1238,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1210 | CONFIG_ENABLE_MUST_CHECK=y | 1238 | CONFIG_ENABLE_MUST_CHECK=y |
1211 | CONFIG_FRAME_WARN=1024 | 1239 | CONFIG_FRAME_WARN=1024 |
1212 | # CONFIG_MAGIC_SYSRQ is not set | 1240 | # CONFIG_MAGIC_SYSRQ is not set |
1241 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1213 | # CONFIG_UNUSED_SYMBOLS is not set | 1242 | # CONFIG_UNUSED_SYMBOLS is not set |
1214 | # CONFIG_DEBUG_FS is not set | 1243 | # CONFIG_DEBUG_FS is not set |
1215 | # CONFIG_HEADERS_CHECK is not set | 1244 | # CONFIG_HEADERS_CHECK is not set |
@@ -1223,23 +1252,12 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | |||
1223 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1252 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
1224 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1253 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1225 | CONFIG_TRACING_SUPPORT=y | 1254 | CONFIG_TRACING_SUPPORT=y |
1226 | 1255 | # CONFIG_FTRACE is not set | |
1227 | # | 1256 | # CONFIG_DMA_API_DEBUG is not set |
1228 | # Tracers | ||
1229 | # | ||
1230 | # CONFIG_FUNCTION_TRACER is not set | ||
1231 | # CONFIG_PREEMPT_TRACER is not set | ||
1232 | # CONFIG_SCHED_TRACER is not set | ||
1233 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1234 | # CONFIG_EVENT_TRACER is not set | ||
1235 | # CONFIG_BOOT_TRACER is not set | ||
1236 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1237 | # CONFIG_STACK_TRACER is not set | ||
1238 | # CONFIG_KMEMTRACE is not set | ||
1239 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1240 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1241 | # CONFIG_SAMPLES is not set | 1257 | # CONFIG_SAMPLES is not set |
1242 | CONFIG_HAVE_ARCH_KGDB=y | 1258 | CONFIG_HAVE_ARCH_KGDB=y |
1259 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
1260 | CONFIG_PPC_WERROR=y | ||
1243 | CONFIG_PRINT_STACK_DEPTH=64 | 1261 | CONFIG_PRINT_STACK_DEPTH=64 |
1244 | # CONFIG_IRQSTACKS is not set | 1262 | # CONFIG_IRQSTACKS is not set |
1245 | # CONFIG_BOOTX_TEXT is not set | 1263 | # CONFIG_BOOTX_TEXT is not set |
diff --git a/arch/powerpc/configs/52xx/tqm5200_defconfig b/arch/powerpc/configs/52xx/tqm5200_defconfig index 8585c7c12861..75c835c2ae66 100644 --- a/arch/powerpc/configs/52xx/tqm5200_defconfig +++ b/arch/powerpc/configs/52xx/tqm5200_defconfig | |||
@@ -1,25 +1,27 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc2 | 3 | # Linux kernel version: 2.6.32-rc4 |
4 | # Sat Apr 18 00:48:57 2009 | 4 | # Thu Oct 15 10:33:23 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
8 | # | 8 | # |
9 | # Processor support | 9 | # Processor support |
10 | # | 10 | # |
11 | CONFIG_6xx=y | 11 | CONFIG_PPC_BOOK3S_32=y |
12 | # CONFIG_PPC_85xx is not set | 12 | # CONFIG_PPC_85xx is not set |
13 | # CONFIG_PPC_8xx is not set | 13 | # CONFIG_PPC_8xx is not set |
14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_PPC_BOOK3S=y | 17 | CONFIG_PPC_BOOK3S=y |
18 | CONFIG_6xx=y | ||
18 | CONFIG_PPC_FPU=y | 19 | CONFIG_PPC_FPU=y |
19 | # CONFIG_ALTIVEC is not set | 20 | # CONFIG_ALTIVEC is not set |
20 | CONFIG_PPC_STD_MMU=y | 21 | CONFIG_PPC_STD_MMU=y |
21 | CONFIG_PPC_STD_MMU_32=y | 22 | CONFIG_PPC_STD_MMU_32=y |
22 | # CONFIG_PPC_MM_SLICES is not set | 23 | # CONFIG_PPC_MM_SLICES is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
23 | # CONFIG_SMP is not set | 25 | # CONFIG_SMP is not set |
24 | CONFIG_PPC32=y | 26 | CONFIG_PPC32=y |
25 | CONFIG_WORD_SIZE=32 | 27 | CONFIG_WORD_SIZE=32 |
@@ -30,15 +32,17 @@ CONFIG_GENERIC_TIME=y | |||
30 | CONFIG_GENERIC_TIME_VSYSCALL=y | 32 | CONFIG_GENERIC_TIME_VSYSCALL=y |
31 | CONFIG_GENERIC_CLOCKEVENTS=y | 33 | CONFIG_GENERIC_CLOCKEVENTS=y |
32 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
33 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
34 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
35 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
41 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
37 | CONFIG_LOCKDEP_SUPPORT=y | 42 | CONFIG_LOCKDEP_SUPPORT=y |
38 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 43 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
39 | CONFIG_ARCH_HAS_ILOG2_U32=y | 44 | CONFIG_ARCH_HAS_ILOG2_U32=y |
40 | CONFIG_GENERIC_HWEIGHT=y | 45 | CONFIG_GENERIC_HWEIGHT=y |
41 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
42 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 46 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
43 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 47 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
44 | CONFIG_PPC=y | 48 | CONFIG_PPC=y |
@@ -52,11 +56,13 @@ CONFIG_OF=y | |||
52 | # CONFIG_GENERIC_TBSYNC is not set | 56 | # CONFIG_GENERIC_TBSYNC is not set |
53 | CONFIG_AUDIT_ARCH=y | 57 | CONFIG_AUDIT_ARCH=y |
54 | CONFIG_GENERIC_BUG=y | 58 | CONFIG_GENERIC_BUG=y |
59 | CONFIG_DTC=y | ||
55 | CONFIG_DEFAULT_UIMAGE=y | 60 | CONFIG_DEFAULT_UIMAGE=y |
56 | # CONFIG_PPC_DCR_NATIVE is not set | 61 | # CONFIG_PPC_DCR_NATIVE is not set |
57 | # CONFIG_PPC_DCR_MMIO is not set | 62 | # CONFIG_PPC_DCR_MMIO is not set |
58 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | 63 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y |
59 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 64 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
65 | CONFIG_CONSTRUCTORS=y | ||
60 | 66 | ||
61 | # | 67 | # |
62 | # General setup | 68 | # General setup |
@@ -77,11 +83,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
77 | # | 83 | # |
78 | # RCU Subsystem | 84 | # RCU Subsystem |
79 | # | 85 | # |
80 | CONFIG_CLASSIC_RCU=y | 86 | CONFIG_TREE_RCU=y |
81 | # CONFIG_TREE_RCU is not set | 87 | # CONFIG_TREE_PREEMPT_RCU is not set |
82 | # CONFIG_PREEMPT_RCU is not set | 88 | # CONFIG_RCU_TRACE is not set |
89 | CONFIG_RCU_FANOUT=32 | ||
90 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
83 | # CONFIG_TREE_RCU_TRACE is not set | 91 | # CONFIG_TREE_RCU_TRACE is not set |
84 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
85 | # CONFIG_IKCONFIG is not set | 92 | # CONFIG_IKCONFIG is not set |
86 | CONFIG_LOG_BUF_SHIFT=14 | 93 | CONFIG_LOG_BUF_SHIFT=14 |
87 | CONFIG_GROUP_SCHED=y | 94 | CONFIG_GROUP_SCHED=y |
@@ -105,7 +112,6 @@ CONFIG_ANON_INODES=y | |||
105 | CONFIG_EMBEDDED=y | 112 | CONFIG_EMBEDDED=y |
106 | # CONFIG_SYSCTL_SYSCALL is not set | 113 | # CONFIG_SYSCTL_SYSCALL is not set |
107 | # CONFIG_KALLSYMS is not set | 114 | # CONFIG_KALLSYMS is not set |
108 | # CONFIG_STRIP_ASM_SYMS is not set | ||
109 | CONFIG_HOTPLUG=y | 115 | CONFIG_HOTPLUG=y |
110 | CONFIG_PRINTK=y | 116 | CONFIG_PRINTK=y |
111 | CONFIG_BUG=y | 117 | CONFIG_BUG=y |
@@ -118,6 +124,13 @@ CONFIG_TIMERFD=y | |||
118 | CONFIG_EVENTFD=y | 124 | CONFIG_EVENTFD=y |
119 | CONFIG_SHMEM=y | 125 | CONFIG_SHMEM=y |
120 | CONFIG_AIO=y | 126 | CONFIG_AIO=y |
127 | CONFIG_HAVE_PERF_EVENTS=y | ||
128 | |||
129 | # | ||
130 | # Kernel Performance Events And Counters | ||
131 | # | ||
132 | # CONFIG_PERF_EVENTS is not set | ||
133 | # CONFIG_PERF_COUNTERS is not set | ||
121 | CONFIG_VM_EVENT_COUNTERS=y | 134 | CONFIG_VM_EVENT_COUNTERS=y |
122 | CONFIG_SLUB_DEBUG=y | 135 | CONFIG_SLUB_DEBUG=y |
123 | CONFIG_COMPAT_BRK=y | 136 | CONFIG_COMPAT_BRK=y |
@@ -125,14 +138,19 @@ CONFIG_COMPAT_BRK=y | |||
125 | CONFIG_SLUB=y | 138 | CONFIG_SLUB=y |
126 | # CONFIG_SLOB is not set | 139 | # CONFIG_SLOB is not set |
127 | # CONFIG_PROFILING is not set | 140 | # CONFIG_PROFILING is not set |
128 | # CONFIG_MARKERS is not set | ||
129 | CONFIG_HAVE_OPROFILE=y | 141 | CONFIG_HAVE_OPROFILE=y |
130 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 142 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
131 | CONFIG_HAVE_IOREMAP_PROT=y | 143 | CONFIG_HAVE_IOREMAP_PROT=y |
132 | CONFIG_HAVE_KPROBES=y | 144 | CONFIG_HAVE_KPROBES=y |
133 | CONFIG_HAVE_KRETPROBES=y | 145 | CONFIG_HAVE_KRETPROBES=y |
134 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 146 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
147 | CONFIG_HAVE_DMA_ATTRS=y | ||
135 | CONFIG_HAVE_CLK=y | 148 | CONFIG_HAVE_CLK=y |
149 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
150 | |||
151 | # | ||
152 | # GCOV-based kernel profiling | ||
153 | # | ||
136 | # CONFIG_SLOW_WORK is not set | 154 | # CONFIG_SLOW_WORK is not set |
137 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 155 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
138 | CONFIG_SLABINFO=y | 156 | CONFIG_SLABINFO=y |
@@ -145,7 +163,7 @@ CONFIG_MODULE_UNLOAD=y | |||
145 | CONFIG_MODVERSIONS=y | 163 | CONFIG_MODVERSIONS=y |
146 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 164 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
147 | CONFIG_BLOCK=y | 165 | CONFIG_BLOCK=y |
148 | # CONFIG_LBD is not set | 166 | CONFIG_LBDAF=y |
149 | # CONFIG_BLK_DEV_BSG is not set | 167 | # CONFIG_BLK_DEV_BSG is not set |
150 | # CONFIG_BLK_DEV_INTEGRITY is not set | 168 | # CONFIG_BLK_DEV_INTEGRITY is not set |
151 | 169 | ||
@@ -225,11 +243,13 @@ CONFIG_BINFMT_ELF=y | |||
225 | # CONFIG_HAVE_AOUT is not set | 243 | # CONFIG_HAVE_AOUT is not set |
226 | # CONFIG_BINFMT_MISC is not set | 244 | # CONFIG_BINFMT_MISC is not set |
227 | # CONFIG_IOMMU_HELPER is not set | 245 | # CONFIG_IOMMU_HELPER is not set |
246 | # CONFIG_SWIOTLB is not set | ||
228 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 247 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
229 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 248 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
230 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 249 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
231 | # CONFIG_KEXEC is not set | 250 | # CONFIG_KEXEC is not set |
232 | # CONFIG_CRASH_DUMP is not set | 251 | # CONFIG_CRASH_DUMP is not set |
252 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
233 | CONFIG_ARCH_FLATMEM_ENABLE=y | 253 | CONFIG_ARCH_FLATMEM_ENABLE=y |
234 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 254 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
235 | CONFIG_SELECT_MEMORY_MODEL=y | 255 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -245,9 +265,10 @@ CONFIG_MIGRATION=y | |||
245 | CONFIG_ZONE_DMA_FLAG=1 | 265 | CONFIG_ZONE_DMA_FLAG=1 |
246 | CONFIG_BOUNCE=y | 266 | CONFIG_BOUNCE=y |
247 | CONFIG_VIRT_TO_BUS=y | 267 | CONFIG_VIRT_TO_BUS=y |
248 | CONFIG_UNEVICTABLE_LRU=y | ||
249 | CONFIG_HAVE_MLOCK=y | 268 | CONFIG_HAVE_MLOCK=y |
250 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 269 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
270 | # CONFIG_KSM is not set | ||
271 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
251 | CONFIG_PPC_4K_PAGES=y | 272 | CONFIG_PPC_4K_PAGES=y |
252 | # CONFIG_PPC_16K_PAGES is not set | 273 | # CONFIG_PPC_16K_PAGES is not set |
253 | # CONFIG_PPC_64K_PAGES is not set | 274 | # CONFIG_PPC_64K_PAGES is not set |
@@ -258,6 +279,7 @@ CONFIG_PROC_DEVICETREE=y | |||
258 | CONFIG_EXTRA_TARGETS="" | 279 | CONFIG_EXTRA_TARGETS="" |
259 | CONFIG_PM=y | 280 | CONFIG_PM=y |
260 | # CONFIG_PM_DEBUG is not set | 281 | # CONFIG_PM_DEBUG is not set |
282 | # CONFIG_PM_RUNTIME is not set | ||
261 | CONFIG_SECCOMP=y | 283 | CONFIG_SECCOMP=y |
262 | CONFIG_ISA_DMA_API=y | 284 | CONFIG_ISA_DMA_API=y |
263 | 285 | ||
@@ -334,6 +356,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
334 | # CONFIG_NETFILTER is not set | 356 | # CONFIG_NETFILTER is not set |
335 | # CONFIG_IP_DCCP is not set | 357 | # CONFIG_IP_DCCP is not set |
336 | # CONFIG_IP_SCTP is not set | 358 | # CONFIG_IP_SCTP is not set |
359 | # CONFIG_RDS is not set | ||
337 | # CONFIG_TIPC is not set | 360 | # CONFIG_TIPC is not set |
338 | # CONFIG_ATM is not set | 361 | # CONFIG_ATM is not set |
339 | # CONFIG_BRIDGE is not set | 362 | # CONFIG_BRIDGE is not set |
@@ -348,6 +371,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
348 | # CONFIG_ECONET is not set | 371 | # CONFIG_ECONET is not set |
349 | # CONFIG_WAN_ROUTER is not set | 372 | # CONFIG_WAN_ROUTER is not set |
350 | # CONFIG_PHONET is not set | 373 | # CONFIG_PHONET is not set |
374 | # CONFIG_IEEE802154 is not set | ||
351 | # CONFIG_NET_SCHED is not set | 375 | # CONFIG_NET_SCHED is not set |
352 | # CONFIG_DCB is not set | 376 | # CONFIG_DCB is not set |
353 | 377 | ||
@@ -373,6 +397,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
373 | # Generic Driver Options | 397 | # Generic Driver Options |
374 | # | 398 | # |
375 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 399 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
400 | # CONFIG_DEVTMPFS is not set | ||
376 | CONFIG_STANDALONE=y | 401 | CONFIG_STANDALONE=y |
377 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 402 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
378 | # CONFIG_FW_LOADER is not set | 403 | # CONFIG_FW_LOADER is not set |
@@ -382,9 +407,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
382 | # CONFIG_CONNECTOR is not set | 407 | # CONFIG_CONNECTOR is not set |
383 | CONFIG_MTD=y | 408 | CONFIG_MTD=y |
384 | # CONFIG_MTD_DEBUG is not set | 409 | # CONFIG_MTD_DEBUG is not set |
410 | # CONFIG_MTD_TESTS is not set | ||
385 | CONFIG_MTD_CONCAT=y | 411 | CONFIG_MTD_CONCAT=y |
386 | CONFIG_MTD_PARTITIONS=y | 412 | CONFIG_MTD_PARTITIONS=y |
387 | # CONFIG_MTD_TESTS is not set | ||
388 | # CONFIG_MTD_REDBOOT_PARTS is not set | 413 | # CONFIG_MTD_REDBOOT_PARTS is not set |
389 | CONFIG_MTD_CMDLINE_PARTS=y | 414 | CONFIG_MTD_CMDLINE_PARTS=y |
390 | # CONFIG_MTD_OF_PARTS is not set | 415 | # CONFIG_MTD_OF_PARTS is not set |
@@ -464,6 +489,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
464 | # CONFIG_MTD_UBI is not set | 489 | # CONFIG_MTD_UBI is not set |
465 | CONFIG_OF_DEVICE=y | 490 | CONFIG_OF_DEVICE=y |
466 | CONFIG_OF_I2C=y | 491 | CONFIG_OF_I2C=y |
492 | CONFIG_OF_MDIO=y | ||
467 | # CONFIG_PARPORT is not set | 493 | # CONFIG_PARPORT is not set |
468 | CONFIG_BLK_DEV=y | 494 | CONFIG_BLK_DEV=y |
469 | # CONFIG_BLK_DEV_FD is not set | 495 | # CONFIG_BLK_DEV_FD is not set |
@@ -502,10 +528,6 @@ CONFIG_BLK_DEV_SD=y | |||
502 | # CONFIG_BLK_DEV_SR is not set | 528 | # CONFIG_BLK_DEV_SR is not set |
503 | CONFIG_CHR_DEV_SG=y | 529 | CONFIG_CHR_DEV_SG=y |
504 | # CONFIG_CHR_DEV_SCH is not set | 530 | # CONFIG_CHR_DEV_SCH is not set |
505 | |||
506 | # | ||
507 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
508 | # | ||
509 | # CONFIG_SCSI_MULTI_LUN is not set | 531 | # CONFIG_SCSI_MULTI_LUN is not set |
510 | # CONFIG_SCSI_CONSTANTS is not set | 532 | # CONFIG_SCSI_CONSTANTS is not set |
511 | # CONFIG_SCSI_LOGGING is not set | 533 | # CONFIG_SCSI_LOGGING is not set |
@@ -529,6 +551,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
529 | # CONFIG_SCSI_OSD_INITIATOR is not set | 551 | # CONFIG_SCSI_OSD_INITIATOR is not set |
530 | CONFIG_ATA=y | 552 | CONFIG_ATA=y |
531 | # CONFIG_ATA_NONSTANDARD is not set | 553 | # CONFIG_ATA_NONSTANDARD is not set |
554 | CONFIG_ATA_VERBOSE_ERROR=y | ||
532 | CONFIG_SATA_PMP=y | 555 | CONFIG_SATA_PMP=y |
533 | CONFIG_ATA_SFF=y | 556 | CONFIG_ATA_SFF=y |
534 | # CONFIG_SATA_MV is not set | 557 | # CONFIG_SATA_MV is not set |
@@ -538,7 +561,6 @@ CONFIG_PATA_PLATFORM=y | |||
538 | # CONFIG_MD is not set | 561 | # CONFIG_MD is not set |
539 | # CONFIG_MACINTOSH_DRIVERS is not set | 562 | # CONFIG_MACINTOSH_DRIVERS is not set |
540 | CONFIG_NETDEVICES=y | 563 | CONFIG_NETDEVICES=y |
541 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
542 | # CONFIG_DUMMY is not set | 564 | # CONFIG_DUMMY is not set |
543 | # CONFIG_BONDING is not set | 565 | # CONFIG_BONDING is not set |
544 | # CONFIG_MACVLAN is not set | 566 | # CONFIG_MACVLAN is not set |
@@ -577,14 +599,14 @@ CONFIG_NET_ETHERNET=y | |||
577 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | 599 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set |
578 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 600 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
579 | # CONFIG_B44 is not set | 601 | # CONFIG_B44 is not set |
602 | # CONFIG_KS8842 is not set | ||
603 | # CONFIG_KS8851_MLL is not set | ||
580 | CONFIG_FEC_MPC52xx=y | 604 | CONFIG_FEC_MPC52xx=y |
581 | CONFIG_FEC_MPC52xx_MDIO=y | 605 | CONFIG_FEC_MPC52xx_MDIO=y |
606 | # CONFIG_XILINX_EMACLITE is not set | ||
582 | # CONFIG_NETDEV_1000 is not set | 607 | # CONFIG_NETDEV_1000 is not set |
583 | # CONFIG_NETDEV_10000 is not set | 608 | # CONFIG_NETDEV_10000 is not set |
584 | 609 | CONFIG_WLAN=y | |
585 | # | ||
586 | # Wireless LAN | ||
587 | # | ||
588 | # CONFIG_WLAN_PRE80211 is not set | 610 | # CONFIG_WLAN_PRE80211 is not set |
589 | # CONFIG_WLAN_80211 is not set | 611 | # CONFIG_WLAN_80211 is not set |
590 | 612 | ||
@@ -654,6 +676,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
654 | # CONFIG_TCG_TPM is not set | 676 | # CONFIG_TCG_TPM is not set |
655 | CONFIG_I2C=y | 677 | CONFIG_I2C=y |
656 | CONFIG_I2C_BOARDINFO=y | 678 | CONFIG_I2C_BOARDINFO=y |
679 | CONFIG_I2C_COMPAT=y | ||
657 | CONFIG_I2C_CHARDEV=y | 680 | CONFIG_I2C_CHARDEV=y |
658 | CONFIG_I2C_HELPER_AUTO=y | 681 | CONFIG_I2C_HELPER_AUTO=y |
659 | 682 | ||
@@ -664,6 +687,7 @@ CONFIG_I2C_HELPER_AUTO=y | |||
664 | # | 687 | # |
665 | # I2C system bus drivers (mostly embedded / system-on-chip) | 688 | # I2C system bus drivers (mostly embedded / system-on-chip) |
666 | # | 689 | # |
690 | # CONFIG_I2C_DESIGNWARE is not set | ||
667 | CONFIG_I2C_MPC=y | 691 | CONFIG_I2C_MPC=y |
668 | # CONFIG_I2C_OCORES is not set | 692 | # CONFIG_I2C_OCORES is not set |
669 | # CONFIG_I2C_SIMTEC is not set | 693 | # CONFIG_I2C_SIMTEC is not set |
@@ -685,22 +709,28 @@ CONFIG_I2C_MPC=y | |||
685 | # Miscellaneous I2C Chip support | 709 | # Miscellaneous I2C Chip support |
686 | # | 710 | # |
687 | # CONFIG_DS1682 is not set | 711 | # CONFIG_DS1682 is not set |
688 | # CONFIG_SENSORS_PCF8574 is not set | ||
689 | # CONFIG_PCF8575 is not set | ||
690 | # CONFIG_SENSORS_PCA9539 is not set | ||
691 | # CONFIG_SENSORS_MAX6875 is not set | ||
692 | # CONFIG_SENSORS_TSL2550 is not set | 712 | # CONFIG_SENSORS_TSL2550 is not set |
693 | # CONFIG_I2C_DEBUG_CORE is not set | 713 | # CONFIG_I2C_DEBUG_CORE is not set |
694 | # CONFIG_I2C_DEBUG_ALGO is not set | 714 | # CONFIG_I2C_DEBUG_ALGO is not set |
695 | # CONFIG_I2C_DEBUG_BUS is not set | 715 | # CONFIG_I2C_DEBUG_BUS is not set |
696 | # CONFIG_I2C_DEBUG_CHIP is not set | 716 | # CONFIG_I2C_DEBUG_CHIP is not set |
697 | # CONFIG_SPI is not set | 717 | # CONFIG_SPI is not set |
718 | |||
719 | # | ||
720 | # PPS support | ||
721 | # | ||
722 | # CONFIG_PPS is not set | ||
698 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 723 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
699 | # CONFIG_GPIOLIB is not set | 724 | # CONFIG_GPIOLIB is not set |
700 | # CONFIG_W1 is not set | 725 | # CONFIG_W1 is not set |
701 | # CONFIG_POWER_SUPPLY is not set | 726 | # CONFIG_POWER_SUPPLY is not set |
702 | CONFIG_HWMON=y | 727 | CONFIG_HWMON=y |
703 | # CONFIG_HWMON_VID is not set | 728 | # CONFIG_HWMON_VID is not set |
729 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
730 | |||
731 | # | ||
732 | # Native drivers | ||
733 | # | ||
704 | # CONFIG_SENSORS_AD7414 is not set | 734 | # CONFIG_SENSORS_AD7414 is not set |
705 | # CONFIG_SENSORS_AD7418 is not set | 735 | # CONFIG_SENSORS_AD7418 is not set |
706 | # CONFIG_SENSORS_ADM1021 is not set | 736 | # CONFIG_SENSORS_ADM1021 is not set |
@@ -747,6 +777,8 @@ CONFIG_HWMON=y | |||
747 | # CONFIG_SENSORS_SMSC47B397 is not set | 777 | # CONFIG_SENSORS_SMSC47B397 is not set |
748 | # CONFIG_SENSORS_ADS7828 is not set | 778 | # CONFIG_SENSORS_ADS7828 is not set |
749 | # CONFIG_SENSORS_THMC50 is not set | 779 | # CONFIG_SENSORS_THMC50 is not set |
780 | # CONFIG_SENSORS_TMP401 is not set | ||
781 | # CONFIG_SENSORS_TMP421 is not set | ||
750 | # CONFIG_SENSORS_VT1211 is not set | 782 | # CONFIG_SENSORS_VT1211 is not set |
751 | # CONFIG_SENSORS_W83781D is not set | 783 | # CONFIG_SENSORS_W83781D is not set |
752 | # CONFIG_SENSORS_W83791D is not set | 784 | # CONFIG_SENSORS_W83791D is not set |
@@ -756,9 +788,7 @@ CONFIG_HWMON=y | |||
756 | # CONFIG_SENSORS_W83L786NG is not set | 788 | # CONFIG_SENSORS_W83L786NG is not set |
757 | # CONFIG_SENSORS_W83627HF is not set | 789 | # CONFIG_SENSORS_W83627HF is not set |
758 | # CONFIG_SENSORS_W83627EHF is not set | 790 | # CONFIG_SENSORS_W83627EHF is not set |
759 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
760 | # CONFIG_THERMAL is not set | 791 | # CONFIG_THERMAL is not set |
761 | # CONFIG_THERMAL_HWMON is not set | ||
762 | CONFIG_WATCHDOG=y | 792 | CONFIG_WATCHDOG=y |
763 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 793 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
764 | 794 | ||
@@ -789,25 +819,12 @@ CONFIG_SSB_POSSIBLE=y | |||
789 | # CONFIG_MFD_TMIO is not set | 819 | # CONFIG_MFD_TMIO is not set |
790 | # CONFIG_PMIC_DA903X is not set | 820 | # CONFIG_PMIC_DA903X is not set |
791 | # CONFIG_MFD_WM8400 is not set | 821 | # CONFIG_MFD_WM8400 is not set |
822 | # CONFIG_MFD_WM831X is not set | ||
792 | # CONFIG_MFD_WM8350_I2C is not set | 823 | # CONFIG_MFD_WM8350_I2C is not set |
793 | # CONFIG_MFD_PCF50633 is not set | 824 | # CONFIG_MFD_PCF50633 is not set |
825 | # CONFIG_AB3100_CORE is not set | ||
794 | # CONFIG_REGULATOR is not set | 826 | # CONFIG_REGULATOR is not set |
795 | 827 | # CONFIG_MEDIA_SUPPORT is not set | |
796 | # | ||
797 | # Multimedia devices | ||
798 | # | ||
799 | |||
800 | # | ||
801 | # Multimedia core support | ||
802 | # | ||
803 | # CONFIG_VIDEO_DEV is not set | ||
804 | # CONFIG_DVB_CORE is not set | ||
805 | # CONFIG_VIDEO_MEDIA is not set | ||
806 | |||
807 | # | ||
808 | # Multimedia drivers | ||
809 | # | ||
810 | # CONFIG_DAB is not set | ||
811 | 828 | ||
812 | # | 829 | # |
813 | # Graphics support | 830 | # Graphics support |
@@ -851,11 +868,12 @@ CONFIG_USB_MON=y | |||
851 | # CONFIG_USB_OXU210HP_HCD is not set | 868 | # CONFIG_USB_OXU210HP_HCD is not set |
852 | # CONFIG_USB_ISP116X_HCD is not set | 869 | # CONFIG_USB_ISP116X_HCD is not set |
853 | # CONFIG_USB_ISP1760_HCD is not set | 870 | # CONFIG_USB_ISP1760_HCD is not set |
871 | # CONFIG_USB_ISP1362_HCD is not set | ||
854 | CONFIG_USB_OHCI_HCD=y | 872 | CONFIG_USB_OHCI_HCD=y |
855 | CONFIG_USB_OHCI_HCD_PPC_SOC=y | 873 | CONFIG_USB_OHCI_HCD_PPC_SOC=y |
856 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
857 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 874 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
858 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 875 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
876 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
859 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | 877 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y |
860 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | 878 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y |
861 | # CONFIG_USB_OHCI_LITTLE_ENDIAN is not set | 879 | # CONFIG_USB_OHCI_LITTLE_ENDIAN is not set |
@@ -969,6 +987,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
969 | # CONFIG_RTC_DRV_S35390A is not set | 987 | # CONFIG_RTC_DRV_S35390A is not set |
970 | # CONFIG_RTC_DRV_FM3130 is not set | 988 | # CONFIG_RTC_DRV_FM3130 is not set |
971 | # CONFIG_RTC_DRV_RX8581 is not set | 989 | # CONFIG_RTC_DRV_RX8581 is not set |
990 | # CONFIG_RTC_DRV_RX8025 is not set | ||
972 | 991 | ||
973 | # | 992 | # |
974 | # SPI RTC drivers | 993 | # SPI RTC drivers |
@@ -996,6 +1015,10 @@ CONFIG_RTC_DRV_DS1307=y | |||
996 | # CONFIG_DMADEVICES is not set | 1015 | # CONFIG_DMADEVICES is not set |
997 | # CONFIG_AUXDISPLAY is not set | 1016 | # CONFIG_AUXDISPLAY is not set |
998 | # CONFIG_UIO is not set | 1017 | # CONFIG_UIO is not set |
1018 | |||
1019 | # | ||
1020 | # TI VLYNQ | ||
1021 | # | ||
999 | # CONFIG_STAGING is not set | 1022 | # CONFIG_STAGING is not set |
1000 | 1023 | ||
1001 | # | 1024 | # |
@@ -1015,10 +1038,13 @@ CONFIG_FS_MBCACHE=y | |||
1015 | # CONFIG_REISERFS_FS is not set | 1038 | # CONFIG_REISERFS_FS is not set |
1016 | # CONFIG_JFS_FS is not set | 1039 | # CONFIG_JFS_FS is not set |
1017 | # CONFIG_FS_POSIX_ACL is not set | 1040 | # CONFIG_FS_POSIX_ACL is not set |
1018 | CONFIG_FILE_LOCKING=y | ||
1019 | # CONFIG_XFS_FS is not set | 1041 | # CONFIG_XFS_FS is not set |
1042 | # CONFIG_GFS2_FS is not set | ||
1020 | # CONFIG_OCFS2_FS is not set | 1043 | # CONFIG_OCFS2_FS is not set |
1021 | # CONFIG_BTRFS_FS is not set | 1044 | # CONFIG_BTRFS_FS is not set |
1045 | # CONFIG_NILFS2_FS is not set | ||
1046 | CONFIG_FILE_LOCKING=y | ||
1047 | CONFIG_FSNOTIFY=y | ||
1022 | CONFIG_DNOTIFY=y | 1048 | CONFIG_DNOTIFY=y |
1023 | CONFIG_INOTIFY=y | 1049 | CONFIG_INOTIFY=y |
1024 | CONFIG_INOTIFY_USER=y | 1050 | CONFIG_INOTIFY_USER=y |
@@ -1089,12 +1115,12 @@ CONFIG_CRAMFS=y | |||
1089 | # CONFIG_ROMFS_FS is not set | 1115 | # CONFIG_ROMFS_FS is not set |
1090 | # CONFIG_SYSV_FS is not set | 1116 | # CONFIG_SYSV_FS is not set |
1091 | # CONFIG_UFS_FS is not set | 1117 | # CONFIG_UFS_FS is not set |
1092 | # CONFIG_NILFS2_FS is not set | ||
1093 | CONFIG_NETWORK_FILESYSTEMS=y | 1118 | CONFIG_NETWORK_FILESYSTEMS=y |
1094 | CONFIG_NFS_FS=y | 1119 | CONFIG_NFS_FS=y |
1095 | CONFIG_NFS_V3=y | 1120 | CONFIG_NFS_V3=y |
1096 | # CONFIG_NFS_V3_ACL is not set | 1121 | # CONFIG_NFS_V3_ACL is not set |
1097 | CONFIG_NFS_V4=y | 1122 | CONFIG_NFS_V4=y |
1123 | # CONFIG_NFS_V4_1 is not set | ||
1098 | CONFIG_ROOT_NFS=y | 1124 | CONFIG_ROOT_NFS=y |
1099 | # CONFIG_NFSD is not set | 1125 | # CONFIG_NFSD is not set |
1100 | CONFIG_LOCKD=y | 1126 | CONFIG_LOCKD=y |
@@ -1194,6 +1220,7 @@ CONFIG_HAS_IOPORT=y | |||
1194 | CONFIG_HAS_DMA=y | 1220 | CONFIG_HAS_DMA=y |
1195 | CONFIG_HAVE_LMB=y | 1221 | CONFIG_HAVE_LMB=y |
1196 | CONFIG_NLATTR=y | 1222 | CONFIG_NLATTR=y |
1223 | CONFIG_GENERIC_ATOMIC64=y | ||
1197 | 1224 | ||
1198 | # | 1225 | # |
1199 | # Kernel hacking | 1226 | # Kernel hacking |
@@ -1203,6 +1230,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1203 | CONFIG_ENABLE_MUST_CHECK=y | 1230 | CONFIG_ENABLE_MUST_CHECK=y |
1204 | CONFIG_FRAME_WARN=1024 | 1231 | CONFIG_FRAME_WARN=1024 |
1205 | # CONFIG_MAGIC_SYSRQ is not set | 1232 | # CONFIG_MAGIC_SYSRQ is not set |
1233 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1206 | # CONFIG_UNUSED_SYMBOLS is not set | 1234 | # CONFIG_UNUSED_SYMBOLS is not set |
1207 | # CONFIG_DEBUG_FS is not set | 1235 | # CONFIG_DEBUG_FS is not set |
1208 | # CONFIG_HEADERS_CHECK is not set | 1236 | # CONFIG_HEADERS_CHECK is not set |
@@ -1220,10 +1248,14 @@ CONFIG_SCHED_DEBUG=y | |||
1220 | # CONFIG_DEBUG_OBJECTS is not set | 1248 | # CONFIG_DEBUG_OBJECTS is not set |
1221 | # CONFIG_SLUB_DEBUG_ON is not set | 1249 | # CONFIG_SLUB_DEBUG_ON is not set |
1222 | # CONFIG_SLUB_STATS is not set | 1250 | # CONFIG_SLUB_STATS is not set |
1251 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1223 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1252 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1224 | # CONFIG_RT_MUTEX_TESTER is not set | 1253 | # CONFIG_RT_MUTEX_TESTER is not set |
1225 | # CONFIG_DEBUG_SPINLOCK is not set | 1254 | # CONFIG_DEBUG_SPINLOCK is not set |
1226 | # CONFIG_DEBUG_MUTEXES is not set | 1255 | # CONFIG_DEBUG_MUTEXES is not set |
1256 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1257 | # CONFIG_PROVE_LOCKING is not set | ||
1258 | # CONFIG_LOCK_STAT is not set | ||
1227 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1259 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1228 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1260 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1229 | # CONFIG_DEBUG_KOBJECT is not set | 1261 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1235,11 +1267,12 @@ CONFIG_DEBUG_INFO=y | |||
1235 | # CONFIG_DEBUG_LIST is not set | 1267 | # CONFIG_DEBUG_LIST is not set |
1236 | # CONFIG_DEBUG_SG is not set | 1268 | # CONFIG_DEBUG_SG is not set |
1237 | # CONFIG_DEBUG_NOTIFIERS is not set | 1269 | # CONFIG_DEBUG_NOTIFIERS is not set |
1238 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1270 | # CONFIG_DEBUG_CREDENTIALS is not set |
1239 | # CONFIG_RCU_TORTURE_TEST is not set | 1271 | # CONFIG_RCU_TORTURE_TEST is not set |
1240 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1272 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1241 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1273 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1242 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1274 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1275 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1243 | # CONFIG_FAULT_INJECTION is not set | 1276 | # CONFIG_FAULT_INJECTION is not set |
1244 | # CONFIG_LATENCYTOP is not set | 1277 | # CONFIG_LATENCYTOP is not set |
1245 | # CONFIG_DEBUG_PAGEALLOC is not set | 1278 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -1248,23 +1281,25 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | |||
1248 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1281 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
1249 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1282 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1250 | CONFIG_TRACING_SUPPORT=y | 1283 | CONFIG_TRACING_SUPPORT=y |
1251 | 1284 | CONFIG_FTRACE=y | |
1252 | # | ||
1253 | # Tracers | ||
1254 | # | ||
1255 | # CONFIG_FUNCTION_TRACER is not set | 1285 | # CONFIG_FUNCTION_TRACER is not set |
1286 | # CONFIG_IRQSOFF_TRACER is not set | ||
1256 | # CONFIG_SCHED_TRACER is not set | 1287 | # CONFIG_SCHED_TRACER is not set |
1257 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1288 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set |
1258 | # CONFIG_EVENT_TRACER is not set | ||
1259 | # CONFIG_BOOT_TRACER is not set | 1289 | # CONFIG_BOOT_TRACER is not set |
1260 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1290 | CONFIG_BRANCH_PROFILE_NONE=y |
1291 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1292 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1261 | # CONFIG_STACK_TRACER is not set | 1293 | # CONFIG_STACK_TRACER is not set |
1262 | # CONFIG_KMEMTRACE is not set | 1294 | # CONFIG_KMEMTRACE is not set |
1263 | # CONFIG_WORKQUEUE_TRACER is not set | 1295 | # CONFIG_WORKQUEUE_TRACER is not set |
1264 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1296 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1297 | # CONFIG_DMA_API_DEBUG is not set | ||
1265 | # CONFIG_SAMPLES is not set | 1298 | # CONFIG_SAMPLES is not set |
1266 | CONFIG_HAVE_ARCH_KGDB=y | 1299 | CONFIG_HAVE_ARCH_KGDB=y |
1267 | # CONFIG_KGDB is not set | 1300 | # CONFIG_KGDB is not set |
1301 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
1302 | CONFIG_PPC_WERROR=y | ||
1268 | CONFIG_PRINT_STACK_DEPTH=64 | 1303 | CONFIG_PRINT_STACK_DEPTH=64 |
1269 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1304 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1270 | # CONFIG_DEBUG_STACK_USAGE is not set | 1305 | # CONFIG_DEBUG_STACK_USAGE is not set |
@@ -1289,7 +1324,6 @@ CONFIG_CRYPTO=y | |||
1289 | # | 1324 | # |
1290 | # Crypto core or helper | 1325 | # Crypto core or helper |
1291 | # | 1326 | # |
1292 | # CONFIG_CRYPTO_FIPS is not set | ||
1293 | CONFIG_CRYPTO_ALGAPI=y | 1327 | CONFIG_CRYPTO_ALGAPI=y |
1294 | CONFIG_CRYPTO_ALGAPI2=y | 1328 | CONFIG_CRYPTO_ALGAPI2=y |
1295 | CONFIG_CRYPTO_AEAD2=y | 1329 | CONFIG_CRYPTO_AEAD2=y |
@@ -1331,11 +1365,13 @@ CONFIG_CRYPTO_PCBC=y | |||
1331 | # | 1365 | # |
1332 | # CONFIG_CRYPTO_HMAC is not set | 1366 | # CONFIG_CRYPTO_HMAC is not set |
1333 | # CONFIG_CRYPTO_XCBC is not set | 1367 | # CONFIG_CRYPTO_XCBC is not set |
1368 | # CONFIG_CRYPTO_VMAC is not set | ||
1334 | 1369 | ||
1335 | # | 1370 | # |
1336 | # Digest | 1371 | # Digest |
1337 | # | 1372 | # |
1338 | # CONFIG_CRYPTO_CRC32C is not set | 1373 | # CONFIG_CRYPTO_CRC32C is not set |
1374 | # CONFIG_CRYPTO_GHASH is not set | ||
1339 | # CONFIG_CRYPTO_MD4 is not set | 1375 | # CONFIG_CRYPTO_MD4 is not set |
1340 | CONFIG_CRYPTO_MD5=y | 1376 | CONFIG_CRYPTO_MD5=y |
1341 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1377 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/mpc5200_defconfig b/arch/powerpc/configs/mpc5200_defconfig index aaa4416660e9..523d5fe18c0e 100644 --- a/arch/powerpc/configs/mpc5200_defconfig +++ b/arch/powerpc/configs/mpc5200_defconfig | |||
@@ -1,25 +1,27 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.30-rc2 | 3 | # Linux kernel version: 2.6.32-rc4 |
4 | # Mon Apr 20 11:06:25 2009 | 4 | # Thu Oct 15 10:33:21 2009 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
8 | # | 8 | # |
9 | # Processor support | 9 | # Processor support |
10 | # | 10 | # |
11 | CONFIG_6xx=y | 11 | CONFIG_PPC_BOOK3S_32=y |
12 | # CONFIG_PPC_85xx is not set | 12 | # CONFIG_PPC_85xx is not set |
13 | # CONFIG_PPC_8xx is not set | 13 | # CONFIG_PPC_8xx is not set |
14 | # CONFIG_40x is not set | 14 | # CONFIG_40x is not set |
15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_PPC_BOOK3S=y | 17 | CONFIG_PPC_BOOK3S=y |
18 | CONFIG_6xx=y | ||
18 | CONFIG_PPC_FPU=y | 19 | CONFIG_PPC_FPU=y |
19 | # CONFIG_ALTIVEC is not set | 20 | # CONFIG_ALTIVEC is not set |
20 | CONFIG_PPC_STD_MMU=y | 21 | CONFIG_PPC_STD_MMU=y |
21 | CONFIG_PPC_STD_MMU_32=y | 22 | CONFIG_PPC_STD_MMU_32=y |
22 | # CONFIG_PPC_MM_SLICES is not set | 23 | # CONFIG_PPC_MM_SLICES is not set |
24 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
23 | # CONFIG_SMP is not set | 25 | # CONFIG_SMP is not set |
24 | CONFIG_PPC32=y | 26 | CONFIG_PPC32=y |
25 | CONFIG_WORD_SIZE=32 | 27 | CONFIG_WORD_SIZE=32 |
@@ -30,15 +32,17 @@ CONFIG_GENERIC_TIME=y | |||
30 | CONFIG_GENERIC_TIME_VSYSCALL=y | 32 | CONFIG_GENERIC_TIME_VSYSCALL=y |
31 | CONFIG_GENERIC_CLOCKEVENTS=y | 33 | CONFIG_GENERIC_CLOCKEVENTS=y |
32 | CONFIG_GENERIC_HARDIRQS=y | 34 | CONFIG_GENERIC_HARDIRQS=y |
35 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
33 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | 36 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set |
37 | # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set | ||
34 | CONFIG_IRQ_PER_CPU=y | 38 | CONFIG_IRQ_PER_CPU=y |
35 | CONFIG_STACKTRACE_SUPPORT=y | 39 | CONFIG_STACKTRACE_SUPPORT=y |
36 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | 40 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y |
41 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
37 | CONFIG_LOCKDEP_SUPPORT=y | 42 | CONFIG_LOCKDEP_SUPPORT=y |
38 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 43 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
39 | CONFIG_ARCH_HAS_ILOG2_U32=y | 44 | CONFIG_ARCH_HAS_ILOG2_U32=y |
40 | CONFIG_GENERIC_HWEIGHT=y | 45 | CONFIG_GENERIC_HWEIGHT=y |
41 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
42 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 46 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
43 | CONFIG_GENERIC_GPIO=y | 47 | CONFIG_GENERIC_GPIO=y |
44 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | 48 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set |
@@ -53,12 +57,14 @@ CONFIG_OF=y | |||
53 | # CONFIG_GENERIC_TBSYNC is not set | 57 | # CONFIG_GENERIC_TBSYNC is not set |
54 | CONFIG_AUDIT_ARCH=y | 58 | CONFIG_AUDIT_ARCH=y |
55 | CONFIG_GENERIC_BUG=y | 59 | CONFIG_GENERIC_BUG=y |
60 | CONFIG_DTC=y | ||
56 | CONFIG_DEFAULT_UIMAGE=y | 61 | CONFIG_DEFAULT_UIMAGE=y |
57 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 62 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
58 | # CONFIG_PPC_DCR_NATIVE is not set | 63 | # CONFIG_PPC_DCR_NATIVE is not set |
59 | # CONFIG_PPC_DCR_MMIO is not set | 64 | # CONFIG_PPC_DCR_MMIO is not set |
60 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | 65 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y |
61 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 66 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
67 | CONFIG_CONSTRUCTORS=y | ||
62 | 68 | ||
63 | # | 69 | # |
64 | # General setup | 70 | # General setup |
@@ -79,11 +85,12 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
79 | # | 85 | # |
80 | # RCU Subsystem | 86 | # RCU Subsystem |
81 | # | 87 | # |
82 | CONFIG_CLASSIC_RCU=y | 88 | CONFIG_TREE_RCU=y |
83 | # CONFIG_TREE_RCU is not set | 89 | # CONFIG_TREE_PREEMPT_RCU is not set |
84 | # CONFIG_PREEMPT_RCU is not set | 90 | # CONFIG_RCU_TRACE is not set |
91 | CONFIG_RCU_FANOUT=32 | ||
92 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
85 | # CONFIG_TREE_RCU_TRACE is not set | 93 | # CONFIG_TREE_RCU_TRACE is not set |
86 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
87 | # CONFIG_IKCONFIG is not set | 94 | # CONFIG_IKCONFIG is not set |
88 | CONFIG_LOG_BUF_SHIFT=14 | 95 | CONFIG_LOG_BUF_SHIFT=14 |
89 | # CONFIG_GROUP_SCHED is not set | 96 | # CONFIG_GROUP_SCHED is not set |
@@ -103,7 +110,6 @@ CONFIG_ANON_INODES=y | |||
103 | CONFIG_EMBEDDED=y | 110 | CONFIG_EMBEDDED=y |
104 | # CONFIG_SYSCTL_SYSCALL is not set | 111 | # CONFIG_SYSCTL_SYSCALL is not set |
105 | # CONFIG_KALLSYMS is not set | 112 | # CONFIG_KALLSYMS is not set |
106 | # CONFIG_STRIP_ASM_SYMS is not set | ||
107 | CONFIG_HOTPLUG=y | 113 | CONFIG_HOTPLUG=y |
108 | CONFIG_PRINTK=y | 114 | CONFIG_PRINTK=y |
109 | CONFIG_BUG=y | 115 | CONFIG_BUG=y |
@@ -116,6 +122,13 @@ CONFIG_TIMERFD=y | |||
116 | CONFIG_EVENTFD=y | 122 | CONFIG_EVENTFD=y |
117 | CONFIG_SHMEM=y | 123 | CONFIG_SHMEM=y |
118 | CONFIG_AIO=y | 124 | CONFIG_AIO=y |
125 | CONFIG_HAVE_PERF_EVENTS=y | ||
126 | |||
127 | # | ||
128 | # Kernel Performance Events And Counters | ||
129 | # | ||
130 | # CONFIG_PERF_EVENTS is not set | ||
131 | # CONFIG_PERF_COUNTERS is not set | ||
119 | CONFIG_VM_EVENT_COUNTERS=y | 132 | CONFIG_VM_EVENT_COUNTERS=y |
120 | CONFIG_PCI_QUIRKS=y | 133 | CONFIG_PCI_QUIRKS=y |
121 | CONFIG_SLUB_DEBUG=y | 134 | CONFIG_SLUB_DEBUG=y |
@@ -124,14 +137,19 @@ CONFIG_COMPAT_BRK=y | |||
124 | CONFIG_SLUB=y | 137 | CONFIG_SLUB=y |
125 | # CONFIG_SLOB is not set | 138 | # CONFIG_SLOB is not set |
126 | # CONFIG_PROFILING is not set | 139 | # CONFIG_PROFILING is not set |
127 | # CONFIG_MARKERS is not set | ||
128 | CONFIG_HAVE_OPROFILE=y | 140 | CONFIG_HAVE_OPROFILE=y |
129 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | 141 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y |
130 | CONFIG_HAVE_IOREMAP_PROT=y | 142 | CONFIG_HAVE_IOREMAP_PROT=y |
131 | CONFIG_HAVE_KPROBES=y | 143 | CONFIG_HAVE_KPROBES=y |
132 | CONFIG_HAVE_KRETPROBES=y | 144 | CONFIG_HAVE_KRETPROBES=y |
133 | CONFIG_HAVE_ARCH_TRACEHOOK=y | 145 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
146 | CONFIG_HAVE_DMA_ATTRS=y | ||
134 | CONFIG_HAVE_CLK=y | 147 | CONFIG_HAVE_CLK=y |
148 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
149 | |||
150 | # | ||
151 | # GCOV-based kernel profiling | ||
152 | # | ||
135 | # CONFIG_SLOW_WORK is not set | 153 | # CONFIG_SLOW_WORK is not set |
136 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 154 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
137 | CONFIG_SLABINFO=y | 155 | CONFIG_SLABINFO=y |
@@ -144,7 +162,7 @@ CONFIG_MODULE_UNLOAD=y | |||
144 | # CONFIG_MODVERSIONS is not set | 162 | # CONFIG_MODVERSIONS is not set |
145 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 163 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
146 | CONFIG_BLOCK=y | 164 | CONFIG_BLOCK=y |
147 | # CONFIG_LBD is not set | 165 | CONFIG_LBDAF=y |
148 | # CONFIG_BLK_DEV_BSG is not set | 166 | # CONFIG_BLK_DEV_BSG is not set |
149 | # CONFIG_BLK_DEV_INTEGRITY is not set | 167 | # CONFIG_BLK_DEV_INTEGRITY is not set |
150 | 168 | ||
@@ -205,7 +223,7 @@ CONFIG_RTAS_PROC=y | |||
205 | CONFIG_PPC_BESTCOMM=y | 223 | CONFIG_PPC_BESTCOMM=y |
206 | CONFIG_PPC_BESTCOMM_ATA=y | 224 | CONFIG_PPC_BESTCOMM_ATA=y |
207 | CONFIG_PPC_BESTCOMM_FEC=y | 225 | CONFIG_PPC_BESTCOMM_FEC=y |
208 | # CONFIG_SIMPLE_GPIO is not set | 226 | CONFIG_SIMPLE_GPIO=y |
209 | 227 | ||
210 | # | 228 | # |
211 | # Kernel options | 229 | # Kernel options |
@@ -229,11 +247,13 @@ CONFIG_BINFMT_ELF=y | |||
229 | # CONFIG_HAVE_AOUT is not set | 247 | # CONFIG_HAVE_AOUT is not set |
230 | # CONFIG_BINFMT_MISC is not set | 248 | # CONFIG_BINFMT_MISC is not set |
231 | # CONFIG_IOMMU_HELPER is not set | 249 | # CONFIG_IOMMU_HELPER is not set |
250 | # CONFIG_SWIOTLB is not set | ||
232 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | 251 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y |
233 | CONFIG_ARCH_HAS_WALK_MEMORY=y | 252 | CONFIG_ARCH_HAS_WALK_MEMORY=y |
234 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | 253 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y |
235 | # CONFIG_KEXEC is not set | 254 | # CONFIG_KEXEC is not set |
236 | # CONFIG_CRASH_DUMP is not set | 255 | # CONFIG_CRASH_DUMP is not set |
256 | CONFIG_MAX_ACTIVE_REGIONS=32 | ||
237 | CONFIG_ARCH_FLATMEM_ENABLE=y | 257 | CONFIG_ARCH_FLATMEM_ENABLE=y |
238 | CONFIG_ARCH_POPULATES_NODE_MAP=y | 258 | CONFIG_ARCH_POPULATES_NODE_MAP=y |
239 | CONFIG_SELECT_MEMORY_MODEL=y | 259 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -249,9 +269,10 @@ CONFIG_MIGRATION=y | |||
249 | CONFIG_ZONE_DMA_FLAG=1 | 269 | CONFIG_ZONE_DMA_FLAG=1 |
250 | CONFIG_BOUNCE=y | 270 | CONFIG_BOUNCE=y |
251 | CONFIG_VIRT_TO_BUS=y | 271 | CONFIG_VIRT_TO_BUS=y |
252 | CONFIG_UNEVICTABLE_LRU=y | ||
253 | CONFIG_HAVE_MLOCK=y | 272 | CONFIG_HAVE_MLOCK=y |
254 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | 273 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y |
274 | # CONFIG_KSM is not set | ||
275 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
255 | CONFIG_PPC_4K_PAGES=y | 276 | CONFIG_PPC_4K_PAGES=y |
256 | # CONFIG_PPC_16K_PAGES is not set | 277 | # CONFIG_PPC_16K_PAGES is not set |
257 | # CONFIG_PPC_64K_PAGES is not set | 278 | # CONFIG_PPC_64K_PAGES is not set |
@@ -265,6 +286,7 @@ CONFIG_PM=y | |||
265 | CONFIG_PM_SLEEP=y | 286 | CONFIG_PM_SLEEP=y |
266 | CONFIG_SUSPEND=y | 287 | CONFIG_SUSPEND=y |
267 | CONFIG_SUSPEND_FREEZER=y | 288 | CONFIG_SUSPEND_FREEZER=y |
289 | # CONFIG_PM_RUNTIME is not set | ||
268 | CONFIG_SECCOMP=y | 290 | CONFIG_SECCOMP=y |
269 | CONFIG_ISA_DMA_API=y | 291 | CONFIG_ISA_DMA_API=y |
270 | 292 | ||
@@ -349,6 +371,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
349 | # CONFIG_NETFILTER is not set | 371 | # CONFIG_NETFILTER is not set |
350 | # CONFIG_IP_DCCP is not set | 372 | # CONFIG_IP_DCCP is not set |
351 | # CONFIG_IP_SCTP is not set | 373 | # CONFIG_IP_SCTP is not set |
374 | # CONFIG_RDS is not set | ||
352 | # CONFIG_TIPC is not set | 375 | # CONFIG_TIPC is not set |
353 | # CONFIG_ATM is not set | 376 | # CONFIG_ATM is not set |
354 | # CONFIG_BRIDGE is not set | 377 | # CONFIG_BRIDGE is not set |
@@ -363,6 +386,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
363 | # CONFIG_ECONET is not set | 386 | # CONFIG_ECONET is not set |
364 | # CONFIG_WAN_ROUTER is not set | 387 | # CONFIG_WAN_ROUTER is not set |
365 | # CONFIG_PHONET is not set | 388 | # CONFIG_PHONET is not set |
389 | # CONFIG_IEEE802154 is not set | ||
366 | # CONFIG_NET_SCHED is not set | 390 | # CONFIG_NET_SCHED is not set |
367 | # CONFIG_DCB is not set | 391 | # CONFIG_DCB is not set |
368 | 392 | ||
@@ -388,6 +412,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
388 | # Generic Driver Options | 412 | # Generic Driver Options |
389 | # | 413 | # |
390 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 414 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
415 | # CONFIG_DEVTMPFS is not set | ||
391 | CONFIG_STANDALONE=y | 416 | CONFIG_STANDALONE=y |
392 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 417 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
393 | # CONFIG_FW_LOADER is not set | 418 | # CONFIG_FW_LOADER is not set |
@@ -397,9 +422,9 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
397 | # CONFIG_CONNECTOR is not set | 422 | # CONFIG_CONNECTOR is not set |
398 | CONFIG_MTD=y | 423 | CONFIG_MTD=y |
399 | # CONFIG_MTD_DEBUG is not set | 424 | # CONFIG_MTD_DEBUG is not set |
425 | # CONFIG_MTD_TESTS is not set | ||
400 | CONFIG_MTD_CONCAT=y | 426 | CONFIG_MTD_CONCAT=y |
401 | CONFIG_MTD_PARTITIONS=y | 427 | CONFIG_MTD_PARTITIONS=y |
402 | # CONFIG_MTD_TESTS is not set | ||
403 | # CONFIG_MTD_REDBOOT_PARTS is not set | 428 | # CONFIG_MTD_REDBOOT_PARTS is not set |
404 | CONFIG_MTD_CMDLINE_PARTS=y | 429 | CONFIG_MTD_CMDLINE_PARTS=y |
405 | CONFIG_MTD_OF_PARTS=y | 430 | CONFIG_MTD_OF_PARTS=y |
@@ -458,6 +483,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
458 | # CONFIG_MTD_PMC551 is not set | 483 | # CONFIG_MTD_PMC551 is not set |
459 | # CONFIG_MTD_DATAFLASH is not set | 484 | # CONFIG_MTD_DATAFLASH is not set |
460 | # CONFIG_MTD_M25P80 is not set | 485 | # CONFIG_MTD_M25P80 is not set |
486 | # CONFIG_MTD_SST25L is not set | ||
461 | # CONFIG_MTD_SLRAM is not set | 487 | # CONFIG_MTD_SLRAM is not set |
462 | # CONFIG_MTD_PHRAM is not set | 488 | # CONFIG_MTD_PHRAM is not set |
463 | # CONFIG_MTD_MTDRAM is not set | 489 | # CONFIG_MTD_MTDRAM is not set |
@@ -493,6 +519,7 @@ CONFIG_OF_DEVICE=y | |||
493 | CONFIG_OF_GPIO=y | 519 | CONFIG_OF_GPIO=y |
494 | CONFIG_OF_I2C=y | 520 | CONFIG_OF_I2C=y |
495 | CONFIG_OF_SPI=y | 521 | CONFIG_OF_SPI=y |
522 | CONFIG_OF_MDIO=y | ||
496 | # CONFIG_PARPORT is not set | 523 | # CONFIG_PARPORT is not set |
497 | CONFIG_BLK_DEV=y | 524 | CONFIG_BLK_DEV=y |
498 | # CONFIG_BLK_DEV_FD is not set | 525 | # CONFIG_BLK_DEV_FD is not set |
@@ -529,7 +556,9 @@ CONFIG_MISC_DEVICES=y | |||
529 | CONFIG_EEPROM_AT24=y | 556 | CONFIG_EEPROM_AT24=y |
530 | # CONFIG_EEPROM_AT25 is not set | 557 | # CONFIG_EEPROM_AT25 is not set |
531 | # CONFIG_EEPROM_LEGACY is not set | 558 | # CONFIG_EEPROM_LEGACY is not set |
559 | # CONFIG_EEPROM_MAX6875 is not set | ||
532 | # CONFIG_EEPROM_93CX6 is not set | 560 | # CONFIG_EEPROM_93CX6 is not set |
561 | # CONFIG_CB710_CORE is not set | ||
533 | CONFIG_HAVE_IDE=y | 562 | CONFIG_HAVE_IDE=y |
534 | # CONFIG_IDE is not set | 563 | # CONFIG_IDE is not set |
535 | 564 | ||
@@ -552,10 +581,6 @@ CONFIG_BLK_DEV_SD=y | |||
552 | # CONFIG_BLK_DEV_SR is not set | 581 | # CONFIG_BLK_DEV_SR is not set |
553 | CONFIG_CHR_DEV_SG=y | 582 | CONFIG_CHR_DEV_SG=y |
554 | # CONFIG_CHR_DEV_SCH is not set | 583 | # CONFIG_CHR_DEV_SCH is not set |
555 | |||
556 | # | ||
557 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
558 | # | ||
559 | # CONFIG_SCSI_MULTI_LUN is not set | 584 | # CONFIG_SCSI_MULTI_LUN is not set |
560 | # CONFIG_SCSI_CONSTANTS is not set | 585 | # CONFIG_SCSI_CONSTANTS is not set |
561 | # CONFIG_SCSI_LOGGING is not set | 586 | # CONFIG_SCSI_LOGGING is not set |
@@ -572,6 +597,8 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
572 | # CONFIG_SCSI_SRP_ATTRS is not set | 597 | # CONFIG_SCSI_SRP_ATTRS is not set |
573 | CONFIG_SCSI_LOWLEVEL=y | 598 | CONFIG_SCSI_LOWLEVEL=y |
574 | # CONFIG_ISCSI_TCP is not set | 599 | # CONFIG_ISCSI_TCP is not set |
600 | # CONFIG_SCSI_BNX2_ISCSI is not set | ||
601 | # CONFIG_BE2ISCSI is not set | ||
575 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | 602 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set |
576 | # CONFIG_SCSI_3W_9XXX is not set | 603 | # CONFIG_SCSI_3W_9XXX is not set |
577 | # CONFIG_SCSI_ACARD is not set | 604 | # CONFIG_SCSI_ACARD is not set |
@@ -580,6 +607,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
580 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 607 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
581 | # CONFIG_SCSI_AIC79XX is not set | 608 | # CONFIG_SCSI_AIC79XX is not set |
582 | # CONFIG_SCSI_AIC94XX is not set | 609 | # CONFIG_SCSI_AIC94XX is not set |
610 | # CONFIG_SCSI_MVSAS is not set | ||
583 | # CONFIG_SCSI_DPT_I2O is not set | 611 | # CONFIG_SCSI_DPT_I2O is not set |
584 | # CONFIG_SCSI_ADVANSYS is not set | 612 | # CONFIG_SCSI_ADVANSYS is not set |
585 | # CONFIG_SCSI_ARCMSR is not set | 613 | # CONFIG_SCSI_ARCMSR is not set |
@@ -599,7 +627,6 @@ CONFIG_SCSI_LOWLEVEL=y | |||
599 | # CONFIG_SCSI_IPS is not set | 627 | # CONFIG_SCSI_IPS is not set |
600 | # CONFIG_SCSI_INITIO is not set | 628 | # CONFIG_SCSI_INITIO is not set |
601 | # CONFIG_SCSI_INIA100 is not set | 629 | # CONFIG_SCSI_INIA100 is not set |
602 | # CONFIG_SCSI_MVSAS is not set | ||
603 | # CONFIG_SCSI_STEX is not set | 630 | # CONFIG_SCSI_STEX is not set |
604 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 631 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
605 | # CONFIG_SCSI_IPR is not set | 632 | # CONFIG_SCSI_IPR is not set |
@@ -611,11 +638,14 @@ CONFIG_SCSI_LOWLEVEL=y | |||
611 | # CONFIG_SCSI_DC390T is not set | 638 | # CONFIG_SCSI_DC390T is not set |
612 | # CONFIG_SCSI_NSP32 is not set | 639 | # CONFIG_SCSI_NSP32 is not set |
613 | # CONFIG_SCSI_DEBUG is not set | 640 | # CONFIG_SCSI_DEBUG is not set |
641 | # CONFIG_SCSI_PMCRAID is not set | ||
614 | # CONFIG_SCSI_SRP is not set | 642 | # CONFIG_SCSI_SRP is not set |
643 | # CONFIG_SCSI_BFA_FC is not set | ||
615 | # CONFIG_SCSI_DH is not set | 644 | # CONFIG_SCSI_DH is not set |
616 | # CONFIG_SCSI_OSD_INITIATOR is not set | 645 | # CONFIG_SCSI_OSD_INITIATOR is not set |
617 | CONFIG_ATA=y | 646 | CONFIG_ATA=y |
618 | # CONFIG_ATA_NONSTANDARD is not set | 647 | # CONFIG_ATA_NONSTANDARD is not set |
648 | CONFIG_ATA_VERBOSE_ERROR=y | ||
619 | CONFIG_SATA_PMP=y | 649 | CONFIG_SATA_PMP=y |
620 | # CONFIG_SATA_AHCI is not set | 650 | # CONFIG_SATA_AHCI is not set |
621 | # CONFIG_SATA_SIL24 is not set | 651 | # CONFIG_SATA_SIL24 is not set |
@@ -637,6 +667,7 @@ CONFIG_ATA_SFF=y | |||
637 | # CONFIG_PATA_ALI is not set | 667 | # CONFIG_PATA_ALI is not set |
638 | # CONFIG_PATA_AMD is not set | 668 | # CONFIG_PATA_AMD is not set |
639 | # CONFIG_PATA_ARTOP is not set | 669 | # CONFIG_PATA_ARTOP is not set |
670 | # CONFIG_PATA_ATP867X is not set | ||
640 | # CONFIG_PATA_ATIIXP is not set | 671 | # CONFIG_PATA_ATIIXP is not set |
641 | # CONFIG_PATA_CMD640_PCI is not set | 672 | # CONFIG_PATA_CMD640_PCI is not set |
642 | # CONFIG_PATA_CMD64X is not set | 673 | # CONFIG_PATA_CMD64X is not set |
@@ -665,6 +696,7 @@ CONFIG_PATA_MPC52xx=y | |||
665 | # CONFIG_PATA_OPTIDMA is not set | 696 | # CONFIG_PATA_OPTIDMA is not set |
666 | # CONFIG_PATA_PDC_OLD is not set | 697 | # CONFIG_PATA_PDC_OLD is not set |
667 | # CONFIG_PATA_RADISYS is not set | 698 | # CONFIG_PATA_RADISYS is not set |
699 | # CONFIG_PATA_RDC is not set | ||
668 | # CONFIG_PATA_RZ1000 is not set | 700 | # CONFIG_PATA_RZ1000 is not set |
669 | # CONFIG_PATA_SC1200 is not set | 701 | # CONFIG_PATA_SC1200 is not set |
670 | # CONFIG_PATA_SERVERWORKS is not set | 702 | # CONFIG_PATA_SERVERWORKS is not set |
@@ -684,14 +716,17 @@ CONFIG_PATA_PLATFORM=y | |||
684 | # | 716 | # |
685 | 717 | ||
686 | # | 718 | # |
687 | # Enable only one of the two stacks, unless you know what you are doing | 719 | # You can enable one or both FireWire driver stacks. |
720 | # | ||
721 | |||
722 | # | ||
723 | # See the help texts for more information. | ||
688 | # | 724 | # |
689 | # CONFIG_FIREWIRE is not set | 725 | # CONFIG_FIREWIRE is not set |
690 | # CONFIG_IEEE1394 is not set | 726 | # CONFIG_IEEE1394 is not set |
691 | # CONFIG_I2O is not set | 727 | # CONFIG_I2O is not set |
692 | # CONFIG_MACINTOSH_DRIVERS is not set | 728 | # CONFIG_MACINTOSH_DRIVERS is not set |
693 | CONFIG_NETDEVICES=y | 729 | CONFIG_NETDEVICES=y |
694 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
695 | # CONFIG_DUMMY is not set | 730 | # CONFIG_DUMMY is not set |
696 | # CONFIG_BONDING is not set | 731 | # CONFIG_BONDING is not set |
697 | # CONFIG_MACVLAN is not set | 732 | # CONFIG_MACVLAN is not set |
@@ -739,16 +774,17 @@ CONFIG_NET_ETHERNET=y | |||
739 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 774 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
740 | # CONFIG_NET_PCI is not set | 775 | # CONFIG_NET_PCI is not set |
741 | # CONFIG_B44 is not set | 776 | # CONFIG_B44 is not set |
777 | # CONFIG_KS8842 is not set | ||
778 | # CONFIG_KS8851 is not set | ||
779 | # CONFIG_KS8851_MLL is not set | ||
742 | CONFIG_FEC_MPC52xx=y | 780 | CONFIG_FEC_MPC52xx=y |
743 | CONFIG_FEC_MPC52xx_MDIO=y | 781 | CONFIG_FEC_MPC52xx_MDIO=y |
744 | # CONFIG_ATL2 is not set | 782 | # CONFIG_ATL2 is not set |
783 | # CONFIG_XILINX_EMACLITE is not set | ||
745 | # CONFIG_NETDEV_1000 is not set | 784 | # CONFIG_NETDEV_1000 is not set |
746 | # CONFIG_NETDEV_10000 is not set | 785 | # CONFIG_NETDEV_10000 is not set |
747 | # CONFIG_TR is not set | 786 | # CONFIG_TR is not set |
748 | 787 | CONFIG_WLAN=y | |
749 | # | ||
750 | # Wireless LAN | ||
751 | # | ||
752 | # CONFIG_WLAN_PRE80211 is not set | 788 | # CONFIG_WLAN_PRE80211 is not set |
753 | # CONFIG_WLAN_80211 is not set | 789 | # CONFIG_WLAN_80211 is not set |
754 | 790 | ||
@@ -854,6 +890,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
854 | CONFIG_DEVPORT=y | 890 | CONFIG_DEVPORT=y |
855 | CONFIG_I2C=y | 891 | CONFIG_I2C=y |
856 | CONFIG_I2C_BOARDINFO=y | 892 | CONFIG_I2C_BOARDINFO=y |
893 | CONFIG_I2C_COMPAT=y | ||
857 | CONFIG_I2C_CHARDEV=y | 894 | CONFIG_I2C_CHARDEV=y |
858 | CONFIG_I2C_HELPER_AUTO=y | 895 | CONFIG_I2C_HELPER_AUTO=y |
859 | CONFIG_I2C_ALGOBIT=y | 896 | CONFIG_I2C_ALGOBIT=y |
@@ -883,6 +920,7 @@ CONFIG_I2C_ALGOBIT=y | |||
883 | # | 920 | # |
884 | # I2C system bus drivers (mostly embedded / system-on-chip) | 921 | # I2C system bus drivers (mostly embedded / system-on-chip) |
885 | # | 922 | # |
923 | # CONFIG_I2C_DESIGNWARE is not set | ||
886 | # CONFIG_I2C_GPIO is not set | 924 | # CONFIG_I2C_GPIO is not set |
887 | CONFIG_I2C_MPC=y | 925 | CONFIG_I2C_MPC=y |
888 | # CONFIG_I2C_OCORES is not set | 926 | # CONFIG_I2C_OCORES is not set |
@@ -910,10 +948,6 @@ CONFIG_I2C_MPC=y | |||
910 | # Miscellaneous I2C Chip support | 948 | # Miscellaneous I2C Chip support |
911 | # | 949 | # |
912 | # CONFIG_DS1682 is not set | 950 | # CONFIG_DS1682 is not set |
913 | # CONFIG_SENSORS_PCF8574 is not set | ||
914 | # CONFIG_PCF8575 is not set | ||
915 | # CONFIG_SENSORS_PCA9539 is not set | ||
916 | # CONFIG_SENSORS_MAX6875 is not set | ||
917 | # CONFIG_SENSORS_TSL2550 is not set | 951 | # CONFIG_SENSORS_TSL2550 is not set |
918 | # CONFIG_I2C_DEBUG_CORE is not set | 952 | # CONFIG_I2C_DEBUG_CORE is not set |
919 | # CONFIG_I2C_DEBUG_ALGO is not set | 953 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -935,6 +969,11 @@ CONFIG_SPI_MPC52xx_PSC=m | |||
935 | # | 969 | # |
936 | CONFIG_SPI_SPIDEV=m | 970 | CONFIG_SPI_SPIDEV=m |
937 | # CONFIG_SPI_TLE62X0 is not set | 971 | # CONFIG_SPI_TLE62X0 is not set |
972 | |||
973 | # | ||
974 | # PPS support | ||
975 | # | ||
976 | # CONFIG_PPS is not set | ||
938 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 977 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
939 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | 978 | CONFIG_ARCH_REQUIRE_GPIOLIB=y |
940 | CONFIG_GPIOLIB=y | 979 | CONFIG_GPIOLIB=y |
@@ -957,16 +996,27 @@ CONFIG_GPIOLIB=y | |||
957 | # PCI GPIO expanders: | 996 | # PCI GPIO expanders: |
958 | # | 997 | # |
959 | # CONFIG_GPIO_BT8XX is not set | 998 | # CONFIG_GPIO_BT8XX is not set |
999 | # CONFIG_GPIO_LANGWELL is not set | ||
960 | 1000 | ||
961 | # | 1001 | # |
962 | # SPI GPIO expanders: | 1002 | # SPI GPIO expanders: |
963 | # | 1003 | # |
964 | # CONFIG_GPIO_MAX7301 is not set | 1004 | # CONFIG_GPIO_MAX7301 is not set |
965 | # CONFIG_GPIO_MCP23S08 is not set | 1005 | # CONFIG_GPIO_MCP23S08 is not set |
1006 | # CONFIG_GPIO_MC33880 is not set | ||
1007 | |||
1008 | # | ||
1009 | # AC97 GPIO expanders: | ||
1010 | # | ||
966 | # CONFIG_W1 is not set | 1011 | # CONFIG_W1 is not set |
967 | # CONFIG_POWER_SUPPLY is not set | 1012 | # CONFIG_POWER_SUPPLY is not set |
968 | CONFIG_HWMON=y | 1013 | CONFIG_HWMON=y |
969 | # CONFIG_HWMON_VID is not set | 1014 | # CONFIG_HWMON_VID is not set |
1015 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1016 | |||
1017 | # | ||
1018 | # Native drivers | ||
1019 | # | ||
970 | # CONFIG_SENSORS_AD7414 is not set | 1020 | # CONFIG_SENSORS_AD7414 is not set |
971 | # CONFIG_SENSORS_AD7418 is not set | 1021 | # CONFIG_SENSORS_AD7418 is not set |
972 | # CONFIG_SENSORS_ADCXX is not set | 1022 | # CONFIG_SENSORS_ADCXX is not set |
@@ -1019,6 +1069,8 @@ CONFIG_HWMON=y | |||
1019 | # CONFIG_SENSORS_SMSC47B397 is not set | 1069 | # CONFIG_SENSORS_SMSC47B397 is not set |
1020 | # CONFIG_SENSORS_ADS7828 is not set | 1070 | # CONFIG_SENSORS_ADS7828 is not set |
1021 | # CONFIG_SENSORS_THMC50 is not set | 1071 | # CONFIG_SENSORS_THMC50 is not set |
1072 | # CONFIG_SENSORS_TMP401 is not set | ||
1073 | # CONFIG_SENSORS_TMP421 is not set | ||
1022 | # CONFIG_SENSORS_VIA686A is not set | 1074 | # CONFIG_SENSORS_VIA686A is not set |
1023 | # CONFIG_SENSORS_VT1211 is not set | 1075 | # CONFIG_SENSORS_VT1211 is not set |
1024 | # CONFIG_SENSORS_VT8231 is not set | 1076 | # CONFIG_SENSORS_VT8231 is not set |
@@ -1031,9 +1083,7 @@ CONFIG_HWMON=y | |||
1031 | # CONFIG_SENSORS_W83627HF is not set | 1083 | # CONFIG_SENSORS_W83627HF is not set |
1032 | # CONFIG_SENSORS_W83627EHF is not set | 1084 | # CONFIG_SENSORS_W83627EHF is not set |
1033 | # CONFIG_SENSORS_LIS3_SPI is not set | 1085 | # CONFIG_SENSORS_LIS3_SPI is not set |
1034 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1035 | # CONFIG_THERMAL is not set | 1086 | # CONFIG_THERMAL is not set |
1036 | # CONFIG_THERMAL_HWMON is not set | ||
1037 | CONFIG_WATCHDOG=y | 1087 | CONFIG_WATCHDOG=y |
1038 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 1088 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
1039 | 1089 | ||
@@ -1073,31 +1123,20 @@ CONFIG_SSB_POSSIBLE=y | |||
1073 | # CONFIG_MFD_TMIO is not set | 1123 | # CONFIG_MFD_TMIO is not set |
1074 | # CONFIG_PMIC_DA903X is not set | 1124 | # CONFIG_PMIC_DA903X is not set |
1075 | # CONFIG_MFD_WM8400 is not set | 1125 | # CONFIG_MFD_WM8400 is not set |
1126 | # CONFIG_MFD_WM831X is not set | ||
1076 | # CONFIG_MFD_WM8350_I2C is not set | 1127 | # CONFIG_MFD_WM8350_I2C is not set |
1077 | # CONFIG_MFD_PCF50633 is not set | 1128 | # CONFIG_MFD_PCF50633 is not set |
1129 | # CONFIG_MFD_MC13783 is not set | ||
1130 | # CONFIG_AB3100_CORE is not set | ||
1131 | # CONFIG_EZX_PCAP is not set | ||
1078 | # CONFIG_REGULATOR is not set | 1132 | # CONFIG_REGULATOR is not set |
1079 | 1133 | # CONFIG_MEDIA_SUPPORT is not set | |
1080 | # | ||
1081 | # Multimedia devices | ||
1082 | # | ||
1083 | |||
1084 | # | ||
1085 | # Multimedia core support | ||
1086 | # | ||
1087 | # CONFIG_VIDEO_DEV is not set | ||
1088 | # CONFIG_DVB_CORE is not set | ||
1089 | # CONFIG_VIDEO_MEDIA is not set | ||
1090 | |||
1091 | # | ||
1092 | # Multimedia drivers | ||
1093 | # | ||
1094 | CONFIG_DAB=y | ||
1095 | # CONFIG_USB_DABUSB is not set | ||
1096 | 1134 | ||
1097 | # | 1135 | # |
1098 | # Graphics support | 1136 | # Graphics support |
1099 | # | 1137 | # |
1100 | # CONFIG_AGP is not set | 1138 | # CONFIG_AGP is not set |
1139 | CONFIG_VGA_ARB=y | ||
1101 | CONFIG_DRM=y | 1140 | CONFIG_DRM=y |
1102 | # CONFIG_DRM_TDFX is not set | 1141 | # CONFIG_DRM_TDFX is not set |
1103 | # CONFIG_DRM_R128 is not set | 1142 | # CONFIG_DRM_R128 is not set |
@@ -1167,6 +1206,7 @@ CONFIG_FB_RADEON_BACKLIGHT=y | |||
1167 | # CONFIG_FB_BROADSHEET is not set | 1206 | # CONFIG_FB_BROADSHEET is not set |
1168 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | 1207 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
1169 | CONFIG_LCD_CLASS_DEVICE=m | 1208 | CONFIG_LCD_CLASS_DEVICE=m |
1209 | # CONFIG_LCD_LMS283GF05 is not set | ||
1170 | # CONFIG_LCD_LTV350QV is not set | 1210 | # CONFIG_LCD_LTV350QV is not set |
1171 | # CONFIG_LCD_ILI9320 is not set | 1211 | # CONFIG_LCD_ILI9320 is not set |
1172 | # CONFIG_LCD_TDO24M is not set | 1212 | # CONFIG_LCD_TDO24M is not set |
@@ -1198,7 +1238,6 @@ CONFIG_LOGO_LINUX_CLUT224=y | |||
1198 | # CONFIG_SOUND is not set | 1238 | # CONFIG_SOUND is not set |
1199 | CONFIG_HID_SUPPORT=y | 1239 | CONFIG_HID_SUPPORT=y |
1200 | CONFIG_HID=y | 1240 | CONFIG_HID=y |
1201 | # CONFIG_HID_DEBUG is not set | ||
1202 | # CONFIG_HIDRAW is not set | 1241 | # CONFIG_HIDRAW is not set |
1203 | 1242 | ||
1204 | # | 1243 | # |
@@ -1217,10 +1256,11 @@ CONFIG_HID_BELKIN=y | |||
1217 | CONFIG_HID_CHERRY=y | 1256 | CONFIG_HID_CHERRY=y |
1218 | # CONFIG_HID_CHICONY is not set | 1257 | # CONFIG_HID_CHICONY is not set |
1219 | CONFIG_HID_CYPRESS=y | 1258 | CONFIG_HID_CYPRESS=y |
1220 | # CONFIG_DRAGONRISE_FF is not set | 1259 | # CONFIG_HID_DRAGONRISE is not set |
1221 | CONFIG_HID_EZKEY=y | 1260 | CONFIG_HID_EZKEY=y |
1222 | # CONFIG_HID_KYE is not set | 1261 | # CONFIG_HID_KYE is not set |
1223 | # CONFIG_HID_GYRATION is not set | 1262 | # CONFIG_HID_GYRATION is not set |
1263 | # CONFIG_HID_TWINHAN is not set | ||
1224 | # CONFIG_HID_KENSINGTON is not set | 1264 | # CONFIG_HID_KENSINGTON is not set |
1225 | # CONFIG_HID_LOGITECH is not set | 1265 | # CONFIG_HID_LOGITECH is not set |
1226 | # CONFIG_HID_MICROSOFT is not set | 1266 | # CONFIG_HID_MICROSOFT is not set |
@@ -1231,10 +1271,11 @@ CONFIG_HID_EZKEY=y | |||
1231 | # CONFIG_HID_SAMSUNG is not set | 1271 | # CONFIG_HID_SAMSUNG is not set |
1232 | # CONFIG_HID_SONY is not set | 1272 | # CONFIG_HID_SONY is not set |
1233 | # CONFIG_HID_SUNPLUS is not set | 1273 | # CONFIG_HID_SUNPLUS is not set |
1234 | # CONFIG_GREENASIA_FF is not set | 1274 | # CONFIG_HID_GREENASIA is not set |
1275 | # CONFIG_HID_SMARTJOYPLUS is not set | ||
1235 | # CONFIG_HID_TOPSEED is not set | 1276 | # CONFIG_HID_TOPSEED is not set |
1236 | # CONFIG_THRUSTMASTER_FF is not set | 1277 | # CONFIG_HID_THRUSTMASTER is not set |
1237 | # CONFIG_ZEROPLUS_FF is not set | 1278 | # CONFIG_HID_ZEROPLUS is not set |
1238 | CONFIG_USB_SUPPORT=y | 1279 | CONFIG_USB_SUPPORT=y |
1239 | CONFIG_USB_ARCH_HAS_HCD=y | 1280 | CONFIG_USB_ARCH_HAS_HCD=y |
1240 | CONFIG_USB_ARCH_HAS_OHCI=y | 1281 | CONFIG_USB_ARCH_HAS_OHCI=y |
@@ -1261,15 +1302,17 @@ CONFIG_USB_MON=y | |||
1261 | # USB Host Controller Drivers | 1302 | # USB Host Controller Drivers |
1262 | # | 1303 | # |
1263 | # CONFIG_USB_C67X00_HCD is not set | 1304 | # CONFIG_USB_C67X00_HCD is not set |
1305 | # CONFIG_USB_XHCI_HCD is not set | ||
1264 | # CONFIG_USB_EHCI_HCD is not set | 1306 | # CONFIG_USB_EHCI_HCD is not set |
1265 | # CONFIG_USB_OXU210HP_HCD is not set | 1307 | # CONFIG_USB_OXU210HP_HCD is not set |
1266 | # CONFIG_USB_ISP116X_HCD is not set | 1308 | # CONFIG_USB_ISP116X_HCD is not set |
1267 | # CONFIG_USB_ISP1760_HCD is not set | 1309 | # CONFIG_USB_ISP1760_HCD is not set |
1310 | # CONFIG_USB_ISP1362_HCD is not set | ||
1268 | CONFIG_USB_OHCI_HCD=y | 1311 | CONFIG_USB_OHCI_HCD=y |
1269 | CONFIG_USB_OHCI_HCD_PPC_SOC=y | 1312 | CONFIG_USB_OHCI_HCD_PPC_SOC=y |
1270 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
1271 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | 1313 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y |
1272 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | 1314 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set |
1315 | CONFIG_USB_OHCI_HCD_PPC_OF=y | ||
1273 | CONFIG_USB_OHCI_HCD_PCI=y | 1316 | CONFIG_USB_OHCI_HCD_PCI=y |
1274 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y | 1317 | CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y |
1275 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y | 1318 | CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y |
@@ -1400,6 +1443,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
1400 | # CONFIG_RTC_DRV_S35390A is not set | 1443 | # CONFIG_RTC_DRV_S35390A is not set |
1401 | # CONFIG_RTC_DRV_FM3130 is not set | 1444 | # CONFIG_RTC_DRV_FM3130 is not set |
1402 | # CONFIG_RTC_DRV_RX8581 is not set | 1445 | # CONFIG_RTC_DRV_RX8581 is not set |
1446 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1403 | 1447 | ||
1404 | # | 1448 | # |
1405 | # SPI RTC drivers | 1449 | # SPI RTC drivers |
@@ -1411,6 +1455,7 @@ CONFIG_RTC_DRV_DS1307=y | |||
1411 | # CONFIG_RTC_DRV_R9701 is not set | 1455 | # CONFIG_RTC_DRV_R9701 is not set |
1412 | # CONFIG_RTC_DRV_RS5C348 is not set | 1456 | # CONFIG_RTC_DRV_RS5C348 is not set |
1413 | # CONFIG_RTC_DRV_DS3234 is not set | 1457 | # CONFIG_RTC_DRV_DS3234 is not set |
1458 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1414 | 1459 | ||
1415 | # | 1460 | # |
1416 | # Platform RTC drivers | 1461 | # Platform RTC drivers |
@@ -1434,6 +1479,10 @@ CONFIG_RTC_DRV_DS1307=y | |||
1434 | # CONFIG_DMADEVICES is not set | 1479 | # CONFIG_DMADEVICES is not set |
1435 | # CONFIG_AUXDISPLAY is not set | 1480 | # CONFIG_AUXDISPLAY is not set |
1436 | # CONFIG_UIO is not set | 1481 | # CONFIG_UIO is not set |
1482 | |||
1483 | # | ||
1484 | # TI VLYNQ | ||
1485 | # | ||
1437 | # CONFIG_STAGING is not set | 1486 | # CONFIG_STAGING is not set |
1438 | 1487 | ||
1439 | # | 1488 | # |
@@ -1453,10 +1502,13 @@ CONFIG_FS_MBCACHE=y | |||
1453 | # CONFIG_REISERFS_FS is not set | 1502 | # CONFIG_REISERFS_FS is not set |
1454 | # CONFIG_JFS_FS is not set | 1503 | # CONFIG_JFS_FS is not set |
1455 | # CONFIG_FS_POSIX_ACL is not set | 1504 | # CONFIG_FS_POSIX_ACL is not set |
1456 | CONFIG_FILE_LOCKING=y | ||
1457 | # CONFIG_XFS_FS is not set | 1505 | # CONFIG_XFS_FS is not set |
1506 | # CONFIG_GFS2_FS is not set | ||
1458 | # CONFIG_OCFS2_FS is not set | 1507 | # CONFIG_OCFS2_FS is not set |
1459 | # CONFIG_BTRFS_FS is not set | 1508 | # CONFIG_BTRFS_FS is not set |
1509 | # CONFIG_NILFS2_FS is not set | ||
1510 | CONFIG_FILE_LOCKING=y | ||
1511 | CONFIG_FSNOTIFY=y | ||
1460 | CONFIG_DNOTIFY=y | 1512 | CONFIG_DNOTIFY=y |
1461 | CONFIG_INOTIFY=y | 1513 | CONFIG_INOTIFY=y |
1462 | CONFIG_INOTIFY_USER=y | 1514 | CONFIG_INOTIFY_USER=y |
@@ -1533,12 +1585,12 @@ CONFIG_CRAMFS=y | |||
1533 | # CONFIG_ROMFS_FS is not set | 1585 | # CONFIG_ROMFS_FS is not set |
1534 | # CONFIG_SYSV_FS is not set | 1586 | # CONFIG_SYSV_FS is not set |
1535 | # CONFIG_UFS_FS is not set | 1587 | # CONFIG_UFS_FS is not set |
1536 | # CONFIG_NILFS2_FS is not set | ||
1537 | CONFIG_NETWORK_FILESYSTEMS=y | 1588 | CONFIG_NETWORK_FILESYSTEMS=y |
1538 | CONFIG_NFS_FS=y | 1589 | CONFIG_NFS_FS=y |
1539 | CONFIG_NFS_V3=y | 1590 | CONFIG_NFS_V3=y |
1540 | # CONFIG_NFS_V3_ACL is not set | 1591 | # CONFIG_NFS_V3_ACL is not set |
1541 | CONFIG_NFS_V4=y | 1592 | CONFIG_NFS_V4=y |
1593 | # CONFIG_NFS_V4_1 is not set | ||
1542 | CONFIG_ROOT_NFS=y | 1594 | CONFIG_ROOT_NFS=y |
1543 | # CONFIG_NFSD is not set | 1595 | # CONFIG_NFSD is not set |
1544 | CONFIG_LOCKD=y | 1596 | CONFIG_LOCKD=y |
@@ -1624,6 +1676,7 @@ CONFIG_HAS_IOPORT=y | |||
1624 | CONFIG_HAS_DMA=y | 1676 | CONFIG_HAS_DMA=y |
1625 | CONFIG_HAVE_LMB=y | 1677 | CONFIG_HAVE_LMB=y |
1626 | CONFIG_NLATTR=y | 1678 | CONFIG_NLATTR=y |
1679 | CONFIG_GENERIC_ATOMIC64=y | ||
1627 | 1680 | ||
1628 | # | 1681 | # |
1629 | # Kernel hacking | 1682 | # Kernel hacking |
@@ -1633,6 +1686,7 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
1633 | CONFIG_ENABLE_MUST_CHECK=y | 1686 | CONFIG_ENABLE_MUST_CHECK=y |
1634 | CONFIG_FRAME_WARN=1024 | 1687 | CONFIG_FRAME_WARN=1024 |
1635 | # CONFIG_MAGIC_SYSRQ is not set | 1688 | # CONFIG_MAGIC_SYSRQ is not set |
1689 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1636 | # CONFIG_UNUSED_SYMBOLS is not set | 1690 | # CONFIG_UNUSED_SYMBOLS is not set |
1637 | # CONFIG_DEBUG_FS is not set | 1691 | # CONFIG_DEBUG_FS is not set |
1638 | # CONFIG_HEADERS_CHECK is not set | 1692 | # CONFIG_HEADERS_CHECK is not set |
@@ -1650,10 +1704,14 @@ CONFIG_SCHED_DEBUG=y | |||
1650 | # CONFIG_DEBUG_OBJECTS is not set | 1704 | # CONFIG_DEBUG_OBJECTS is not set |
1651 | # CONFIG_SLUB_DEBUG_ON is not set | 1705 | # CONFIG_SLUB_DEBUG_ON is not set |
1652 | # CONFIG_SLUB_STATS is not set | 1706 | # CONFIG_SLUB_STATS is not set |
1707 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1653 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1708 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1654 | # CONFIG_RT_MUTEX_TESTER is not set | 1709 | # CONFIG_RT_MUTEX_TESTER is not set |
1655 | # CONFIG_DEBUG_SPINLOCK is not set | 1710 | # CONFIG_DEBUG_SPINLOCK is not set |
1656 | # CONFIG_DEBUG_MUTEXES is not set | 1711 | # CONFIG_DEBUG_MUTEXES is not set |
1712 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1713 | # CONFIG_PROVE_LOCKING is not set | ||
1714 | # CONFIG_LOCK_STAT is not set | ||
1657 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1715 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1658 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1716 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1659 | # CONFIG_DEBUG_KOBJECT is not set | 1717 | # CONFIG_DEBUG_KOBJECT is not set |
@@ -1665,11 +1723,12 @@ CONFIG_DEBUG_INFO=y | |||
1665 | # CONFIG_DEBUG_LIST is not set | 1723 | # CONFIG_DEBUG_LIST is not set |
1666 | # CONFIG_DEBUG_SG is not set | 1724 | # CONFIG_DEBUG_SG is not set |
1667 | # CONFIG_DEBUG_NOTIFIERS is not set | 1725 | # CONFIG_DEBUG_NOTIFIERS is not set |
1668 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1726 | # CONFIG_DEBUG_CREDENTIALS is not set |
1669 | # CONFIG_RCU_TORTURE_TEST is not set | 1727 | # CONFIG_RCU_TORTURE_TEST is not set |
1670 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1728 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1671 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1729 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1672 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1730 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1731 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1673 | # CONFIG_FAULT_INJECTION is not set | 1732 | # CONFIG_FAULT_INJECTION is not set |
1674 | # CONFIG_LATENCYTOP is not set | 1733 | # CONFIG_LATENCYTOP is not set |
1675 | # CONFIG_DEBUG_PAGEALLOC is not set | 1734 | # CONFIG_DEBUG_PAGEALLOC is not set |
@@ -1678,23 +1737,25 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | |||
1678 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1737 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
1679 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1738 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
1680 | CONFIG_TRACING_SUPPORT=y | 1739 | CONFIG_TRACING_SUPPORT=y |
1681 | 1740 | CONFIG_FTRACE=y | |
1682 | # | ||
1683 | # Tracers | ||
1684 | # | ||
1685 | # CONFIG_FUNCTION_TRACER is not set | 1741 | # CONFIG_FUNCTION_TRACER is not set |
1742 | # CONFIG_IRQSOFF_TRACER is not set | ||
1686 | # CONFIG_SCHED_TRACER is not set | 1743 | # CONFIG_SCHED_TRACER is not set |
1687 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1744 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set |
1688 | # CONFIG_EVENT_TRACER is not set | ||
1689 | # CONFIG_BOOT_TRACER is not set | 1745 | # CONFIG_BOOT_TRACER is not set |
1690 | # CONFIG_TRACE_BRANCH_PROFILING is not set | 1746 | CONFIG_BRANCH_PROFILE_NONE=y |
1747 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1748 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1691 | # CONFIG_STACK_TRACER is not set | 1749 | # CONFIG_STACK_TRACER is not set |
1692 | # CONFIG_KMEMTRACE is not set | 1750 | # CONFIG_KMEMTRACE is not set |
1693 | # CONFIG_WORKQUEUE_TRACER is not set | 1751 | # CONFIG_WORKQUEUE_TRACER is not set |
1694 | # CONFIG_BLK_DEV_IO_TRACE is not set | 1752 | # CONFIG_BLK_DEV_IO_TRACE is not set |
1753 | # CONFIG_DMA_API_DEBUG is not set | ||
1695 | # CONFIG_SAMPLES is not set | 1754 | # CONFIG_SAMPLES is not set |
1696 | CONFIG_HAVE_ARCH_KGDB=y | 1755 | CONFIG_HAVE_ARCH_KGDB=y |
1697 | # CONFIG_KGDB is not set | 1756 | # CONFIG_KGDB is not set |
1757 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
1758 | CONFIG_PPC_WERROR=y | ||
1698 | CONFIG_PRINT_STACK_DEPTH=64 | 1759 | CONFIG_PRINT_STACK_DEPTH=64 |
1699 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1760 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1700 | # CONFIG_DEBUG_STACK_USAGE is not set | 1761 | # CONFIG_DEBUG_STACK_USAGE is not set |
@@ -1719,7 +1780,6 @@ CONFIG_CRYPTO=y | |||
1719 | # | 1780 | # |
1720 | # Crypto core or helper | 1781 | # Crypto core or helper |
1721 | # | 1782 | # |
1722 | # CONFIG_CRYPTO_FIPS is not set | ||
1723 | CONFIG_CRYPTO_ALGAPI=y | 1783 | CONFIG_CRYPTO_ALGAPI=y |
1724 | CONFIG_CRYPTO_ALGAPI2=y | 1784 | CONFIG_CRYPTO_ALGAPI2=y |
1725 | CONFIG_CRYPTO_AEAD2=y | 1785 | CONFIG_CRYPTO_AEAD2=y |
@@ -1761,11 +1821,13 @@ CONFIG_CRYPTO_CBC=y | |||
1761 | # | 1821 | # |
1762 | # CONFIG_CRYPTO_HMAC is not set | 1822 | # CONFIG_CRYPTO_HMAC is not set |
1763 | # CONFIG_CRYPTO_XCBC is not set | 1823 | # CONFIG_CRYPTO_XCBC is not set |
1824 | # CONFIG_CRYPTO_VMAC is not set | ||
1764 | 1825 | ||
1765 | # | 1826 | # |
1766 | # Digest | 1827 | # Digest |
1767 | # | 1828 | # |
1768 | # CONFIG_CRYPTO_CRC32C is not set | 1829 | # CONFIG_CRYPTO_CRC32C is not set |
1830 | # CONFIG_CRYPTO_GHASH is not set | ||
1769 | # CONFIG_CRYPTO_MD4 is not set | 1831 | # CONFIG_CRYPTO_MD4 is not set |
1770 | CONFIG_CRYPTO_MD5=y | 1832 | CONFIG_CRYPTO_MD5=y |
1771 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1833 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
diff --git a/arch/powerpc/configs/ppc64e_defconfig b/arch/powerpc/configs/ppc64e_defconfig new file mode 100644 index 000000000000..18af46036258 --- /dev/null +++ b/arch/powerpc/configs/ppc64e_defconfig | |||
@@ -0,0 +1,2199 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.32-rc5 | ||
4 | # Fri Oct 16 11:37:15 2009 | ||
5 | # | ||
6 | CONFIG_PPC64=y | ||
7 | |||
8 | # | ||
9 | # Processor support | ||
10 | # | ||
11 | # CONFIG_PPC_BOOK3S_64 is not set | ||
12 | CONFIG_PPC_BOOK3E_64=y | ||
13 | CONFIG_PPC_BOOK3E=y | ||
14 | CONFIG_PPC_FPU=y | ||
15 | CONFIG_BOOKE=y | ||
16 | CONFIG_PPC_MMU_NOHASH=y | ||
17 | CONFIG_PPC_MMU_NOHASH_64=y | ||
18 | CONFIG_PPC_BOOK3E_MMU=y | ||
19 | # CONFIG_PPC_MM_SLICES is not set | ||
20 | CONFIG_VIRT_CPU_ACCOUNTING=y | ||
21 | CONFIG_PPC_HAVE_PMU_SUPPORT=y | ||
22 | CONFIG_PPC_PERF_CTRS=y | ||
23 | CONFIG_SMP=y | ||
24 | CONFIG_NR_CPUS=32 | ||
25 | CONFIG_64BIT=y | ||
26 | CONFIG_WORD_SIZE=64 | ||
27 | CONFIG_ARCH_PHYS_ADDR_T_64BIT=y | ||
28 | CONFIG_MMU=y | ||
29 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
30 | CONFIG_GENERIC_TIME=y | ||
31 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
32 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
33 | CONFIG_GENERIC_HARDIRQS=y | ||
34 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
35 | CONFIG_HAVE_SETUP_PER_CPU_AREA=y | ||
36 | CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y | ||
37 | CONFIG_IRQ_PER_CPU=y | ||
38 | CONFIG_STACKTRACE_SUPPORT=y | ||
39 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
40 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
41 | CONFIG_LOCKDEP_SUPPORT=y | ||
42 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
43 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
44 | CONFIG_ARCH_HAS_ILOG2_U64=y | ||
45 | CONFIG_GENERIC_HWEIGHT=y | ||
46 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
47 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | ||
48 | CONFIG_PPC=y | ||
49 | CONFIG_EARLY_PRINTK=y | ||
50 | CONFIG_COMPAT=y | ||
51 | CONFIG_SYSVIPC_COMPAT=y | ||
52 | CONFIG_SCHED_OMIT_FRAME_POINTER=y | ||
53 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
54 | CONFIG_PPC_OF=y | ||
55 | CONFIG_OF=y | ||
56 | # CONFIG_PPC_UDBG_16550 is not set | ||
57 | # CONFIG_GENERIC_TBSYNC is not set | ||
58 | CONFIG_AUDIT_ARCH=y | ||
59 | CONFIG_GENERIC_BUG=y | ||
60 | CONFIG_DTC=y | ||
61 | # CONFIG_DEFAULT_UIMAGE is not set | ||
62 | # CONFIG_PPC_DCR_NATIVE is not set | ||
63 | # CONFIG_PPC_DCR_MMIO is not set | ||
64 | # CONFIG_PPC_OF_PLATFORM_PCI is not set | ||
65 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y | ||
66 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
67 | CONFIG_CONSTRUCTORS=y | ||
68 | |||
69 | # | ||
70 | # General setup | ||
71 | # | ||
72 | CONFIG_EXPERIMENTAL=y | ||
73 | CONFIG_LOCK_KERNEL=y | ||
74 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
75 | CONFIG_LOCALVERSION="" | ||
76 | CONFIG_LOCALVERSION_AUTO=y | ||
77 | CONFIG_SWAP=y | ||
78 | CONFIG_SYSVIPC=y | ||
79 | CONFIG_SYSVIPC_SYSCTL=y | ||
80 | CONFIG_POSIX_MQUEUE=y | ||
81 | CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
82 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
83 | CONFIG_TASKSTATS=y | ||
84 | CONFIG_TASK_DELAY_ACCT=y | ||
85 | # CONFIG_TASK_XACCT is not set | ||
86 | # CONFIG_AUDIT is not set | ||
87 | |||
88 | # | ||
89 | # RCU Subsystem | ||
90 | # | ||
91 | CONFIG_TREE_RCU=y | ||
92 | # CONFIG_TREE_PREEMPT_RCU is not set | ||
93 | # CONFIG_RCU_TRACE is not set | ||
94 | CONFIG_RCU_FANOUT=64 | ||
95 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
96 | # CONFIG_TREE_RCU_TRACE is not set | ||
97 | CONFIG_IKCONFIG=y | ||
98 | CONFIG_IKCONFIG_PROC=y | ||
99 | CONFIG_LOG_BUF_SHIFT=17 | ||
100 | # CONFIG_GROUP_SCHED is not set | ||
101 | CONFIG_CGROUPS=y | ||
102 | # CONFIG_CGROUP_DEBUG is not set | ||
103 | # CONFIG_CGROUP_NS is not set | ||
104 | # CONFIG_CGROUP_FREEZER is not set | ||
105 | # CONFIG_CGROUP_DEVICE is not set | ||
106 | CONFIG_CPUSETS=y | ||
107 | CONFIG_PROC_PID_CPUSET=y | ||
108 | # CONFIG_CGROUP_CPUACCT is not set | ||
109 | # CONFIG_RESOURCE_COUNTERS is not set | ||
110 | CONFIG_SYSFS_DEPRECATED=y | ||
111 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
112 | CONFIG_RELAY=y | ||
113 | CONFIG_NAMESPACES=y | ||
114 | # CONFIG_UTS_NS is not set | ||
115 | # CONFIG_IPC_NS is not set | ||
116 | # CONFIG_USER_NS is not set | ||
117 | # CONFIG_PID_NS is not set | ||
118 | # CONFIG_NET_NS is not set | ||
119 | CONFIG_BLK_DEV_INITRD=y | ||
120 | CONFIG_INITRAMFS_SOURCE="" | ||
121 | CONFIG_RD_GZIP=y | ||
122 | CONFIG_RD_BZIP2=y | ||
123 | CONFIG_RD_LZMA=y | ||
124 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
125 | CONFIG_SYSCTL=y | ||
126 | CONFIG_ANON_INODES=y | ||
127 | # CONFIG_EMBEDDED is not set | ||
128 | CONFIG_SYSCTL_SYSCALL=y | ||
129 | CONFIG_KALLSYMS=y | ||
130 | CONFIG_KALLSYMS_ALL=y | ||
131 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
132 | CONFIG_HOTPLUG=y | ||
133 | CONFIG_PRINTK=y | ||
134 | CONFIG_BUG=y | ||
135 | CONFIG_ELF_CORE=y | ||
136 | CONFIG_BASE_FULL=y | ||
137 | CONFIG_FUTEX=y | ||
138 | CONFIG_EPOLL=y | ||
139 | CONFIG_SIGNALFD=y | ||
140 | CONFIG_TIMERFD=y | ||
141 | CONFIG_EVENTFD=y | ||
142 | CONFIG_SHMEM=y | ||
143 | CONFIG_AIO=y | ||
144 | CONFIG_HAVE_PERF_EVENTS=y | ||
145 | |||
146 | # | ||
147 | # Kernel Performance Events And Counters | ||
148 | # | ||
149 | CONFIG_PERF_EVENTS=y | ||
150 | CONFIG_EVENT_PROFILE=y | ||
151 | # CONFIG_PERF_COUNTERS is not set | ||
152 | # CONFIG_DEBUG_PERF_USE_VMALLOC is not set | ||
153 | CONFIG_VM_EVENT_COUNTERS=y | ||
154 | CONFIG_PCI_QUIRKS=y | ||
155 | CONFIG_SLUB_DEBUG=y | ||
156 | # CONFIG_COMPAT_BRK is not set | ||
157 | # CONFIG_SLAB is not set | ||
158 | CONFIG_SLUB=y | ||
159 | # CONFIG_SLOB is not set | ||
160 | CONFIG_PROFILING=y | ||
161 | CONFIG_TRACEPOINTS=y | ||
162 | CONFIG_OPROFILE=y | ||
163 | CONFIG_HAVE_OPROFILE=y | ||
164 | # CONFIG_KPROBES is not set | ||
165 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | ||
166 | CONFIG_HAVE_SYSCALL_WRAPPERS=y | ||
167 | CONFIG_HAVE_IOREMAP_PROT=y | ||
168 | CONFIG_HAVE_KPROBES=y | ||
169 | CONFIG_HAVE_KRETPROBES=y | ||
170 | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
171 | CONFIG_HAVE_DMA_ATTRS=y | ||
172 | CONFIG_USE_GENERIC_SMP_HELPERS=y | ||
173 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
174 | |||
175 | # | ||
176 | # GCOV-based kernel profiling | ||
177 | # | ||
178 | # CONFIG_GCOV_KERNEL is not set | ||
179 | CONFIG_SLOW_WORK=y | ||
180 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
181 | CONFIG_SLABINFO=y | ||
182 | CONFIG_RT_MUTEXES=y | ||
183 | CONFIG_BASE_SMALL=0 | ||
184 | CONFIG_MODULES=y | ||
185 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
186 | CONFIG_MODULE_UNLOAD=y | ||
187 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
188 | CONFIG_MODVERSIONS=y | ||
189 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
190 | CONFIG_STOP_MACHINE=y | ||
191 | CONFIG_BLOCK=y | ||
192 | CONFIG_BLK_DEV_BSG=y | ||
193 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
194 | CONFIG_BLOCK_COMPAT=y | ||
195 | |||
196 | # | ||
197 | # IO Schedulers | ||
198 | # | ||
199 | CONFIG_IOSCHED_NOOP=y | ||
200 | CONFIG_IOSCHED_AS=y | ||
201 | CONFIG_IOSCHED_DEADLINE=y | ||
202 | CONFIG_IOSCHED_CFQ=y | ||
203 | CONFIG_DEFAULT_AS=y | ||
204 | # CONFIG_DEFAULT_DEADLINE is not set | ||
205 | # CONFIG_DEFAULT_CFQ is not set | ||
206 | # CONFIG_DEFAULT_NOOP is not set | ||
207 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
208 | # CONFIG_FREEZER is not set | ||
209 | |||
210 | # | ||
211 | # Platform support | ||
212 | # | ||
213 | # CONFIG_PPC_CELL is not set | ||
214 | # CONFIG_PPC_CELL_NATIVE is not set | ||
215 | # CONFIG_PQ2ADS is not set | ||
216 | CONFIG_PPC_OF_BOOT_TRAMPOLINE=y | ||
217 | # CONFIG_IPIC is not set | ||
218 | # CONFIG_MPIC is not set | ||
219 | # CONFIG_MPIC_WEIRD is not set | ||
220 | # CONFIG_PPC_I8259 is not set | ||
221 | # CONFIG_U3_DART is not set | ||
222 | # CONFIG_PPC_RTAS is not set | ||
223 | # CONFIG_MMIO_NVRAM is not set | ||
224 | # CONFIG_PPC_MPC106 is not set | ||
225 | # CONFIG_PPC_970_NAP is not set | ||
226 | # CONFIG_PPC_INDIRECT_IO is not set | ||
227 | # CONFIG_GENERIC_IOMAP is not set | ||
228 | CONFIG_CPU_FREQ=y | ||
229 | CONFIG_CPU_FREQ_TABLE=y | ||
230 | # CONFIG_CPU_FREQ_DEBUG is not set | ||
231 | CONFIG_CPU_FREQ_STAT=y | ||
232 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | ||
233 | CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | ||
234 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set | ||
235 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set | ||
236 | # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | ||
237 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set | ||
238 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
239 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
240 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
241 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | ||
242 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set | ||
243 | |||
244 | # | ||
245 | # CPU Frequency drivers | ||
246 | # | ||
247 | # CONFIG_FSL_ULI1575 is not set | ||
248 | # CONFIG_SIMPLE_GPIO is not set | ||
249 | |||
250 | # | ||
251 | # Kernel options | ||
252 | # | ||
253 | CONFIG_TICK_ONESHOT=y | ||
254 | CONFIG_NO_HZ=y | ||
255 | CONFIG_HIGH_RES_TIMERS=y | ||
256 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
257 | # CONFIG_HZ_100 is not set | ||
258 | CONFIG_HZ_250=y | ||
259 | # CONFIG_HZ_300 is not set | ||
260 | # CONFIG_HZ_1000 is not set | ||
261 | CONFIG_HZ=250 | ||
262 | CONFIG_SCHED_HRTICK=y | ||
263 | CONFIG_PREEMPT_NONE=y | ||
264 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
265 | # CONFIG_PREEMPT is not set | ||
266 | CONFIG_BINFMT_ELF=y | ||
267 | CONFIG_COMPAT_BINFMT_ELF=y | ||
268 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
269 | # CONFIG_HAVE_AOUT is not set | ||
270 | CONFIG_BINFMT_MISC=m | ||
271 | CONFIG_IOMMU_VMERGE=y | ||
272 | CONFIG_IOMMU_HELPER=y | ||
273 | # CONFIG_SWIOTLB is not set | ||
274 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
275 | CONFIG_ARCH_HAS_WALK_MEMORY=y | ||
276 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | ||
277 | # CONFIG_CRASH_DUMP is not set | ||
278 | CONFIG_IRQ_ALL_CPUS=y | ||
279 | # CONFIG_NUMA is not set | ||
280 | CONFIG_MAX_ACTIVE_REGIONS=256 | ||
281 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | ||
282 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
283 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | ||
284 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
285 | CONFIG_SELECT_MEMORY_MODEL=y | ||
286 | # CONFIG_FLATMEM_MANUAL is not set | ||
287 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
288 | CONFIG_SPARSEMEM_MANUAL=y | ||
289 | CONFIG_SPARSEMEM=y | ||
290 | CONFIG_HAVE_MEMORY_PRESENT=y | ||
291 | CONFIG_SPARSEMEM_EXTREME=y | ||
292 | CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y | ||
293 | CONFIG_SPARSEMEM_VMEMMAP=y | ||
294 | # CONFIG_MEMORY_HOTPLUG is not set | ||
295 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
296 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
297 | CONFIG_MIGRATION=y | ||
298 | CONFIG_PHYS_ADDR_T_64BIT=y | ||
299 | CONFIG_ZONE_DMA_FLAG=1 | ||
300 | CONFIG_BOUNCE=y | ||
301 | CONFIG_HAVE_MLOCK=y | ||
302 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
303 | # CONFIG_KSM is not set | ||
304 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
305 | # CONFIG_PPC_HAS_HASH_64K is not set | ||
306 | CONFIG_PPC_4K_PAGES=y | ||
307 | # CONFIG_PPC_16K_PAGES is not set | ||
308 | # CONFIG_PPC_64K_PAGES is not set | ||
309 | # CONFIG_PPC_256K_PAGES is not set | ||
310 | CONFIG_FORCE_MAX_ZONEORDER=13 | ||
311 | # CONFIG_SCHED_SMT is not set | ||
312 | CONFIG_PROC_DEVICETREE=y | ||
313 | # CONFIG_CMDLINE_BOOL is not set | ||
314 | CONFIG_EXTRA_TARGETS="" | ||
315 | # CONFIG_PM is not set | ||
316 | CONFIG_SECCOMP=y | ||
317 | CONFIG_ISA_DMA_API=y | ||
318 | |||
319 | # | ||
320 | # Bus options | ||
321 | # | ||
322 | CONFIG_ZONE_DMA=y | ||
323 | CONFIG_GENERIC_ISA_DMA=y | ||
324 | # CONFIG_PPC_INDIRECT_PCI is not set | ||
325 | CONFIG_PCI=y | ||
326 | CONFIG_PCI_DOMAINS=y | ||
327 | CONFIG_PCI_SYSCALL=y | ||
328 | # CONFIG_PCIEPORTBUS is not set | ||
329 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
330 | CONFIG_PCI_MSI=y | ||
331 | # CONFIG_PCI_LEGACY is not set | ||
332 | # CONFIG_PCI_DEBUG is not set | ||
333 | # CONFIG_PCI_STUB is not set | ||
334 | # CONFIG_PCI_IOV is not set | ||
335 | CONFIG_PCCARD=y | ||
336 | # CONFIG_PCMCIA_DEBUG is not set | ||
337 | CONFIG_PCMCIA=y | ||
338 | CONFIG_PCMCIA_LOAD_CIS=y | ||
339 | CONFIG_PCMCIA_IOCTL=y | ||
340 | CONFIG_CARDBUS=y | ||
341 | |||
342 | # | ||
343 | # PC-card bridges | ||
344 | # | ||
345 | # CONFIG_YENTA is not set | ||
346 | # CONFIG_PD6729 is not set | ||
347 | # CONFIG_I82092 is not set | ||
348 | CONFIG_HOTPLUG_PCI=m | ||
349 | # CONFIG_HOTPLUG_PCI_FAKE is not set | ||
350 | # CONFIG_HOTPLUG_PCI_CPCI is not set | ||
351 | # CONFIG_HOTPLUG_PCI_SHPC is not set | ||
352 | # CONFIG_HAS_RAPIDIO is not set | ||
353 | # CONFIG_RELOCATABLE is not set | ||
354 | CONFIG_PAGE_OFFSET=0xc000000000000000 | ||
355 | CONFIG_KERNEL_START=0xc000000000000000 | ||
356 | CONFIG_PHYSICAL_START=0x00000000 | ||
357 | CONFIG_NET=y | ||
358 | CONFIG_COMPAT_NETLINK_MESSAGES=y | ||
359 | |||
360 | # | ||
361 | # Networking options | ||
362 | # | ||
363 | CONFIG_PACKET=y | ||
364 | # CONFIG_PACKET_MMAP is not set | ||
365 | CONFIG_UNIX=y | ||
366 | CONFIG_XFRM=y | ||
367 | CONFIG_XFRM_USER=m | ||
368 | # CONFIG_XFRM_SUB_POLICY is not set | ||
369 | # CONFIG_XFRM_MIGRATE is not set | ||
370 | # CONFIG_XFRM_STATISTICS is not set | ||
371 | CONFIG_XFRM_IPCOMP=m | ||
372 | CONFIG_NET_KEY=m | ||
373 | # CONFIG_NET_KEY_MIGRATE is not set | ||
374 | CONFIG_INET=y | ||
375 | CONFIG_IP_MULTICAST=y | ||
376 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
377 | CONFIG_IP_FIB_HASH=y | ||
378 | CONFIG_IP_PNP=y | ||
379 | CONFIG_IP_PNP_DHCP=y | ||
380 | CONFIG_IP_PNP_BOOTP=y | ||
381 | # CONFIG_IP_PNP_RARP is not set | ||
382 | CONFIG_NET_IPIP=y | ||
383 | # CONFIG_NET_IPGRE is not set | ||
384 | # CONFIG_IP_MROUTE is not set | ||
385 | # CONFIG_ARPD is not set | ||
386 | CONFIG_SYN_COOKIES=y | ||
387 | CONFIG_INET_AH=m | ||
388 | CONFIG_INET_ESP=m | ||
389 | CONFIG_INET_IPCOMP=m | ||
390 | CONFIG_INET_XFRM_TUNNEL=m | ||
391 | CONFIG_INET_TUNNEL=y | ||
392 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
393 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
394 | CONFIG_INET_XFRM_MODE_BEET=y | ||
395 | CONFIG_INET_LRO=y | ||
396 | CONFIG_INET_DIAG=y | ||
397 | CONFIG_INET_TCP_DIAG=y | ||
398 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
399 | CONFIG_TCP_CONG_CUBIC=y | ||
400 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
401 | # CONFIG_TCP_MD5SIG is not set | ||
402 | # CONFIG_IPV6 is not set | ||
403 | # CONFIG_NETWORK_SECMARK is not set | ||
404 | CONFIG_NETFILTER=y | ||
405 | # CONFIG_NETFILTER_DEBUG is not set | ||
406 | CONFIG_NETFILTER_ADVANCED=y | ||
407 | |||
408 | # | ||
409 | # Core Netfilter Configuration | ||
410 | # | ||
411 | CONFIG_NETFILTER_NETLINK=m | ||
412 | CONFIG_NETFILTER_NETLINK_QUEUE=m | ||
413 | CONFIG_NETFILTER_NETLINK_LOG=m | ||
414 | CONFIG_NF_CONNTRACK=m | ||
415 | CONFIG_NF_CT_ACCT=y | ||
416 | CONFIG_NF_CONNTRACK_MARK=y | ||
417 | CONFIG_NF_CONNTRACK_EVENTS=y | ||
418 | # CONFIG_NF_CT_PROTO_DCCP is not set | ||
419 | CONFIG_NF_CT_PROTO_GRE=m | ||
420 | CONFIG_NF_CT_PROTO_SCTP=m | ||
421 | # CONFIG_NF_CT_PROTO_UDPLITE is not set | ||
422 | CONFIG_NF_CONNTRACK_AMANDA=m | ||
423 | CONFIG_NF_CONNTRACK_FTP=m | ||
424 | CONFIG_NF_CONNTRACK_H323=m | ||
425 | CONFIG_NF_CONNTRACK_IRC=m | ||
426 | CONFIG_NF_CONNTRACK_NETBIOS_NS=m | ||
427 | CONFIG_NF_CONNTRACK_PPTP=m | ||
428 | # CONFIG_NF_CONNTRACK_SANE is not set | ||
429 | CONFIG_NF_CONNTRACK_SIP=m | ||
430 | CONFIG_NF_CONNTRACK_TFTP=m | ||
431 | CONFIG_NF_CT_NETLINK=m | ||
432 | CONFIG_NETFILTER_TPROXY=m | ||
433 | CONFIG_NETFILTER_XTABLES=m | ||
434 | CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m | ||
435 | CONFIG_NETFILTER_XT_TARGET_CONNMARK=m | ||
436 | CONFIG_NETFILTER_XT_TARGET_DSCP=m | ||
437 | CONFIG_NETFILTER_XT_TARGET_HL=m | ||
438 | CONFIG_NETFILTER_XT_TARGET_MARK=m | ||
439 | CONFIG_NETFILTER_XT_TARGET_NFLOG=m | ||
440 | CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m | ||
441 | CONFIG_NETFILTER_XT_TARGET_NOTRACK=m | ||
442 | CONFIG_NETFILTER_XT_TARGET_RATEEST=m | ||
443 | CONFIG_NETFILTER_XT_TARGET_TPROXY=m | ||
444 | CONFIG_NETFILTER_XT_TARGET_TRACE=m | ||
445 | CONFIG_NETFILTER_XT_TARGET_TCPMSS=m | ||
446 | CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m | ||
447 | # CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set | ||
448 | CONFIG_NETFILTER_XT_MATCH_COMMENT=m | ||
449 | CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m | ||
450 | CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m | ||
451 | CONFIG_NETFILTER_XT_MATCH_CONNMARK=m | ||
452 | CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m | ||
453 | CONFIG_NETFILTER_XT_MATCH_DCCP=m | ||
454 | CONFIG_NETFILTER_XT_MATCH_DSCP=m | ||
455 | CONFIG_NETFILTER_XT_MATCH_ESP=m | ||
456 | CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m | ||
457 | CONFIG_NETFILTER_XT_MATCH_HELPER=m | ||
458 | CONFIG_NETFILTER_XT_MATCH_HL=m | ||
459 | CONFIG_NETFILTER_XT_MATCH_IPRANGE=m | ||
460 | CONFIG_NETFILTER_XT_MATCH_LENGTH=m | ||
461 | CONFIG_NETFILTER_XT_MATCH_LIMIT=m | ||
462 | CONFIG_NETFILTER_XT_MATCH_MAC=m | ||
463 | CONFIG_NETFILTER_XT_MATCH_MARK=m | ||
464 | CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m | ||
465 | CONFIG_NETFILTER_XT_MATCH_OWNER=m | ||
466 | CONFIG_NETFILTER_XT_MATCH_POLICY=m | ||
467 | CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m | ||
468 | CONFIG_NETFILTER_XT_MATCH_QUOTA=m | ||
469 | CONFIG_NETFILTER_XT_MATCH_RATEEST=m | ||
470 | CONFIG_NETFILTER_XT_MATCH_REALM=m | ||
471 | CONFIG_NETFILTER_XT_MATCH_RECENT=m | ||
472 | # CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT is not set | ||
473 | CONFIG_NETFILTER_XT_MATCH_SCTP=m | ||
474 | CONFIG_NETFILTER_XT_MATCH_SOCKET=m | ||
475 | CONFIG_NETFILTER_XT_MATCH_STATE=m | ||
476 | CONFIG_NETFILTER_XT_MATCH_STATISTIC=m | ||
477 | CONFIG_NETFILTER_XT_MATCH_STRING=m | ||
478 | CONFIG_NETFILTER_XT_MATCH_TCPMSS=m | ||
479 | # CONFIG_NETFILTER_XT_MATCH_TIME is not set | ||
480 | CONFIG_NETFILTER_XT_MATCH_U32=m | ||
481 | # CONFIG_NETFILTER_XT_MATCH_OSF is not set | ||
482 | # CONFIG_IP_VS is not set | ||
483 | |||
484 | # | ||
485 | # IP: Netfilter Configuration | ||
486 | # | ||
487 | CONFIG_NF_DEFRAG_IPV4=m | ||
488 | CONFIG_NF_CONNTRACK_IPV4=m | ||
489 | CONFIG_NF_CONNTRACK_PROC_COMPAT=y | ||
490 | CONFIG_IP_NF_QUEUE=m | ||
491 | CONFIG_IP_NF_IPTABLES=m | ||
492 | CONFIG_IP_NF_MATCH_ADDRTYPE=m | ||
493 | CONFIG_IP_NF_MATCH_AH=m | ||
494 | CONFIG_IP_NF_MATCH_ECN=m | ||
495 | CONFIG_IP_NF_MATCH_TTL=m | ||
496 | CONFIG_IP_NF_FILTER=m | ||
497 | CONFIG_IP_NF_TARGET_REJECT=m | ||
498 | CONFIG_IP_NF_TARGET_LOG=m | ||
499 | CONFIG_IP_NF_TARGET_ULOG=m | ||
500 | CONFIG_NF_NAT=m | ||
501 | CONFIG_NF_NAT_NEEDED=y | ||
502 | CONFIG_IP_NF_TARGET_MASQUERADE=m | ||
503 | CONFIG_IP_NF_TARGET_NETMAP=m | ||
504 | CONFIG_IP_NF_TARGET_REDIRECT=m | ||
505 | CONFIG_NF_NAT_SNMP_BASIC=m | ||
506 | CONFIG_NF_NAT_PROTO_GRE=m | ||
507 | CONFIG_NF_NAT_PROTO_SCTP=m | ||
508 | CONFIG_NF_NAT_FTP=m | ||
509 | CONFIG_NF_NAT_IRC=m | ||
510 | CONFIG_NF_NAT_TFTP=m | ||
511 | CONFIG_NF_NAT_AMANDA=m | ||
512 | CONFIG_NF_NAT_PPTP=m | ||
513 | CONFIG_NF_NAT_H323=m | ||
514 | CONFIG_NF_NAT_SIP=m | ||
515 | CONFIG_IP_NF_MANGLE=m | ||
516 | CONFIG_IP_NF_TARGET_CLUSTERIP=m | ||
517 | CONFIG_IP_NF_TARGET_ECN=m | ||
518 | CONFIG_IP_NF_TARGET_TTL=m | ||
519 | CONFIG_IP_NF_RAW=m | ||
520 | CONFIG_IP_NF_ARPTABLES=m | ||
521 | CONFIG_IP_NF_ARPFILTER=m | ||
522 | CONFIG_IP_NF_ARP_MANGLE=m | ||
523 | # CONFIG_IP_DCCP is not set | ||
524 | # CONFIG_IP_SCTP is not set | ||
525 | # CONFIG_RDS is not set | ||
526 | # CONFIG_TIPC is not set | ||
527 | # CONFIG_ATM is not set | ||
528 | # CONFIG_BRIDGE is not set | ||
529 | # CONFIG_NET_DSA is not set | ||
530 | # CONFIG_VLAN_8021Q is not set | ||
531 | # CONFIG_DECNET is not set | ||
532 | CONFIG_LLC=y | ||
533 | # CONFIG_LLC2 is not set | ||
534 | # CONFIG_IPX is not set | ||
535 | # CONFIG_ATALK is not set | ||
536 | # CONFIG_X25 is not set | ||
537 | # CONFIG_LAPB is not set | ||
538 | # CONFIG_ECONET is not set | ||
539 | # CONFIG_WAN_ROUTER is not set | ||
540 | # CONFIG_PHONET is not set | ||
541 | # CONFIG_IEEE802154 is not set | ||
542 | # CONFIG_NET_SCHED is not set | ||
543 | CONFIG_NET_CLS_ROUTE=y | ||
544 | # CONFIG_DCB is not set | ||
545 | |||
546 | # | ||
547 | # Network testing | ||
548 | # | ||
549 | # CONFIG_NET_PKTGEN is not set | ||
550 | # CONFIG_NET_DROP_MONITOR is not set | ||
551 | # CONFIG_HAMRADIO is not set | ||
552 | # CONFIG_CAN is not set | ||
553 | # CONFIG_IRDA is not set | ||
554 | # CONFIG_BT is not set | ||
555 | # CONFIG_AF_RXRPC is not set | ||
556 | CONFIG_WIRELESS=y | ||
557 | # CONFIG_CFG80211 is not set | ||
558 | CONFIG_CFG80211_DEFAULT_PS_VALUE=0 | ||
559 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
560 | CONFIG_WIRELESS_EXT=y | ||
561 | CONFIG_WIRELESS_EXT_SYSFS=y | ||
562 | # CONFIG_LIB80211 is not set | ||
563 | |||
564 | # | ||
565 | # CFG80211 needs to be enabled for MAC80211 | ||
566 | # | ||
567 | # CONFIG_WIMAX is not set | ||
568 | # CONFIG_RFKILL is not set | ||
569 | # CONFIG_NET_9P is not set | ||
570 | |||
571 | # | ||
572 | # Device Drivers | ||
573 | # | ||
574 | |||
575 | # | ||
576 | # Generic Driver Options | ||
577 | # | ||
578 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
579 | # CONFIG_DEVTMPFS is not set | ||
580 | CONFIG_STANDALONE=y | ||
581 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
582 | CONFIG_FW_LOADER=y | ||
583 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
584 | CONFIG_EXTRA_FIRMWARE="" | ||
585 | # CONFIG_DEBUG_DRIVER is not set | ||
586 | # CONFIG_DEBUG_DEVRES is not set | ||
587 | # CONFIG_SYS_HYPERVISOR is not set | ||
588 | # CONFIG_CONNECTOR is not set | ||
589 | # CONFIG_MTD is not set | ||
590 | CONFIG_OF_DEVICE=y | ||
591 | CONFIG_OF_I2C=y | ||
592 | CONFIG_OF_MDIO=y | ||
593 | # CONFIG_PARPORT is not set | ||
594 | CONFIG_BLK_DEV=y | ||
595 | CONFIG_BLK_DEV_FD=y | ||
596 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
597 | # CONFIG_BLK_DEV_DAC960 is not set | ||
598 | # CONFIG_BLK_DEV_UMEM is not set | ||
599 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
600 | CONFIG_BLK_DEV_LOOP=y | ||
601 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
602 | CONFIG_BLK_DEV_NBD=m | ||
603 | # CONFIG_BLK_DEV_SX8 is not set | ||
604 | # CONFIG_BLK_DEV_UB is not set | ||
605 | CONFIG_BLK_DEV_RAM=y | ||
606 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
607 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
608 | # CONFIG_BLK_DEV_XIP is not set | ||
609 | # CONFIG_CDROM_PKTCDVD is not set | ||
610 | # CONFIG_ATA_OVER_ETH is not set | ||
611 | # CONFIG_BLK_DEV_HD is not set | ||
612 | CONFIG_MISC_DEVICES=y | ||
613 | # CONFIG_PHANTOM is not set | ||
614 | # CONFIG_SGI_IOC4 is not set | ||
615 | # CONFIG_TIFM_CORE is not set | ||
616 | # CONFIG_ICS932S401 is not set | ||
617 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
618 | # CONFIG_HP_ILO is not set | ||
619 | # CONFIG_ISL29003 is not set | ||
620 | # CONFIG_C2PORT is not set | ||
621 | |||
622 | # | ||
623 | # EEPROM support | ||
624 | # | ||
625 | # CONFIG_EEPROM_AT24 is not set | ||
626 | # CONFIG_EEPROM_LEGACY is not set | ||
627 | # CONFIG_EEPROM_MAX6875 is not set | ||
628 | # CONFIG_EEPROM_93CX6 is not set | ||
629 | # CONFIG_CB710_CORE is not set | ||
630 | CONFIG_HAVE_IDE=y | ||
631 | CONFIG_IDE=y | ||
632 | |||
633 | # | ||
634 | # Please see Documentation/ide/ide.txt for help/info on IDE drives | ||
635 | # | ||
636 | CONFIG_IDE_XFER_MODE=y | ||
637 | CONFIG_IDE_TIMINGS=y | ||
638 | CONFIG_IDE_ATAPI=y | ||
639 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
640 | CONFIG_IDE_GD=y | ||
641 | CONFIG_IDE_GD_ATA=y | ||
642 | # CONFIG_IDE_GD_ATAPI is not set | ||
643 | # CONFIG_BLK_DEV_IDECS is not set | ||
644 | # CONFIG_BLK_DEV_DELKIN is not set | ||
645 | CONFIG_BLK_DEV_IDECD=y | ||
646 | CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y | ||
647 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
648 | # CONFIG_IDE_TASK_IOCTL is not set | ||
649 | CONFIG_IDE_PROC_FS=y | ||
650 | |||
651 | # | ||
652 | # IDE chipset support/bugfixes | ||
653 | # | ||
654 | # CONFIG_BLK_DEV_PLATFORM is not set | ||
655 | CONFIG_BLK_DEV_IDEDMA_SFF=y | ||
656 | |||
657 | # | ||
658 | # PCI IDE chipsets support | ||
659 | # | ||
660 | CONFIG_BLK_DEV_IDEPCI=y | ||
661 | CONFIG_IDEPCI_PCIBUS_ORDER=y | ||
662 | # CONFIG_BLK_DEV_OFFBOARD is not set | ||
663 | CONFIG_BLK_DEV_GENERIC=y | ||
664 | # CONFIG_BLK_DEV_OPTI621 is not set | ||
665 | CONFIG_BLK_DEV_IDEDMA_PCI=y | ||
666 | # CONFIG_BLK_DEV_AEC62XX is not set | ||
667 | # CONFIG_BLK_DEV_ALI15X3 is not set | ||
668 | CONFIG_BLK_DEV_AMD74XX=y | ||
669 | # CONFIG_BLK_DEV_CMD64X is not set | ||
670 | # CONFIG_BLK_DEV_TRIFLEX is not set | ||
671 | # CONFIG_BLK_DEV_CS5520 is not set | ||
672 | # CONFIG_BLK_DEV_CS5530 is not set | ||
673 | # CONFIG_BLK_DEV_HPT366 is not set | ||
674 | # CONFIG_BLK_DEV_JMICRON is not set | ||
675 | # CONFIG_BLK_DEV_SC1200 is not set | ||
676 | # CONFIG_BLK_DEV_PIIX is not set | ||
677 | # CONFIG_BLK_DEV_IT8172 is not set | ||
678 | # CONFIG_BLK_DEV_IT8213 is not set | ||
679 | # CONFIG_BLK_DEV_IT821X is not set | ||
680 | # CONFIG_BLK_DEV_NS87415 is not set | ||
681 | # CONFIG_BLK_DEV_PDC202XX_OLD is not set | ||
682 | # CONFIG_BLK_DEV_PDC202XX_NEW is not set | ||
683 | # CONFIG_BLK_DEV_SVWKS is not set | ||
684 | # CONFIG_BLK_DEV_SIIMAGE is not set | ||
685 | # CONFIG_BLK_DEV_SL82C105 is not set | ||
686 | # CONFIG_BLK_DEV_SLC90E66 is not set | ||
687 | # CONFIG_BLK_DEV_TRM290 is not set | ||
688 | # CONFIG_BLK_DEV_VIA82CXXX is not set | ||
689 | # CONFIG_BLK_DEV_TC86C001 is not set | ||
690 | CONFIG_BLK_DEV_IDEDMA=y | ||
691 | |||
692 | # | ||
693 | # SCSI device support | ||
694 | # | ||
695 | # CONFIG_RAID_ATTRS is not set | ||
696 | CONFIG_SCSI=y | ||
697 | CONFIG_SCSI_DMA=y | ||
698 | # CONFIG_SCSI_TGT is not set | ||
699 | CONFIG_SCSI_NETLINK=y | ||
700 | CONFIG_SCSI_PROC_FS=y | ||
701 | |||
702 | # | ||
703 | # SCSI support type (disk, tape, CD-ROM) | ||
704 | # | ||
705 | CONFIG_BLK_DEV_SD=y | ||
706 | CONFIG_CHR_DEV_ST=y | ||
707 | # CONFIG_CHR_DEV_OSST is not set | ||
708 | CONFIG_BLK_DEV_SR=y | ||
709 | CONFIG_BLK_DEV_SR_VENDOR=y | ||
710 | CONFIG_CHR_DEV_SG=y | ||
711 | # CONFIG_CHR_DEV_SCH is not set | ||
712 | CONFIG_SCSI_MULTI_LUN=y | ||
713 | CONFIG_SCSI_CONSTANTS=y | ||
714 | # CONFIG_SCSI_LOGGING is not set | ||
715 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
716 | CONFIG_SCSI_WAIT_SCAN=m | ||
717 | |||
718 | # | ||
719 | # SCSI Transports | ||
720 | # | ||
721 | CONFIG_SCSI_SPI_ATTRS=y | ||
722 | CONFIG_SCSI_FC_ATTRS=y | ||
723 | CONFIG_SCSI_ISCSI_ATTRS=m | ||
724 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
725 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
726 | CONFIG_SCSI_SRP_ATTRS=y | ||
727 | CONFIG_SCSI_LOWLEVEL=y | ||
728 | # CONFIG_ISCSI_TCP is not set | ||
729 | # CONFIG_SCSI_CXGB3_ISCSI is not set | ||
730 | # CONFIG_SCSI_BNX2_ISCSI is not set | ||
731 | # CONFIG_BE2ISCSI is not set | ||
732 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | ||
733 | # CONFIG_SCSI_3W_9XXX is not set | ||
734 | # CONFIG_SCSI_ACARD is not set | ||
735 | # CONFIG_SCSI_AACRAID is not set | ||
736 | # CONFIG_SCSI_AIC7XXX is not set | ||
737 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
738 | # CONFIG_SCSI_AIC79XX is not set | ||
739 | # CONFIG_SCSI_AIC94XX is not set | ||
740 | # CONFIG_SCSI_MVSAS is not set | ||
741 | # CONFIG_SCSI_ARCMSR is not set | ||
742 | # CONFIG_MEGARAID_NEWGEN is not set | ||
743 | # CONFIG_MEGARAID_LEGACY is not set | ||
744 | # CONFIG_MEGARAID_SAS is not set | ||
745 | # CONFIG_SCSI_MPT2SAS is not set | ||
746 | # CONFIG_SCSI_HPTIOP is not set | ||
747 | # CONFIG_LIBFC is not set | ||
748 | # CONFIG_LIBFCOE is not set | ||
749 | # CONFIG_FCOE is not set | ||
750 | # CONFIG_SCSI_DMX3191D is not set | ||
751 | # CONFIG_SCSI_EATA is not set | ||
752 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
753 | # CONFIG_SCSI_GDTH is not set | ||
754 | # CONFIG_SCSI_IPS is not set | ||
755 | # CONFIG_SCSI_INITIO is not set | ||
756 | # CONFIG_SCSI_INIA100 is not set | ||
757 | # CONFIG_SCSI_STEX is not set | ||
758 | CONFIG_SCSI_SYM53C8XX_2=y | ||
759 | CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0 | ||
760 | CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 | ||
761 | CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 | ||
762 | CONFIG_SCSI_SYM53C8XX_MMIO=y | ||
763 | CONFIG_SCSI_IPR=y | ||
764 | CONFIG_SCSI_IPR_TRACE=y | ||
765 | CONFIG_SCSI_IPR_DUMP=y | ||
766 | # CONFIG_SCSI_QLOGIC_1280 is not set | ||
767 | # CONFIG_SCSI_QLA_FC is not set | ||
768 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
769 | CONFIG_SCSI_LPFC=m | ||
770 | # CONFIG_SCSI_LPFC_DEBUG_FS is not set | ||
771 | # CONFIG_SCSI_DC395x is not set | ||
772 | # CONFIG_SCSI_DC390T is not set | ||
773 | CONFIG_SCSI_DEBUG=m | ||
774 | # CONFIG_SCSI_PMCRAID is not set | ||
775 | # CONFIG_SCSI_SRP is not set | ||
776 | # CONFIG_SCSI_BFA_FC is not set | ||
777 | # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set | ||
778 | # CONFIG_SCSI_DH is not set | ||
779 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
780 | CONFIG_ATA=y | ||
781 | # CONFIG_ATA_NONSTANDARD is not set | ||
782 | CONFIG_ATA_VERBOSE_ERROR=y | ||
783 | CONFIG_SATA_PMP=y | ||
784 | # CONFIG_SATA_AHCI is not set | ||
785 | CONFIG_SATA_SIL24=y | ||
786 | CONFIG_ATA_SFF=y | ||
787 | CONFIG_SATA_SVW=y | ||
788 | # CONFIG_ATA_PIIX is not set | ||
789 | # CONFIG_SATA_MV is not set | ||
790 | # CONFIG_SATA_NV is not set | ||
791 | # CONFIG_PDC_ADMA is not set | ||
792 | # CONFIG_SATA_QSTOR is not set | ||
793 | # CONFIG_SATA_PROMISE is not set | ||
794 | # CONFIG_SATA_SX4 is not set | ||
795 | # CONFIG_SATA_SIL is not set | ||
796 | # CONFIG_SATA_SIS is not set | ||
797 | # CONFIG_SATA_ULI is not set | ||
798 | # CONFIG_SATA_VIA is not set | ||
799 | # CONFIG_SATA_VITESSE is not set | ||
800 | # CONFIG_SATA_INIC162X is not set | ||
801 | # CONFIG_PATA_ALI is not set | ||
802 | # CONFIG_PATA_AMD is not set | ||
803 | # CONFIG_PATA_ARTOP is not set | ||
804 | # CONFIG_PATA_ATP867X is not set | ||
805 | # CONFIG_PATA_ATIIXP is not set | ||
806 | # CONFIG_PATA_CMD640_PCI is not set | ||
807 | # CONFIG_PATA_CMD64X is not set | ||
808 | # CONFIG_PATA_CS5520 is not set | ||
809 | # CONFIG_PATA_CS5530 is not set | ||
810 | # CONFIG_PATA_CYPRESS is not set | ||
811 | # CONFIG_PATA_EFAR is not set | ||
812 | # CONFIG_ATA_GENERIC is not set | ||
813 | # CONFIG_PATA_HPT366 is not set | ||
814 | # CONFIG_PATA_HPT37X is not set | ||
815 | # CONFIG_PATA_HPT3X2N is not set | ||
816 | # CONFIG_PATA_HPT3X3 is not set | ||
817 | # CONFIG_PATA_IT821X is not set | ||
818 | # CONFIG_PATA_IT8213 is not set | ||
819 | # CONFIG_PATA_JMICRON is not set | ||
820 | # CONFIG_PATA_TRIFLEX is not set | ||
821 | # CONFIG_PATA_MARVELL is not set | ||
822 | # CONFIG_PATA_MPIIX is not set | ||
823 | # CONFIG_PATA_OLDPIIX is not set | ||
824 | # CONFIG_PATA_NETCELL is not set | ||
825 | # CONFIG_PATA_NINJA32 is not set | ||
826 | # CONFIG_PATA_NS87410 is not set | ||
827 | # CONFIG_PATA_NS87415 is not set | ||
828 | # CONFIG_PATA_OPTI is not set | ||
829 | # CONFIG_PATA_OPTIDMA is not set | ||
830 | # CONFIG_PATA_PCMCIA is not set | ||
831 | # CONFIG_PATA_PDC_OLD is not set | ||
832 | # CONFIG_PATA_RADISYS is not set | ||
833 | # CONFIG_PATA_RDC is not set | ||
834 | # CONFIG_PATA_RZ1000 is not set | ||
835 | # CONFIG_PATA_SC1200 is not set | ||
836 | # CONFIG_PATA_SERVERWORKS is not set | ||
837 | # CONFIG_PATA_PDC2027X is not set | ||
838 | # CONFIG_PATA_SIL680 is not set | ||
839 | # CONFIG_PATA_SIS is not set | ||
840 | # CONFIG_PATA_VIA is not set | ||
841 | # CONFIG_PATA_WINBOND is not set | ||
842 | # CONFIG_PATA_PLATFORM is not set | ||
843 | # CONFIG_PATA_SCH is not set | ||
844 | CONFIG_MD=y | ||
845 | CONFIG_BLK_DEV_MD=y | ||
846 | CONFIG_MD_AUTODETECT=y | ||
847 | CONFIG_MD_LINEAR=y | ||
848 | CONFIG_MD_RAID0=y | ||
849 | CONFIG_MD_RAID1=y | ||
850 | CONFIG_MD_RAID10=y | ||
851 | CONFIG_MD_RAID456=y | ||
852 | # CONFIG_MULTICORE_RAID456 is not set | ||
853 | CONFIG_MD_RAID6_PQ=y | ||
854 | # CONFIG_ASYNC_RAID6_TEST is not set | ||
855 | CONFIG_MD_MULTIPATH=m | ||
856 | CONFIG_MD_FAULTY=m | ||
857 | CONFIG_BLK_DEV_DM=y | ||
858 | # CONFIG_DM_DEBUG is not set | ||
859 | CONFIG_DM_CRYPT=m | ||
860 | CONFIG_DM_SNAPSHOT=m | ||
861 | CONFIG_DM_MIRROR=m | ||
862 | # CONFIG_DM_LOG_USERSPACE is not set | ||
863 | CONFIG_DM_ZERO=m | ||
864 | CONFIG_DM_MULTIPATH=m | ||
865 | # CONFIG_DM_MULTIPATH_QL is not set | ||
866 | # CONFIG_DM_MULTIPATH_ST is not set | ||
867 | # CONFIG_DM_DELAY is not set | ||
868 | # CONFIG_DM_UEVENT is not set | ||
869 | # CONFIG_FUSION is not set | ||
870 | |||
871 | # | ||
872 | # IEEE 1394 (FireWire) support | ||
873 | # | ||
874 | |||
875 | # | ||
876 | # You can enable one or both FireWire driver stacks. | ||
877 | # | ||
878 | |||
879 | # | ||
880 | # See the help texts for more information. | ||
881 | # | ||
882 | # CONFIG_FIREWIRE is not set | ||
883 | CONFIG_IEEE1394=y | ||
884 | CONFIG_IEEE1394_OHCI1394=y | ||
885 | # CONFIG_IEEE1394_PCILYNX is not set | ||
886 | CONFIG_IEEE1394_SBP2=m | ||
887 | CONFIG_IEEE1394_ETH1394_ROM_ENTRY=y | ||
888 | CONFIG_IEEE1394_ETH1394=m | ||
889 | CONFIG_IEEE1394_RAWIO=y | ||
890 | CONFIG_IEEE1394_VIDEO1394=m | ||
891 | CONFIG_IEEE1394_DV1394=m | ||
892 | # CONFIG_IEEE1394_VERBOSEDEBUG is not set | ||
893 | # CONFIG_I2O is not set | ||
894 | CONFIG_MACINTOSH_DRIVERS=y | ||
895 | # CONFIG_MAC_EMUMOUSEBTN is not set | ||
896 | CONFIG_WINDFARM=y | ||
897 | CONFIG_NETDEVICES=y | ||
898 | CONFIG_DUMMY=m | ||
899 | CONFIG_BONDING=m | ||
900 | # CONFIG_MACVLAN is not set | ||
901 | # CONFIG_EQUALIZER is not set | ||
902 | CONFIG_TUN=m | ||
903 | # CONFIG_VETH is not set | ||
904 | # CONFIG_ARCNET is not set | ||
905 | CONFIG_PHYLIB=y | ||
906 | |||
907 | # | ||
908 | # MII PHY device drivers | ||
909 | # | ||
910 | CONFIG_MARVELL_PHY=y | ||
911 | # CONFIG_DAVICOM_PHY is not set | ||
912 | # CONFIG_QSEMI_PHY is not set | ||
913 | # CONFIG_LXT_PHY is not set | ||
914 | # CONFIG_CICADA_PHY is not set | ||
915 | # CONFIG_VITESSE_PHY is not set | ||
916 | # CONFIG_SMSC_PHY is not set | ||
917 | CONFIG_BROADCOM_PHY=m | ||
918 | # CONFIG_ICPLUS_PHY is not set | ||
919 | # CONFIG_REALTEK_PHY is not set | ||
920 | # CONFIG_NATIONAL_PHY is not set | ||
921 | # CONFIG_STE10XP is not set | ||
922 | # CONFIG_LSI_ET1011C_PHY is not set | ||
923 | # CONFIG_FIXED_PHY is not set | ||
924 | # CONFIG_MDIO_BITBANG is not set | ||
925 | CONFIG_NET_ETHERNET=y | ||
926 | CONFIG_MII=y | ||
927 | # CONFIG_HAPPYMEAL is not set | ||
928 | CONFIG_SUNGEM=y | ||
929 | # CONFIG_CASSINI is not set | ||
930 | CONFIG_NET_VENDOR_3COM=y | ||
931 | CONFIG_VORTEX=y | ||
932 | # CONFIG_TYPHOON is not set | ||
933 | # CONFIG_ETHOC is not set | ||
934 | # CONFIG_DNET is not set | ||
935 | # CONFIG_NET_TULIP is not set | ||
936 | # CONFIG_HP100 is not set | ||
937 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
938 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
939 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
940 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
941 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
942 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
943 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
944 | CONFIG_NET_PCI=y | ||
945 | CONFIG_PCNET32=y | ||
946 | # CONFIG_AMD8111_ETH is not set | ||
947 | # CONFIG_ADAPTEC_STARFIRE is not set | ||
948 | # CONFIG_B44 is not set | ||
949 | # CONFIG_FORCEDETH is not set | ||
950 | CONFIG_E100=y | ||
951 | # CONFIG_FEALNX is not set | ||
952 | # CONFIG_NATSEMI is not set | ||
953 | # CONFIG_NE2K_PCI is not set | ||
954 | # CONFIG_8139CP is not set | ||
955 | # CONFIG_8139TOO is not set | ||
956 | # CONFIG_R6040 is not set | ||
957 | # CONFIG_SIS900 is not set | ||
958 | # CONFIG_EPIC100 is not set | ||
959 | # CONFIG_SMSC9420 is not set | ||
960 | # CONFIG_SUNDANCE is not set | ||
961 | # CONFIG_TLAN is not set | ||
962 | # CONFIG_KS8842 is not set | ||
963 | # CONFIG_KS8851_MLL is not set | ||
964 | # CONFIG_VIA_RHINE is not set | ||
965 | # CONFIG_SC92031 is not set | ||
966 | # CONFIG_ATL2 is not set | ||
967 | CONFIG_NETDEV_1000=y | ||
968 | CONFIG_ACENIC=y | ||
969 | CONFIG_ACENIC_OMIT_TIGON_I=y | ||
970 | # CONFIG_DL2K is not set | ||
971 | CONFIG_E1000=y | ||
972 | # CONFIG_E1000E is not set | ||
973 | # CONFIG_IP1000 is not set | ||
974 | # CONFIG_IGB is not set | ||
975 | # CONFIG_IGBVF is not set | ||
976 | # CONFIG_NS83820 is not set | ||
977 | # CONFIG_HAMACHI is not set | ||
978 | # CONFIG_YELLOWFIN is not set | ||
979 | # CONFIG_R8169 is not set | ||
980 | # CONFIG_SIS190 is not set | ||
981 | # CONFIG_SKGE is not set | ||
982 | # CONFIG_SKY2 is not set | ||
983 | # CONFIG_VIA_VELOCITY is not set | ||
984 | CONFIG_TIGON3=y | ||
985 | # CONFIG_BNX2 is not set | ||
986 | # CONFIG_CNIC is not set | ||
987 | # CONFIG_QLA3XXX is not set | ||
988 | # CONFIG_ATL1 is not set | ||
989 | # CONFIG_ATL1E is not set | ||
990 | # CONFIG_ATL1C is not set | ||
991 | # CONFIG_JME is not set | ||
992 | CONFIG_NETDEV_10000=y | ||
993 | # CONFIG_CHELSIO_T1 is not set | ||
994 | CONFIG_CHELSIO_T3_DEPENDS=y | ||
995 | # CONFIG_CHELSIO_T3 is not set | ||
996 | # CONFIG_ENIC is not set | ||
997 | # CONFIG_IXGBE is not set | ||
998 | CONFIG_IXGB=m | ||
999 | # CONFIG_S2IO is not set | ||
1000 | # CONFIG_VXGE is not set | ||
1001 | # CONFIG_MYRI10GE is not set | ||
1002 | # CONFIG_NETXEN_NIC is not set | ||
1003 | # CONFIG_NIU is not set | ||
1004 | # CONFIG_MLX4_EN is not set | ||
1005 | # CONFIG_MLX4_CORE is not set | ||
1006 | # CONFIG_TEHUTI is not set | ||
1007 | # CONFIG_BNX2X is not set | ||
1008 | # CONFIG_QLGE is not set | ||
1009 | # CONFIG_SFC is not set | ||
1010 | # CONFIG_BE2NET is not set | ||
1011 | CONFIG_TR=y | ||
1012 | CONFIG_IBMOL=y | ||
1013 | # CONFIG_3C359 is not set | ||
1014 | # CONFIG_TMS380TR is not set | ||
1015 | CONFIG_WLAN=y | ||
1016 | # CONFIG_WLAN_PRE80211 is not set | ||
1017 | # CONFIG_WLAN_80211 is not set | ||
1018 | |||
1019 | # | ||
1020 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
1021 | # | ||
1022 | |||
1023 | # | ||
1024 | # USB Network Adapters | ||
1025 | # | ||
1026 | # CONFIG_USB_CATC is not set | ||
1027 | # CONFIG_USB_KAWETH is not set | ||
1028 | # CONFIG_USB_PEGASUS is not set | ||
1029 | # CONFIG_USB_RTL8150 is not set | ||
1030 | # CONFIG_USB_USBNET is not set | ||
1031 | # CONFIG_NET_PCMCIA is not set | ||
1032 | # CONFIG_WAN is not set | ||
1033 | # CONFIG_FDDI is not set | ||
1034 | # CONFIG_HIPPI is not set | ||
1035 | CONFIG_PPP=m | ||
1036 | # CONFIG_PPP_MULTILINK is not set | ||
1037 | # CONFIG_PPP_FILTER is not set | ||
1038 | CONFIG_PPP_ASYNC=m | ||
1039 | CONFIG_PPP_SYNC_TTY=m | ||
1040 | CONFIG_PPP_DEFLATE=m | ||
1041 | CONFIG_PPP_BSDCOMP=m | ||
1042 | # CONFIG_PPP_MPPE is not set | ||
1043 | CONFIG_PPPOE=m | ||
1044 | # CONFIG_PPPOL2TP is not set | ||
1045 | # CONFIG_SLIP is not set | ||
1046 | CONFIG_SLHC=m | ||
1047 | # CONFIG_NET_FC is not set | ||
1048 | CONFIG_NETCONSOLE=y | ||
1049 | # CONFIG_NETCONSOLE_DYNAMIC is not set | ||
1050 | CONFIG_NETPOLL=y | ||
1051 | CONFIG_NETPOLL_TRAP=y | ||
1052 | CONFIG_NET_POLL_CONTROLLER=y | ||
1053 | # CONFIG_ISDN is not set | ||
1054 | # CONFIG_PHONE is not set | ||
1055 | |||
1056 | # | ||
1057 | # Input device support | ||
1058 | # | ||
1059 | CONFIG_INPUT=y | ||
1060 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
1061 | # CONFIG_INPUT_POLLDEV is not set | ||
1062 | |||
1063 | # | ||
1064 | # Userland interfaces | ||
1065 | # | ||
1066 | CONFIG_INPUT_MOUSEDEV=y | ||
1067 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
1068 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
1069 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
1070 | # CONFIG_INPUT_JOYDEV is not set | ||
1071 | CONFIG_INPUT_EVDEV=m | ||
1072 | # CONFIG_INPUT_EVBUG is not set | ||
1073 | |||
1074 | # | ||
1075 | # Input Device Drivers | ||
1076 | # | ||
1077 | CONFIG_INPUT_KEYBOARD=y | ||
1078 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
1079 | CONFIG_KEYBOARD_ATKBD=y | ||
1080 | # CONFIG_QT2160 is not set | ||
1081 | # CONFIG_KEYBOARD_LKKBD is not set | ||
1082 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
1083 | # CONFIG_KEYBOARD_NEWTON is not set | ||
1084 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
1085 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
1086 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
1087 | # CONFIG_KEYBOARD_XTKBD is not set | ||
1088 | CONFIG_INPUT_MOUSE=y | ||
1089 | CONFIG_MOUSE_PS2=y | ||
1090 | CONFIG_MOUSE_PS2_ALPS=y | ||
1091 | CONFIG_MOUSE_PS2_LOGIPS2PP=y | ||
1092 | CONFIG_MOUSE_PS2_SYNAPTICS=y | ||
1093 | CONFIG_MOUSE_PS2_TRACKPOINT=y | ||
1094 | # CONFIG_MOUSE_PS2_ELANTECH is not set | ||
1095 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
1096 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | ||
1097 | # CONFIG_MOUSE_SERIAL is not set | ||
1098 | # CONFIG_MOUSE_APPLETOUCH is not set | ||
1099 | # CONFIG_MOUSE_BCM5974 is not set | ||
1100 | # CONFIG_MOUSE_VSXXXAA is not set | ||
1101 | # CONFIG_MOUSE_SYNAPTICS_I2C is not set | ||
1102 | # CONFIG_INPUT_JOYSTICK is not set | ||
1103 | # CONFIG_INPUT_TABLET is not set | ||
1104 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
1105 | CONFIG_INPUT_MISC=y | ||
1106 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
1107 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
1108 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
1109 | # CONFIG_INPUT_POWERMATE is not set | ||
1110 | # CONFIG_INPUT_YEALINK is not set | ||
1111 | # CONFIG_INPUT_CM109 is not set | ||
1112 | # CONFIG_INPUT_UINPUT is not set | ||
1113 | |||
1114 | # | ||
1115 | # Hardware I/O ports | ||
1116 | # | ||
1117 | CONFIG_SERIO=y | ||
1118 | CONFIG_SERIO_I8042=y | ||
1119 | # CONFIG_SERIO_SERPORT is not set | ||
1120 | # CONFIG_SERIO_PCIPS2 is not set | ||
1121 | CONFIG_SERIO_LIBPS2=y | ||
1122 | # CONFIG_SERIO_RAW is not set | ||
1123 | # CONFIG_SERIO_XILINX_XPS_PS2 is not set | ||
1124 | # CONFIG_GAMEPORT is not set | ||
1125 | |||
1126 | # | ||
1127 | # Character devices | ||
1128 | # | ||
1129 | CONFIG_VT=y | ||
1130 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
1131 | CONFIG_VT_CONSOLE=y | ||
1132 | CONFIG_HW_CONSOLE=y | ||
1133 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
1134 | CONFIG_DEVKMEM=y | ||
1135 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
1136 | # CONFIG_NOZOMI is not set | ||
1137 | |||
1138 | # | ||
1139 | # Serial drivers | ||
1140 | # | ||
1141 | CONFIG_SERIAL_8250=y | ||
1142 | CONFIG_SERIAL_8250_CONSOLE=y | ||
1143 | CONFIG_SERIAL_8250_PCI=y | ||
1144 | # CONFIG_SERIAL_8250_CS is not set | ||
1145 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
1146 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
1147 | # CONFIG_SERIAL_8250_EXTENDED is not set | ||
1148 | |||
1149 | # | ||
1150 | # Non-8250 serial port support | ||
1151 | # | ||
1152 | CONFIG_SERIAL_CORE=y | ||
1153 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
1154 | # CONFIG_SERIAL_JSM is not set | ||
1155 | # CONFIG_SERIAL_OF_PLATFORM is not set | ||
1156 | CONFIG_UNIX98_PTYS=y | ||
1157 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
1158 | CONFIG_LEGACY_PTYS=y | ||
1159 | CONFIG_LEGACY_PTY_COUNT=256 | ||
1160 | # CONFIG_HVC_UDBG is not set | ||
1161 | # CONFIG_IPMI_HANDLER is not set | ||
1162 | # CONFIG_HW_RANDOM is not set | ||
1163 | # CONFIG_R3964 is not set | ||
1164 | # CONFIG_APPLICOM is not set | ||
1165 | |||
1166 | # | ||
1167 | # PCMCIA character devices | ||
1168 | # | ||
1169 | # CONFIG_SYNCLINK_CS is not set | ||
1170 | # CONFIG_CARDMAN_4000 is not set | ||
1171 | # CONFIG_CARDMAN_4040 is not set | ||
1172 | # CONFIG_IPWIRELESS is not set | ||
1173 | CONFIG_RAW_DRIVER=y | ||
1174 | CONFIG_MAX_RAW_DEVS=256 | ||
1175 | # CONFIG_HANGCHECK_TIMER is not set | ||
1176 | # CONFIG_TCG_TPM is not set | ||
1177 | CONFIG_DEVPORT=y | ||
1178 | CONFIG_I2C=y | ||
1179 | CONFIG_I2C_BOARDINFO=y | ||
1180 | CONFIG_I2C_COMPAT=y | ||
1181 | CONFIG_I2C_CHARDEV=y | ||
1182 | CONFIG_I2C_HELPER_AUTO=y | ||
1183 | CONFIG_I2C_ALGOBIT=y | ||
1184 | |||
1185 | # | ||
1186 | # I2C Hardware Bus support | ||
1187 | # | ||
1188 | |||
1189 | # | ||
1190 | # PC SMBus host controller drivers | ||
1191 | # | ||
1192 | # CONFIG_I2C_ALI1535 is not set | ||
1193 | # CONFIG_I2C_ALI1563 is not set | ||
1194 | # CONFIG_I2C_ALI15X3 is not set | ||
1195 | # CONFIG_I2C_AMD756 is not set | ||
1196 | CONFIG_I2C_AMD8111=y | ||
1197 | # CONFIG_I2C_I801 is not set | ||
1198 | # CONFIG_I2C_ISCH is not set | ||
1199 | # CONFIG_I2C_PIIX4 is not set | ||
1200 | # CONFIG_I2C_NFORCE2 is not set | ||
1201 | # CONFIG_I2C_SIS5595 is not set | ||
1202 | # CONFIG_I2C_SIS630 is not set | ||
1203 | # CONFIG_I2C_SIS96X is not set | ||
1204 | # CONFIG_I2C_VIA is not set | ||
1205 | # CONFIG_I2C_VIAPRO is not set | ||
1206 | |||
1207 | # | ||
1208 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
1209 | # | ||
1210 | # CONFIG_I2C_OCORES is not set | ||
1211 | # CONFIG_I2C_SIMTEC is not set | ||
1212 | |||
1213 | # | ||
1214 | # External I2C/SMBus adapter drivers | ||
1215 | # | ||
1216 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
1217 | # CONFIG_I2C_TAOS_EVM is not set | ||
1218 | # CONFIG_I2C_TINY_USB is not set | ||
1219 | |||
1220 | # | ||
1221 | # Graphics adapter I2C/DDC channel drivers | ||
1222 | # | ||
1223 | # CONFIG_I2C_VOODOO3 is not set | ||
1224 | |||
1225 | # | ||
1226 | # Other I2C/SMBus bus drivers | ||
1227 | # | ||
1228 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
1229 | # CONFIG_I2C_STUB is not set | ||
1230 | |||
1231 | # | ||
1232 | # Miscellaneous I2C Chip support | ||
1233 | # | ||
1234 | # CONFIG_DS1682 is not set | ||
1235 | # CONFIG_SENSORS_TSL2550 is not set | ||
1236 | # CONFIG_I2C_DEBUG_CORE is not set | ||
1237 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
1238 | # CONFIG_I2C_DEBUG_BUS is not set | ||
1239 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
1240 | # CONFIG_SPI is not set | ||
1241 | |||
1242 | # | ||
1243 | # PPS support | ||
1244 | # | ||
1245 | # CONFIG_PPS is not set | ||
1246 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
1247 | # CONFIG_GPIOLIB is not set | ||
1248 | # CONFIG_W1 is not set | ||
1249 | # CONFIG_POWER_SUPPLY is not set | ||
1250 | # CONFIG_HWMON is not set | ||
1251 | # CONFIG_THERMAL is not set | ||
1252 | # CONFIG_WATCHDOG is not set | ||
1253 | CONFIG_SSB_POSSIBLE=y | ||
1254 | |||
1255 | # | ||
1256 | # Sonics Silicon Backplane | ||
1257 | # | ||
1258 | # CONFIG_SSB is not set | ||
1259 | |||
1260 | # | ||
1261 | # Multifunction device drivers | ||
1262 | # | ||
1263 | # CONFIG_MFD_CORE is not set | ||
1264 | # CONFIG_MFD_SM501 is not set | ||
1265 | # CONFIG_HTC_PASIC3 is not set | ||
1266 | # CONFIG_TWL4030_CORE is not set | ||
1267 | # CONFIG_MFD_TMIO is not set | ||
1268 | # CONFIG_PMIC_DA903X is not set | ||
1269 | # CONFIG_MFD_WM8400 is not set | ||
1270 | # CONFIG_MFD_WM831X is not set | ||
1271 | # CONFIG_MFD_WM8350_I2C is not set | ||
1272 | # CONFIG_MFD_PCF50633 is not set | ||
1273 | # CONFIG_AB3100_CORE is not set | ||
1274 | # CONFIG_REGULATOR is not set | ||
1275 | # CONFIG_MEDIA_SUPPORT is not set | ||
1276 | |||
1277 | # | ||
1278 | # Graphics support | ||
1279 | # | ||
1280 | # CONFIG_AGP is not set | ||
1281 | CONFIG_VGA_ARB=y | ||
1282 | # CONFIG_DRM is not set | ||
1283 | # CONFIG_VGASTATE is not set | ||
1284 | CONFIG_VIDEO_OUTPUT_CONTROL=m | ||
1285 | CONFIG_FB=y | ||
1286 | CONFIG_FIRMWARE_EDID=y | ||
1287 | CONFIG_FB_DDC=y | ||
1288 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
1289 | CONFIG_FB_CFB_FILLRECT=y | ||
1290 | CONFIG_FB_CFB_COPYAREA=y | ||
1291 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
1292 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
1293 | # CONFIG_FB_SYS_FILLRECT is not set | ||
1294 | # CONFIG_FB_SYS_COPYAREA is not set | ||
1295 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
1296 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
1297 | # CONFIG_FB_SYS_FOPS is not set | ||
1298 | # CONFIG_FB_SVGALIB is not set | ||
1299 | CONFIG_FB_MACMODES=y | ||
1300 | CONFIG_FB_BACKLIGHT=y | ||
1301 | CONFIG_FB_MODE_HELPERS=y | ||
1302 | CONFIG_FB_TILEBLITTING=y | ||
1303 | |||
1304 | # | ||
1305 | # Frame buffer hardware drivers | ||
1306 | # | ||
1307 | # CONFIG_FB_CIRRUS is not set | ||
1308 | # CONFIG_FB_PM2 is not set | ||
1309 | # CONFIG_FB_CYBER2000 is not set | ||
1310 | CONFIG_FB_OF=y | ||
1311 | # CONFIG_FB_ASILIANT is not set | ||
1312 | # CONFIG_FB_IMSTT is not set | ||
1313 | # CONFIG_FB_VGA16 is not set | ||
1314 | # CONFIG_FB_S1D13XXX is not set | ||
1315 | # CONFIG_FB_NVIDIA is not set | ||
1316 | # CONFIG_FB_RIVA is not set | ||
1317 | CONFIG_FB_MATROX=y | ||
1318 | CONFIG_FB_MATROX_MILLENIUM=y | ||
1319 | CONFIG_FB_MATROX_MYSTIQUE=y | ||
1320 | CONFIG_FB_MATROX_G=y | ||
1321 | CONFIG_FB_MATROX_I2C=m | ||
1322 | CONFIG_FB_MATROX_MAVEN=m | ||
1323 | CONFIG_FB_RADEON=y | ||
1324 | CONFIG_FB_RADEON_I2C=y | ||
1325 | CONFIG_FB_RADEON_BACKLIGHT=y | ||
1326 | # CONFIG_FB_RADEON_DEBUG is not set | ||
1327 | # CONFIG_FB_ATY128 is not set | ||
1328 | # CONFIG_FB_ATY is not set | ||
1329 | # CONFIG_FB_S3 is not set | ||
1330 | # CONFIG_FB_SAVAGE is not set | ||
1331 | # CONFIG_FB_SIS is not set | ||
1332 | # CONFIG_FB_VIA is not set | ||
1333 | # CONFIG_FB_NEOMAGIC is not set | ||
1334 | # CONFIG_FB_KYRO is not set | ||
1335 | # CONFIG_FB_3DFX is not set | ||
1336 | # CONFIG_FB_VOODOO1 is not set | ||
1337 | # CONFIG_FB_VT8623 is not set | ||
1338 | # CONFIG_FB_TRIDENT is not set | ||
1339 | # CONFIG_FB_ARK is not set | ||
1340 | # CONFIG_FB_PM3 is not set | ||
1341 | # CONFIG_FB_CARMINE is not set | ||
1342 | CONFIG_FB_IBM_GXT4500=y | ||
1343 | # CONFIG_FB_VIRTUAL is not set | ||
1344 | # CONFIG_FB_METRONOME is not set | ||
1345 | # CONFIG_FB_MB862XX is not set | ||
1346 | # CONFIG_FB_BROADSHEET is not set | ||
1347 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
1348 | CONFIG_LCD_CLASS_DEVICE=y | ||
1349 | # CONFIG_LCD_ILI9320 is not set | ||
1350 | # CONFIG_LCD_PLATFORM is not set | ||
1351 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
1352 | CONFIG_BACKLIGHT_GENERIC=y | ||
1353 | |||
1354 | # | ||
1355 | # Display device support | ||
1356 | # | ||
1357 | CONFIG_DISPLAY_SUPPORT=y | ||
1358 | |||
1359 | # | ||
1360 | # Display hardware drivers | ||
1361 | # | ||
1362 | |||
1363 | # | ||
1364 | # Console display driver support | ||
1365 | # | ||
1366 | # CONFIG_VGA_CONSOLE is not set | ||
1367 | CONFIG_DUMMY_CONSOLE=y | ||
1368 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
1369 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
1370 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
1371 | # CONFIG_FONTS is not set | ||
1372 | CONFIG_FONT_8x8=y | ||
1373 | CONFIG_FONT_8x16=y | ||
1374 | CONFIG_LOGO=y | ||
1375 | CONFIG_LOGO_LINUX_MONO=y | ||
1376 | CONFIG_LOGO_LINUX_VGA16=y | ||
1377 | CONFIG_LOGO_LINUX_CLUT224=y | ||
1378 | CONFIG_SOUND=m | ||
1379 | CONFIG_SOUND_OSS_CORE=y | ||
1380 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1381 | CONFIG_SND=m | ||
1382 | CONFIG_SND_TIMER=m | ||
1383 | CONFIG_SND_PCM=m | ||
1384 | CONFIG_SND_SEQUENCER=m | ||
1385 | CONFIG_SND_SEQ_DUMMY=m | ||
1386 | CONFIG_SND_OSSEMUL=y | ||
1387 | CONFIG_SND_MIXER_OSS=m | ||
1388 | CONFIG_SND_PCM_OSS=m | ||
1389 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
1390 | CONFIG_SND_SEQUENCER_OSS=y | ||
1391 | # CONFIG_SND_HRTIMER is not set | ||
1392 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
1393 | CONFIG_SND_SUPPORT_OLD_API=y | ||
1394 | CONFIG_SND_VERBOSE_PROCFS=y | ||
1395 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
1396 | # CONFIG_SND_DEBUG is not set | ||
1397 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
1398 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
1399 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
1400 | # CONFIG_SND_SBAWE_SEQ is not set | ||
1401 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1402 | CONFIG_SND_DRIVERS=y | ||
1403 | # CONFIG_SND_DUMMY is not set | ||
1404 | # CONFIG_SND_VIRMIDI is not set | ||
1405 | # CONFIG_SND_MTPAV is not set | ||
1406 | # CONFIG_SND_SERIAL_U16550 is not set | ||
1407 | # CONFIG_SND_MPU401 is not set | ||
1408 | CONFIG_SND_PCI=y | ||
1409 | # CONFIG_SND_AD1889 is not set | ||
1410 | # CONFIG_SND_ALS300 is not set | ||
1411 | # CONFIG_SND_ALS4000 is not set | ||
1412 | # CONFIG_SND_ALI5451 is not set | ||
1413 | # CONFIG_SND_ATIIXP is not set | ||
1414 | # CONFIG_SND_ATIIXP_MODEM is not set | ||
1415 | # CONFIG_SND_AU8810 is not set | ||
1416 | # CONFIG_SND_AU8820 is not set | ||
1417 | # CONFIG_SND_AU8830 is not set | ||
1418 | # CONFIG_SND_AW2 is not set | ||
1419 | # CONFIG_SND_AZT3328 is not set | ||
1420 | # CONFIG_SND_BT87X is not set | ||
1421 | # CONFIG_SND_CA0106 is not set | ||
1422 | # CONFIG_SND_CMIPCI is not set | ||
1423 | # CONFIG_SND_OXYGEN is not set | ||
1424 | # CONFIG_SND_CS4281 is not set | ||
1425 | # CONFIG_SND_CS46XX is not set | ||
1426 | # CONFIG_SND_CS5530 is not set | ||
1427 | # CONFIG_SND_CTXFI is not set | ||
1428 | # CONFIG_SND_DARLA20 is not set | ||
1429 | # CONFIG_SND_GINA20 is not set | ||
1430 | # CONFIG_SND_LAYLA20 is not set | ||
1431 | # CONFIG_SND_DARLA24 is not set | ||
1432 | # CONFIG_SND_GINA24 is not set | ||
1433 | # CONFIG_SND_LAYLA24 is not set | ||
1434 | # CONFIG_SND_MONA is not set | ||
1435 | # CONFIG_SND_MIA is not set | ||
1436 | # CONFIG_SND_ECHO3G is not set | ||
1437 | # CONFIG_SND_INDIGO is not set | ||
1438 | # CONFIG_SND_INDIGOIO is not set | ||
1439 | # CONFIG_SND_INDIGODJ is not set | ||
1440 | # CONFIG_SND_INDIGOIOX is not set | ||
1441 | # CONFIG_SND_INDIGODJX is not set | ||
1442 | # CONFIG_SND_EMU10K1 is not set | ||
1443 | # CONFIG_SND_EMU10K1X is not set | ||
1444 | # CONFIG_SND_ENS1370 is not set | ||
1445 | # CONFIG_SND_ENS1371 is not set | ||
1446 | # CONFIG_SND_ES1938 is not set | ||
1447 | # CONFIG_SND_ES1968 is not set | ||
1448 | # CONFIG_SND_FM801 is not set | ||
1449 | # CONFIG_SND_HDA_INTEL is not set | ||
1450 | # CONFIG_SND_HDSP is not set | ||
1451 | # CONFIG_SND_HDSPM is not set | ||
1452 | # CONFIG_SND_HIFIER is not set | ||
1453 | # CONFIG_SND_ICE1712 is not set | ||
1454 | # CONFIG_SND_ICE1724 is not set | ||
1455 | # CONFIG_SND_INTEL8X0 is not set | ||
1456 | # CONFIG_SND_INTEL8X0M is not set | ||
1457 | # CONFIG_SND_KORG1212 is not set | ||
1458 | # CONFIG_SND_LX6464ES is not set | ||
1459 | # CONFIG_SND_MAESTRO3 is not set | ||
1460 | # CONFIG_SND_MIXART is not set | ||
1461 | # CONFIG_SND_NM256 is not set | ||
1462 | # CONFIG_SND_PCXHR is not set | ||
1463 | # CONFIG_SND_RIPTIDE is not set | ||
1464 | # CONFIG_SND_RME32 is not set | ||
1465 | # CONFIG_SND_RME96 is not set | ||
1466 | # CONFIG_SND_RME9652 is not set | ||
1467 | # CONFIG_SND_SONICVIBES is not set | ||
1468 | # CONFIG_SND_TRIDENT is not set | ||
1469 | # CONFIG_SND_VIA82XX is not set | ||
1470 | # CONFIG_SND_VIA82XX_MODEM is not set | ||
1471 | # CONFIG_SND_VIRTUOSO is not set | ||
1472 | # CONFIG_SND_VX222 is not set | ||
1473 | # CONFIG_SND_YMFPCI is not set | ||
1474 | CONFIG_SND_PPC=y | ||
1475 | CONFIG_SND_USB=y | ||
1476 | # CONFIG_SND_USB_AUDIO is not set | ||
1477 | # CONFIG_SND_USB_USX2Y is not set | ||
1478 | # CONFIG_SND_USB_CAIAQ is not set | ||
1479 | CONFIG_SND_PCMCIA=y | ||
1480 | # CONFIG_SND_VXPOCKET is not set | ||
1481 | # CONFIG_SND_PDAUDIOCF is not set | ||
1482 | # CONFIG_SND_SOC is not set | ||
1483 | # CONFIG_SOUND_PRIME is not set | ||
1484 | CONFIG_HID_SUPPORT=y | ||
1485 | CONFIG_HID=y | ||
1486 | # CONFIG_HIDRAW is not set | ||
1487 | |||
1488 | # | ||
1489 | # USB Input Devices | ||
1490 | # | ||
1491 | CONFIG_USB_HID=y | ||
1492 | # CONFIG_HID_PID is not set | ||
1493 | CONFIG_USB_HIDDEV=y | ||
1494 | |||
1495 | # | ||
1496 | # Special HID drivers | ||
1497 | # | ||
1498 | CONFIG_HID_A4TECH=y | ||
1499 | CONFIG_HID_APPLE=y | ||
1500 | CONFIG_HID_BELKIN=y | ||
1501 | CONFIG_HID_CHERRY=y | ||
1502 | CONFIG_HID_CHICONY=y | ||
1503 | CONFIG_HID_CYPRESS=y | ||
1504 | CONFIG_HID_DRAGONRISE=y | ||
1505 | # CONFIG_DRAGONRISE_FF is not set | ||
1506 | CONFIG_HID_EZKEY=y | ||
1507 | CONFIG_HID_KYE=y | ||
1508 | CONFIG_HID_GYRATION=y | ||
1509 | CONFIG_HID_TWINHAN=y | ||
1510 | CONFIG_HID_KENSINGTON=y | ||
1511 | CONFIG_HID_LOGITECH=y | ||
1512 | # CONFIG_LOGITECH_FF is not set | ||
1513 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | ||
1514 | CONFIG_HID_MICROSOFT=y | ||
1515 | CONFIG_HID_MONTEREY=y | ||
1516 | CONFIG_HID_NTRIG=y | ||
1517 | CONFIG_HID_PANTHERLORD=y | ||
1518 | # CONFIG_PANTHERLORD_FF is not set | ||
1519 | CONFIG_HID_PETALYNX=y | ||
1520 | CONFIG_HID_SAMSUNG=y | ||
1521 | CONFIG_HID_SONY=y | ||
1522 | CONFIG_HID_SUNPLUS=y | ||
1523 | CONFIG_HID_GREENASIA=y | ||
1524 | # CONFIG_GREENASIA_FF is not set | ||
1525 | CONFIG_HID_SMARTJOYPLUS=y | ||
1526 | # CONFIG_SMARTJOYPLUS_FF is not set | ||
1527 | CONFIG_HID_TOPSEED=y | ||
1528 | CONFIG_HID_THRUSTMASTER=y | ||
1529 | # CONFIG_THRUSTMASTER_FF is not set | ||
1530 | CONFIG_HID_ZEROPLUS=y | ||
1531 | # CONFIG_ZEROPLUS_FF is not set | ||
1532 | CONFIG_USB_SUPPORT=y | ||
1533 | CONFIG_USB_ARCH_HAS_HCD=y | ||
1534 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
1535 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
1536 | CONFIG_USB=y | ||
1537 | # CONFIG_USB_DEBUG is not set | ||
1538 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
1539 | |||
1540 | # | ||
1541 | # Miscellaneous USB options | ||
1542 | # | ||
1543 | CONFIG_USB_DEVICEFS=y | ||
1544 | CONFIG_USB_DEVICE_CLASS=y | ||
1545 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1546 | # CONFIG_USB_OTG is not set | ||
1547 | # CONFIG_USB_MON is not set | ||
1548 | # CONFIG_USB_WUSB is not set | ||
1549 | # CONFIG_USB_WUSB_CBAF is not set | ||
1550 | |||
1551 | # | ||
1552 | # USB Host Controller Drivers | ||
1553 | # | ||
1554 | # CONFIG_USB_C67X00_HCD is not set | ||
1555 | # CONFIG_USB_XHCI_HCD is not set | ||
1556 | CONFIG_USB_EHCI_HCD=y | ||
1557 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | ||
1558 | CONFIG_USB_EHCI_TT_NEWSCHED=y | ||
1559 | # CONFIG_USB_EHCI_HCD_PPC_OF is not set | ||
1560 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1561 | # CONFIG_USB_ISP116X_HCD is not set | ||
1562 | # CONFIG_USB_ISP1760_HCD is not set | ||
1563 | # CONFIG_USB_ISP1362_HCD is not set | ||
1564 | CONFIG_USB_OHCI_HCD=y | ||
1565 | # CONFIG_USB_OHCI_HCD_PPC_OF_BE is not set | ||
1566 | # CONFIG_USB_OHCI_HCD_PPC_OF_LE is not set | ||
1567 | # CONFIG_USB_OHCI_HCD_PPC_OF is not set | ||
1568 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
1569 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
1570 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
1571 | # CONFIG_USB_UHCI_HCD is not set | ||
1572 | # CONFIG_USB_SL811_HCD is not set | ||
1573 | # CONFIG_USB_R8A66597_HCD is not set | ||
1574 | # CONFIG_USB_WHCI_HCD is not set | ||
1575 | # CONFIG_USB_HWA_HCD is not set | ||
1576 | |||
1577 | # | ||
1578 | # USB Device Class drivers | ||
1579 | # | ||
1580 | # CONFIG_USB_ACM is not set | ||
1581 | # CONFIG_USB_PRINTER is not set | ||
1582 | # CONFIG_USB_WDM is not set | ||
1583 | # CONFIG_USB_TMC is not set | ||
1584 | |||
1585 | # | ||
1586 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
1587 | # | ||
1588 | |||
1589 | # | ||
1590 | # also be needed; see USB_STORAGE Help for more info | ||
1591 | # | ||
1592 | CONFIG_USB_STORAGE=m | ||
1593 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1594 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1595 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1596 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1597 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1598 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1599 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1600 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1601 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1602 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
1603 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1604 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1605 | # CONFIG_USB_LIBUSUAL is not set | ||
1606 | |||
1607 | # | ||
1608 | # USB Imaging devices | ||
1609 | # | ||
1610 | # CONFIG_USB_MDC800 is not set | ||
1611 | # CONFIG_USB_MICROTEK is not set | ||
1612 | |||
1613 | # | ||
1614 | # USB port drivers | ||
1615 | # | ||
1616 | # CONFIG_USB_SERIAL is not set | ||
1617 | |||
1618 | # | ||
1619 | # USB Miscellaneous drivers | ||
1620 | # | ||
1621 | # CONFIG_USB_EMI62 is not set | ||
1622 | # CONFIG_USB_EMI26 is not set | ||
1623 | # CONFIG_USB_ADUTUX is not set | ||
1624 | # CONFIG_USB_SEVSEG is not set | ||
1625 | # CONFIG_USB_RIO500 is not set | ||
1626 | # CONFIG_USB_LEGOTOWER is not set | ||
1627 | # CONFIG_USB_LCD is not set | ||
1628 | # CONFIG_USB_BERRY_CHARGE is not set | ||
1629 | # CONFIG_USB_LED is not set | ||
1630 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1631 | # CONFIG_USB_CYTHERM is not set | ||
1632 | # CONFIG_USB_IDMOUSE is not set | ||
1633 | # CONFIG_USB_FTDI_ELAN is not set | ||
1634 | CONFIG_USB_APPLEDISPLAY=m | ||
1635 | # CONFIG_USB_SISUSBVGA is not set | ||
1636 | # CONFIG_USB_LD is not set | ||
1637 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1638 | # CONFIG_USB_IOWARRIOR is not set | ||
1639 | # CONFIG_USB_TEST is not set | ||
1640 | # CONFIG_USB_ISIGHTFW is not set | ||
1641 | # CONFIG_USB_VST is not set | ||
1642 | # CONFIG_USB_GADGET is not set | ||
1643 | |||
1644 | # | ||
1645 | # OTG and related infrastructure | ||
1646 | # | ||
1647 | # CONFIG_NOP_USB_XCEIV is not set | ||
1648 | # CONFIG_UWB is not set | ||
1649 | # CONFIG_MMC is not set | ||
1650 | # CONFIG_MEMSTICK is not set | ||
1651 | # CONFIG_NEW_LEDS is not set | ||
1652 | # CONFIG_ACCESSIBILITY is not set | ||
1653 | CONFIG_INFINIBAND=m | ||
1654 | # CONFIG_INFINIBAND_USER_MAD is not set | ||
1655 | # CONFIG_INFINIBAND_USER_ACCESS is not set | ||
1656 | CONFIG_INFINIBAND_ADDR_TRANS=y | ||
1657 | CONFIG_INFINIBAND_MTHCA=m | ||
1658 | CONFIG_INFINIBAND_MTHCA_DEBUG=y | ||
1659 | # CONFIG_INFINIBAND_IPATH is not set | ||
1660 | # CONFIG_INFINIBAND_AMSO1100 is not set | ||
1661 | # CONFIG_MLX4_INFINIBAND is not set | ||
1662 | # CONFIG_INFINIBAND_NES is not set | ||
1663 | CONFIG_INFINIBAND_IPOIB=m | ||
1664 | # CONFIG_INFINIBAND_IPOIB_CM is not set | ||
1665 | CONFIG_INFINIBAND_IPOIB_DEBUG=y | ||
1666 | # CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set | ||
1667 | # CONFIG_INFINIBAND_SRP is not set | ||
1668 | CONFIG_INFINIBAND_ISER=m | ||
1669 | CONFIG_EDAC=y | ||
1670 | |||
1671 | # | ||
1672 | # Reporting subsystems | ||
1673 | # | ||
1674 | # CONFIG_EDAC_DEBUG is not set | ||
1675 | CONFIG_EDAC_MM_EDAC=y | ||
1676 | # CONFIG_EDAC_CPC925 is not set | ||
1677 | CONFIG_RTC_LIB=y | ||
1678 | CONFIG_RTC_CLASS=y | ||
1679 | CONFIG_RTC_HCTOSYS=y | ||
1680 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1681 | # CONFIG_RTC_DEBUG is not set | ||
1682 | |||
1683 | # | ||
1684 | # RTC interfaces | ||
1685 | # | ||
1686 | CONFIG_RTC_INTF_SYSFS=y | ||
1687 | CONFIG_RTC_INTF_PROC=y | ||
1688 | CONFIG_RTC_INTF_DEV=y | ||
1689 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1690 | # CONFIG_RTC_DRV_TEST is not set | ||
1691 | |||
1692 | # | ||
1693 | # I2C RTC drivers | ||
1694 | # | ||
1695 | CONFIG_RTC_DRV_DS1307=y | ||
1696 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1697 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1698 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1699 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1700 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1701 | # CONFIG_RTC_DRV_X1205 is not set | ||
1702 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1703 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1704 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1705 | # CONFIG_RTC_DRV_S35390A is not set | ||
1706 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1707 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1708 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1709 | |||
1710 | # | ||
1711 | # SPI RTC drivers | ||
1712 | # | ||
1713 | |||
1714 | # | ||
1715 | # Platform RTC drivers | ||
1716 | # | ||
1717 | # CONFIG_RTC_DRV_CMOS is not set | ||
1718 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1719 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1720 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1721 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1722 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1723 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1724 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1725 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1726 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1727 | # CONFIG_RTC_DRV_V3020 is not set | ||
1728 | |||
1729 | # | ||
1730 | # on-CPU RTC drivers | ||
1731 | # | ||
1732 | # CONFIG_RTC_DRV_GENERIC is not set | ||
1733 | # CONFIG_DMADEVICES is not set | ||
1734 | # CONFIG_AUXDISPLAY is not set | ||
1735 | # CONFIG_UIO is not set | ||
1736 | |||
1737 | # | ||
1738 | # TI VLYNQ | ||
1739 | # | ||
1740 | # CONFIG_STAGING is not set | ||
1741 | |||
1742 | # | ||
1743 | # File systems | ||
1744 | # | ||
1745 | CONFIG_EXT2_FS=y | ||
1746 | CONFIG_EXT2_FS_XATTR=y | ||
1747 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
1748 | CONFIG_EXT2_FS_SECURITY=y | ||
1749 | CONFIG_EXT2_FS_XIP=y | ||
1750 | CONFIG_EXT3_FS=y | ||
1751 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
1752 | CONFIG_EXT3_FS_XATTR=y | ||
1753 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
1754 | CONFIG_EXT3_FS_SECURITY=y | ||
1755 | CONFIG_EXT4_FS=y | ||
1756 | CONFIG_EXT4_FS_XATTR=y | ||
1757 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
1758 | CONFIG_EXT4_FS_SECURITY=y | ||
1759 | # CONFIG_EXT4_DEBUG is not set | ||
1760 | CONFIG_FS_XIP=y | ||
1761 | CONFIG_JBD=y | ||
1762 | # CONFIG_JBD_DEBUG is not set | ||
1763 | CONFIG_JBD2=y | ||
1764 | # CONFIG_JBD2_DEBUG is not set | ||
1765 | CONFIG_FS_MBCACHE=y | ||
1766 | CONFIG_REISERFS_FS=y | ||
1767 | # CONFIG_REISERFS_CHECK is not set | ||
1768 | # CONFIG_REISERFS_PROC_INFO is not set | ||
1769 | CONFIG_REISERFS_FS_XATTR=y | ||
1770 | CONFIG_REISERFS_FS_POSIX_ACL=y | ||
1771 | CONFIG_REISERFS_FS_SECURITY=y | ||
1772 | CONFIG_JFS_FS=y | ||
1773 | CONFIG_JFS_POSIX_ACL=y | ||
1774 | CONFIG_JFS_SECURITY=y | ||
1775 | # CONFIG_JFS_DEBUG is not set | ||
1776 | # CONFIG_JFS_STATISTICS is not set | ||
1777 | CONFIG_FS_POSIX_ACL=y | ||
1778 | CONFIG_XFS_FS=m | ||
1779 | # CONFIG_XFS_QUOTA is not set | ||
1780 | CONFIG_XFS_POSIX_ACL=y | ||
1781 | # CONFIG_XFS_RT is not set | ||
1782 | # CONFIG_XFS_DEBUG is not set | ||
1783 | # CONFIG_GFS2_FS is not set | ||
1784 | # CONFIG_OCFS2_FS is not set | ||
1785 | # CONFIG_BTRFS_FS is not set | ||
1786 | # CONFIG_NILFS2_FS is not set | ||
1787 | CONFIG_FILE_LOCKING=y | ||
1788 | CONFIG_FSNOTIFY=y | ||
1789 | CONFIG_DNOTIFY=y | ||
1790 | CONFIG_INOTIFY=y | ||
1791 | CONFIG_INOTIFY_USER=y | ||
1792 | # CONFIG_QUOTA is not set | ||
1793 | # CONFIG_AUTOFS_FS is not set | ||
1794 | CONFIG_AUTOFS4_FS=m | ||
1795 | # CONFIG_FUSE_FS is not set | ||
1796 | |||
1797 | # | ||
1798 | # Caches | ||
1799 | # | ||
1800 | # CONFIG_FSCACHE is not set | ||
1801 | |||
1802 | # | ||
1803 | # CD-ROM/DVD Filesystems | ||
1804 | # | ||
1805 | CONFIG_ISO9660_FS=y | ||
1806 | # CONFIG_JOLIET is not set | ||
1807 | # CONFIG_ZISOFS is not set | ||
1808 | CONFIG_UDF_FS=m | ||
1809 | CONFIG_UDF_NLS=y | ||
1810 | |||
1811 | # | ||
1812 | # DOS/FAT/NT Filesystems | ||
1813 | # | ||
1814 | CONFIG_FAT_FS=y | ||
1815 | CONFIG_MSDOS_FS=y | ||
1816 | CONFIG_VFAT_FS=y | ||
1817 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1818 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1819 | # CONFIG_NTFS_FS is not set | ||
1820 | |||
1821 | # | ||
1822 | # Pseudo filesystems | ||
1823 | # | ||
1824 | CONFIG_PROC_FS=y | ||
1825 | CONFIG_PROC_KCORE=y | ||
1826 | CONFIG_PROC_SYSCTL=y | ||
1827 | CONFIG_PROC_PAGE_MONITOR=y | ||
1828 | CONFIG_SYSFS=y | ||
1829 | CONFIG_TMPFS=y | ||
1830 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
1831 | # CONFIG_HUGETLBFS is not set | ||
1832 | # CONFIG_HUGETLB_PAGE is not set | ||
1833 | # CONFIG_CONFIGFS_FS is not set | ||
1834 | CONFIG_MISC_FILESYSTEMS=y | ||
1835 | # CONFIG_ADFS_FS is not set | ||
1836 | # CONFIG_AFFS_FS is not set | ||
1837 | CONFIG_HFS_FS=m | ||
1838 | CONFIG_HFSPLUS_FS=m | ||
1839 | # CONFIG_BEFS_FS is not set | ||
1840 | # CONFIG_BFS_FS is not set | ||
1841 | # CONFIG_EFS_FS is not set | ||
1842 | CONFIG_CRAMFS=y | ||
1843 | # CONFIG_SQUASHFS is not set | ||
1844 | # CONFIG_VXFS_FS is not set | ||
1845 | # CONFIG_MINIX_FS is not set | ||
1846 | # CONFIG_OMFS_FS is not set | ||
1847 | # CONFIG_HPFS_FS is not set | ||
1848 | # CONFIG_QNX4FS_FS is not set | ||
1849 | # CONFIG_ROMFS_FS is not set | ||
1850 | # CONFIG_SYSV_FS is not set | ||
1851 | # CONFIG_UFS_FS is not set | ||
1852 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1853 | CONFIG_NFS_FS=y | ||
1854 | CONFIG_NFS_V3=y | ||
1855 | CONFIG_NFS_V3_ACL=y | ||
1856 | CONFIG_NFS_V4=y | ||
1857 | # CONFIG_NFS_V4_1 is not set | ||
1858 | CONFIG_ROOT_NFS=y | ||
1859 | CONFIG_NFSD=m | ||
1860 | CONFIG_NFSD_V2_ACL=y | ||
1861 | CONFIG_NFSD_V3=y | ||
1862 | CONFIG_NFSD_V3_ACL=y | ||
1863 | CONFIG_NFSD_V4=y | ||
1864 | CONFIG_LOCKD=y | ||
1865 | CONFIG_LOCKD_V4=y | ||
1866 | CONFIG_EXPORTFS=m | ||
1867 | CONFIG_NFS_ACL_SUPPORT=y | ||
1868 | CONFIG_NFS_COMMON=y | ||
1869 | CONFIG_SUNRPC=y | ||
1870 | CONFIG_SUNRPC_GSS=y | ||
1871 | CONFIG_SUNRPC_XPRT_RDMA=m | ||
1872 | CONFIG_RPCSEC_GSS_KRB5=y | ||
1873 | CONFIG_RPCSEC_GSS_SPKM3=m | ||
1874 | # CONFIG_SMB_FS is not set | ||
1875 | CONFIG_CIFS=m | ||
1876 | # CONFIG_CIFS_STATS is not set | ||
1877 | # CONFIG_CIFS_WEAK_PW_HASH is not set | ||
1878 | CONFIG_CIFS_XATTR=y | ||
1879 | CONFIG_CIFS_POSIX=y | ||
1880 | # CONFIG_CIFS_DEBUG2 is not set | ||
1881 | # CONFIG_CIFS_EXPERIMENTAL is not set | ||
1882 | # CONFIG_NCP_FS is not set | ||
1883 | # CONFIG_CODA_FS is not set | ||
1884 | # CONFIG_AFS_FS is not set | ||
1885 | |||
1886 | # | ||
1887 | # Partition Types | ||
1888 | # | ||
1889 | CONFIG_PARTITION_ADVANCED=y | ||
1890 | # CONFIG_ACORN_PARTITION is not set | ||
1891 | # CONFIG_OSF_PARTITION is not set | ||
1892 | # CONFIG_AMIGA_PARTITION is not set | ||
1893 | # CONFIG_ATARI_PARTITION is not set | ||
1894 | CONFIG_MAC_PARTITION=y | ||
1895 | CONFIG_MSDOS_PARTITION=y | ||
1896 | # CONFIG_BSD_DISKLABEL is not set | ||
1897 | # CONFIG_MINIX_SUBPARTITION is not set | ||
1898 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
1899 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
1900 | # CONFIG_LDM_PARTITION is not set | ||
1901 | # CONFIG_SGI_PARTITION is not set | ||
1902 | # CONFIG_ULTRIX_PARTITION is not set | ||
1903 | # CONFIG_SUN_PARTITION is not set | ||
1904 | # CONFIG_KARMA_PARTITION is not set | ||
1905 | # CONFIG_EFI_PARTITION is not set | ||
1906 | # CONFIG_SYSV68_PARTITION is not set | ||
1907 | CONFIG_NLS=y | ||
1908 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1909 | CONFIG_NLS_CODEPAGE_437=y | ||
1910 | CONFIG_NLS_CODEPAGE_737=m | ||
1911 | CONFIG_NLS_CODEPAGE_775=m | ||
1912 | CONFIG_NLS_CODEPAGE_850=m | ||
1913 | CONFIG_NLS_CODEPAGE_852=m | ||
1914 | CONFIG_NLS_CODEPAGE_855=m | ||
1915 | CONFIG_NLS_CODEPAGE_857=m | ||
1916 | CONFIG_NLS_CODEPAGE_860=m | ||
1917 | CONFIG_NLS_CODEPAGE_861=m | ||
1918 | CONFIG_NLS_CODEPAGE_862=m | ||
1919 | CONFIG_NLS_CODEPAGE_863=m | ||
1920 | CONFIG_NLS_CODEPAGE_864=m | ||
1921 | CONFIG_NLS_CODEPAGE_865=m | ||
1922 | CONFIG_NLS_CODEPAGE_866=m | ||
1923 | CONFIG_NLS_CODEPAGE_869=m | ||
1924 | CONFIG_NLS_CODEPAGE_936=m | ||
1925 | CONFIG_NLS_CODEPAGE_950=m | ||
1926 | CONFIG_NLS_CODEPAGE_932=m | ||
1927 | CONFIG_NLS_CODEPAGE_949=m | ||
1928 | CONFIG_NLS_CODEPAGE_874=m | ||
1929 | CONFIG_NLS_ISO8859_8=m | ||
1930 | CONFIG_NLS_CODEPAGE_1250=m | ||
1931 | CONFIG_NLS_CODEPAGE_1251=m | ||
1932 | CONFIG_NLS_ASCII=m | ||
1933 | CONFIG_NLS_ISO8859_1=y | ||
1934 | CONFIG_NLS_ISO8859_2=m | ||
1935 | CONFIG_NLS_ISO8859_3=m | ||
1936 | CONFIG_NLS_ISO8859_4=m | ||
1937 | CONFIG_NLS_ISO8859_5=m | ||
1938 | CONFIG_NLS_ISO8859_6=m | ||
1939 | CONFIG_NLS_ISO8859_7=m | ||
1940 | CONFIG_NLS_ISO8859_9=m | ||
1941 | CONFIG_NLS_ISO8859_13=m | ||
1942 | CONFIG_NLS_ISO8859_14=m | ||
1943 | CONFIG_NLS_ISO8859_15=m | ||
1944 | CONFIG_NLS_KOI8_R=m | ||
1945 | CONFIG_NLS_KOI8_U=m | ||
1946 | CONFIG_NLS_UTF8=m | ||
1947 | # CONFIG_DLM is not set | ||
1948 | CONFIG_BINARY_PRINTF=y | ||
1949 | |||
1950 | # | ||
1951 | # Library routines | ||
1952 | # | ||
1953 | CONFIG_BITREVERSE=y | ||
1954 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
1955 | CONFIG_CRC_CCITT=m | ||
1956 | CONFIG_CRC16=y | ||
1957 | CONFIG_CRC_T10DIF=y | ||
1958 | CONFIG_CRC_ITU_T=m | ||
1959 | CONFIG_CRC32=y | ||
1960 | # CONFIG_CRC7 is not set | ||
1961 | CONFIG_LIBCRC32C=m | ||
1962 | CONFIG_ZLIB_INFLATE=y | ||
1963 | CONFIG_ZLIB_DEFLATE=m | ||
1964 | CONFIG_LZO_COMPRESS=m | ||
1965 | CONFIG_LZO_DECOMPRESS=m | ||
1966 | CONFIG_DECOMPRESS_GZIP=y | ||
1967 | CONFIG_DECOMPRESS_BZIP2=y | ||
1968 | CONFIG_DECOMPRESS_LZMA=y | ||
1969 | CONFIG_TEXTSEARCH=y | ||
1970 | CONFIG_TEXTSEARCH_KMP=m | ||
1971 | CONFIG_TEXTSEARCH_BM=m | ||
1972 | CONFIG_TEXTSEARCH_FSM=m | ||
1973 | CONFIG_HAS_IOMEM=y | ||
1974 | CONFIG_HAS_IOPORT=y | ||
1975 | CONFIG_HAS_DMA=y | ||
1976 | CONFIG_HAVE_LMB=y | ||
1977 | CONFIG_NLATTR=y | ||
1978 | |||
1979 | # | ||
1980 | # Kernel hacking | ||
1981 | # | ||
1982 | # CONFIG_PRINTK_TIME is not set | ||
1983 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1984 | CONFIG_ENABLE_MUST_CHECK=y | ||
1985 | CONFIG_FRAME_WARN=2048 | ||
1986 | CONFIG_MAGIC_SYSRQ=y | ||
1987 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1988 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1989 | CONFIG_DEBUG_FS=y | ||
1990 | # CONFIG_HEADERS_CHECK is not set | ||
1991 | CONFIG_DEBUG_KERNEL=y | ||
1992 | # CONFIG_DEBUG_SHIRQ is not set | ||
1993 | CONFIG_DETECT_SOFTLOCKUP=y | ||
1994 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
1995 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
1996 | CONFIG_DETECT_HUNG_TASK=y | ||
1997 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
1998 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
1999 | CONFIG_SCHED_DEBUG=y | ||
2000 | CONFIG_SCHEDSTATS=y | ||
2001 | # CONFIG_TIMER_STATS is not set | ||
2002 | # CONFIG_DEBUG_OBJECTS is not set | ||
2003 | # CONFIG_SLUB_DEBUG_ON is not set | ||
2004 | # CONFIG_SLUB_STATS is not set | ||
2005 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
2006 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
2007 | # CONFIG_RT_MUTEX_TESTER is not set | ||
2008 | # CONFIG_DEBUG_SPINLOCK is not set | ||
2009 | CONFIG_DEBUG_MUTEXES=y | ||
2010 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
2011 | # CONFIG_PROVE_LOCKING is not set | ||
2012 | # CONFIG_LOCK_STAT is not set | ||
2013 | CONFIG_TRACE_IRQFLAGS=y | ||
2014 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
2015 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
2016 | CONFIG_STACKTRACE=y | ||
2017 | # CONFIG_DEBUG_KOBJECT is not set | ||
2018 | CONFIG_DEBUG_BUGVERBOSE=y | ||
2019 | # CONFIG_DEBUG_INFO is not set | ||
2020 | # CONFIG_DEBUG_VM is not set | ||
2021 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
2022 | CONFIG_DEBUG_MEMORY_INIT=y | ||
2023 | # CONFIG_DEBUG_LIST is not set | ||
2024 | # CONFIG_DEBUG_SG is not set | ||
2025 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
2026 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
2027 | # CONFIG_RCU_TORTURE_TEST is not set | ||
2028 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
2029 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
2030 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
2031 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
2032 | # CONFIG_FAULT_INJECTION is not set | ||
2033 | CONFIG_LATENCYTOP=y | ||
2034 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
2035 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
2036 | CONFIG_NOP_TRACER=y | ||
2037 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
2038 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
2039 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
2040 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | ||
2041 | CONFIG_TRACER_MAX_TRACE=y | ||
2042 | CONFIG_RING_BUFFER=y | ||
2043 | CONFIG_EVENT_TRACING=y | ||
2044 | CONFIG_CONTEXT_SWITCH_TRACER=y | ||
2045 | CONFIG_RING_BUFFER_ALLOW_SWAP=y | ||
2046 | CONFIG_TRACING=y | ||
2047 | CONFIG_GENERIC_TRACER=y | ||
2048 | CONFIG_TRACING_SUPPORT=y | ||
2049 | CONFIG_FTRACE=y | ||
2050 | # CONFIG_FUNCTION_TRACER is not set | ||
2051 | CONFIG_IRQSOFF_TRACER=y | ||
2052 | CONFIG_SCHED_TRACER=y | ||
2053 | # CONFIG_BOOT_TRACER is not set | ||
2054 | CONFIG_BRANCH_PROFILE_NONE=y | ||
2055 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
2056 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
2057 | # CONFIG_STACK_TRACER is not set | ||
2058 | # CONFIG_KMEMTRACE is not set | ||
2059 | # CONFIG_WORKQUEUE_TRACER is not set | ||
2060 | CONFIG_BLK_DEV_IO_TRACE=y | ||
2061 | # CONFIG_FTRACE_STARTUP_TEST is not set | ||
2062 | # CONFIG_RING_BUFFER_BENCHMARK is not set | ||
2063 | # CONFIG_DYNAMIC_DEBUG is not set | ||
2064 | # CONFIG_DMA_API_DEBUG is not set | ||
2065 | # CONFIG_SAMPLES is not set | ||
2066 | CONFIG_HAVE_ARCH_KGDB=y | ||
2067 | # CONFIG_KGDB is not set | ||
2068 | # CONFIG_PPC_DISABLE_WERROR is not set | ||
2069 | CONFIG_PPC_WERROR=y | ||
2070 | CONFIG_PRINT_STACK_DEPTH=64 | ||
2071 | CONFIG_DEBUG_STACKOVERFLOW=y | ||
2072 | CONFIG_DEBUG_STACK_USAGE=y | ||
2073 | # CONFIG_PPC_EMULATED_STATS is not set | ||
2074 | CONFIG_CODE_PATCHING_SELFTEST=y | ||
2075 | CONFIG_FTR_FIXUP_SELFTEST=y | ||
2076 | CONFIG_MSI_BITMAP_SELFTEST=y | ||
2077 | CONFIG_XMON=y | ||
2078 | # CONFIG_XMON_DEFAULT is not set | ||
2079 | CONFIG_XMON_DISASSEMBLY=y | ||
2080 | CONFIG_DEBUGGER=y | ||
2081 | CONFIG_IRQSTACKS=y | ||
2082 | # CONFIG_VIRQ_DEBUG is not set | ||
2083 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
2084 | |||
2085 | # | ||
2086 | # Security options | ||
2087 | # | ||
2088 | # CONFIG_KEYS is not set | ||
2089 | # CONFIG_SECURITY is not set | ||
2090 | # CONFIG_SECURITYFS is not set | ||
2091 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
2092 | CONFIG_XOR_BLOCKS=y | ||
2093 | CONFIG_ASYNC_CORE=y | ||
2094 | CONFIG_ASYNC_MEMCPY=y | ||
2095 | CONFIG_ASYNC_XOR=y | ||
2096 | CONFIG_ASYNC_PQ=y | ||
2097 | CONFIG_ASYNC_RAID6_RECOV=y | ||
2098 | CONFIG_CRYPTO=y | ||
2099 | |||
2100 | # | ||
2101 | # Crypto core or helper | ||
2102 | # | ||
2103 | CONFIG_CRYPTO_ALGAPI=y | ||
2104 | CONFIG_CRYPTO_ALGAPI2=y | ||
2105 | CONFIG_CRYPTO_AEAD=m | ||
2106 | CONFIG_CRYPTO_AEAD2=y | ||
2107 | CONFIG_CRYPTO_BLKCIPHER=y | ||
2108 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
2109 | CONFIG_CRYPTO_HASH=y | ||
2110 | CONFIG_CRYPTO_HASH2=y | ||
2111 | CONFIG_CRYPTO_RNG=m | ||
2112 | CONFIG_CRYPTO_RNG2=y | ||
2113 | CONFIG_CRYPTO_PCOMP=y | ||
2114 | CONFIG_CRYPTO_MANAGER=y | ||
2115 | CONFIG_CRYPTO_MANAGER2=y | ||
2116 | CONFIG_CRYPTO_GF128MUL=m | ||
2117 | CONFIG_CRYPTO_NULL=m | ||
2118 | CONFIG_CRYPTO_WORKQUEUE=y | ||
2119 | # CONFIG_CRYPTO_CRYPTD is not set | ||
2120 | CONFIG_CRYPTO_AUTHENC=m | ||
2121 | CONFIG_CRYPTO_TEST=m | ||
2122 | |||
2123 | # | ||
2124 | # Authenticated Encryption with Associated Data | ||
2125 | # | ||
2126 | CONFIG_CRYPTO_CCM=m | ||
2127 | CONFIG_CRYPTO_GCM=m | ||
2128 | CONFIG_CRYPTO_SEQIV=m | ||
2129 | |||
2130 | # | ||
2131 | # Block modes | ||
2132 | # | ||
2133 | CONFIG_CRYPTO_CBC=y | ||
2134 | CONFIG_CRYPTO_CTR=m | ||
2135 | # CONFIG_CRYPTO_CTS is not set | ||
2136 | CONFIG_CRYPTO_ECB=m | ||
2137 | # CONFIG_CRYPTO_LRW is not set | ||
2138 | CONFIG_CRYPTO_PCBC=m | ||
2139 | # CONFIG_CRYPTO_XTS is not set | ||
2140 | |||
2141 | # | ||
2142 | # Hash modes | ||
2143 | # | ||
2144 | CONFIG_CRYPTO_HMAC=y | ||
2145 | # CONFIG_CRYPTO_XCBC is not set | ||
2146 | # CONFIG_CRYPTO_VMAC is not set | ||
2147 | |||
2148 | # | ||
2149 | # Digest | ||
2150 | # | ||
2151 | CONFIG_CRYPTO_CRC32C=m | ||
2152 | CONFIG_CRYPTO_GHASH=m | ||
2153 | CONFIG_CRYPTO_MD4=m | ||
2154 | CONFIG_CRYPTO_MD5=y | ||
2155 | CONFIG_CRYPTO_MICHAEL_MIC=m | ||
2156 | # CONFIG_CRYPTO_RMD128 is not set | ||
2157 | # CONFIG_CRYPTO_RMD160 is not set | ||
2158 | # CONFIG_CRYPTO_RMD256 is not set | ||
2159 | # CONFIG_CRYPTO_RMD320 is not set | ||
2160 | CONFIG_CRYPTO_SHA1=m | ||
2161 | CONFIG_CRYPTO_SHA256=m | ||
2162 | CONFIG_CRYPTO_SHA512=m | ||
2163 | CONFIG_CRYPTO_TGR192=m | ||
2164 | CONFIG_CRYPTO_WP512=m | ||
2165 | |||
2166 | # | ||
2167 | # Ciphers | ||
2168 | # | ||
2169 | CONFIG_CRYPTO_AES=m | ||
2170 | CONFIG_CRYPTO_ANUBIS=m | ||
2171 | CONFIG_CRYPTO_ARC4=m | ||
2172 | CONFIG_CRYPTO_BLOWFISH=m | ||
2173 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
2174 | CONFIG_CRYPTO_CAST5=m | ||
2175 | CONFIG_CRYPTO_CAST6=m | ||
2176 | CONFIG_CRYPTO_DES=y | ||
2177 | # CONFIG_CRYPTO_FCRYPT is not set | ||
2178 | CONFIG_CRYPTO_KHAZAD=m | ||
2179 | CONFIG_CRYPTO_SALSA20=m | ||
2180 | # CONFIG_CRYPTO_SEED is not set | ||
2181 | CONFIG_CRYPTO_SERPENT=m | ||
2182 | CONFIG_CRYPTO_TEA=m | ||
2183 | CONFIG_CRYPTO_TWOFISH=m | ||
2184 | CONFIG_CRYPTO_TWOFISH_COMMON=m | ||
2185 | |||
2186 | # | ||
2187 | # Compression | ||
2188 | # | ||
2189 | CONFIG_CRYPTO_DEFLATE=m | ||
2190 | # CONFIG_CRYPTO_ZLIB is not set | ||
2191 | CONFIG_CRYPTO_LZO=m | ||
2192 | |||
2193 | # | ||
2194 | # Random Number Generation | ||
2195 | # | ||
2196 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
2197 | # CONFIG_CRYPTO_HW is not set | ||
2198 | # CONFIG_PPC_CLOCK is not set | ||
2199 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/arch/powerpc/include/asm/firmware.h b/arch/powerpc/include/asm/firmware.h index 3a179827528d..20778a405d7a 100644 --- a/arch/powerpc/include/asm/firmware.h +++ b/arch/powerpc/include/asm/firmware.h | |||
@@ -37,7 +37,7 @@ | |||
37 | #define FW_FEATURE_VIO ASM_CONST(0x0000000000004000) | 37 | #define FW_FEATURE_VIO ASM_CONST(0x0000000000004000) |
38 | #define FW_FEATURE_RDMA ASM_CONST(0x0000000000008000) | 38 | #define FW_FEATURE_RDMA ASM_CONST(0x0000000000008000) |
39 | #define FW_FEATURE_LLAN ASM_CONST(0x0000000000010000) | 39 | #define FW_FEATURE_LLAN ASM_CONST(0x0000000000010000) |
40 | #define FW_FEATURE_BULK ASM_CONST(0x0000000000020000) | 40 | #define FW_FEATURE_BULK_REMOVE ASM_CONST(0x0000000000020000) |
41 | #define FW_FEATURE_XDABR ASM_CONST(0x0000000000040000) | 41 | #define FW_FEATURE_XDABR ASM_CONST(0x0000000000040000) |
42 | #define FW_FEATURE_MULTITCE ASM_CONST(0x0000000000080000) | 42 | #define FW_FEATURE_MULTITCE ASM_CONST(0x0000000000080000) |
43 | #define FW_FEATURE_SPLPAR ASM_CONST(0x0000000000100000) | 43 | #define FW_FEATURE_SPLPAR ASM_CONST(0x0000000000100000) |
@@ -45,8 +45,7 @@ | |||
45 | #define FW_FEATURE_LPAR ASM_CONST(0x0000000000400000) | 45 | #define FW_FEATURE_LPAR ASM_CONST(0x0000000000400000) |
46 | #define FW_FEATURE_PS3_LV1 ASM_CONST(0x0000000000800000) | 46 | #define FW_FEATURE_PS3_LV1 ASM_CONST(0x0000000000800000) |
47 | #define FW_FEATURE_BEAT ASM_CONST(0x0000000001000000) | 47 | #define FW_FEATURE_BEAT ASM_CONST(0x0000000001000000) |
48 | #define FW_FEATURE_BULK_REMOVE ASM_CONST(0x0000000002000000) | 48 | #define FW_FEATURE_CMO ASM_CONST(0x0000000002000000) |
49 | #define FW_FEATURE_CMO ASM_CONST(0x0000000004000000) | ||
50 | 49 | ||
51 | #ifndef __ASSEMBLY__ | 50 | #ifndef __ASSEMBLY__ |
52 | 51 | ||
@@ -58,8 +57,9 @@ enum { | |||
58 | FW_FEATURE_PERF | FW_FEATURE_DUMP | FW_FEATURE_INTERRUPT | | 57 | FW_FEATURE_PERF | FW_FEATURE_DUMP | FW_FEATURE_INTERRUPT | |
59 | FW_FEATURE_MIGRATE | FW_FEATURE_PERFMON | FW_FEATURE_CRQ | | 58 | FW_FEATURE_MIGRATE | FW_FEATURE_PERFMON | FW_FEATURE_CRQ | |
60 | FW_FEATURE_VIO | FW_FEATURE_RDMA | FW_FEATURE_LLAN | | 59 | FW_FEATURE_VIO | FW_FEATURE_RDMA | FW_FEATURE_LLAN | |
61 | FW_FEATURE_BULK | FW_FEATURE_XDABR | FW_FEATURE_MULTITCE | | 60 | FW_FEATURE_BULK_REMOVE | FW_FEATURE_XDABR | |
62 | FW_FEATURE_SPLPAR | FW_FEATURE_LPAR | FW_FEATURE_CMO, | 61 | FW_FEATURE_MULTITCE | FW_FEATURE_SPLPAR | FW_FEATURE_LPAR | |
62 | FW_FEATURE_CMO, | ||
63 | FW_FEATURE_PSERIES_ALWAYS = 0, | 63 | FW_FEATURE_PSERIES_ALWAYS = 0, |
64 | FW_FEATURE_ISERIES_POSSIBLE = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, | 64 | FW_FEATURE_ISERIES_POSSIBLE = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, |
65 | FW_FEATURE_ISERIES_ALWAYS = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, | 65 | FW_FEATURE_ISERIES_ALWAYS = FW_FEATURE_ISERIES | FW_FEATURE_LPAR, |
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 0b9c9135922e..03c862b6a9c4 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -711,6 +711,8 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
711 | .cpu_setup = __setup_cpu_750, | 711 | .cpu_setup = __setup_cpu_750, |
712 | .machine_check = machine_check_generic, | 712 | .machine_check = machine_check_generic, |
713 | .platform = "ppc750", | 713 | .platform = "ppc750", |
714 | .oprofile_cpu_type = "ppc/750", | ||
715 | .oprofile_type = PPC_OPROFILE_G4, | ||
714 | }, | 716 | }, |
715 | { /* 745/755 */ | 717 | { /* 745/755 */ |
716 | .pvr_mask = 0xfffff000, | 718 | .pvr_mask = 0xfffff000, |
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S index 900e0eea0099..9763267e38b4 100644 --- a/arch/powerpc/kernel/entry_64.S +++ b/arch/powerpc/kernel/entry_64.S | |||
@@ -658,42 +658,43 @@ do_work: | |||
658 | cmpdi r0,0 | 658 | cmpdi r0,0 |
659 | crandc eq,cr1*4+eq,eq | 659 | crandc eq,cr1*4+eq,eq |
660 | bne restore | 660 | bne restore |
661 | /* here we are preempting the current task */ | 661 | |
662 | 1: | 662 | /* Here we are preempting the current task. |
663 | #ifdef CONFIG_TRACE_IRQFLAGS | 663 | * |
664 | bl .trace_hardirqs_on | 664 | * Ensure interrupts are soft-disabled. We also properly mark |
665 | /* Note: we just clobbered r10 which used to contain the previous | 665 | * the PACA to reflect the fact that they are hard-disabled |
666 | * MSR before the hard-disabling done by the caller of do_work. | 666 | * and trace the change |
667 | * We don't have that value anymore, but it doesn't matter as | ||
668 | * we will hard-enable unconditionally, we can just reload the | ||
669 | * current MSR into r10 | ||
670 | */ | 667 | */ |
671 | mfmsr r10 | 668 | li r0,0 |
672 | #endif /* CONFIG_TRACE_IRQFLAGS */ | ||
673 | li r0,1 | ||
674 | stb r0,PACASOFTIRQEN(r13) | 669 | stb r0,PACASOFTIRQEN(r13) |
675 | stb r0,PACAHARDIRQEN(r13) | 670 | stb r0,PACAHARDIRQEN(r13) |
671 | TRACE_DISABLE_INTS | ||
672 | |||
673 | /* Call the scheduler with soft IRQs off */ | ||
674 | 1: bl .preempt_schedule_irq | ||
675 | |||
676 | /* Hard-disable interrupts again (and update PACA) */ | ||
676 | #ifdef CONFIG_PPC_BOOK3E | 677 | #ifdef CONFIG_PPC_BOOK3E |
677 | wrteei 1 | ||
678 | bl .preempt_schedule | ||
679 | wrteei 0 | 678 | wrteei 0 |
680 | #else | 679 | #else |
681 | ori r10,r10,MSR_EE | ||
682 | mtmsrd r10,1 /* reenable interrupts */ | ||
683 | bl .preempt_schedule | ||
684 | mfmsr r10 | 680 | mfmsr r10 |
685 | clrrdi r9,r1,THREAD_SHIFT | 681 | rldicl r10,r10,48,1 |
686 | rldicl r10,r10,48,1 /* disable interrupts again */ | ||
687 | rotldi r10,r10,16 | 682 | rotldi r10,r10,16 |
688 | mtmsrd r10,1 | 683 | mtmsrd r10,1 |
689 | #endif /* CONFIG_PPC_BOOK3E */ | 684 | #endif /* CONFIG_PPC_BOOK3E */ |
685 | li r0,0 | ||
686 | stb r0,PACAHARDIRQEN(r13) | ||
687 | |||
688 | /* Re-test flags and eventually loop */ | ||
689 | clrrdi r9,r1,THREAD_SHIFT | ||
690 | ld r4,TI_FLAGS(r9) | 690 | ld r4,TI_FLAGS(r9) |
691 | andi. r0,r4,_TIF_NEED_RESCHED | 691 | andi. r0,r4,_TIF_NEED_RESCHED |
692 | bne 1b | 692 | bne 1b |
693 | b restore | 693 | b restore |
694 | 694 | ||
695 | user_work: | 695 | user_work: |
696 | #endif | 696 | #endif /* CONFIG_PREEMPT */ |
697 | |||
697 | /* Enable interrupts */ | 698 | /* Enable interrupts */ |
698 | #ifdef CONFIG_PPC_BOOK3E | 699 | #ifdef CONFIG_PPC_BOOK3E |
699 | wrteei 1 | 700 | wrteei 1 |
@@ -1038,8 +1039,7 @@ _GLOBAL(mod_return_to_handler) | |||
1038 | * We are in a module using the module's TOC. | 1039 | * We are in a module using the module's TOC. |
1039 | * Switch to our TOC to run inside the core kernel. | 1040 | * Switch to our TOC to run inside the core kernel. |
1040 | */ | 1041 | */ |
1041 | LOAD_REG_IMMEDIATE(r4,ftrace_return_to_handler) | 1042 | ld r2, PACATOC(r13) |
1042 | ld r2, 8(r4) | ||
1043 | 1043 | ||
1044 | bl .ftrace_return_to_handler | 1044 | bl .ftrace_return_to_handler |
1045 | nop | 1045 | nop |
diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index fe8f71dd0b3f..641c74bb8e27 100644 --- a/arch/powerpc/kernel/kgdb.c +++ b/arch/powerpc/kernel/kgdb.c | |||
@@ -282,12 +282,6 @@ void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) | |||
282 | { | 282 | { |
283 | unsigned long *ptr = gdb_regs; | 283 | unsigned long *ptr = gdb_regs; |
284 | int reg; | 284 | int reg; |
285 | #ifdef CONFIG_SPE | ||
286 | union { | ||
287 | u32 v32[2]; | ||
288 | u64 v64; | ||
289 | } acc; | ||
290 | #endif | ||
291 | 285 | ||
292 | for (reg = 0; reg < 32; reg++) | 286 | for (reg = 0; reg < 32; reg++) |
293 | UNPACK64(regs->gpr[reg], ptr); | 287 | UNPACK64(regs->gpr[reg], ptr); |
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index bb8209e34931..e8dfdbd9327a 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
@@ -1190,7 +1190,7 @@ EXPORT_SYMBOL(pcibios_align_resource); | |||
1190 | * Reparent resource children of pr that conflict with res | 1190 | * Reparent resource children of pr that conflict with res |
1191 | * under res, and make res replace those children. | 1191 | * under res, and make res replace those children. |
1192 | */ | 1192 | */ |
1193 | static int __init reparent_resources(struct resource *parent, | 1193 | static int reparent_resources(struct resource *parent, |
1194 | struct resource *res) | 1194 | struct resource *res) |
1195 | { | 1195 | { |
1196 | struct resource *p, **pp; | 1196 | struct resource *p, **pp; |
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index ba949a2c93ac..ccf56ac92de5 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -97,7 +97,9 @@ int pcibios_unmap_io_space(struct pci_bus *bus) | |||
97 | * to do an appropriate TLB flush here too | 97 | * to do an appropriate TLB flush here too |
98 | */ | 98 | */ |
99 | if (bus->self) { | 99 | if (bus->self) { |
100 | #ifdef CONFIG_PPC_STD_MMU_64 | ||
100 | struct resource *res = bus->resource[0]; | 101 | struct resource *res = bus->resource[0]; |
102 | #endif | ||
101 | 103 | ||
102 | pr_debug("IO unmapping for PCI-PCI bridge %s\n", | 104 | pr_debug("IO unmapping for PCI-PCI bridge %s\n", |
103 | pci_name(bus->self)); | 105 | pci_name(bus->self)); |
diff --git a/arch/powerpc/kernel/perf_event.c b/arch/powerpc/kernel/perf_event.c index bbcbae183e92..87f1663584b0 100644 --- a/arch/powerpc/kernel/perf_event.c +++ b/arch/powerpc/kernel/perf_event.c | |||
@@ -116,20 +116,23 @@ static inline void perf_get_data_addr(struct pt_regs *regs, u64 *addrp) | |||
116 | static inline u32 perf_get_misc_flags(struct pt_regs *regs) | 116 | static inline u32 perf_get_misc_flags(struct pt_regs *regs) |
117 | { | 117 | { |
118 | unsigned long mmcra = regs->dsisr; | 118 | unsigned long mmcra = regs->dsisr; |
119 | unsigned long sihv = MMCRA_SIHV; | ||
120 | unsigned long sipr = MMCRA_SIPR; | ||
119 | 121 | ||
120 | if (TRAP(regs) != 0xf00) | 122 | if (TRAP(regs) != 0xf00) |
121 | return 0; /* not a PMU interrupt */ | 123 | return 0; /* not a PMU interrupt */ |
122 | 124 | ||
123 | if (ppmu->flags & PPMU_ALT_SIPR) { | 125 | if (ppmu->flags & PPMU_ALT_SIPR) { |
124 | if (mmcra & POWER6_MMCRA_SIHV) | 126 | sihv = POWER6_MMCRA_SIHV; |
125 | return PERF_RECORD_MISC_HYPERVISOR; | 127 | sipr = POWER6_MMCRA_SIPR; |
126 | return (mmcra & POWER6_MMCRA_SIPR) ? | ||
127 | PERF_RECORD_MISC_USER : PERF_RECORD_MISC_KERNEL; | ||
128 | } | 128 | } |
129 | if (mmcra & MMCRA_SIHV) | 129 | |
130 | /* PR has priority over HV, so order below is important */ | ||
131 | if (mmcra & sipr) | ||
132 | return PERF_RECORD_MISC_USER; | ||
133 | if ((mmcra & sihv) && (freeze_events_kernel != MMCR0_FCHV)) | ||
130 | return PERF_RECORD_MISC_HYPERVISOR; | 134 | return PERF_RECORD_MISC_HYPERVISOR; |
131 | return (mmcra & MMCRA_SIPR) ? PERF_RECORD_MISC_USER : | 135 | return PERF_RECORD_MISC_KERNEL; |
132 | PERF_RECORD_MISC_KERNEL; | ||
133 | } | 136 | } |
134 | 137 | ||
135 | /* | 138 | /* |
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 1168c5f440ab..c930ac38e59f 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -1016,9 +1016,13 @@ void show_stack(struct task_struct *tsk, unsigned long *stack) | |||
1016 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 1016 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
1017 | int curr_frame = current->curr_ret_stack; | 1017 | int curr_frame = current->curr_ret_stack; |
1018 | extern void return_to_handler(void); | 1018 | extern void return_to_handler(void); |
1019 | unsigned long addr = (unsigned long)return_to_handler; | 1019 | unsigned long rth = (unsigned long)return_to_handler; |
1020 | unsigned long mrth = -1; | ||
1020 | #ifdef CONFIG_PPC64 | 1021 | #ifdef CONFIG_PPC64 |
1021 | addr = *(unsigned long*)addr; | 1022 | extern void mod_return_to_handler(void); |
1023 | rth = *(unsigned long *)rth; | ||
1024 | mrth = (unsigned long)mod_return_to_handler; | ||
1025 | mrth = *(unsigned long *)mrth; | ||
1022 | #endif | 1026 | #endif |
1023 | #endif | 1027 | #endif |
1024 | 1028 | ||
@@ -1044,7 +1048,7 @@ void show_stack(struct task_struct *tsk, unsigned long *stack) | |||
1044 | if (!firstframe || ip != lr) { | 1048 | if (!firstframe || ip != lr) { |
1045 | printk("["REG"] ["REG"] %pS", sp, ip, (void *)ip); | 1049 | printk("["REG"] ["REG"] %pS", sp, ip, (void *)ip); |
1046 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 1050 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
1047 | if (ip == addr && curr_frame >= 0) { | 1051 | if ((ip == rth || ip == mrth) && curr_frame >= 0) { |
1048 | printk(" (%pS)", | 1052 | printk(" (%pS)", |
1049 | (void *)current->ret_stack[curr_frame].ret); | 1053 | (void *)current->ret_stack[curr_frame].ret); |
1050 | curr_frame--; | 1054 | curr_frame--; |
@@ -1168,7 +1172,7 @@ unsigned long arch_randomize_brk(struct mm_struct *mm) | |||
1168 | unsigned long base = mm->brk; | 1172 | unsigned long base = mm->brk; |
1169 | unsigned long ret; | 1173 | unsigned long ret; |
1170 | 1174 | ||
1171 | #ifdef CONFIG_PPC64 | 1175 | #ifdef CONFIG_PPC_STD_MMU_64 |
1172 | /* | 1176 | /* |
1173 | * If we are using 1TB segments and we are allowed to randomise | 1177 | * If we are using 1TB segments and we are allowed to randomise |
1174 | * the heap, we can put it above 1TB so it is backed by a 1TB | 1178 | * the heap, we can put it above 1TB so it is backed by a 1TB |
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 797ea95aae2e..04f638d82fb3 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <asm/cache.h> | 57 | #include <asm/cache.h> |
58 | #include <asm/page.h> | 58 | #include <asm/page.h> |
59 | #include <asm/mmu.h> | 59 | #include <asm/mmu.h> |
60 | #include <asm/mmu-hash64.h> | ||
61 | #include <asm/firmware.h> | 60 | #include <asm/firmware.h> |
62 | #include <asm/xmon.h> | 61 | #include <asm/xmon.h> |
63 | #include <asm/udbg.h> | 62 | #include <asm/udbg.h> |
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index 94e2df3cae07..137dc22afa42 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c | |||
@@ -50,6 +50,9 @@ | |||
50 | /* Max supported size for symbol names */ | 50 | /* Max supported size for symbol names */ |
51 | #define MAX_SYMNAME 64 | 51 | #define MAX_SYMNAME 64 |
52 | 52 | ||
53 | /* The alignment of the vDSO */ | ||
54 | #define VDSO_ALIGNMENT (1 << 16) | ||
55 | |||
53 | extern char vdso32_start, vdso32_end; | 56 | extern char vdso32_start, vdso32_end; |
54 | static void *vdso32_kbase = &vdso32_start; | 57 | static void *vdso32_kbase = &vdso32_start; |
55 | static unsigned int vdso32_pages; | 58 | static unsigned int vdso32_pages; |
@@ -231,15 +234,21 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
231 | * pick a base address for the vDSO in process space. We try to put it | 234 | * pick a base address for the vDSO in process space. We try to put it |
232 | * at vdso_base which is the "natural" base for it, but we might fail | 235 | * at vdso_base which is the "natural" base for it, but we might fail |
233 | * and end up putting it elsewhere. | 236 | * and end up putting it elsewhere. |
237 | * Add enough to the size so that the result can be aligned. | ||
234 | */ | 238 | */ |
235 | down_write(&mm->mmap_sem); | 239 | down_write(&mm->mmap_sem); |
236 | vdso_base = get_unmapped_area(NULL, vdso_base, | 240 | vdso_base = get_unmapped_area(NULL, vdso_base, |
237 | vdso_pages << PAGE_SHIFT, 0, 0); | 241 | (vdso_pages << PAGE_SHIFT) + |
242 | ((VDSO_ALIGNMENT - 1) & PAGE_MASK), | ||
243 | 0, 0); | ||
238 | if (IS_ERR_VALUE(vdso_base)) { | 244 | if (IS_ERR_VALUE(vdso_base)) { |
239 | rc = vdso_base; | 245 | rc = vdso_base; |
240 | goto fail_mmapsem; | 246 | goto fail_mmapsem; |
241 | } | 247 | } |
242 | 248 | ||
249 | /* Add required alignment. */ | ||
250 | vdso_base = ALIGN(vdso_base, VDSO_ALIGNMENT); | ||
251 | |||
243 | /* | 252 | /* |
244 | * Put vDSO base into mm struct. We need to do this before calling | 253 | * Put vDSO base into mm struct. We need to do this before calling |
245 | * install_special_mapping or the perf counter mmap tracking code | 254 | * install_special_mapping or the perf counter mmap tracking code |
diff --git a/arch/powerpc/kernel/vdso32/vdso32.lds.S b/arch/powerpc/kernel/vdso32/vdso32.lds.S index 904ef1360dd7..0546bcd49cd0 100644 --- a/arch/powerpc/kernel/vdso32/vdso32.lds.S +++ b/arch/powerpc/kernel/vdso32/vdso32.lds.S | |||
@@ -25,7 +25,7 @@ SECTIONS | |||
25 | . = ALIGN(16); | 25 | . = ALIGN(16); |
26 | .text : { | 26 | .text : { |
27 | *(.text .stub .text.* .gnu.linkonce.t.* __ftr_alt_*) | 27 | *(.text .stub .text.* .gnu.linkonce.t.* __ftr_alt_*) |
28 | } | 28 | } :text |
29 | PROVIDE(__etext = .); | 29 | PROVIDE(__etext = .); |
30 | PROVIDE(_etext = .); | 30 | PROVIDE(_etext = .); |
31 | PROVIDE(etext = .); | 31 | PROVIDE(etext = .); |
@@ -56,7 +56,7 @@ SECTIONS | |||
56 | .fixup : { *(.fixup) } | 56 | .fixup : { *(.fixup) } |
57 | 57 | ||
58 | .dynamic : { *(.dynamic) } :text :dynamic | 58 | .dynamic : { *(.dynamic) } :text :dynamic |
59 | .got : { *(.got) } | 59 | .got : { *(.got) } :text |
60 | .plt : { *(.plt) } | 60 | .plt : { *(.plt) } |
61 | 61 | ||
62 | _end = .; | 62 | _end = .; |
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index f56429362a12..27735a7ac12b 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -236,6 +236,7 @@ SECTIONS | |||
236 | READ_MOSTLY_DATA(L1_CACHE_BYTES) | 236 | READ_MOSTLY_DATA(L1_CACHE_BYTES) |
237 | } | 237 | } |
238 | 238 | ||
239 | . = ALIGN(PAGE_SIZE); | ||
239 | .data_nosave : AT(ADDR(.data_nosave) - LOAD_OFFSET) { | 240 | .data_nosave : AT(ADDR(.data_nosave) - LOAD_OFFSET) { |
240 | NOSAVE_DATA | 241 | NOSAVE_DATA |
241 | } | 242 | } |
diff --git a/arch/powerpc/mm/slb_low.S b/arch/powerpc/mm/slb_low.S index bc44dc4b5c67..95ce35581696 100644 --- a/arch/powerpc/mm/slb_low.S +++ b/arch/powerpc/mm/slb_low.S | |||
@@ -72,19 +72,17 @@ _GLOBAL(slb_miss_kernel_load_vmemmap) | |||
72 | 1: | 72 | 1: |
73 | #endif /* CONFIG_SPARSEMEM_VMEMMAP */ | 73 | #endif /* CONFIG_SPARSEMEM_VMEMMAP */ |
74 | 74 | ||
75 | /* vmalloc/ioremap mapping encoding bits, the "li" instructions below | 75 | /* vmalloc mapping gets the encoding from the PACA as the mapping |
76 | * will be patched by the kernel at boot | 76 | * can be demoted from 64K -> 4K dynamically on some machines |
77 | */ | 77 | */ |
78 | BEGIN_FTR_SECTION | ||
79 | /* check whether this is in vmalloc or ioremap space */ | ||
80 | clrldi r11,r10,48 | 78 | clrldi r11,r10,48 |
81 | cmpldi r11,(VMALLOC_SIZE >> 28) - 1 | 79 | cmpldi r11,(VMALLOC_SIZE >> 28) - 1 |
82 | bgt 5f | 80 | bgt 5f |
83 | lhz r11,PACAVMALLOCSLLP(r13) | 81 | lhz r11,PACAVMALLOCSLLP(r13) |
84 | b 6f | 82 | b 6f |
85 | 5: | 83 | 5: |
86 | END_FTR_SECTION_IFCLR(CPU_FTR_CI_LARGE_PAGE) | 84 | /* IO mapping */ |
87 | _GLOBAL(slb_miss_kernel_load_io) | 85 | _GLOBAL(slb_miss_kernel_load_io) |
88 | li r11,0 | 86 | li r11,0 |
89 | 6: | 87 | 6: |
90 | BEGIN_FTR_SECTION | 88 | BEGIN_FTR_SECTION |
diff --git a/arch/powerpc/platforms/52xx/mpc5200_simple.c b/arch/powerpc/platforms/52xx/mpc5200_simple.c index c31e5b534f0a..d45be5b5ad49 100644 --- a/arch/powerpc/platforms/52xx/mpc5200_simple.c +++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c | |||
@@ -51,6 +51,8 @@ static void __init mpc5200_simple_setup_arch(void) | |||
51 | /* list of the supported boards */ | 51 | /* list of the supported boards */ |
52 | static char *board[] __initdata = { | 52 | static char *board[] __initdata = { |
53 | "intercontrol,digsy-mtc", | 53 | "intercontrol,digsy-mtc", |
54 | "manroland,mucmc52", | ||
55 | "manroland,uc101", | ||
54 | "phytec,pcm030", | 56 | "phytec,pcm030", |
55 | "phytec,pcm032", | 57 | "phytec,pcm032", |
56 | "promess,motionpro", | 58 | "promess,motionpro", |
diff --git a/arch/powerpc/platforms/cell/axon_msi.c b/arch/powerpc/platforms/cell/axon_msi.c index aca5741ddc67..a86c34b3bb84 100644 --- a/arch/powerpc/platforms/cell/axon_msi.c +++ b/arch/powerpc/platforms/cell/axon_msi.c | |||
@@ -365,7 +365,7 @@ static int axon_msi_probe(struct of_device *device, | |||
365 | printk(KERN_ERR | 365 | printk(KERN_ERR |
366 | "axon_msi: couldn't parse dcr properties on %s\n", | 366 | "axon_msi: couldn't parse dcr properties on %s\n", |
367 | dn->full_name); | 367 | dn->full_name); |
368 | goto out; | 368 | goto out_free_msic; |
369 | } | 369 | } |
370 | 370 | ||
371 | msic->dcr_host = dcr_map(dn, dcr_base, dcr_len); | 371 | msic->dcr_host = dcr_map(dn, dcr_base, dcr_len); |
diff --git a/arch/powerpc/platforms/iseries/Makefile b/arch/powerpc/platforms/iseries/Makefile index cc7161ff1666..ce014928d460 100644 --- a/arch/powerpc/platforms/iseries/Makefile +++ b/arch/powerpc/platforms/iseries/Makefile | |||
@@ -1,18 +1,9 @@ | |||
1 | EXTRA_CFLAGS += -mno-minimal-toc | 1 | EXTRA_CFLAGS += -mno-minimal-toc |
2 | 2 | ||
3 | extra-y += dt.o | ||
4 | |||
5 | obj-y += exception.o | 3 | obj-y += exception.o |
6 | obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o dt_mod.o mf.o lpevents.o \ | 4 | obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o dt.o mf.o lpevents.o \ |
7 | hvcall.o proc.o htab.o iommu.o misc.o irq.o | 5 | hvcall.o proc.o htab.o iommu.o misc.o irq.o |
8 | obj-$(CONFIG_PCI) += pci.o | 6 | obj-$(CONFIG_PCI) += pci.o |
9 | obj-$(CONFIG_SMP) += smp.o | 7 | obj-$(CONFIG_SMP) += smp.o |
10 | obj-$(CONFIG_VIOPATH) += viopath.o vio.o | 8 | obj-$(CONFIG_VIOPATH) += viopath.o vio.o |
11 | obj-$(CONFIG_MODULES) += ksyms.o | 9 | obj-$(CONFIG_MODULES) += ksyms.o |
12 | |||
13 | quiet_cmd_dt_strings = DT_STR $@ | ||
14 | cmd_dt_strings = $(OBJCOPY) --rename-section .rodata.str1.8=.dt_strings \ | ||
15 | $< $@ | ||
16 | |||
17 | $(obj)/dt_mod.o: $(obj)/dt.o | ||
18 | $(call if_changed,dt_strings) | ||
diff --git a/arch/powerpc/platforms/iseries/dt.c b/arch/powerpc/platforms/iseries/dt.c index c5a87a72057b..7f45a51fe793 100644 --- a/arch/powerpc/platforms/iseries/dt.c +++ b/arch/powerpc/platforms/iseries/dt.c | |||
@@ -51,11 +51,16 @@ | |||
51 | 51 | ||
52 | /* | 52 | /* |
53 | * These are created by the linker script at the start and end | 53 | * These are created by the linker script at the start and end |
54 | * of the section containing all the strings from this file. | 54 | * of the section containing all the strings marked with the DS macro. |
55 | */ | 55 | */ |
56 | extern char __dt_strings_start[]; | 56 | extern char __dt_strings_start[]; |
57 | extern char __dt_strings_end[]; | 57 | extern char __dt_strings_end[]; |
58 | 58 | ||
59 | #define DS(s) ({ \ | ||
60 | static const char __s[] __attribute__((section(".dt_strings"))) = s; \ | ||
61 | __s; \ | ||
62 | }) | ||
63 | |||
59 | struct iseries_flat_dt { | 64 | struct iseries_flat_dt { |
60 | struct boot_param_header header; | 65 | struct boot_param_header header; |
61 | u64 reserve_map[2]; | 66 | u64 reserve_map[2]; |
@@ -64,9 +69,8 @@ struct iseries_flat_dt { | |||
64 | static void * __initdata dt_data; | 69 | static void * __initdata dt_data; |
65 | 70 | ||
66 | /* | 71 | /* |
67 | * Putting these strings here keeps them out of the section | 72 | * Putting these strings here keeps them out of the .dt_strings section |
68 | * that we rename to .dt_strings using objcopy and capture | 73 | * that we capture for the strings blob of the flattened device tree. |
69 | * for the strings blob of the flattened device tree. | ||
70 | */ | 74 | */ |
71 | static char __initdata device_type_cpu[] = "cpu"; | 75 | static char __initdata device_type_cpu[] = "cpu"; |
72 | static char __initdata device_type_memory[] = "memory"; | 76 | static char __initdata device_type_memory[] = "memory"; |
@@ -173,7 +177,7 @@ static void __init dt_start_node(struct iseries_flat_dt *dt, const char *name) | |||
173 | 177 | ||
174 | #define dt_end_node(dt) dt_push_u32(dt, OF_DT_END_NODE) | 178 | #define dt_end_node(dt) dt_push_u32(dt, OF_DT_END_NODE) |
175 | 179 | ||
176 | static void __init dt_prop(struct iseries_flat_dt *dt, const char *name, | 180 | static void __init __dt_prop(struct iseries_flat_dt *dt, const char *name, |
177 | const void *data, int len) | 181 | const void *data, int len) |
178 | { | 182 | { |
179 | unsigned long offset; | 183 | unsigned long offset; |
@@ -191,44 +195,32 @@ static void __init dt_prop(struct iseries_flat_dt *dt, const char *name, | |||
191 | /* The actual data. */ | 195 | /* The actual data. */ |
192 | dt_push_bytes(dt, data, len); | 196 | dt_push_bytes(dt, data, len); |
193 | } | 197 | } |
198 | #define dt_prop(dt, name, data, len) __dt_prop((dt), DS(name), (data), (len)) | ||
194 | 199 | ||
195 | static void __init dt_prop_str(struct iseries_flat_dt *dt, const char *name, | 200 | #define dt_prop_str(dt, name, data) \ |
196 | const char *data) | 201 | dt_prop((dt), name, (data), strlen((data)) + 1); /* + 1 for NULL */ |
197 | { | ||
198 | dt_prop(dt, name, data, strlen(data) + 1); /* + 1 for NULL */ | ||
199 | } | ||
200 | 202 | ||
201 | static void __init dt_prop_u32(struct iseries_flat_dt *dt, const char *name, | 203 | static void __init __dt_prop_u32(struct iseries_flat_dt *dt, const char *name, |
202 | u32 data) | 204 | u32 data) |
203 | { | 205 | { |
204 | dt_prop(dt, name, &data, sizeof(u32)); | 206 | __dt_prop(dt, name, &data, sizeof(u32)); |
205 | } | 207 | } |
208 | #define dt_prop_u32(dt, name, data) __dt_prop_u32((dt), DS(name), (data)) | ||
206 | 209 | ||
207 | static void __init __maybe_unused dt_prop_u64(struct iseries_flat_dt *dt, | 210 | static void __init __maybe_unused __dt_prop_u64(struct iseries_flat_dt *dt, |
208 | const char *name, | 211 | const char *name, u64 data) |
209 | u64 data) | ||
210 | { | 212 | { |
211 | dt_prop(dt, name, &data, sizeof(u64)); | 213 | __dt_prop(dt, name, &data, sizeof(u64)); |
212 | } | 214 | } |
215 | #define dt_prop_u64(dt, name, data) __dt_prop_u64((dt), DS(name), (data)) | ||
213 | 216 | ||
214 | static void __init dt_prop_u64_list(struct iseries_flat_dt *dt, | 217 | #define dt_prop_u64_list(dt, name, data, n) \ |
215 | const char *name, u64 *data, int n) | 218 | dt_prop((dt), name, (data), sizeof(u64) * (n)) |
216 | { | ||
217 | dt_prop(dt, name, data, sizeof(u64) * n); | ||
218 | } | ||
219 | 219 | ||
220 | static void __init dt_prop_u32_list(struct iseries_flat_dt *dt, | 220 | #define dt_prop_u32_list(dt, name, data, n) \ |
221 | const char *name, u32 *data, int n) | 221 | dt_prop((dt), name, (data), sizeof(u32) * (n)) |
222 | { | ||
223 | dt_prop(dt, name, data, sizeof(u32) * n); | ||
224 | } | ||
225 | 222 | ||
226 | #ifdef notyet | 223 | #define dt_prop_empty(dt, name) dt_prop((dt), name, NULL, 0) |
227 | static void __init dt_prop_empty(struct iseries_flat_dt *dt, const char *name) | ||
228 | { | ||
229 | dt_prop(dt, name, NULL, 0); | ||
230 | } | ||
231 | #endif | ||
232 | 224 | ||
233 | static void __init dt_cpus(struct iseries_flat_dt *dt) | 225 | static void __init dt_cpus(struct iseries_flat_dt *dt) |
234 | { | 226 | { |
diff --git a/arch/powerpc/platforms/powermac/low_i2c.c b/arch/powerpc/platforms/powermac/low_i2c.c index 21226b74c9b2..414ca9849f23 100644 --- a/arch/powerpc/platforms/powermac/low_i2c.c +++ b/arch/powerpc/platforms/powermac/low_i2c.c | |||
@@ -540,8 +540,11 @@ static struct pmac_i2c_host_kw *__init kw_i2c_host_init(struct device_node *np) | |||
540 | /* Make sure IRQ is disabled */ | 540 | /* Make sure IRQ is disabled */ |
541 | kw_write_reg(reg_ier, 0); | 541 | kw_write_reg(reg_ier, 0); |
542 | 542 | ||
543 | /* Request chip interrupt */ | 543 | /* Request chip interrupt. We set IRQF_TIMER because we don't |
544 | if (request_irq(host->irq, kw_i2c_irq, 0, "keywest i2c", host)) | 544 | * want that interrupt disabled between the 2 passes of driver |
545 | * suspend or we'll have issues running the pfuncs | ||
546 | */ | ||
547 | if (request_irq(host->irq, kw_i2c_irq, IRQF_TIMER, "keywest i2c", host)) | ||
545 | host->irq = NO_IRQ; | 548 | host->irq = NO_IRQ; |
546 | 549 | ||
547 | printk(KERN_INFO "KeyWest i2c @0x%08x irq %d %s\n", | 550 | printk(KERN_INFO "KeyWest i2c @0x%08x irq %d %s\n", |
diff --git a/arch/powerpc/platforms/pseries/firmware.c b/arch/powerpc/platforms/pseries/firmware.c index 5a707da3f5c2..0a14d8cd314f 100644 --- a/arch/powerpc/platforms/pseries/firmware.c +++ b/arch/powerpc/platforms/pseries/firmware.c | |||
@@ -51,11 +51,10 @@ firmware_features_table[FIRMWARE_MAX_FEATURES] = { | |||
51 | {FW_FEATURE_VIO, "hcall-vio"}, | 51 | {FW_FEATURE_VIO, "hcall-vio"}, |
52 | {FW_FEATURE_RDMA, "hcall-rdma"}, | 52 | {FW_FEATURE_RDMA, "hcall-rdma"}, |
53 | {FW_FEATURE_LLAN, "hcall-lLAN"}, | 53 | {FW_FEATURE_LLAN, "hcall-lLAN"}, |
54 | {FW_FEATURE_BULK, "hcall-bulk"}, | 54 | {FW_FEATURE_BULK_REMOVE, "hcall-bulk"}, |
55 | {FW_FEATURE_XDABR, "hcall-xdabr"}, | 55 | {FW_FEATURE_XDABR, "hcall-xdabr"}, |
56 | {FW_FEATURE_MULTITCE, "hcall-multi-tce"}, | 56 | {FW_FEATURE_MULTITCE, "hcall-multi-tce"}, |
57 | {FW_FEATURE_SPLPAR, "hcall-splpar"}, | 57 | {FW_FEATURE_SPLPAR, "hcall-splpar"}, |
58 | {FW_FEATURE_BULK_REMOVE, "hcall-bulk"}, | ||
59 | }; | 58 | }; |
60 | 59 | ||
61 | /* Build up the firmware features bitmask using the contents of | 60 | /* Build up the firmware features bitmask using the contents of |
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index c6f0a71b405e..bdbe96c8a7e4 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -517,6 +517,15 @@ static int xmon_core(struct pt_regs *regs, int fromipi) | |||
517 | in_xmon = 0; | 517 | in_xmon = 0; |
518 | #endif | 518 | #endif |
519 | 519 | ||
520 | #ifdef CONFIG_BOOKE | ||
521 | if (regs->msr & MSR_DE) { | ||
522 | bp = at_breakpoint(regs->nip); | ||
523 | if (bp != NULL) { | ||
524 | regs->nip = (unsigned long) &bp->instr[0]; | ||
525 | atomic_inc(&bp->ref_count); | ||
526 | } | ||
527 | } | ||
528 | #else | ||
520 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) == (MSR_IR|MSR_SF)) { | 529 | if ((regs->msr & (MSR_IR|MSR_PR|MSR_SF)) == (MSR_IR|MSR_SF)) { |
521 | bp = at_breakpoint(regs->nip); | 530 | bp = at_breakpoint(regs->nip); |
522 | if (bp != NULL) { | 531 | if (bp != NULL) { |
@@ -530,7 +539,7 @@ static int xmon_core(struct pt_regs *regs, int fromipi) | |||
530 | } | 539 | } |
531 | } | 540 | } |
532 | } | 541 | } |
533 | 542 | #endif | |
534 | insert_cpu_bpts(); | 543 | insert_cpu_bpts(); |
535 | 544 | ||
536 | local_irq_restore(flags); | 545 | local_irq_restore(flags); |
@@ -894,6 +903,14 @@ cmds(struct pt_regs *excp) | |||
894 | } | 903 | } |
895 | } | 904 | } |
896 | 905 | ||
906 | #ifdef CONFIG_BOOKE | ||
907 | static int do_step(struct pt_regs *regs) | ||
908 | { | ||
909 | regs->msr |= MSR_DE; | ||
910 | mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); | ||
911 | return 1; | ||
912 | } | ||
913 | #else | ||
897 | /* | 914 | /* |
898 | * Step a single instruction. | 915 | * Step a single instruction. |
899 | * Some instructions we emulate, others we execute with MSR_SE set. | 916 | * Some instructions we emulate, others we execute with MSR_SE set. |
@@ -924,6 +941,7 @@ static int do_step(struct pt_regs *regs) | |||
924 | regs->msr |= MSR_SE; | 941 | regs->msr |= MSR_SE; |
925 | return 1; | 942 | return 1; |
926 | } | 943 | } |
944 | #endif | ||
927 | 945 | ||
928 | static void bootcmds(void) | 946 | static void bootcmds(void) |
929 | { | 947 | { |
diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c index 704dd396257b..77df726180ba 100644 --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c | |||
@@ -438,7 +438,7 @@ static int diag204_probe(void) | |||
438 | } | 438 | } |
439 | if (diag204((unsigned long)SUBC_STIB6 | | 439 | if (diag204((unsigned long)SUBC_STIB6 | |
440 | (unsigned long)INFO_EXT, pages, buf) >= 0) { | 440 | (unsigned long)INFO_EXT, pages, buf) >= 0) { |
441 | diag204_store_sc = SUBC_STIB7; | 441 | diag204_store_sc = SUBC_STIB6; |
442 | diag204_info_type = INFO_EXT; | 442 | diag204_info_type = INFO_EXT; |
443 | goto out; | 443 | goto out; |
444 | } | 444 | } |
diff --git a/arch/s390/include/asm/cputime.h b/arch/s390/include/asm/cputime.h index 24b1244aadb9..f23961ada7fb 100644 --- a/arch/s390/include/asm/cputime.h +++ b/arch/s390/include/asm/cputime.h | |||
@@ -78,7 +78,7 @@ cputime64_to_jiffies64(cputime64_t cputime) | |||
78 | static inline unsigned int | 78 | static inline unsigned int |
79 | cputime_to_msecs(const cputime_t cputime) | 79 | cputime_to_msecs(const cputime_t cputime) |
80 | { | 80 | { |
81 | return __div(cputime, 4096000); | 81 | return cputime_div(cputime, 4096000); |
82 | } | 82 | } |
83 | 83 | ||
84 | static inline cputime_t | 84 | static inline cputime_t |
@@ -160,7 +160,7 @@ cputime_to_timeval(const cputime_t cputime, struct timeval *value) | |||
160 | static inline clock_t | 160 | static inline clock_t |
161 | cputime_to_clock_t(cputime_t cputime) | 161 | cputime_to_clock_t(cputime_t cputime) |
162 | { | 162 | { |
163 | return __div(cputime, 4096000000ULL / USER_HZ); | 163 | return cputime_div(cputime, 4096000000ULL / USER_HZ); |
164 | } | 164 | } |
165 | 165 | ||
166 | static inline cputime_t | 166 | static inline cputime_t |
@@ -175,7 +175,7 @@ clock_t_to_cputime(unsigned long x) | |||
175 | static inline clock_t | 175 | static inline clock_t |
176 | cputime64_to_clock_t(cputime64_t cputime) | 176 | cputime64_to_clock_t(cputime64_t cputime) |
177 | { | 177 | { |
178 | return __div(cputime, 4096000000ULL / USER_HZ); | 178 | return cputime_div(cputime, 4096000000ULL / USER_HZ); |
179 | } | 179 | } |
180 | 180 | ||
181 | struct s390_idle_data { | 181 | struct s390_idle_data { |
diff --git a/arch/s390/include/asm/delay.h b/arch/s390/include/asm/delay.h index a356c958e260..8a096b83f51f 100644 --- a/arch/s390/include/asm/delay.h +++ b/arch/s390/include/asm/delay.h | |||
@@ -14,10 +14,11 @@ | |||
14 | #ifndef _S390_DELAY_H | 14 | #ifndef _S390_DELAY_H |
15 | #define _S390_DELAY_H | 15 | #define _S390_DELAY_H |
16 | 16 | ||
17 | extern void __udelay(unsigned long usecs); | 17 | extern void __udelay(unsigned long long usecs); |
18 | extern void udelay_simple(unsigned long usecs); | 18 | extern void udelay_simple(unsigned long long usecs); |
19 | extern void __delay(unsigned long loops); | 19 | extern void __delay(unsigned long loops); |
20 | 20 | ||
21 | #define udelay(n) __udelay(n) | 21 | #define udelay(n) __udelay((unsigned long long) (n)) |
22 | #define mdelay(n) __udelay((unsigned long long) (n) * 1000) | ||
22 | 23 | ||
23 | #endif /* defined(_S390_DELAY_H) */ | 24 | #endif /* defined(_S390_DELAY_H) */ |
diff --git a/arch/s390/include/asm/elf.h b/arch/s390/include/asm/elf.h index 74d0bbb7d955..e885442c1dfe 100644 --- a/arch/s390/include/asm/elf.h +++ b/arch/s390/include/asm/elf.h | |||
@@ -92,6 +92,18 @@ | |||
92 | /* Keep this the last entry. */ | 92 | /* Keep this the last entry. */ |
93 | #define R_390_NUM 61 | 93 | #define R_390_NUM 61 |
94 | 94 | ||
95 | /* Bits present in AT_HWCAP. */ | ||
96 | #define HWCAP_S390_ESAN3 1 | ||
97 | #define HWCAP_S390_ZARCH 2 | ||
98 | #define HWCAP_S390_STFLE 4 | ||
99 | #define HWCAP_S390_MSA 8 | ||
100 | #define HWCAP_S390_LDISP 16 | ||
101 | #define HWCAP_S390_EIMM 32 | ||
102 | #define HWCAP_S390_DFP 64 | ||
103 | #define HWCAP_S390_HPAGE 128 | ||
104 | #define HWCAP_S390_ETF3EH 256 | ||
105 | #define HWCAP_S390_HIGH_GPRS 512 | ||
106 | |||
95 | /* | 107 | /* |
96 | * These are used to set parameters in the core dumps. | 108 | * These are used to set parameters in the core dumps. |
97 | */ | 109 | */ |
diff --git a/arch/s390/include/asm/ptrace.h b/arch/s390/include/asm/ptrace.h index 539263fc9ab9..95dcf183a28d 100644 --- a/arch/s390/include/asm/ptrace.h +++ b/arch/s390/include/asm/ptrace.h | |||
@@ -311,6 +311,10 @@ typedef struct | |||
311 | __u32 orig_gpr2; | 311 | __u32 orig_gpr2; |
312 | } s390_compat_regs; | 312 | } s390_compat_regs; |
313 | 313 | ||
314 | typedef struct | ||
315 | { | ||
316 | __u32 gprs_high[NUM_GPRS]; | ||
317 | } s390_compat_regs_high; | ||
314 | 318 | ||
315 | #ifdef __KERNEL__ | 319 | #ifdef __KERNEL__ |
316 | 320 | ||
diff --git a/arch/s390/include/asm/ucontext.h b/arch/s390/include/asm/ucontext.h index d69bec0b03f5..cfb874e66c9a 100644 --- a/arch/s390/include/asm/ucontext.h +++ b/arch/s390/include/asm/ucontext.h | |||
@@ -9,6 +9,21 @@ | |||
9 | #ifndef _ASM_S390_UCONTEXT_H | 9 | #ifndef _ASM_S390_UCONTEXT_H |
10 | #define _ASM_S390_UCONTEXT_H | 10 | #define _ASM_S390_UCONTEXT_H |
11 | 11 | ||
12 | #define UC_EXTENDED 0x00000001 | ||
13 | |||
14 | #ifndef __s390x__ | ||
15 | |||
16 | struct ucontext_extended { | ||
17 | unsigned long uc_flags; | ||
18 | struct ucontext *uc_link; | ||
19 | stack_t uc_stack; | ||
20 | _sigregs uc_mcontext; | ||
21 | unsigned long uc_sigmask[2]; | ||
22 | unsigned long uc_gprs_high[16]; | ||
23 | }; | ||
24 | |||
25 | #endif | ||
26 | |||
12 | struct ucontext { | 27 | struct ucontext { |
13 | unsigned long uc_flags; | 28 | unsigned long uc_flags; |
14 | struct ucontext *uc_link; | 29 | struct ucontext *uc_link; |
diff --git a/arch/s390/kernel/compat_signal.c b/arch/s390/kernel/compat_signal.c index b537cb0e9b55..eee999853a7c 100644 --- a/arch/s390/kernel/compat_signal.c +++ b/arch/s390/kernel/compat_signal.c | |||
@@ -39,6 +39,7 @@ typedef struct | |||
39 | struct sigcontext32 sc; | 39 | struct sigcontext32 sc; |
40 | _sigregs32 sregs; | 40 | _sigregs32 sregs; |
41 | int signo; | 41 | int signo; |
42 | __u32 gprs_high[NUM_GPRS]; | ||
42 | __u8 retcode[S390_SYSCALL_SIZE]; | 43 | __u8 retcode[S390_SYSCALL_SIZE]; |
43 | } sigframe32; | 44 | } sigframe32; |
44 | 45 | ||
@@ -48,6 +49,7 @@ typedef struct | |||
48 | __u8 retcode[S390_SYSCALL_SIZE]; | 49 | __u8 retcode[S390_SYSCALL_SIZE]; |
49 | compat_siginfo_t info; | 50 | compat_siginfo_t info; |
50 | struct ucontext32 uc; | 51 | struct ucontext32 uc; |
52 | __u32 gprs_high[NUM_GPRS]; | ||
51 | } rt_sigframe32; | 53 | } rt_sigframe32; |
52 | 54 | ||
53 | int copy_siginfo_to_user32(compat_siginfo_t __user *to, siginfo_t *from) | 55 | int copy_siginfo_to_user32(compat_siginfo_t __user *to, siginfo_t *from) |
@@ -344,6 +346,30 @@ static int restore_sigregs32(struct pt_regs *regs,_sigregs32 __user *sregs) | |||
344 | return 0; | 346 | return 0; |
345 | } | 347 | } |
346 | 348 | ||
349 | static int save_sigregs_gprs_high(struct pt_regs *regs, __u32 __user *uregs) | ||
350 | { | ||
351 | __u32 gprs_high[NUM_GPRS]; | ||
352 | int i; | ||
353 | |||
354 | for (i = 0; i < NUM_GPRS; i++) | ||
355 | gprs_high[i] = regs->gprs[i] >> 32; | ||
356 | |||
357 | return __copy_to_user(uregs, &gprs_high, sizeof(gprs_high)); | ||
358 | } | ||
359 | |||
360 | static int restore_sigregs_gprs_high(struct pt_regs *regs, __u32 __user *uregs) | ||
361 | { | ||
362 | __u32 gprs_high[NUM_GPRS]; | ||
363 | int err, i; | ||
364 | |||
365 | err = __copy_from_user(&gprs_high, uregs, sizeof(gprs_high)); | ||
366 | if (err) | ||
367 | return err; | ||
368 | for (i = 0; i < NUM_GPRS; i++) | ||
369 | *(__u32 *)®s->gprs[i] = gprs_high[i]; | ||
370 | return 0; | ||
371 | } | ||
372 | |||
347 | asmlinkage long sys32_sigreturn(void) | 373 | asmlinkage long sys32_sigreturn(void) |
348 | { | 374 | { |
349 | struct pt_regs *regs = task_pt_regs(current); | 375 | struct pt_regs *regs = task_pt_regs(current); |
@@ -363,6 +389,8 @@ asmlinkage long sys32_sigreturn(void) | |||
363 | 389 | ||
364 | if (restore_sigregs32(regs, &frame->sregs)) | 390 | if (restore_sigregs32(regs, &frame->sregs)) |
365 | goto badframe; | 391 | goto badframe; |
392 | if (restore_sigregs_gprs_high(regs, frame->gprs_high)) | ||
393 | goto badframe; | ||
366 | 394 | ||
367 | return regs->gprs[2]; | 395 | return regs->gprs[2]; |
368 | 396 | ||
@@ -394,6 +422,8 @@ asmlinkage long sys32_rt_sigreturn(void) | |||
394 | 422 | ||
395 | if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) | 423 | if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) |
396 | goto badframe; | 424 | goto badframe; |
425 | if (restore_sigregs_gprs_high(regs, frame->gprs_high)) | ||
426 | goto badframe; | ||
397 | 427 | ||
398 | err = __get_user(ss_sp, &frame->uc.uc_stack.ss_sp); | 428 | err = __get_user(ss_sp, &frame->uc.uc_stack.ss_sp); |
399 | st.ss_sp = compat_ptr(ss_sp); | 429 | st.ss_sp = compat_ptr(ss_sp); |
@@ -474,6 +504,8 @@ static int setup_frame32(int sig, struct k_sigaction *ka, | |||
474 | 504 | ||
475 | if (save_sigregs32(regs, &frame->sregs)) | 505 | if (save_sigregs32(regs, &frame->sregs)) |
476 | goto give_sigsegv; | 506 | goto give_sigsegv; |
507 | if (save_sigregs_gprs_high(regs, frame->gprs_high)) | ||
508 | goto give_sigsegv; | ||
477 | if (__put_user((unsigned long) &frame->sregs, &frame->sc.sregs)) | 509 | if (__put_user((unsigned long) &frame->sregs, &frame->sc.sregs)) |
478 | goto give_sigsegv; | 510 | goto give_sigsegv; |
479 | 511 | ||
@@ -529,13 +561,14 @@ static int setup_rt_frame32(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
529 | goto give_sigsegv; | 561 | goto give_sigsegv; |
530 | 562 | ||
531 | /* Create the ucontext. */ | 563 | /* Create the ucontext. */ |
532 | err |= __put_user(0, &frame->uc.uc_flags); | 564 | err |= __put_user(UC_EXTENDED, &frame->uc.uc_flags); |
533 | err |= __put_user(0, &frame->uc.uc_link); | 565 | err |= __put_user(0, &frame->uc.uc_link); |
534 | err |= __put_user(current->sas_ss_sp, &frame->uc.uc_stack.ss_sp); | 566 | err |= __put_user(current->sas_ss_sp, &frame->uc.uc_stack.ss_sp); |
535 | err |= __put_user(sas_ss_flags(regs->gprs[15]), | 567 | err |= __put_user(sas_ss_flags(regs->gprs[15]), |
536 | &frame->uc.uc_stack.ss_flags); | 568 | &frame->uc.uc_stack.ss_flags); |
537 | err |= __put_user(current->sas_ss_size, &frame->uc.uc_stack.ss_size); | 569 | err |= __put_user(current->sas_ss_size, &frame->uc.uc_stack.ss_size); |
538 | err |= save_sigregs32(regs, &frame->uc.uc_mcontext); | 570 | err |= save_sigregs32(regs, &frame->uc.uc_mcontext); |
571 | err |= save_sigregs_gprs_high(regs, frame->gprs_high); | ||
539 | err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); | 572 | err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); |
540 | if (err) | 573 | if (err) |
541 | goto give_sigsegv; | 574 | goto give_sigsegv; |
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 682fb69dba21..cbd9901dc0f8 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -409,7 +409,7 @@ sys32_munmap_wrapper: | |||
409 | .globl sys32_truncate_wrapper | 409 | .globl sys32_truncate_wrapper |
410 | sys32_truncate_wrapper: | 410 | sys32_truncate_wrapper: |
411 | llgtr %r2,%r2 # const char * | 411 | llgtr %r2,%r2 # const char * |
412 | llgfr %r3,%r3 # unsigned long | 412 | lgfr %r3,%r3 # long |
413 | jg sys_truncate # branch to system call | 413 | jg sys_truncate # branch to system call |
414 | 414 | ||
415 | .globl sys32_ftruncate_wrapper | 415 | .globl sys32_ftruncate_wrapper |
diff --git a/arch/s390/kernel/ftrace.c b/arch/s390/kernel/ftrace.c index 57bdcb1e3cdf..f5fe34dd821b 100644 --- a/arch/s390/kernel/ftrace.c +++ b/arch/s390/kernel/ftrace.c | |||
@@ -185,9 +185,6 @@ unsigned long prepare_ftrace_return(unsigned long ip, unsigned long parent) | |||
185 | { | 185 | { |
186 | struct ftrace_graph_ent trace; | 186 | struct ftrace_graph_ent trace; |
187 | 187 | ||
188 | /* Nmi's are currently unsupported. */ | ||
189 | if (unlikely(in_nmi())) | ||
190 | goto out; | ||
191 | if (unlikely(atomic_read(¤t->tracing_graph_pause))) | 188 | if (unlikely(atomic_read(¤t->tracing_graph_pause))) |
192 | goto out; | 189 | goto out; |
193 | if (ftrace_push_return_trace(parent, ip, &trace.depth, 0) == -EBUSY) | 190 | if (ftrace_push_return_trace(parent, ip, &trace.depth, 0) == -EBUSY) |
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index ee57a42e6e93..4890ac6d7faa 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c | |||
@@ -1595,10 +1595,9 @@ static void stop_run(struct shutdown_trigger *trigger) | |||
1595 | { | 1595 | { |
1596 | if (strcmp(trigger->name, ON_PANIC_STR) == 0) | 1596 | if (strcmp(trigger->name, ON_PANIC_STR) == 0) |
1597 | disabled_wait((unsigned long) __builtin_return_address(0)); | 1597 | disabled_wait((unsigned long) __builtin_return_address(0)); |
1598 | else { | 1598 | while (signal_processor(smp_processor_id(), sigp_stop) == sigp_busy) |
1599 | signal_processor(smp_processor_id(), sigp_stop); | 1599 | cpu_relax(); |
1600 | for (;;); | 1600 | for (;;); |
1601 | } | ||
1602 | } | 1601 | } |
1603 | 1602 | ||
1604 | static struct shutdown_action stop_action = {SHUTDOWN_ACTION_STOP_STR, | 1603 | static struct shutdown_action stop_action = {SHUTDOWN_ACTION_STOP_STR, |
diff --git a/arch/s390/kernel/module.c b/arch/s390/kernel/module.c index ab2e3ed28abc..639380a0c45c 100644 --- a/arch/s390/kernel/module.c +++ b/arch/s390/kernel/module.c | |||
@@ -55,6 +55,8 @@ void *module_alloc(unsigned long size) | |||
55 | /* Free memory returned from module_alloc */ | 55 | /* Free memory returned from module_alloc */ |
56 | void module_free(struct module *mod, void *module_region) | 56 | void module_free(struct module *mod, void *module_region) |
57 | { | 57 | { |
58 | vfree(mod->arch.syminfo); | ||
59 | mod->arch.syminfo = NULL; | ||
58 | vfree(module_region); | 60 | vfree(module_region); |
59 | } | 61 | } |
60 | 62 | ||
@@ -402,6 +404,7 @@ int module_finalize(const Elf_Ehdr *hdr, | |||
402 | struct module *me) | 404 | struct module *me) |
403 | { | 405 | { |
404 | vfree(me->arch.syminfo); | 406 | vfree(me->arch.syminfo); |
407 | me->arch.syminfo = NULL; | ||
405 | return module_bug_finalize(hdr, sechdrs, me); | 408 | return module_bug_finalize(hdr, sechdrs, me); |
406 | } | 409 | } |
407 | 410 | ||
diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c index 802c8ab247f3..0729f36c2fe3 100644 --- a/arch/s390/kernel/processor.c +++ b/arch/s390/kernel/processor.c | |||
@@ -31,9 +31,9 @@ void __cpuinit print_cpu_info(void) | |||
31 | 31 | ||
32 | static int show_cpuinfo(struct seq_file *m, void *v) | 32 | static int show_cpuinfo(struct seq_file *m, void *v) |
33 | { | 33 | { |
34 | static const char *hwcap_str[9] = { | 34 | static const char *hwcap_str[10] = { |
35 | "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", | 35 | "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", |
36 | "edat", "etf3eh" | 36 | "edat", "etf3eh", "highgprs" |
37 | }; | 37 | }; |
38 | struct _lowcore *lc; | 38 | struct _lowcore *lc; |
39 | unsigned long n = (unsigned long) v - 1; | 39 | unsigned long n = (unsigned long) v - 1; |
@@ -48,7 +48,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
48 | num_online_cpus(), loops_per_jiffy/(500000/HZ), | 48 | num_online_cpus(), loops_per_jiffy/(500000/HZ), |
49 | (loops_per_jiffy/(5000/HZ))%100); | 49 | (loops_per_jiffy/(5000/HZ))%100); |
50 | seq_puts(m, "features\t: "); | 50 | seq_puts(m, "features\t: "); |
51 | for (i = 0; i < 9; i++) | 51 | for (i = 0; i < 10; i++) |
52 | if (hwcap_str[i] && (elf_hwcap & (1UL << i))) | 52 | if (hwcap_str[i] && (elf_hwcap & (1UL << i))) |
53 | seq_printf(m, "%s ", hwcap_str[i]); | 53 | seq_printf(m, "%s ", hwcap_str[i]); |
54 | seq_puts(m, "\n"); | 54 | seq_puts(m, "\n"); |
diff --git a/arch/s390/kernel/ptrace.c b/arch/s390/kernel/ptrace.c index a8738676b26c..653c6a178740 100644 --- a/arch/s390/kernel/ptrace.c +++ b/arch/s390/kernel/ptrace.c | |||
@@ -57,6 +57,7 @@ | |||
57 | enum s390_regset { | 57 | enum s390_regset { |
58 | REGSET_GENERAL, | 58 | REGSET_GENERAL, |
59 | REGSET_FP, | 59 | REGSET_FP, |
60 | REGSET_GENERAL_EXTENDED, | ||
60 | }; | 61 | }; |
61 | 62 | ||
62 | static void | 63 | static void |
@@ -879,6 +880,67 @@ static int s390_compat_regs_set(struct task_struct *target, | |||
879 | return rc; | 880 | return rc; |
880 | } | 881 | } |
881 | 882 | ||
883 | static int s390_compat_regs_high_get(struct task_struct *target, | ||
884 | const struct user_regset *regset, | ||
885 | unsigned int pos, unsigned int count, | ||
886 | void *kbuf, void __user *ubuf) | ||
887 | { | ||
888 | compat_ulong_t *gprs_high; | ||
889 | |||
890 | gprs_high = (compat_ulong_t *) | ||
891 | &task_pt_regs(target)->gprs[pos / sizeof(compat_ulong_t)]; | ||
892 | if (kbuf) { | ||
893 | compat_ulong_t *k = kbuf; | ||
894 | while (count > 0) { | ||
895 | *k++ = *gprs_high; | ||
896 | gprs_high += 2; | ||
897 | count -= sizeof(*k); | ||
898 | } | ||
899 | } else { | ||
900 | compat_ulong_t __user *u = ubuf; | ||
901 | while (count > 0) { | ||
902 | if (__put_user(*gprs_high, u++)) | ||
903 | return -EFAULT; | ||
904 | gprs_high += 2; | ||
905 | count -= sizeof(*u); | ||
906 | } | ||
907 | } | ||
908 | return 0; | ||
909 | } | ||
910 | |||
911 | static int s390_compat_regs_high_set(struct task_struct *target, | ||
912 | const struct user_regset *regset, | ||
913 | unsigned int pos, unsigned int count, | ||
914 | const void *kbuf, const void __user *ubuf) | ||
915 | { | ||
916 | compat_ulong_t *gprs_high; | ||
917 | int rc = 0; | ||
918 | |||
919 | gprs_high = (compat_ulong_t *) | ||
920 | &task_pt_regs(target)->gprs[pos / sizeof(compat_ulong_t)]; | ||
921 | if (kbuf) { | ||
922 | const compat_ulong_t *k = kbuf; | ||
923 | while (count > 0) { | ||
924 | *gprs_high = *k++; | ||
925 | *gprs_high += 2; | ||
926 | count -= sizeof(*k); | ||
927 | } | ||
928 | } else { | ||
929 | const compat_ulong_t __user *u = ubuf; | ||
930 | while (count > 0 && !rc) { | ||
931 | unsigned long word; | ||
932 | rc = __get_user(word, u++); | ||
933 | if (rc) | ||
934 | break; | ||
935 | *gprs_high = word; | ||
936 | *gprs_high += 2; | ||
937 | count -= sizeof(*u); | ||
938 | } | ||
939 | } | ||
940 | |||
941 | return rc; | ||
942 | } | ||
943 | |||
882 | static const struct user_regset s390_compat_regsets[] = { | 944 | static const struct user_regset s390_compat_regsets[] = { |
883 | [REGSET_GENERAL] = { | 945 | [REGSET_GENERAL] = { |
884 | .core_note_type = NT_PRSTATUS, | 946 | .core_note_type = NT_PRSTATUS, |
@@ -896,6 +958,14 @@ static const struct user_regset s390_compat_regsets[] = { | |||
896 | .get = s390_fpregs_get, | 958 | .get = s390_fpregs_get, |
897 | .set = s390_fpregs_set, | 959 | .set = s390_fpregs_set, |
898 | }, | 960 | }, |
961 | [REGSET_GENERAL_EXTENDED] = { | ||
962 | .core_note_type = NT_PRXSTATUS, | ||
963 | .n = sizeof(s390_compat_regs_high) / sizeof(compat_long_t), | ||
964 | .size = sizeof(compat_long_t), | ||
965 | .align = sizeof(compat_long_t), | ||
966 | .get = s390_compat_regs_high_get, | ||
967 | .set = s390_compat_regs_high_set, | ||
968 | }, | ||
899 | }; | 969 | }; |
900 | 970 | ||
901 | static const struct user_regset_view user_s390_compat_view = { | 971 | static const struct user_regset_view user_s390_compat_view = { |
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 9ed13a1ed376..061479ff029f 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -729,7 +729,7 @@ static void __init setup_hwcaps(void) | |||
729 | 729 | ||
730 | if ((facility_list & (1UL << (31 - 22))) | 730 | if ((facility_list & (1UL << (31 - 22))) |
731 | && (facility_list & (1UL << (31 - 30)))) | 731 | && (facility_list & (1UL << (31 - 30)))) |
732 | elf_hwcap |= 1UL << 8; | 732 | elf_hwcap |= HWCAP_S390_ETF3EH; |
733 | 733 | ||
734 | /* | 734 | /* |
735 | * Check for additional facilities with store-facility-list-extended. | 735 | * Check for additional facilities with store-facility-list-extended. |
@@ -748,11 +748,20 @@ static void __init setup_hwcaps(void) | |||
748 | __stfle(&facility_list_extended, 1) > 0) { | 748 | __stfle(&facility_list_extended, 1) > 0) { |
749 | if ((facility_list_extended & (1ULL << (63 - 42))) | 749 | if ((facility_list_extended & (1ULL << (63 - 42))) |
750 | && (facility_list_extended & (1ULL << (63 - 44)))) | 750 | && (facility_list_extended & (1ULL << (63 - 44)))) |
751 | elf_hwcap |= 1UL << 6; | 751 | elf_hwcap |= HWCAP_S390_DFP; |
752 | } | 752 | } |
753 | 753 | ||
754 | /* | ||
755 | * Huge page support HWCAP_S390_HPAGE is bit 7. | ||
756 | */ | ||
754 | if (MACHINE_HAS_HPAGE) | 757 | if (MACHINE_HAS_HPAGE) |
755 | elf_hwcap |= 1UL << 7; | 758 | elf_hwcap |= HWCAP_S390_HPAGE; |
759 | |||
760 | /* | ||
761 | * 64-bit register support for 31-bit processes | ||
762 | * HWCAP_S390_HIGH_GPRS is bit 9. | ||
763 | */ | ||
764 | elf_hwcap |= HWCAP_S390_HIGH_GPRS; | ||
756 | 765 | ||
757 | switch (S390_lowcore.cpu_id.machine) { | 766 | switch (S390_lowcore.cpu_id.machine) { |
758 | case 0x9672: | 767 | case 0x9672: |
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index c932caa5e850..93e52039321b 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -76,7 +76,6 @@ static int cpu_stopped(int cpu) | |||
76 | __u32 status; | 76 | __u32 status; |
77 | 77 | ||
78 | switch (signal_processor_ps(&status, 0, cpu, sigp_sense)) { | 78 | switch (signal_processor_ps(&status, 0, cpu, sigp_sense)) { |
79 | case sigp_order_code_accepted: | ||
80 | case sigp_status_stored: | 79 | case sigp_status_stored: |
81 | /* Check for stopped and check stop state */ | 80 | /* Check for stopped and check stop state */ |
82 | if (status & 0x50) | 81 | if (status & 0x50) |
@@ -638,6 +637,8 @@ void __cpu_die(unsigned int cpu) | |||
638 | /* Wait until target cpu is down */ | 637 | /* Wait until target cpu is down */ |
639 | while (!cpu_stopped(cpu)) | 638 | while (!cpu_stopped(cpu)) |
640 | cpu_relax(); | 639 | cpu_relax(); |
640 | while (signal_processor_p(0, cpu, sigp_set_prefix) == sigp_busy) | ||
641 | udelay(10); | ||
641 | smp_free_lowcore(cpu); | 642 | smp_free_lowcore(cpu); |
642 | pr_info("Processor %d stopped\n", cpu); | 643 | pr_info("Processor %d stopped\n", cpu); |
643 | } | 644 | } |
@@ -645,8 +646,8 @@ void __cpu_die(unsigned int cpu) | |||
645 | void cpu_die(void) | 646 | void cpu_die(void) |
646 | { | 647 | { |
647 | idle_task_exit(); | 648 | idle_task_exit(); |
648 | signal_processor(smp_processor_id(), sigp_stop); | 649 | while (signal_processor(smp_processor_id(), sigp_stop) == sigp_busy) |
649 | BUG(); | 650 | cpu_relax(); |
650 | for (;;); | 651 | for (;;); |
651 | } | 652 | } |
652 | 653 | ||
diff --git a/arch/s390/kernel/swsusp_asm64.S b/arch/s390/kernel/swsusp_asm64.S index fe927d0bc20b..0c26cc1898ec 100644 --- a/arch/s390/kernel/swsusp_asm64.S +++ b/arch/s390/kernel/swsusp_asm64.S | |||
@@ -43,7 +43,7 @@ swsusp_arch_suspend: | |||
43 | lghi %r1,0x1000 | 43 | lghi %r1,0x1000 |
44 | 44 | ||
45 | /* Save CPU address */ | 45 | /* Save CPU address */ |
46 | stap __LC_CPU_ADDRESS(%r1) | 46 | stap __LC_CPU_ADDRESS(%r0) |
47 | 47 | ||
48 | /* Store registers */ | 48 | /* Store registers */ |
49 | mvc 0x318(4,%r1),__SF_EMPTY(%r15) /* move prefix to lowcore */ | 49 | mvc 0x318(4,%r1),__SF_EMPTY(%r15) /* move prefix to lowcore */ |
@@ -69,8 +69,21 @@ swsusp_arch_suspend: | |||
69 | stmg %r0,%r15,0x280(%r1) /* store general registers */ | 69 | stmg %r0,%r15,0x280(%r1) /* store general registers */ |
70 | 70 | ||
71 | stpt 0x328(%r1) /* store timer */ | 71 | stpt 0x328(%r1) /* store timer */ |
72 | stck __SF_EMPTY(%r15) /* store clock */ | ||
72 | stckc 0x330(%r1) /* store clock comparator */ | 73 | stckc 0x330(%r1) /* store clock comparator */ |
73 | 74 | ||
75 | /* Update cputime accounting before going to sleep */ | ||
76 | lg %r0,__LC_LAST_UPDATE_TIMER | ||
77 | slg %r0,0x328(%r1) | ||
78 | alg %r0,__LC_SYSTEM_TIMER | ||
79 | stg %r0,__LC_SYSTEM_TIMER | ||
80 | mvc __LC_LAST_UPDATE_TIMER(8),0x328(%r1) | ||
81 | lg %r0,__LC_LAST_UPDATE_CLOCK | ||
82 | slg %r0,__SF_EMPTY(%r15) | ||
83 | alg %r0,__LC_STEAL_TIMER | ||
84 | stg %r0,__LC_STEAL_TIMER | ||
85 | mvc __LC_LAST_UPDATE_CLOCK(8),__SF_EMPTY(%r15) | ||
86 | |||
74 | /* Activate DAT */ | 87 | /* Activate DAT */ |
75 | stosm __SF_EMPTY(%r15),0x04 | 88 | stosm __SF_EMPTY(%r15),0x04 |
76 | 89 | ||
@@ -159,8 +172,7 @@ pgm_check_entry: | |||
159 | larl %r1,.Lresume_cpu /* Resume CPU address: r2 */ | 172 | larl %r1,.Lresume_cpu /* Resume CPU address: r2 */ |
160 | stap 0(%r1) | 173 | stap 0(%r1) |
161 | llgh %r2,0(%r1) | 174 | llgh %r2,0(%r1) |
162 | lghi %r3,0x1000 | 175 | llgh %r1,__LC_CPU_ADDRESS(%r0) /* Suspend CPU address: r1 */ |
163 | llgh %r1,__LC_CPU_ADDRESS(%r3) /* Suspend CPU address: r1 */ | ||
164 | cgr %r1,%r2 | 176 | cgr %r1,%r2 |
165 | je restore_registers /* r1 = r2 -> nothing to do */ | 177 | je restore_registers /* r1 = r2 -> nothing to do */ |
166 | larl %r4,.Lrestart_suspend_psw /* Set new restart PSW */ | 178 | larl %r4,.Lrestart_suspend_psw /* Set new restart PSW */ |
@@ -187,6 +199,7 @@ pgm_check_entry: | |||
187 | brc 2,4b /* busy, try again */ | 199 | brc 2,4b /* busy, try again */ |
188 | 5: | 200 | 5: |
189 | sigp %r9,%r2,__SIGP_STOP /* stop resume (current) CPU */ | 201 | sigp %r9,%r2,__SIGP_STOP /* stop resume (current) CPU */ |
202 | brc 2,5b /* busy, try again */ | ||
190 | 6: j 6b | 203 | 6: j 6b |
191 | 204 | ||
192 | restart_suspend: | 205 | restart_suspend: |
@@ -194,14 +207,18 @@ restart_suspend: | |||
194 | llgh %r2,0(%r1) | 207 | llgh %r2,0(%r1) |
195 | 7: | 208 | 7: |
196 | sigp %r9,%r2,__SIGP_SENSE /* Wait for resume CPU */ | 209 | sigp %r9,%r2,__SIGP_SENSE /* Wait for resume CPU */ |
210 | brc 8,7b /* accepted, status 0, still running */ | ||
197 | brc 2,7b /* busy, try again */ | 211 | brc 2,7b /* busy, try again */ |
198 | tmll %r9,0x40 /* Test if resume CPU is stopped */ | 212 | tmll %r9,0x40 /* Test if resume CPU is stopped */ |
199 | jz 7b | 213 | jz 7b |
200 | 214 | ||
201 | restore_registers: | 215 | restore_registers: |
202 | /* Restore registers */ | 216 | /* Restore registers */ |
203 | lghi %r13,0x1000 /* %r1 = pointer to save arae */ | 217 | lghi %r13,0x1000 /* %r1 = pointer to save area */ |
204 | 218 | ||
219 | /* Ignore time spent in suspended state. */ | ||
220 | llgf %r1,0x318(%r13) | ||
221 | stck __LC_LAST_UPDATE_CLOCK(%r1) | ||
205 | spt 0x328(%r13) /* reprogram timer */ | 222 | spt 0x328(%r13) /* reprogram timer */ |
206 | //sckc 0x330(%r13) /* set clock comparator */ | 223 | //sckc 0x330(%r13) /* set clock comparator */ |
207 | 224 | ||
@@ -229,9 +246,6 @@ restore_registers: | |||
229 | /* Load old stack */ | 246 | /* Load old stack */ |
230 | lg %r15,0x2f8(%r13) | 247 | lg %r15,0x2f8(%r13) |
231 | 248 | ||
232 | /* Pointer to save area */ | ||
233 | lghi %r13,0x1000 | ||
234 | |||
235 | /* Restore prefix register */ | 249 | /* Restore prefix register */ |
236 | spx 0x318(%r13) | 250 | spx 0x318(%r13) |
237 | 251 | ||
diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index 45a3e9a7ae21..adfb32aa6d59 100644 --- a/arch/s390/kernel/vdso.c +++ b/arch/s390/kernel/vdso.c | |||
@@ -247,6 +247,13 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
247 | } | 247 | } |
248 | 248 | ||
249 | /* | 249 | /* |
250 | * Put vDSO base into mm struct. We need to do this before calling | ||
251 | * install_special_mapping or the perf counter mmap tracking code | ||
252 | * will fail to recognise it as a vDSO (since arch_vma_name fails). | ||
253 | */ | ||
254 | current->mm->context.vdso_base = vdso_base; | ||
255 | |||
256 | /* | ||
250 | * our vma flags don't have VM_WRITE so by default, the process | 257 | * our vma flags don't have VM_WRITE so by default, the process |
251 | * isn't allowed to write those pages. | 258 | * isn't allowed to write those pages. |
252 | * gdb can break that with ptrace interface, and thus trigger COW | 259 | * gdb can break that with ptrace interface, and thus trigger COW |
@@ -267,14 +274,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
267 | VM_ALWAYSDUMP, | 274 | VM_ALWAYSDUMP, |
268 | vdso_pagelist); | 275 | vdso_pagelist); |
269 | if (rc) | 276 | if (rc) |
270 | goto out_up; | 277 | current->mm->context.vdso_base = 0; |
271 | |||
272 | /* Put vDSO base into mm struct */ | ||
273 | current->mm->context.vdso_base = vdso_base; | ||
274 | |||
275 | up_write(&mm->mmap_sem); | ||
276 | return 0; | ||
277 | |||
278 | out_up: | 278 | out_up: |
279 | up_write(&mm->mmap_sem); | 279 | up_write(&mm->mmap_sem); |
280 | return rc; | 280 | return rc; |
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index bc15ef93e656..a68ac10213b2 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S | |||
@@ -51,6 +51,7 @@ SECTIONS | |||
51 | 51 | ||
52 | . = ALIGN(PAGE_SIZE); | 52 | . = ALIGN(PAGE_SIZE); |
53 | _eshared = .; /* End of shareable data */ | 53 | _eshared = .; /* End of shareable data */ |
54 | _sdata = .; /* Start of data section */ | ||
54 | 55 | ||
55 | EXCEPTION_TABLE(16) :data | 56 | EXCEPTION_TABLE(16) :data |
56 | 57 | ||
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h index ec5eee7c25d8..06cce8285ba0 100644 --- a/arch/s390/kvm/kvm-s390.h +++ b/arch/s390/kvm/kvm-s390.h | |||
@@ -58,7 +58,7 @@ int kvm_s390_inject_vcpu(struct kvm_vcpu *vcpu, | |||
58 | int kvm_s390_inject_program_int(struct kvm_vcpu *vcpu, u16 code); | 58 | int kvm_s390_inject_program_int(struct kvm_vcpu *vcpu, u16 code); |
59 | int kvm_s390_inject_sigp_stop(struct kvm_vcpu *vcpu, int action); | 59 | int kvm_s390_inject_sigp_stop(struct kvm_vcpu *vcpu, int action); |
60 | 60 | ||
61 | static inline int kvm_s390_vcpu_get_memsize(struct kvm_vcpu *vcpu) | 61 | static inline long kvm_s390_vcpu_get_memsize(struct kvm_vcpu *vcpu) |
62 | { | 62 | { |
63 | return vcpu->arch.sie_block->gmslm | 63 | return vcpu->arch.sie_block->gmslm |
64 | - vcpu->arch.sie_block->gmsor | 64 | - vcpu->arch.sie_block->gmsor |
diff --git a/arch/s390/lib/delay.c b/arch/s390/lib/delay.c index 97c1eca83cc2..752b362bf651 100644 --- a/arch/s390/lib/delay.c +++ b/arch/s390/lib/delay.c | |||
@@ -25,13 +25,13 @@ void __delay(unsigned long loops) | |||
25 | asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); | 25 | asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); |
26 | } | 26 | } |
27 | 27 | ||
28 | static void __udelay_disabled(unsigned long usecs) | 28 | static void __udelay_disabled(unsigned long long usecs) |
29 | { | 29 | { |
30 | unsigned long mask, cr0, cr0_saved; | 30 | unsigned long mask, cr0, cr0_saved; |
31 | u64 clock_saved; | 31 | u64 clock_saved; |
32 | 32 | ||
33 | clock_saved = local_tick_disable(); | 33 | clock_saved = local_tick_disable(); |
34 | set_clock_comparator(get_clock() + ((u64) usecs << 12)); | 34 | set_clock_comparator(get_clock() + (usecs << 12)); |
35 | __ctl_store(cr0_saved, 0, 0); | 35 | __ctl_store(cr0_saved, 0, 0); |
36 | cr0 = (cr0_saved & 0xffff00e0) | 0x00000800; | 36 | cr0 = (cr0_saved & 0xffff00e0) | 0x00000800; |
37 | __ctl_load(cr0 , 0, 0); | 37 | __ctl_load(cr0 , 0, 0); |
@@ -46,20 +46,25 @@ static void __udelay_disabled(unsigned long usecs) | |||
46 | set_clock_comparator(S390_lowcore.clock_comparator); | 46 | set_clock_comparator(S390_lowcore.clock_comparator); |
47 | } | 47 | } |
48 | 48 | ||
49 | static void __udelay_enabled(unsigned long usecs) | 49 | static void __udelay_enabled(unsigned long long usecs) |
50 | { | 50 | { |
51 | unsigned long mask; | 51 | unsigned long mask; |
52 | u64 end, time; | 52 | u64 clock_saved; |
53 | u64 end; | ||
53 | 54 | ||
54 | mask = psw_kernel_bits | PSW_MASK_WAIT | PSW_MASK_EXT | PSW_MASK_IO; | 55 | mask = psw_kernel_bits | PSW_MASK_WAIT | PSW_MASK_EXT | PSW_MASK_IO; |
55 | end = get_clock() + ((u64) usecs << 12); | 56 | end = get_clock() + (usecs << 12); |
56 | do { | 57 | do { |
57 | time = end < S390_lowcore.clock_comparator ? | 58 | clock_saved = 0; |
58 | end : S390_lowcore.clock_comparator; | 59 | if (end < S390_lowcore.clock_comparator) { |
59 | set_clock_comparator(time); | 60 | clock_saved = local_tick_disable(); |
61 | set_clock_comparator(end); | ||
62 | } | ||
60 | trace_hardirqs_on(); | 63 | trace_hardirqs_on(); |
61 | __load_psw_mask(mask); | 64 | __load_psw_mask(mask); |
62 | local_irq_disable(); | 65 | local_irq_disable(); |
66 | if (clock_saved) | ||
67 | local_tick_enable(clock_saved); | ||
63 | } while (get_clock() < end); | 68 | } while (get_clock() < end); |
64 | set_clock_comparator(S390_lowcore.clock_comparator); | 69 | set_clock_comparator(S390_lowcore.clock_comparator); |
65 | } | 70 | } |
@@ -67,7 +72,7 @@ static void __udelay_enabled(unsigned long usecs) | |||
67 | /* | 72 | /* |
68 | * Waits for 'usecs' microseconds using the TOD clock comparator. | 73 | * Waits for 'usecs' microseconds using the TOD clock comparator. |
69 | */ | 74 | */ |
70 | void __udelay(unsigned long usecs) | 75 | void __udelay(unsigned long long usecs) |
71 | { | 76 | { |
72 | unsigned long flags; | 77 | unsigned long flags; |
73 | 78 | ||
@@ -101,11 +106,11 @@ EXPORT_SYMBOL(__udelay); | |||
101 | * Simple udelay variant. To be used on startup and reboot | 106 | * Simple udelay variant. To be used on startup and reboot |
102 | * when the interrupt handler isn't working. | 107 | * when the interrupt handler isn't working. |
103 | */ | 108 | */ |
104 | void udelay_simple(unsigned long usecs) | 109 | void udelay_simple(unsigned long long usecs) |
105 | { | 110 | { |
106 | u64 end; | 111 | u64 end; |
107 | 112 | ||
108 | end = get_clock() + ((u64) usecs << 12); | 113 | end = get_clock() + (usecs << 12); |
109 | while (get_clock() < end) | 114 | while (get_clock() < end) |
110 | cpu_relax(); | 115 | cpu_relax(); |
111 | } | 116 | } |
diff --git a/arch/s390/lib/uaccess_mvcos.c b/arch/s390/lib/uaccess_mvcos.c index 3f15aaf54855..58da3f461214 100644 --- a/arch/s390/lib/uaccess_mvcos.c +++ b/arch/s390/lib/uaccess_mvcos.c | |||
@@ -36,7 +36,7 @@ static size_t copy_from_user_mvcos(size_t size, const void __user *ptr, void *x) | |||
36 | tmp1 = -4096UL; | 36 | tmp1 = -4096UL; |
37 | asm volatile( | 37 | asm volatile( |
38 | "0: .insn ss,0xc80000000000,0(%0,%2),0(%1),0\n" | 38 | "0: .insn ss,0xc80000000000,0(%0,%2),0(%1),0\n" |
39 | " jz 7f\n" | 39 | "9: jz 7f\n" |
40 | "1:"ALR" %0,%3\n" | 40 | "1:"ALR" %0,%3\n" |
41 | " "SLR" %1,%3\n" | 41 | " "SLR" %1,%3\n" |
42 | " "SLR" %2,%3\n" | 42 | " "SLR" %2,%3\n" |
@@ -47,7 +47,7 @@ static size_t copy_from_user_mvcos(size_t size, const void __user *ptr, void *x) | |||
47 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ | 47 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ |
48 | " jnh 4f\n" | 48 | " jnh 4f\n" |
49 | "3: .insn ss,0xc80000000000,0(%4,%2),0(%1),0\n" | 49 | "3: .insn ss,0xc80000000000,0(%4,%2),0(%1),0\n" |
50 | " "SLR" %0,%4\n" | 50 | "10:"SLR" %0,%4\n" |
51 | " "ALR" %2,%4\n" | 51 | " "ALR" %2,%4\n" |
52 | "4:"LHI" %4,-1\n" | 52 | "4:"LHI" %4,-1\n" |
53 | " "ALR" %4,%0\n" /* copy remaining size, subtract 1 */ | 53 | " "ALR" %4,%0\n" /* copy remaining size, subtract 1 */ |
@@ -61,7 +61,7 @@ static size_t copy_from_user_mvcos(size_t size, const void __user *ptr, void *x) | |||
61 | " j 8f\n" | 61 | " j 8f\n" |
62 | "7:"SLR" %0,%0\n" | 62 | "7:"SLR" %0,%0\n" |
63 | "8: \n" | 63 | "8: \n" |
64 | EX_TABLE(0b,2b) EX_TABLE(3b,4b) | 64 | EX_TABLE(0b,2b) EX_TABLE(3b,4b) EX_TABLE(9b,2b) EX_TABLE(10b,4b) |
65 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) | 65 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) |
66 | : "d" (reg0) : "cc", "memory"); | 66 | : "d" (reg0) : "cc", "memory"); |
67 | return size; | 67 | return size; |
@@ -82,7 +82,7 @@ static size_t copy_to_user_mvcos(size_t size, void __user *ptr, const void *x) | |||
82 | tmp1 = -4096UL; | 82 | tmp1 = -4096UL; |
83 | asm volatile( | 83 | asm volatile( |
84 | "0: .insn ss,0xc80000000000,0(%0,%1),0(%2),0\n" | 84 | "0: .insn ss,0xc80000000000,0(%0,%1),0(%2),0\n" |
85 | " jz 4f\n" | 85 | "6: jz 4f\n" |
86 | "1:"ALR" %0,%3\n" | 86 | "1:"ALR" %0,%3\n" |
87 | " "SLR" %1,%3\n" | 87 | " "SLR" %1,%3\n" |
88 | " "SLR" %2,%3\n" | 88 | " "SLR" %2,%3\n" |
@@ -93,11 +93,11 @@ static size_t copy_to_user_mvcos(size_t size, void __user *ptr, const void *x) | |||
93 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ | 93 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ |
94 | " jnh 5f\n" | 94 | " jnh 5f\n" |
95 | "3: .insn ss,0xc80000000000,0(%4,%1),0(%2),0\n" | 95 | "3: .insn ss,0xc80000000000,0(%4,%1),0(%2),0\n" |
96 | " "SLR" %0,%4\n" | 96 | "7:"SLR" %0,%4\n" |
97 | " j 5f\n" | 97 | " j 5f\n" |
98 | "4:"SLR" %0,%0\n" | 98 | "4:"SLR" %0,%0\n" |
99 | "5: \n" | 99 | "5: \n" |
100 | EX_TABLE(0b,2b) EX_TABLE(3b,5b) | 100 | EX_TABLE(0b,2b) EX_TABLE(3b,5b) EX_TABLE(6b,2b) EX_TABLE(7b,5b) |
101 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) | 101 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) |
102 | : "d" (reg0) : "cc", "memory"); | 102 | : "d" (reg0) : "cc", "memory"); |
103 | return size; | 103 | return size; |
diff --git a/arch/s390/lib/uaccess_std.c b/arch/s390/lib/uaccess_std.c index d2ffbadb51a7..07deaeee14c8 100644 --- a/arch/s390/lib/uaccess_std.c +++ b/arch/s390/lib/uaccess_std.c | |||
@@ -36,12 +36,12 @@ size_t copy_from_user_std(size_t size, const void __user *ptr, void *x) | |||
36 | tmp1 = -256UL; | 36 | tmp1 = -256UL; |
37 | asm volatile( | 37 | asm volatile( |
38 | "0: mvcp 0(%0,%2),0(%1),%3\n" | 38 | "0: mvcp 0(%0,%2),0(%1),%3\n" |
39 | " jz 8f\n" | 39 | "10:jz 8f\n" |
40 | "1:"ALR" %0,%3\n" | 40 | "1:"ALR" %0,%3\n" |
41 | " la %1,256(%1)\n" | 41 | " la %1,256(%1)\n" |
42 | " la %2,256(%2)\n" | 42 | " la %2,256(%2)\n" |
43 | "2: mvcp 0(%0,%2),0(%1),%3\n" | 43 | "2: mvcp 0(%0,%2),0(%1),%3\n" |
44 | " jnz 1b\n" | 44 | "11:jnz 1b\n" |
45 | " j 8f\n" | 45 | " j 8f\n" |
46 | "3: la %4,255(%1)\n" /* %4 = ptr + 255 */ | 46 | "3: la %4,255(%1)\n" /* %4 = ptr + 255 */ |
47 | " "LHI" %3,-4096\n" | 47 | " "LHI" %3,-4096\n" |
@@ -50,7 +50,7 @@ size_t copy_from_user_std(size_t size, const void __user *ptr, void *x) | |||
50 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ | 50 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ |
51 | " jnh 5f\n" | 51 | " jnh 5f\n" |
52 | "4: mvcp 0(%4,%2),0(%1),%3\n" | 52 | "4: mvcp 0(%4,%2),0(%1),%3\n" |
53 | " "SLR" %0,%4\n" | 53 | "12:"SLR" %0,%4\n" |
54 | " "ALR" %2,%4\n" | 54 | " "ALR" %2,%4\n" |
55 | "5:"LHI" %4,-1\n" | 55 | "5:"LHI" %4,-1\n" |
56 | " "ALR" %4,%0\n" /* copy remaining size, subtract 1 */ | 56 | " "ALR" %4,%0\n" /* copy remaining size, subtract 1 */ |
@@ -65,6 +65,7 @@ size_t copy_from_user_std(size_t size, const void __user *ptr, void *x) | |||
65 | "8:"SLR" %0,%0\n" | 65 | "8:"SLR" %0,%0\n" |
66 | "9: \n" | 66 | "9: \n" |
67 | EX_TABLE(0b,3b) EX_TABLE(2b,3b) EX_TABLE(4b,5b) | 67 | EX_TABLE(0b,3b) EX_TABLE(2b,3b) EX_TABLE(4b,5b) |
68 | EX_TABLE(10b,3b) EX_TABLE(11b,3b) EX_TABLE(12b,5b) | ||
68 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) | 69 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) |
69 | : : "cc", "memory"); | 70 | : : "cc", "memory"); |
70 | return size; | 71 | return size; |
@@ -85,12 +86,12 @@ size_t copy_to_user_std(size_t size, void __user *ptr, const void *x) | |||
85 | tmp1 = -256UL; | 86 | tmp1 = -256UL; |
86 | asm volatile( | 87 | asm volatile( |
87 | "0: mvcs 0(%0,%1),0(%2),%3\n" | 88 | "0: mvcs 0(%0,%1),0(%2),%3\n" |
88 | " jz 5f\n" | 89 | "7: jz 5f\n" |
89 | "1:"ALR" %0,%3\n" | 90 | "1:"ALR" %0,%3\n" |
90 | " la %1,256(%1)\n" | 91 | " la %1,256(%1)\n" |
91 | " la %2,256(%2)\n" | 92 | " la %2,256(%2)\n" |
92 | "2: mvcs 0(%0,%1),0(%2),%3\n" | 93 | "2: mvcs 0(%0,%1),0(%2),%3\n" |
93 | " jnz 1b\n" | 94 | "8: jnz 1b\n" |
94 | " j 5f\n" | 95 | " j 5f\n" |
95 | "3: la %4,255(%1)\n" /* %4 = ptr + 255 */ | 96 | "3: la %4,255(%1)\n" /* %4 = ptr + 255 */ |
96 | " "LHI" %3,-4096\n" | 97 | " "LHI" %3,-4096\n" |
@@ -99,11 +100,12 @@ size_t copy_to_user_std(size_t size, void __user *ptr, const void *x) | |||
99 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ | 100 | " "CLR" %0,%4\n" /* copy crosses next page boundary? */ |
100 | " jnh 6f\n" | 101 | " jnh 6f\n" |
101 | "4: mvcs 0(%4,%1),0(%2),%3\n" | 102 | "4: mvcs 0(%4,%1),0(%2),%3\n" |
102 | " "SLR" %0,%4\n" | 103 | "9:"SLR" %0,%4\n" |
103 | " j 6f\n" | 104 | " j 6f\n" |
104 | "5:"SLR" %0,%0\n" | 105 | "5:"SLR" %0,%0\n" |
105 | "6: \n" | 106 | "6: \n" |
106 | EX_TABLE(0b,3b) EX_TABLE(2b,3b) EX_TABLE(4b,6b) | 107 | EX_TABLE(0b,3b) EX_TABLE(2b,3b) EX_TABLE(4b,6b) |
108 | EX_TABLE(7b,3b) EX_TABLE(8b,3b) EX_TABLE(9b,6b) | ||
107 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) | 109 | : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) |
108 | : : "cc", "memory"); | 110 | : : "cc", "memory"); |
109 | return size; | 111 | return size; |
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index c60bfb309ce6..2757c5616a07 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c | |||
@@ -279,7 +279,10 @@ int s390_enable_sie(void) | |||
279 | /* lets check if we are allowed to replace the mm */ | 279 | /* lets check if we are allowed to replace the mm */ |
280 | task_lock(tsk); | 280 | task_lock(tsk); |
281 | if (!tsk->mm || atomic_read(&tsk->mm->mm_users) > 1 || | 281 | if (!tsk->mm || atomic_read(&tsk->mm->mm_users) > 1 || |
282 | tsk->mm != tsk->active_mm || !hlist_empty(&tsk->mm->ioctx_list)) { | 282 | #ifdef CONFIG_AIO |
283 | !hlist_empty(&tsk->mm->ioctx_list) || | ||
284 | #endif | ||
285 | tsk->mm != tsk->active_mm) { | ||
283 | task_unlock(tsk); | 286 | task_unlock(tsk); |
284 | return -EINVAL; | 287 | return -EINVAL; |
285 | } | 288 | } |
@@ -295,7 +298,10 @@ int s390_enable_sie(void) | |||
295 | /* Now lets check again if something happened */ | 298 | /* Now lets check again if something happened */ |
296 | task_lock(tsk); | 299 | task_lock(tsk); |
297 | if (!tsk->mm || atomic_read(&tsk->mm->mm_users) > 1 || | 300 | if (!tsk->mm || atomic_read(&tsk->mm->mm_users) > 1 || |
298 | tsk->mm != tsk->active_mm || !hlist_empty(&tsk->mm->ioctx_list)) { | 301 | #ifdef CONFIG_AIO |
302 | !hlist_empty(&tsk->mm->ioctx_list) || | ||
303 | #endif | ||
304 | tsk->mm != tsk->active_mm) { | ||
299 | mmput(mm); | 305 | mmput(mm); |
300 | task_unlock(tsk); | 306 | task_unlock(tsk); |
301 | return -EINVAL; | 307 | return -EINVAL; |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index b940424f8ccc..88cdeb9f72d9 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -37,7 +37,6 @@ config SUPERH32 | |||
37 | select HAVE_FTRACE_MCOUNT_RECORD | 37 | select HAVE_FTRACE_MCOUNT_RECORD |
38 | select HAVE_DYNAMIC_FTRACE | 38 | select HAVE_DYNAMIC_FTRACE |
39 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | 39 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST |
40 | select HAVE_FTRACE_SYSCALLS | ||
41 | select HAVE_FUNCTION_GRAPH_TRACER | 40 | select HAVE_FUNCTION_GRAPH_TRACER |
42 | select HAVE_ARCH_KGDB | 41 | select HAVE_ARCH_KGDB |
43 | select ARCH_HIBERNATION_POSSIBLE if MMU | 42 | select ARCH_HIBERNATION_POSSIBLE if MMU |
@@ -122,6 +121,9 @@ config SYS_SUPPORTS_APM_EMULATION | |||
122 | bool | 121 | bool |
123 | select ARCH_SUSPEND_POSSIBLE | 122 | select ARCH_SUSPEND_POSSIBLE |
124 | 123 | ||
124 | config SYS_SUPPORTS_HUGETLBFS | ||
125 | bool | ||
126 | |||
125 | config SYS_SUPPORTS_SMP | 127 | config SYS_SUPPORTS_SMP |
126 | bool | 128 | bool |
127 | 129 | ||
@@ -196,6 +198,7 @@ config CPU_SH4 | |||
196 | select CPU_HAS_SR_RB | 198 | select CPU_HAS_SR_RB |
197 | select CPU_HAS_FPU if !CPU_SH4AL_DSP | 199 | select CPU_HAS_FPU if !CPU_SH4AL_DSP |
198 | select SYS_SUPPORTS_TMU | 200 | select SYS_SUPPORTS_TMU |
201 | select SYS_SUPPORTS_HUGETLBFS if MMU | ||
199 | 202 | ||
200 | config CPU_SH4A | 203 | config CPU_SH4A |
201 | bool | 204 | bool |
@@ -210,6 +213,7 @@ config CPU_SH5 | |||
210 | bool | 213 | bool |
211 | select CPU_HAS_FPU | 214 | select CPU_HAS_FPU |
212 | select SYS_SUPPORTS_TMU | 215 | select SYS_SUPPORTS_TMU |
216 | select SYS_SUPPORTS_HUGETLBFS if MMU | ||
213 | 217 | ||
214 | config CPU_SHX2 | 218 | config CPU_SHX2 |
215 | bool | 219 | bool |
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index fc51a918b31a..66e40aabc600 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -199,7 +199,7 @@ endif | |||
199 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) | 199 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) |
200 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) | 200 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) |
201 | 201 | ||
202 | BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec \ | 202 | BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec uImage.bin \ |
203 | zImage vmlinux.srec romImage | 203 | zImage vmlinux.srec romImage |
204 | PHONY += maketools $(BOOT_TARGETS) FORCE | 204 | PHONY += maketools $(BOOT_TARGETS) FORCE |
205 | 205 | ||
@@ -225,6 +225,7 @@ define archhelp | |||
225 | @echo ' vmlinux.srec - Create an ELF S-record' | 225 | @echo ' vmlinux.srec - Create an ELF S-record' |
226 | @echo '* uImage - Alias to bootable U-Boot image' | 226 | @echo '* uImage - Alias to bootable U-Boot image' |
227 | @echo ' uImage.srec - Create an S-record for U-Boot' | 227 | @echo ' uImage.srec - Create an S-record for U-Boot' |
228 | @echo ' uImage.bin - Kernel-only image for U-Boot (bin)' | ||
228 | @echo '* uImage.gz - Kernel-only image for U-Boot (gzip)' | 229 | @echo '* uImage.gz - Kernel-only image for U-Boot (gzip)' |
229 | @echo ' uImage.bz2 - Kernel-only image for U-Boot (bzip2)' | 230 | @echo ' uImage.bz2 - Kernel-only image for U-Boot (bzip2)' |
230 | @echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)' | 231 | @echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)' |
diff --git a/arch/sh/boards/board-magicpanelr2.c b/arch/sh/boards/board-magicpanelr2.c index 0a37c8bfc959..99ffc5f1c0dd 100644 --- a/arch/sh/boards/board-magicpanelr2.c +++ b/arch/sh/boards/board-magicpanelr2.c | |||
@@ -205,8 +205,6 @@ static void __init setup_port_multiplexing(void) | |||
205 | 205 | ||
206 | static void __init mpr2_setup(char **cmdline_p) | 206 | static void __init mpr2_setup(char **cmdline_p) |
207 | { | 207 | { |
208 | __set_io_port_base(0xa0000000); | ||
209 | |||
210 | /* set Pin Select Register A: | 208 | /* set Pin Select Register A: |
211 | * /PCC_CD1, /PCC_CD2, PCC_BVD1, PCC_BVD2, | 209 | * /PCC_CD1, /PCC_CD2, PCC_BVD1, PCC_BVD2, |
212 | * /IOIS16, IRQ4, IRQ5, USB1d_SUSPEND | 210 | * /IOIS16, IRQ4, IRQ5, USB1d_SUSPEND |
diff --git a/arch/sh/boards/mach-dreamcast/setup.c b/arch/sh/boards/mach-dreamcast/setup.c index ebe99227d4e6..a4b7402d6176 100644 --- a/arch/sh/boards/mach-dreamcast/setup.c +++ b/arch/sh/boards/mach-dreamcast/setup.c | |||
@@ -42,8 +42,6 @@ static void __init dreamcast_setup(char **cmdline_p) | |||
42 | /* Acknowledge any previous events */ | 42 | /* Acknowledge any previous events */ |
43 | /* XXX */ | 43 | /* XXX */ |
44 | 44 | ||
45 | __set_io_port_base(0xa0000000); | ||
46 | |||
47 | /* Assign all virtual IRQs to the System ASIC int. handler */ | 45 | /* Assign all virtual IRQs to the System ASIC int. handler */ |
48 | for (i = HW_EVENT_IRQ_BASE; i < HW_EVENT_IRQ_MAX; i++) | 46 | for (i = HW_EVENT_IRQ_BASE; i < HW_EVENT_IRQ_MAX; i++) |
49 | set_irq_chip_and_handler(i, &systemasic_int, | 47 | set_irq_chip_and_handler(i, &systemasic_int, |
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 5f9881e16e2f..3b1ceb46fa54 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | #include <linux/usb/r8a66597.h> | 19 | #include <linux/usb/r8a66597.h> |
20 | #include <linux/i2c.h> | 20 | #include <linux/i2c.h> |
21 | #include <linux/i2c/tsc2007.h> | ||
21 | #include <linux/input.h> | 22 | #include <linux/input.h> |
22 | #include <video/sh_mobile_lcdc.h> | 23 | #include <video/sh_mobile_lcdc.h> |
23 | #include <media/sh_mobile_ceu.h> | 24 | #include <media/sh_mobile_ceu.h> |
@@ -38,6 +39,20 @@ | |||
38 | * 0x1800_0000 MFI 16bit | 39 | * 0x1800_0000 MFI 16bit |
39 | */ | 40 | */ |
40 | 41 | ||
42 | /* SWITCH | ||
43 | *------------------------------ | ||
44 | * DS2[1] = FlashROM write protect ON : write protect | ||
45 | * OFF : No write protect | ||
46 | * DS2[2] = RMII / TS, SCIF ON : RMII | ||
47 | * OFF : TS, SCIF3 | ||
48 | * DS2[3] = Camera / Video ON : Camera | ||
49 | * OFF : NTSC/PAL (IN) | ||
50 | * DS2[5] = NTSC_OUT Clock ON : On board OSC | ||
51 | * OFF : SH7724 DV_CLK | ||
52 | * DS2[6-7] = MMC / SD ON-OFF : SD | ||
53 | * OFF-ON : MMC | ||
54 | */ | ||
55 | |||
41 | /* Heartbeat */ | 56 | /* Heartbeat */ |
42 | static unsigned char led_pos[] = { 0, 1, 2, 3 }; | 57 | static unsigned char led_pos[] = { 0, 1, 2, 3 }; |
43 | static struct heartbeat_data heartbeat_data = { | 58 | static struct heartbeat_data heartbeat_data = { |
@@ -70,7 +85,7 @@ static struct mtd_partition nor_flash_partitions[] = { | |||
70 | .name = "boot loader", | 85 | .name = "boot loader", |
71 | .offset = 0, | 86 | .offset = 0, |
72 | .size = (5 * 1024 * 1024), | 87 | .size = (5 * 1024 * 1024), |
73 | .mask_flags = MTD_CAP_ROM, | 88 | .mask_flags = MTD_WRITEABLE, /* force read-only */ |
74 | }, { | 89 | }, { |
75 | .name = "free-area", | 90 | .name = "free-area", |
76 | .offset = MTDPART_OFS_APPEND, | 91 | .offset = MTDPART_OFS_APPEND, |
@@ -376,6 +391,43 @@ static struct platform_device keysc_device = { | |||
376 | }, | 391 | }, |
377 | }; | 392 | }; |
378 | 393 | ||
394 | /* TouchScreen */ | ||
395 | #define IRQ0 32 | ||
396 | static int ts_get_pendown_state(void) | ||
397 | { | ||
398 | int val = 0; | ||
399 | gpio_free(GPIO_FN_INTC_IRQ0); | ||
400 | gpio_request(GPIO_PTZ0, NULL); | ||
401 | gpio_direction_input(GPIO_PTZ0); | ||
402 | |||
403 | val = gpio_get_value(GPIO_PTZ0); | ||
404 | |||
405 | gpio_free(GPIO_PTZ0); | ||
406 | gpio_request(GPIO_FN_INTC_IRQ0, NULL); | ||
407 | |||
408 | return val ? 0 : 1; | ||
409 | } | ||
410 | |||
411 | static int ts_init(void) | ||
412 | { | ||
413 | gpio_request(GPIO_FN_INTC_IRQ0, NULL); | ||
414 | return 0; | ||
415 | } | ||
416 | |||
417 | struct tsc2007_platform_data tsc2007_info = { | ||
418 | .model = 2007, | ||
419 | .x_plate_ohms = 180, | ||
420 | .get_pendown_state = ts_get_pendown_state, | ||
421 | .init_platform_hw = ts_init, | ||
422 | }; | ||
423 | |||
424 | static struct i2c_board_info ts_i2c_clients = { | ||
425 | I2C_BOARD_INFO("tsc2007", 0x48), | ||
426 | .type = "tsc2007", | ||
427 | .platform_data = &tsc2007_info, | ||
428 | .irq = IRQ0, | ||
429 | }; | ||
430 | |||
379 | static struct platform_device *ecovec_devices[] __initdata = { | 431 | static struct platform_device *ecovec_devices[] __initdata = { |
380 | &heartbeat_device, | 432 | &heartbeat_device, |
381 | &nor_flash_device, | 433 | &nor_flash_device, |
@@ -460,6 +512,11 @@ static void __init sh_eth_init(void) | |||
460 | #define IODRIVEA 0xA405018A | 512 | #define IODRIVEA 0xA405018A |
461 | static int __init arch_setup(void) | 513 | static int __init arch_setup(void) |
462 | { | 514 | { |
515 | /* enable STATUS0, STATUS2 and PDSTATUS */ | ||
516 | gpio_request(GPIO_FN_STATUS0, NULL); | ||
517 | gpio_request(GPIO_FN_STATUS2, NULL); | ||
518 | gpio_request(GPIO_FN_PDSTATUS, NULL); | ||
519 | |||
463 | /* enable SCIFA0 */ | 520 | /* enable SCIFA0 */ |
464 | gpio_request(GPIO_FN_SCIF0_TXD, NULL); | 521 | gpio_request(GPIO_FN_SCIF0_TXD, NULL); |
465 | gpio_request(GPIO_FN_SCIF0_RXD, NULL); | 522 | gpio_request(GPIO_FN_SCIF0_RXD, NULL); |
@@ -590,6 +647,10 @@ static int __init arch_setup(void) | |||
590 | */ | 647 | */ |
591 | gpio_request(GPIO_PTF4, NULL); | 648 | gpio_request(GPIO_PTF4, NULL); |
592 | gpio_direction_output(GPIO_PTF4, 1); | 649 | gpio_direction_output(GPIO_PTF4, 1); |
650 | |||
651 | /* enable TouchScreen */ | ||
652 | i2c_register_board_info(0, &ts_i2c_clients, 1); | ||
653 | set_irq_type(IRQ0, IRQ_TYPE_LEVEL_LOW); | ||
593 | } | 654 | } |
594 | 655 | ||
595 | /* enable CEU0 */ | 656 | /* enable CEU0 */ |
diff --git a/arch/sh/boards/mach-landisk/gio.c b/arch/sh/boards/mach-landisk/gio.c index 25cdf7358000..528013188196 100644 --- a/arch/sh/boards/mach-landisk/gio.c +++ b/arch/sh/boards/mach-landisk/gio.c | |||
@@ -14,7 +14,6 @@ | |||
14 | */ | 14 | */ |
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/smp_lock.h> | ||
18 | #include <linux/kdev_t.h> | 17 | #include <linux/kdev_t.h> |
19 | #include <linux/cdev.h> | 18 | #include <linux/cdev.h> |
20 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
@@ -35,7 +34,7 @@ static int gio_open(struct inode *inode, struct file *filp) | |||
35 | int minor; | 34 | int minor; |
36 | int ret = -ENOENT; | 35 | int ret = -ENOENT; |
37 | 36 | ||
38 | lock_kernel(); | 37 | preempt_disable(); |
39 | minor = MINOR(inode->i_rdev); | 38 | minor = MINOR(inode->i_rdev); |
40 | if (minor < DEVCOUNT) { | 39 | if (minor < DEVCOUNT) { |
41 | if (openCnt > 0) { | 40 | if (openCnt > 0) { |
@@ -45,7 +44,7 @@ static int gio_open(struct inode *inode, struct file *filp) | |||
45 | ret = 0; | 44 | ret = 0; |
46 | } | 45 | } |
47 | } | 46 | } |
48 | unlock_kernel(); | 47 | preempt_enable(); |
49 | return ret; | 48 | return ret; |
50 | } | 49 | } |
51 | 50 | ||
@@ -60,8 +59,7 @@ static int gio_close(struct inode *inode, struct file *filp) | |||
60 | return 0; | 59 | return 0; |
61 | } | 60 | } |
62 | 61 | ||
63 | static int gio_ioctl(struct inode *inode, struct file *filp, | 62 | static long gio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) |
64 | unsigned int cmd, unsigned long arg) | ||
65 | { | 63 | { |
66 | unsigned int data; | 64 | unsigned int data; |
67 | static unsigned int addr = 0; | 65 | static unsigned int addr = 0; |
@@ -129,7 +127,7 @@ static const struct file_operations gio_fops = { | |||
129 | .owner = THIS_MODULE, | 127 | .owner = THIS_MODULE, |
130 | .open = gio_open, /* open */ | 128 | .open = gio_open, /* open */ |
131 | .release = gio_close, /* release */ | 129 | .release = gio_close, /* release */ |
132 | .ioctl = gio_ioctl, /* ioctl */ | 130 | .unlocked_ioctl = gio_ioctl, |
133 | }; | 131 | }; |
134 | 132 | ||
135 | static int __init gio_init(void) | 133 | static int __init gio_init(void) |
diff --git a/arch/sh/boards/mach-rsk/devices-rsk7203.c b/arch/sh/boards/mach-rsk/devices-rsk7203.c index 4af3a771c058..c37617e63220 100644 --- a/arch/sh/boards/mach-rsk/devices-rsk7203.c +++ b/arch/sh/boards/mach-rsk/devices-rsk7203.c | |||
@@ -11,10 +11,6 @@ | |||
11 | #include <linux/types.h> | 11 | #include <linux/types.h> |
12 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
13 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
14 | #include <linux/mtd/mtd.h> | ||
15 | #include <linux/mtd/partitions.h> | ||
16 | #include <linux/mtd/physmap.h> | ||
17 | #include <linux/mtd/map.h> | ||
18 | #include <linux/smsc911x.h> | 14 | #include <linux/smsc911x.h> |
19 | #include <linux/gpio.h> | 15 | #include <linux/gpio.h> |
20 | #include <linux/leds.h> | 16 | #include <linux/leds.h> |
diff --git a/arch/sh/boards/mach-rsk/setup.c b/arch/sh/boards/mach-rsk/setup.c index af64d030a5c7..a5c0df785bfe 100644 --- a/arch/sh/boards/mach-rsk/setup.c +++ b/arch/sh/boards/mach-rsk/setup.c | |||
@@ -15,14 +15,12 @@ | |||
15 | #include <linux/mtd/mtd.h> | 15 | #include <linux/mtd/mtd.h> |
16 | #include <linux/mtd/partitions.h> | 16 | #include <linux/mtd/partitions.h> |
17 | #include <linux/mtd/physmap.h> | 17 | #include <linux/mtd/physmap.h> |
18 | #ifdef CONFIG_MTD | ||
18 | #include <linux/mtd/map.h> | 19 | #include <linux/mtd/map.h> |
20 | #endif | ||
19 | #include <asm/machvec.h> | 21 | #include <asm/machvec.h> |
20 | #include <asm/io.h> | 22 | #include <asm/io.h> |
21 | 23 | ||
22 | static const char *probes[] = { "cmdlinepart", NULL }; | ||
23 | |||
24 | static struct mtd_partition *parsed_partitions; | ||
25 | |||
26 | static struct mtd_partition rsk_partitions[] = { | 24 | static struct mtd_partition rsk_partitions[] = { |
27 | { | 25 | { |
28 | .name = "Bootloader", | 26 | .name = "Bootloader", |
@@ -41,6 +39,8 @@ static struct mtd_partition rsk_partitions[] = { | |||
41 | }; | 39 | }; |
42 | 40 | ||
43 | static struct physmap_flash_data flash_data = { | 41 | static struct physmap_flash_data flash_data = { |
42 | .parts = rsk_partitions, | ||
43 | .nr_parts = ARRAY_SIZE(rsk_partitions), | ||
44 | .width = 2, | 44 | .width = 2, |
45 | }; | 45 | }; |
46 | 46 | ||
@@ -60,7 +60,8 @@ static struct platform_device flash_device = { | |||
60 | }, | 60 | }, |
61 | }; | 61 | }; |
62 | 62 | ||
63 | static struct mtd_info *flash_mtd; | 63 | #ifdef CONFIG_MTD |
64 | static const char *probes[] = { "cmdlinepart", NULL }; | ||
64 | 65 | ||
65 | static struct map_info rsk_flash_map = { | 66 | static struct map_info rsk_flash_map = { |
66 | .name = "RSK+ Flash", | 67 | .name = "RSK+ Flash", |
@@ -68,6 +69,10 @@ static struct map_info rsk_flash_map = { | |||
68 | .bankwidth = 2, | 69 | .bankwidth = 2, |
69 | }; | 70 | }; |
70 | 71 | ||
72 | static struct mtd_info *flash_mtd; | ||
73 | |||
74 | static struct mtd_partition *parsed_partitions; | ||
75 | |||
71 | static void __init set_mtd_partitions(void) | 76 | static void __init set_mtd_partitions(void) |
72 | { | 77 | { |
73 | int nr_parts = 0; | 78 | int nr_parts = 0; |
@@ -77,14 +82,14 @@ static void __init set_mtd_partitions(void) | |||
77 | nr_parts = parse_mtd_partitions(flash_mtd, probes, | 82 | nr_parts = parse_mtd_partitions(flash_mtd, probes, |
78 | &parsed_partitions, 0); | 83 | &parsed_partitions, 0); |
79 | /* If there is no partition table, used the hard coded table */ | 84 | /* If there is no partition table, used the hard coded table */ |
80 | if (nr_parts <= 0) { | 85 | if (nr_parts > 0) { |
81 | flash_data.parts = rsk_partitions; | ||
82 | flash_data.nr_parts = ARRAY_SIZE(rsk_partitions); | ||
83 | } else { | ||
84 | flash_data.nr_parts = nr_parts; | 86 | flash_data.nr_parts = nr_parts; |
85 | flash_data.parts = parsed_partitions; | 87 | flash_data.parts = parsed_partitions; |
86 | } | 88 | } |
87 | } | 89 | } |
90 | #else | ||
91 | static inline void set_mtd_partitions(void) {} | ||
92 | #endif | ||
88 | 93 | ||
89 | static struct platform_device *rsk_devices[] __initdata = { | 94 | static struct platform_device *rsk_devices[] __initdata = { |
90 | &flash_device, | 95 | &flash_device, |
diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile index a1316872be6f..cb8cf5572e79 100644 --- a/arch/sh/boot/Makefile +++ b/arch/sh/boot/Makefile | |||
@@ -20,11 +20,12 @@ CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 | |||
20 | CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 | 20 | CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 |
21 | CONFIG_ENTRY_OFFSET ?= 0x00001000 | 21 | CONFIG_ENTRY_OFFSET ?= 0x00001000 |
22 | 22 | ||
23 | suffix-y := bin | ||
23 | suffix-$(CONFIG_KERNEL_GZIP) := gz | 24 | suffix-$(CONFIG_KERNEL_GZIP) := gz |
24 | suffix-$(CONFIG_KERNEL_BZIP2) := bz2 | 25 | suffix-$(CONFIG_KERNEL_BZIP2) := bz2 |
25 | suffix-$(CONFIG_KERNEL_LZMA) := lzma | 26 | suffix-$(CONFIG_KERNEL_LZMA) := lzma |
26 | 27 | ||
27 | targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz uImage.bz2 uImage.lzma | 28 | targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz uImage.bz2 uImage.lzma uImage.bin |
28 | extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma | 29 | extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma |
29 | subdir- := compressed romimage | 30 | subdir- := compressed romimage |
30 | 31 | ||
@@ -88,6 +89,9 @@ $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz | |||
88 | $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma | 89 | $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma |
89 | $(call if_changed,uimage,lzma) | 90 | $(call if_changed,uimage,lzma) |
90 | 91 | ||
92 | $(obj)/uImage.bin: $(obj)/vmlinux.bin | ||
93 | $(call if_changed,uimage,none) | ||
94 | |||
91 | OBJCOPYFLAGS_vmlinux.srec := -I binary -O srec | 95 | OBJCOPYFLAGS_vmlinux.srec := -I binary -O srec |
92 | $(obj)/vmlinux.srec: $(obj)/compressed/vmlinux | 96 | $(obj)/vmlinux.srec: $(obj)/compressed/vmlinux |
93 | $(call if_changed,objcopy) | 97 | $(call if_changed,objcopy) |
diff --git a/arch/sh/kernel/cpu/sh3/entry.S b/arch/sh/kernel/cpu/sh3/entry.S index 0151933e5253..bb407ef0b91e 100644 --- a/arch/sh/kernel/cpu/sh3/entry.S +++ b/arch/sh/kernel/cpu/sh3/entry.S | |||
@@ -152,8 +152,6 @@ call_do_page_fault: | |||
152 | mov.l 1f, r0 | 152 | mov.l 1f, r0 |
153 | mov.l @r0, r6 | 153 | mov.l @r0, r6 |
154 | 154 | ||
155 | sti | ||
156 | |||
157 | mov.l 3f, r0 | 155 | mov.l 3f, r0 |
158 | mov.l 4f, r1 | 156 | mov.l 4f, r1 |
159 | mov r15, r4 | 157 | mov r15, r4 |
diff --git a/arch/sh/kernel/dwarf.c b/arch/sh/kernel/dwarf.c index 03b3616c80a5..2d07084e4882 100644 --- a/arch/sh/kernel/dwarf.c +++ b/arch/sh/kernel/dwarf.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/list.h> | 20 | #include <linux/list.h> |
21 | #include <linux/mempool.h> | 21 | #include <linux/mempool.h> |
22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
23 | #include <linux/ftrace.h> | ||
23 | #include <asm/dwarf.h> | 24 | #include <asm/dwarf.h> |
24 | #include <asm/unwinder.h> | 25 | #include <asm/unwinder.h> |
25 | #include <asm/sections.h> | 26 | #include <asm/sections.h> |
@@ -557,6 +558,27 @@ struct dwarf_frame * dwarf_unwind_stack(unsigned long pc, | |||
557 | if (!pc && !prev) | 558 | if (!pc && !prev) |
558 | pc = (unsigned long)current_text_addr(); | 559 | pc = (unsigned long)current_text_addr(); |
559 | 560 | ||
561 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | ||
562 | /* | ||
563 | * If our stack has been patched by the function graph tracer | ||
564 | * then we might see the address of return_to_handler() where we | ||
565 | * expected to find the real return address. | ||
566 | */ | ||
567 | if (pc == (unsigned long)&return_to_handler) { | ||
568 | int index = current->curr_ret_stack; | ||
569 | |||
570 | /* | ||
571 | * We currently have no way of tracking how many | ||
572 | * return_to_handler()'s we've seen. If there is more | ||
573 | * than one patched return address on our stack, | ||
574 | * complain loudly. | ||
575 | */ | ||
576 | WARN_ON(index > 0); | ||
577 | |||
578 | pc = current->ret_stack[index].ret; | ||
579 | } | ||
580 | #endif | ||
581 | |||
560 | frame = mempool_alloc(dwarf_frame_pool, GFP_ATOMIC); | 582 | frame = mempool_alloc(dwarf_frame_pool, GFP_ATOMIC); |
561 | if (!frame) { | 583 | if (!frame) { |
562 | printk(KERN_ERR "Unable to allocate a dwarf frame\n"); | 584 | printk(KERN_ERR "Unable to allocate a dwarf frame\n"); |
diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index 68d9223b145e..3eb84931d2aa 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S | |||
@@ -121,7 +121,7 @@ noresched: | |||
121 | ENTRY(resume_userspace) | 121 | ENTRY(resume_userspace) |
122 | ! r8: current_thread_info | 122 | ! r8: current_thread_info |
123 | cli | 123 | cli |
124 | TRACE_IRQS_OfF | 124 | TRACE_IRQS_OFF |
125 | mov.l @(TI_FLAGS,r8), r0 ! current_thread_info->flags | 125 | mov.l @(TI_FLAGS,r8), r0 ! current_thread_info->flags |
126 | tst #(_TIF_WORK_MASK & 0xff), r0 | 126 | tst #(_TIF_WORK_MASK & 0xff), r0 |
127 | bt/s __restore_all | 127 | bt/s __restore_all |
diff --git a/arch/sh/kernel/ftrace.c b/arch/sh/kernel/ftrace.c index a3dcc6d5d253..2c48e267256e 100644 --- a/arch/sh/kernel/ftrace.c +++ b/arch/sh/kernel/ftrace.c | |||
@@ -291,31 +291,48 @@ struct syscall_metadata *syscall_nr_to_meta(int nr) | |||
291 | return syscalls_metadata[nr]; | 291 | return syscalls_metadata[nr]; |
292 | } | 292 | } |
293 | 293 | ||
294 | void arch_init_ftrace_syscalls(void) | 294 | int syscall_name_to_nr(char *name) |
295 | { | ||
296 | int i; | ||
297 | |||
298 | if (!syscalls_metadata) | ||
299 | return -1; | ||
300 | for (i = 0; i < NR_syscalls; i++) | ||
301 | if (syscalls_metadata[i]) | ||
302 | if (!strcmp(syscalls_metadata[i]->name, name)) | ||
303 | return i; | ||
304 | return -1; | ||
305 | } | ||
306 | |||
307 | void set_syscall_enter_id(int num, int id) | ||
308 | { | ||
309 | syscalls_metadata[num]->enter_id = id; | ||
310 | } | ||
311 | |||
312 | void set_syscall_exit_id(int num, int id) | ||
313 | { | ||
314 | syscalls_metadata[num]->exit_id = id; | ||
315 | } | ||
316 | |||
317 | static int __init arch_init_ftrace_syscalls(void) | ||
295 | { | 318 | { |
296 | int i; | 319 | int i; |
297 | struct syscall_metadata *meta; | 320 | struct syscall_metadata *meta; |
298 | unsigned long **psys_syscall_table = &sys_call_table; | 321 | unsigned long **psys_syscall_table = &sys_call_table; |
299 | static atomic_t refs; | ||
300 | |||
301 | if (atomic_inc_return(&refs) != 1) | ||
302 | goto end; | ||
303 | 322 | ||
304 | syscalls_metadata = kzalloc(sizeof(*syscalls_metadata) * | 323 | syscalls_metadata = kzalloc(sizeof(*syscalls_metadata) * |
305 | FTRACE_SYSCALL_MAX, GFP_KERNEL); | 324 | FTRACE_SYSCALL_MAX, GFP_KERNEL); |
306 | if (!syscalls_metadata) { | 325 | if (!syscalls_metadata) { |
307 | WARN_ON(1); | 326 | WARN_ON(1); |
308 | return; | 327 | return -ENOMEM; |
309 | } | 328 | } |
310 | 329 | ||
311 | for (i = 0; i < FTRACE_SYSCALL_MAX; i++) { | 330 | for (i = 0; i < FTRACE_SYSCALL_MAX; i++) { |
312 | meta = find_syscall_meta(psys_syscall_table[i]); | 331 | meta = find_syscall_meta(psys_syscall_table[i]); |
313 | syscalls_metadata[i] = meta; | 332 | syscalls_metadata[i] = meta; |
314 | } | 333 | } |
315 | return; | ||
316 | 334 | ||
317 | /* Paranoid: avoid overflow */ | 335 | return 0; |
318 | end: | ||
319 | atomic_dec(&refs); | ||
320 | } | 336 | } |
337 | arch_initcall(arch_init_ftrace_syscalls); | ||
321 | #endif /* CONFIG_FTRACE_SYSCALLS */ | 338 | #endif /* CONFIG_FTRACE_SYSCALLS */ |
diff --git a/arch/sh/kernel/io_generic.c b/arch/sh/kernel/io_generic.c index 4ff507239286..b8fa6524760a 100644 --- a/arch/sh/kernel/io_generic.c +++ b/arch/sh/kernel/io_generic.c | |||
@@ -147,6 +147,9 @@ void generic_outsl(unsigned long port, const void *src, unsigned long count) | |||
147 | 147 | ||
148 | void __iomem *generic_ioport_map(unsigned long addr, unsigned int size) | 148 | void __iomem *generic_ioport_map(unsigned long addr, unsigned int size) |
149 | { | 149 | { |
150 | if (PXSEG(addr) >= P1SEG) | ||
151 | return (void __iomem *)addr; | ||
152 | |||
150 | return (void __iomem *)(addr + generic_io_base); | 153 | return (void __iomem *)(addr + generic_io_base); |
151 | } | 154 | } |
152 | 155 | ||
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index 7cb933ba4957..eac7da772fc2 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
12 | #include <linux/kernel_stat.h> | 12 | #include <linux/kernel_stat.h> |
13 | #include <linux/seq_file.h> | 13 | #include <linux/seq_file.h> |
14 | #include <linux/ftrace.h> | ||
14 | #include <asm/processor.h> | 15 | #include <asm/processor.h> |
15 | #include <asm/machvec.h> | 16 | #include <asm/machvec.h> |
16 | #include <asm/uaccess.h> | 17 | #include <asm/uaccess.h> |
@@ -106,7 +107,7 @@ static union irq_ctx *hardirq_ctx[NR_CPUS] __read_mostly; | |||
106 | static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly; | 107 | static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly; |
107 | #endif | 108 | #endif |
108 | 109 | ||
109 | asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs) | 110 | asmlinkage __irq_entry int do_IRQ(unsigned int irq, struct pt_regs *regs) |
110 | { | 111 | { |
111 | struct pt_regs *old_regs = set_irq_regs(regs); | 112 | struct pt_regs *old_regs = set_irq_regs(regs); |
112 | #ifdef CONFIG_IRQSTACKS | 113 | #ifdef CONFIG_IRQSTACKS |
diff --git a/arch/sh/kernel/machvec.c b/arch/sh/kernel/machvec.c index 548f6607fd0f..cbce639b108a 100644 --- a/arch/sh/kernel/machvec.c +++ b/arch/sh/kernel/machvec.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/string.h> | 14 | #include <linux/string.h> |
15 | #include <asm/machvec.h> | 15 | #include <asm/machvec.h> |
16 | #include <asm/sections.h> | 16 | #include <asm/sections.h> |
17 | #include <asm/addrspace.h> | ||
17 | #include <asm/setup.h> | 18 | #include <asm/setup.h> |
18 | #include <asm/io.h> | 19 | #include <asm/io.h> |
19 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |
@@ -133,4 +134,6 @@ void __init sh_mv_setup(void) | |||
133 | 134 | ||
134 | if (!sh_mv.mv_nr_irqs) | 135 | if (!sh_mv.mv_nr_irqs) |
135 | sh_mv.mv_nr_irqs = NR_IRQS; | 136 | sh_mv.mv_nr_irqs = NR_IRQS; |
137 | |||
138 | __set_io_port_base(P2SEG); | ||
136 | } | 139 | } |
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index f9d44f8e0df6..99b4fb553bf1 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -549,6 +549,8 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
549 | 549 | ||
550 | if (cpu == 0) | 550 | if (cpu == 0) |
551 | seq_printf(m, "machine\t\t: %s\n", get_system_type()); | 551 | seq_printf(m, "machine\t\t: %s\n", get_system_type()); |
552 | else | ||
553 | seq_printf(m, "\n"); | ||
552 | 554 | ||
553 | seq_printf(m, "processor\t: %d\n", cpu); | 555 | seq_printf(m, "processor\t: %d\n", cpu); |
554 | seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine); | 556 | seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine); |
diff --git a/arch/sh/kernel/sh_ksyms_32.c b/arch/sh/kernel/sh_ksyms_32.c index 8dbe26b17c44..444cce3ae921 100644 --- a/arch/sh/kernel/sh_ksyms_32.c +++ b/arch/sh/kernel/sh_ksyms_32.c | |||
@@ -84,6 +84,21 @@ DECLARE_EXPORT(__movstrSI60); | |||
84 | DECLARE_EXPORT(__movstr_i4_even); | 84 | DECLARE_EXPORT(__movstr_i4_even); |
85 | DECLARE_EXPORT(__movstr_i4_odd); | 85 | DECLARE_EXPORT(__movstr_i4_odd); |
86 | DECLARE_EXPORT(__movstrSI12_i4); | 86 | DECLARE_EXPORT(__movstrSI12_i4); |
87 | DECLARE_EXPORT(__movmem); | ||
88 | DECLARE_EXPORT(__movmemSI8); | ||
89 | DECLARE_EXPORT(__movmemSI12); | ||
90 | DECLARE_EXPORT(__movmemSI16); | ||
91 | DECLARE_EXPORT(__movmemSI20); | ||
92 | DECLARE_EXPORT(__movmemSI24); | ||
93 | DECLARE_EXPORT(__movmemSI28); | ||
94 | DECLARE_EXPORT(__movmemSI32); | ||
95 | DECLARE_EXPORT(__movmemSI36); | ||
96 | DECLARE_EXPORT(__movmemSI40); | ||
97 | DECLARE_EXPORT(__movmemSI44); | ||
98 | DECLARE_EXPORT(__movmemSI48); | ||
99 | DECLARE_EXPORT(__movmemSI52); | ||
100 | DECLARE_EXPORT(__movmemSI56); | ||
101 | DECLARE_EXPORT(__movmemSI60); | ||
87 | DECLARE_EXPORT(__movmem_i4_even); | 102 | DECLARE_EXPORT(__movmem_i4_even); |
88 | DECLARE_EXPORT(__movmem_i4_odd); | 103 | DECLARE_EXPORT(__movmem_i4_odd); |
89 | DECLARE_EXPORT(__movmemSI12_i4); | 104 | DECLARE_EXPORT(__movmemSI12_i4); |
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c index 6729703547a1..3db37425210d 100644 --- a/arch/sh/kernel/signal_32.c +++ b/arch/sh/kernel/signal_32.c | |||
@@ -145,7 +145,7 @@ static inline int restore_sigcontext_fpu(struct sigcontext __user *sc) | |||
145 | { | 145 | { |
146 | struct task_struct *tsk = current; | 146 | struct task_struct *tsk = current; |
147 | 147 | ||
148 | if (!(current_cpu_data.flags & CPU_HAS_FPU)) | 148 | if (!(boot_cpu_data.flags & CPU_HAS_FPU)) |
149 | return 0; | 149 | return 0; |
150 | 150 | ||
151 | set_used_math(); | 151 | set_used_math(); |
@@ -158,7 +158,7 @@ static inline int save_sigcontext_fpu(struct sigcontext __user *sc, | |||
158 | { | 158 | { |
159 | struct task_struct *tsk = current; | 159 | struct task_struct *tsk = current; |
160 | 160 | ||
161 | if (!(current_cpu_data.flags & CPU_HAS_FPU)) | 161 | if (!(boot_cpu_data.flags & CPU_HAS_FPU)) |
162 | return 0; | 162 | return 0; |
163 | 163 | ||
164 | if (!used_math()) { | 164 | if (!used_math()) { |
@@ -199,7 +199,7 @@ restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_p | |||
199 | #undef COPY | 199 | #undef COPY |
200 | 200 | ||
201 | #ifdef CONFIG_SH_FPU | 201 | #ifdef CONFIG_SH_FPU |
202 | if (current_cpu_data.flags & CPU_HAS_FPU) { | 202 | if (boot_cpu_data.flags & CPU_HAS_FPU) { |
203 | int owned_fp; | 203 | int owned_fp; |
204 | struct task_struct *tsk = current; | 204 | struct task_struct *tsk = current; |
205 | 205 | ||
@@ -472,6 +472,7 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
472 | err |= __put_user(OR_R0_R0, &frame->retcode[6]); | 472 | err |= __put_user(OR_R0_R0, &frame->retcode[6]); |
473 | err |= __put_user((__NR_rt_sigreturn), &frame->retcode[7]); | 473 | err |= __put_user((__NR_rt_sigreturn), &frame->retcode[7]); |
474 | regs->pr = (unsigned long) frame->retcode; | 474 | regs->pr = (unsigned long) frame->retcode; |
475 | flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode)); | ||
475 | } | 476 | } |
476 | 477 | ||
477 | if (err) | 478 | if (err) |
@@ -497,8 +498,6 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
497 | pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", | 498 | pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", |
498 | current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); | 499 | current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); |
499 | 500 | ||
500 | flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode)); | ||
501 | |||
502 | return 0; | 501 | return 0; |
503 | 502 | ||
504 | give_sigsegv: | 503 | give_sigsegv: |
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 442d8d47a41e..160db1003cfb 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -35,6 +35,8 @@ static inline void __init smp_store_cpu_info(unsigned int cpu) | |||
35 | { | 35 | { |
36 | struct sh_cpuinfo *c = cpu_data + cpu; | 36 | struct sh_cpuinfo *c = cpu_data + cpu; |
37 | 37 | ||
38 | memcpy(c, &boot_cpu_data, sizeof(struct sh_cpuinfo)); | ||
39 | |||
38 | c->loops_per_jiffy = loops_per_jiffy; | 40 | c->loops_per_jiffy = loops_per_jiffy; |
39 | } | 41 | } |
40 | 42 | ||
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c index 69bb1652eccd..7a2ee3a6b8e7 100644 --- a/arch/sh/kernel/traps_32.c +++ b/arch/sh/kernel/traps_32.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/kexec.h> | 25 | #include <linux/kexec.h> |
26 | #include <linux/limits.h> | 26 | #include <linux/limits.h> |
27 | #include <linux/proc_fs.h> | 27 | #include <linux/proc_fs.h> |
28 | #include <linux/sysfs.h> | ||
28 | #include <asm/system.h> | 29 | #include <asm/system.h> |
29 | #include <asm/uaccess.h> | 30 | #include <asm/uaccess.h> |
30 | #include <asm/fpu.h> | 31 | #include <asm/fpu.h> |
@@ -54,8 +55,8 @@ static unsigned long se_multi; | |||
54 | /* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not | 55 | /* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not |
55 | valid! */ | 56 | valid! */ |
56 | static int se_usermode = 3; | 57 | static int se_usermode = 3; |
57 | /* 0: no warning 1: print a warning message */ | 58 | /* 0: no warning 1: print a warning message, disabled by default */ |
58 | static int se_kernmode_warn = 1; | 59 | static int se_kernmode_warn; |
59 | 60 | ||
60 | #ifdef CONFIG_PROC_FS | 61 | #ifdef CONFIG_PROC_FS |
61 | static const char *se_usermode_action[] = { | 62 | static const char *se_usermode_action[] = { |
@@ -159,12 +160,12 @@ void die(const char * str, struct pt_regs * regs, long err) | |||
159 | 160 | ||
160 | oops_enter(); | 161 | oops_enter(); |
161 | 162 | ||
162 | console_verbose(); | ||
163 | spin_lock_irq(&die_lock); | 163 | spin_lock_irq(&die_lock); |
164 | console_verbose(); | ||
164 | bust_spinlocks(1); | 165 | bust_spinlocks(1); |
165 | 166 | ||
166 | printk("%s: %04lx [#%d]\n", str, err & 0xffff, ++die_counter); | 167 | printk("%s: %04lx [#%d]\n", str, err & 0xffff, ++die_counter); |
167 | 168 | sysfs_printk_last_file(); | |
168 | print_modules(); | 169 | print_modules(); |
169 | show_regs(regs); | 170 | show_regs(regs); |
170 | 171 | ||
@@ -180,6 +181,7 @@ void die(const char * str, struct pt_regs * regs, long err) | |||
180 | bust_spinlocks(0); | 181 | bust_spinlocks(0); |
181 | add_taint(TAINT_DIE); | 182 | add_taint(TAINT_DIE); |
182 | spin_unlock_irq(&die_lock); | 183 | spin_unlock_irq(&die_lock); |
184 | oops_exit(); | ||
183 | 185 | ||
184 | if (kexec_should_crash(current)) | 186 | if (kexec_should_crash(current)) |
185 | crash_kexec(regs); | 187 | crash_kexec(regs); |
@@ -190,7 +192,6 @@ void die(const char * str, struct pt_regs * regs, long err) | |||
190 | if (panic_on_oops) | 192 | if (panic_on_oops) |
191 | panic("Fatal exception"); | 193 | panic("Fatal exception"); |
192 | 194 | ||
193 | oops_exit(); | ||
194 | do_exit(SIGSEGV); | 195 | do_exit(SIGSEGV); |
195 | } | 196 | } |
196 | 197 | ||
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 64dc1ad59801..7f7b52f9beba 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -227,7 +227,7 @@ endchoice | |||
227 | 227 | ||
228 | choice | 228 | choice |
229 | prompt "HugeTLB page size" | 229 | prompt "HugeTLB page size" |
230 | depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU | 230 | depends on HUGETLB_PAGE |
231 | default HUGETLB_PAGE_SIZE_1MB if PAGE_SIZE_64KB | 231 | default HUGETLB_PAGE_SIZE_1MB if PAGE_SIZE_64KB |
232 | default HUGETLB_PAGE_SIZE_64K | 232 | default HUGETLB_PAGE_SIZE_64K |
233 | 233 | ||
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index b2453bbef4cd..519e2d16cd06 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #define MAX_DCACHE_PAGES 64 /* XXX: Tune for ways */ | 26 | #define MAX_DCACHE_PAGES 64 /* XXX: Tune for ways */ |
27 | #define MAX_ICACHE_PAGES 32 | 27 | #define MAX_ICACHE_PAGES 32 |
28 | 28 | ||
29 | static void __flush_cache_4096(unsigned long addr, unsigned long phys, | 29 | static void __flush_cache_one(unsigned long addr, unsigned long phys, |
30 | unsigned long exec_offset); | 30 | unsigned long exec_offset); |
31 | 31 | ||
32 | /* | 32 | /* |
@@ -43,7 +43,7 @@ static void (*__flush_dcache_segment_fn)(unsigned long, unsigned long) = | |||
43 | * Called from kernel/module.c:sys_init_module and routine for a.out format, | 43 | * Called from kernel/module.c:sys_init_module and routine for a.out format, |
44 | * signal handler code and kprobes code | 44 | * signal handler code and kprobes code |
45 | */ | 45 | */ |
46 | static void sh4_flush_icache_range(void *args) | 46 | static void __uses_jump_to_uncached sh4_flush_icache_range(void *args) |
47 | { | 47 | { |
48 | struct flusher_data *data = args; | 48 | struct flusher_data *data = args; |
49 | unsigned long start, end; | 49 | unsigned long start, end; |
@@ -89,8 +89,7 @@ static void sh4_flush_icache_range(void *args) | |||
89 | local_irq_restore(flags); | 89 | local_irq_restore(flags); |
90 | } | 90 | } |
91 | 91 | ||
92 | static inline void flush_cache_4096(unsigned long start, | 92 | static inline void flush_cache_one(unsigned long start, unsigned long phys) |
93 | unsigned long phys) | ||
94 | { | 93 | { |
95 | unsigned long flags, exec_offset = 0; | 94 | unsigned long flags, exec_offset = 0; |
96 | 95 | ||
@@ -103,8 +102,7 @@ static inline void flush_cache_4096(unsigned long start, | |||
103 | exec_offset = 0x20000000; | 102 | exec_offset = 0x20000000; |
104 | 103 | ||
105 | local_irq_save(flags); | 104 | local_irq_save(flags); |
106 | __flush_cache_4096(start | SH_CACHE_ASSOC, | 105 | __flush_cache_one(start | SH_CACHE_ASSOC, P1SEGADDR(phys), exec_offset); |
107 | P1SEGADDR(phys), exec_offset); | ||
108 | local_irq_restore(flags); | 106 | local_irq_restore(flags); |
109 | } | 107 | } |
110 | 108 | ||
@@ -129,8 +127,8 @@ static void sh4_flush_dcache_page(void *arg) | |||
129 | 127 | ||
130 | /* Loop all the D-cache */ | 128 | /* Loop all the D-cache */ |
131 | n = boot_cpu_data.dcache.n_aliases; | 129 | n = boot_cpu_data.dcache.n_aliases; |
132 | for (i = 0; i < n; i++, addr += 4096) | 130 | for (i = 0; i < n; i++, addr += PAGE_SIZE) |
133 | flush_cache_4096(addr, phys); | 131 | flush_cache_one(addr, phys); |
134 | } | 132 | } |
135 | 133 | ||
136 | wmb(); | 134 | wmb(); |
@@ -318,11 +316,11 @@ static void sh4_flush_cache_page(void *args) | |||
318 | /* We only need to flush D-cache when we have alias */ | 316 | /* We only need to flush D-cache when we have alias */ |
319 | if ((address^phys) & alias_mask) { | 317 | if ((address^phys) & alias_mask) { |
320 | /* Loop 4K of the D-cache */ | 318 | /* Loop 4K of the D-cache */ |
321 | flush_cache_4096( | 319 | flush_cache_one( |
322 | CACHE_OC_ADDRESS_ARRAY | (address & alias_mask), | 320 | CACHE_OC_ADDRESS_ARRAY | (address & alias_mask), |
323 | phys); | 321 | phys); |
324 | /* Loop another 4K of the D-cache */ | 322 | /* Loop another 4K of the D-cache */ |
325 | flush_cache_4096( | 323 | flush_cache_one( |
326 | CACHE_OC_ADDRESS_ARRAY | (phys & alias_mask), | 324 | CACHE_OC_ADDRESS_ARRAY | (phys & alias_mask), |
327 | phys); | 325 | phys); |
328 | } | 326 | } |
@@ -337,7 +335,7 @@ static void sh4_flush_cache_page(void *args) | |||
337 | * kernel has never executed the code through its identity | 335 | * kernel has never executed the code through its identity |
338 | * translation. | 336 | * translation. |
339 | */ | 337 | */ |
340 | flush_cache_4096( | 338 | flush_cache_one( |
341 | CACHE_IC_ADDRESS_ARRAY | (address & alias_mask), | 339 | CACHE_IC_ADDRESS_ARRAY | (address & alias_mask), |
342 | phys); | 340 | phys); |
343 | } | 341 | } |
@@ -393,7 +391,7 @@ static void sh4_flush_cache_range(void *args) | |||
393 | } | 391 | } |
394 | 392 | ||
395 | /** | 393 | /** |
396 | * __flush_cache_4096 | 394 | * __flush_cache_one |
397 | * | 395 | * |
398 | * @addr: address in memory mapped cache array | 396 | * @addr: address in memory mapped cache array |
399 | * @phys: P1 address to flush (has to match tags if addr has 'A' bit | 397 | * @phys: P1 address to flush (has to match tags if addr has 'A' bit |
@@ -406,7 +404,7 @@ static void sh4_flush_cache_range(void *args) | |||
406 | * operation (purge/write-back) is selected by the lower 2 bits of | 404 | * operation (purge/write-back) is selected by the lower 2 bits of |
407 | * 'phys'. | 405 | * 'phys'. |
408 | */ | 406 | */ |
409 | static void __flush_cache_4096(unsigned long addr, unsigned long phys, | 407 | static void __flush_cache_one(unsigned long addr, unsigned long phys, |
410 | unsigned long exec_offset) | 408 | unsigned long exec_offset) |
411 | { | 409 | { |
412 | int way_count; | 410 | int way_count; |
diff --git a/arch/sh/mm/cache-sh7705.c b/arch/sh/mm/cache-sh7705.c index 2cadee2037ac..2601935eb589 100644 --- a/arch/sh/mm/cache-sh7705.c +++ b/arch/sh/mm/cache-sh7705.c | |||
@@ -78,7 +78,7 @@ static void sh7705_flush_icache_range(void *args) | |||
78 | /* | 78 | /* |
79 | * Writeback&Invalidate the D-cache of the page | 79 | * Writeback&Invalidate the D-cache of the page |
80 | */ | 80 | */ |
81 | static void __flush_dcache_page(unsigned long phys) | 81 | static void __uses_jump_to_uncached __flush_dcache_page(unsigned long phys) |
82 | { | 82 | { |
83 | unsigned long ways, waysize, addrstart; | 83 | unsigned long ways, waysize, addrstart; |
84 | unsigned long flags; | 84 | unsigned long flags; |
@@ -144,7 +144,7 @@ static void sh7705_flush_dcache_page(void *arg) | |||
144 | __flush_dcache_page(PHYSADDR(page_address(page))); | 144 | __flush_dcache_page(PHYSADDR(page_address(page))); |
145 | } | 145 | } |
146 | 146 | ||
147 | static void sh7705_flush_cache_all(void *args) | 147 | static void __uses_jump_to_uncached sh7705_flush_cache_all(void *args) |
148 | { | 148 | { |
149 | unsigned long flags; | 149 | unsigned long flags; |
150 | 150 | ||
diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c index 35c37b7f717a..a2dc7f9ecc51 100644 --- a/arch/sh/mm/cache.c +++ b/arch/sh/mm/cache.c | |||
@@ -128,7 +128,7 @@ void __update_cache(struct vm_area_struct *vma, | |||
128 | return; | 128 | return; |
129 | 129 | ||
130 | page = pfn_to_page(pfn); | 130 | page = pfn_to_page(pfn); |
131 | if (pfn_valid(pfn) && page_mapping(page)) { | 131 | if (pfn_valid(pfn)) { |
132 | int dirty = test_and_clear_bit(PG_dcache_dirty, &page->flags); | 132 | int dirty = test_and_clear_bit(PG_dcache_dirty, &page->flags); |
133 | if (dirty) { | 133 | if (dirty) { |
134 | unsigned long addr = (unsigned long)page_address(page); | 134 | unsigned long addr = (unsigned long)page_address(page); |
@@ -265,6 +265,8 @@ static void __init emit_cache_params(void) | |||
265 | 265 | ||
266 | void __init cpu_cache_init(void) | 266 | void __init cpu_cache_init(void) |
267 | { | 267 | { |
268 | unsigned int cache_disabled = !(__raw_readl(CCR) & CCR_CACHE_ENABLE); | ||
269 | |||
268 | compute_alias(&boot_cpu_data.icache); | 270 | compute_alias(&boot_cpu_data.icache); |
269 | compute_alias(&boot_cpu_data.dcache); | 271 | compute_alias(&boot_cpu_data.dcache); |
270 | compute_alias(&boot_cpu_data.scache); | 272 | compute_alias(&boot_cpu_data.scache); |
@@ -273,6 +275,13 @@ void __init cpu_cache_init(void) | |||
273 | __flush_purge_region = noop__flush_region; | 275 | __flush_purge_region = noop__flush_region; |
274 | __flush_invalidate_region = noop__flush_region; | 276 | __flush_invalidate_region = noop__flush_region; |
275 | 277 | ||
278 | /* | ||
279 | * No flushing is necessary in the disabled cache case so we can | ||
280 | * just keep the noop functions in local_flush_..() and __flush_..() | ||
281 | */ | ||
282 | if (unlikely(cache_disabled)) | ||
283 | goto skip; | ||
284 | |||
276 | if (boot_cpu_data.family == CPU_FAMILY_SH2) { | 285 | if (boot_cpu_data.family == CPU_FAMILY_SH2) { |
277 | extern void __weak sh2_cache_init(void); | 286 | extern void __weak sh2_cache_init(void); |
278 | 287 | ||
@@ -312,5 +321,6 @@ void __init cpu_cache_init(void) | |||
312 | sh5_cache_init(); | 321 | sh5_cache_init(); |
313 | } | 322 | } |
314 | 323 | ||
324 | skip: | ||
315 | emit_cache_params(); | 325 | emit_cache_params(); |
316 | } | 326 | } |
diff --git a/arch/sh/mm/ioremap_32.c b/arch/sh/mm/ioremap_32.c index c3250614e3ae..a86eaa9d75a5 100644 --- a/arch/sh/mm/ioremap_32.c +++ b/arch/sh/mm/ioremap_32.c | |||
@@ -83,7 +83,7 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | |||
83 | * | 83 | * |
84 | * PMB entries are all pre-faulted. | 84 | * PMB entries are all pre-faulted. |
85 | */ | 85 | */ |
86 | if (unlikely(size >= 0x1000000)) { | 86 | if (unlikely(phys_addr >= P1SEG)) { |
87 | unsigned long mapped = pmb_remap(addr, phys_addr, size, flags); | 87 | unsigned long mapped = pmb_remap(addr, phys_addr, size, flags); |
88 | 88 | ||
89 | if (likely(mapped)) { | 89 | if (likely(mapped)) { |
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index b1a714a92b14..aade31102112 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -33,6 +33,8 @@ | |||
33 | 33 | ||
34 | #define NR_PMB_ENTRIES 16 | 34 | #define NR_PMB_ENTRIES 16 |
35 | 35 | ||
36 | static void __pmb_unmap(struct pmb_entry *); | ||
37 | |||
36 | static struct kmem_cache *pmb_cache; | 38 | static struct kmem_cache *pmb_cache; |
37 | static unsigned long pmb_map; | 39 | static unsigned long pmb_map; |
38 | 40 | ||
@@ -218,9 +220,10 @@ static struct { | |||
218 | long pmb_remap(unsigned long vaddr, unsigned long phys, | 220 | long pmb_remap(unsigned long vaddr, unsigned long phys, |
219 | unsigned long size, unsigned long flags) | 221 | unsigned long size, unsigned long flags) |
220 | { | 222 | { |
221 | struct pmb_entry *pmbp; | 223 | struct pmb_entry *pmbp, *pmbe; |
222 | unsigned long wanted; | 224 | unsigned long wanted; |
223 | int pmb_flags, i; | 225 | int pmb_flags, i; |
226 | long err; | ||
224 | 227 | ||
225 | /* Convert typical pgprot value to the PMB equivalent */ | 228 | /* Convert typical pgprot value to the PMB equivalent */ |
226 | if (flags & _PAGE_CACHABLE) { | 229 | if (flags & _PAGE_CACHABLE) { |
@@ -236,20 +239,22 @@ long pmb_remap(unsigned long vaddr, unsigned long phys, | |||
236 | 239 | ||
237 | again: | 240 | again: |
238 | for (i = 0; i < ARRAY_SIZE(pmb_sizes); i++) { | 241 | for (i = 0; i < ARRAY_SIZE(pmb_sizes); i++) { |
239 | struct pmb_entry *pmbe; | ||
240 | int ret; | 242 | int ret; |
241 | 243 | ||
242 | if (size < pmb_sizes[i].size) | 244 | if (size < pmb_sizes[i].size) |
243 | continue; | 245 | continue; |
244 | 246 | ||
245 | pmbe = pmb_alloc(vaddr, phys, pmb_flags | pmb_sizes[i].flag); | 247 | pmbe = pmb_alloc(vaddr, phys, pmb_flags | pmb_sizes[i].flag); |
246 | if (IS_ERR(pmbe)) | 248 | if (IS_ERR(pmbe)) { |
247 | return PTR_ERR(pmbe); | 249 | err = PTR_ERR(pmbe); |
250 | goto out; | ||
251 | } | ||
248 | 252 | ||
249 | ret = set_pmb_entry(pmbe); | 253 | ret = set_pmb_entry(pmbe); |
250 | if (ret != 0) { | 254 | if (ret != 0) { |
251 | pmb_free(pmbe); | 255 | pmb_free(pmbe); |
252 | return -EBUSY; | 256 | err = -EBUSY; |
257 | goto out; | ||
253 | } | 258 | } |
254 | 259 | ||
255 | phys += pmb_sizes[i].size; | 260 | phys += pmb_sizes[i].size; |
@@ -264,12 +269,25 @@ again: | |||
264 | pmbp->link = pmbe; | 269 | pmbp->link = pmbe; |
265 | 270 | ||
266 | pmbp = pmbe; | 271 | pmbp = pmbe; |
272 | |||
273 | /* | ||
274 | * Instead of trying smaller sizes on every iteration | ||
275 | * (even if we succeed in allocating space), try using | ||
276 | * pmb_sizes[i].size again. | ||
277 | */ | ||
278 | i--; | ||
267 | } | 279 | } |
268 | 280 | ||
269 | if (size >= 0x1000000) | 281 | if (size >= 0x1000000) |
270 | goto again; | 282 | goto again; |
271 | 283 | ||
272 | return wanted - size; | 284 | return wanted - size; |
285 | |||
286 | out: | ||
287 | if (pmbp) | ||
288 | __pmb_unmap(pmbp); | ||
289 | |||
290 | return err; | ||
273 | } | 291 | } |
274 | 292 | ||
275 | void pmb_unmap(unsigned long addr) | 293 | void pmb_unmap(unsigned long addr) |
@@ -283,12 +301,19 @@ void pmb_unmap(unsigned long addr) | |||
283 | if (unlikely(!pmbe)) | 301 | if (unlikely(!pmbe)) |
284 | return; | 302 | return; |
285 | 303 | ||
304 | __pmb_unmap(pmbe); | ||
305 | } | ||
306 | |||
307 | static void __pmb_unmap(struct pmb_entry *pmbe) | ||
308 | { | ||
286 | WARN_ON(!test_bit(pmbe->entry, &pmb_map)); | 309 | WARN_ON(!test_bit(pmbe->entry, &pmb_map)); |
287 | 310 | ||
288 | do { | 311 | do { |
289 | struct pmb_entry *pmblink = pmbe; | 312 | struct pmb_entry *pmblink = pmbe; |
290 | 313 | ||
291 | clear_pmb_entry(pmbe); | 314 | if (pmbe->entry != PMB_NO_ENTRY) |
315 | clear_pmb_entry(pmbe); | ||
316 | |||
292 | pmbe = pmblink->link; | 317 | pmbe = pmblink->link; |
293 | 318 | ||
294 | pmb_free(pmblink); | 319 | pmb_free(pmblink); |
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index ac45aab741a5..05ef5380a687 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -26,6 +26,7 @@ config SPARC | |||
26 | select RTC_CLASS | 26 | select RTC_CLASS |
27 | select RTC_DRV_M48T59 | 27 | select RTC_DRV_M48T59 |
28 | select HAVE_PERF_EVENTS | 28 | select HAVE_PERF_EVENTS |
29 | select PERF_USE_VMALLOC | ||
29 | select HAVE_DMA_ATTRS | 30 | select HAVE_DMA_ATTRS |
30 | select HAVE_DMA_API_DEBUG | 31 | select HAVE_DMA_API_DEBUG |
31 | 32 | ||
@@ -48,6 +49,7 @@ config SPARC64 | |||
48 | select RTC_DRV_SUN4V | 49 | select RTC_DRV_SUN4V |
49 | select RTC_DRV_STARFIRE | 50 | select RTC_DRV_STARFIRE |
50 | select HAVE_PERF_EVENTS | 51 | select HAVE_PERF_EVENTS |
52 | select PERF_USE_VMALLOC | ||
51 | 53 | ||
52 | config ARCH_DEFCONFIG | 54 | config ARCH_DEFCONFIG |
53 | string | 55 | string |
diff --git a/arch/sparc/include/asm/hardirq_32.h b/arch/sparc/include/asm/hardirq_32.h index 4f63ed8df551..162007643cdc 100644 --- a/arch/sparc/include/asm/hardirq_32.h +++ b/arch/sparc/include/asm/hardirq_32.h | |||
@@ -7,17 +7,7 @@ | |||
7 | #ifndef __SPARC_HARDIRQ_H | 7 | #ifndef __SPARC_HARDIRQ_H |
8 | #define __SPARC_HARDIRQ_H | 8 | #define __SPARC_HARDIRQ_H |
9 | 9 | ||
10 | #include <linux/threads.h> | ||
11 | #include <linux/spinlock.h> | ||
12 | #include <linux/cache.h> | ||
13 | |||
14 | /* entry.S is sensitive to the offsets of these fields */ /* XXX P3 Is it? */ | ||
15 | typedef struct { | ||
16 | unsigned int __softirq_pending; | ||
17 | } ____cacheline_aligned irq_cpustat_t; | ||
18 | |||
19 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | ||
20 | |||
21 | #define HARDIRQ_BITS 8 | 10 | #define HARDIRQ_BITS 8 |
11 | #include <asm-generic/hardirq.h> | ||
22 | 12 | ||
23 | #endif /* __SPARC_HARDIRQ_H */ | 13 | #endif /* __SPARC_HARDIRQ_H */ |
diff --git a/arch/sparc/include/asm/irq_32.h b/arch/sparc/include/asm/irq_32.h index ea43057d4763..cbf4801deaaf 100644 --- a/arch/sparc/include/asm/irq_32.h +++ b/arch/sparc/include/asm/irq_32.h | |||
@@ -6,10 +6,10 @@ | |||
6 | #ifndef _SPARC_IRQ_H | 6 | #ifndef _SPARC_IRQ_H |
7 | #define _SPARC_IRQ_H | 7 | #define _SPARC_IRQ_H |
8 | 8 | ||
9 | #include <linux/interrupt.h> | ||
10 | |||
11 | #define NR_IRQS 16 | 9 | #define NR_IRQS 16 |
12 | 10 | ||
11 | #include <linux/interrupt.h> | ||
12 | |||
13 | #define irq_canonicalize(irq) (irq) | 13 | #define irq_canonicalize(irq) (irq) |
14 | 14 | ||
15 | extern void __init init_IRQ(void); | 15 | extern void __init init_IRQ(void); |
diff --git a/arch/sparc/include/asm/pgtable_64.h b/arch/sparc/include/asm/pgtable_64.h index 0ff92fa22064..f3cb790fa2ae 100644 --- a/arch/sparc/include/asm/pgtable_64.h +++ b/arch/sparc/include/asm/pgtable_64.h | |||
@@ -41,8 +41,8 @@ | |||
41 | #define LOW_OBP_ADDRESS _AC(0x00000000f0000000,UL) | 41 | #define LOW_OBP_ADDRESS _AC(0x00000000f0000000,UL) |
42 | #define HI_OBP_ADDRESS _AC(0x0000000100000000,UL) | 42 | #define HI_OBP_ADDRESS _AC(0x0000000100000000,UL) |
43 | #define VMALLOC_START _AC(0x0000000100000000,UL) | 43 | #define VMALLOC_START _AC(0x0000000100000000,UL) |
44 | #define VMALLOC_END _AC(0x0000000200000000,UL) | 44 | #define VMALLOC_END _AC(0x0000010000000000,UL) |
45 | #define VMEMMAP_BASE _AC(0x0000000200000000,UL) | 45 | #define VMEMMAP_BASE _AC(0x0000010000000000,UL) |
46 | 46 | ||
47 | #define vmemmap ((struct page *)VMEMMAP_BASE) | 47 | #define vmemmap ((struct page *)VMEMMAP_BASE) |
48 | 48 | ||
diff --git a/arch/sparc/kernel/ktlb.S b/arch/sparc/kernel/ktlb.S index 3ea6e8cde8c5..1d361477d7d6 100644 --- a/arch/sparc/kernel/ktlb.S +++ b/arch/sparc/kernel/ktlb.S | |||
@@ -280,8 +280,8 @@ kvmap_dtlb_nonlinear: | |||
280 | 280 | ||
281 | #ifdef CONFIG_SPARSEMEM_VMEMMAP | 281 | #ifdef CONFIG_SPARSEMEM_VMEMMAP |
282 | /* Do not use the TSB for vmemmap. */ | 282 | /* Do not use the TSB for vmemmap. */ |
283 | mov (VMEMMAP_BASE >> 24), %g5 | 283 | mov (VMEMMAP_BASE >> 40), %g5 |
284 | sllx %g5, 24, %g5 | 284 | sllx %g5, 40, %g5 |
285 | cmp %g4,%g5 | 285 | cmp %g4,%g5 |
286 | bgeu,pn %xcc, kvmap_vmemmap | 286 | bgeu,pn %xcc, kvmap_vmemmap |
287 | nop | 287 | nop |
@@ -293,8 +293,8 @@ kvmap_dtlb_tsbmiss: | |||
293 | sethi %hi(MODULES_VADDR), %g5 | 293 | sethi %hi(MODULES_VADDR), %g5 |
294 | cmp %g4, %g5 | 294 | cmp %g4, %g5 |
295 | blu,pn %xcc, kvmap_dtlb_longpath | 295 | blu,pn %xcc, kvmap_dtlb_longpath |
296 | mov (VMALLOC_END >> 24), %g5 | 296 | mov (VMALLOC_END >> 40), %g5 |
297 | sllx %g5, 24, %g5 | 297 | sllx %g5, 40, %g5 |
298 | cmp %g4, %g5 | 298 | cmp %g4, %g5 |
299 | bgeu,pn %xcc, kvmap_dtlb_longpath | 299 | bgeu,pn %xcc, kvmap_dtlb_longpath |
300 | nop | 300 | nop |
diff --git a/arch/sparc/kernel/ldc.c b/arch/sparc/kernel/ldc.c index adf5f273868a..cb3c72c45aab 100644 --- a/arch/sparc/kernel/ldc.c +++ b/arch/sparc/kernel/ldc.c | |||
@@ -1242,13 +1242,13 @@ int ldc_bind(struct ldc_channel *lp, const char *name) | |||
1242 | snprintf(lp->tx_irq_name, LDC_IRQ_NAME_MAX, "%s TX", name); | 1242 | snprintf(lp->tx_irq_name, LDC_IRQ_NAME_MAX, "%s TX", name); |
1243 | 1243 | ||
1244 | err = request_irq(lp->cfg.rx_irq, ldc_rx, | 1244 | err = request_irq(lp->cfg.rx_irq, ldc_rx, |
1245 | IRQF_SAMPLE_RANDOM | IRQF_SHARED, | 1245 | IRQF_SAMPLE_RANDOM | IRQF_DISABLED | IRQF_SHARED, |
1246 | lp->rx_irq_name, lp); | 1246 | lp->rx_irq_name, lp); |
1247 | if (err) | 1247 | if (err) |
1248 | return err; | 1248 | return err; |
1249 | 1249 | ||
1250 | err = request_irq(lp->cfg.tx_irq, ldc_tx, | 1250 | err = request_irq(lp->cfg.tx_irq, ldc_tx, |
1251 | IRQF_SAMPLE_RANDOM | IRQF_SHARED, | 1251 | IRQF_SAMPLE_RANDOM | IRQF_DISABLED | IRQF_SHARED, |
1252 | lp->tx_irq_name, lp); | 1252 | lp->tx_irq_name, lp); |
1253 | if (err) { | 1253 | if (err) { |
1254 | free_irq(lp->cfg.rx_irq, lp); | 1254 | free_irq(lp->cfg.rx_irq, lp); |
diff --git a/arch/sparc/kernel/perf_event.c b/arch/sparc/kernel/perf_event.c index 2d6a1b10c81d..fa5936e1c3b9 100644 --- a/arch/sparc/kernel/perf_event.c +++ b/arch/sparc/kernel/perf_event.c | |||
@@ -56,7 +56,8 @@ struct cpu_hw_events { | |||
56 | struct perf_event *events[MAX_HWEVENTS]; | 56 | struct perf_event *events[MAX_HWEVENTS]; |
57 | unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; | 57 | unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; |
58 | unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; | 58 | unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; |
59 | int enabled; | 59 | u64 pcr; |
60 | int enabled; | ||
60 | }; | 61 | }; |
61 | DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { .enabled = 1, }; | 62 | DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { .enabled = 1, }; |
62 | 63 | ||
@@ -68,8 +69,30 @@ struct perf_event_map { | |||
68 | #define PIC_LOWER 0x02 | 69 | #define PIC_LOWER 0x02 |
69 | }; | 70 | }; |
70 | 71 | ||
72 | static unsigned long perf_event_encode(const struct perf_event_map *pmap) | ||
73 | { | ||
74 | return ((unsigned long) pmap->encoding << 16) | pmap->pic_mask; | ||
75 | } | ||
76 | |||
77 | static void perf_event_decode(unsigned long val, u16 *enc, u8 *msk) | ||
78 | { | ||
79 | *msk = val & 0xff; | ||
80 | *enc = val >> 16; | ||
81 | } | ||
82 | |||
83 | #define C(x) PERF_COUNT_HW_CACHE_##x | ||
84 | |||
85 | #define CACHE_OP_UNSUPPORTED 0xfffe | ||
86 | #define CACHE_OP_NONSENSE 0xffff | ||
87 | |||
88 | typedef struct perf_event_map cache_map_t | ||
89 | [PERF_COUNT_HW_CACHE_MAX] | ||
90 | [PERF_COUNT_HW_CACHE_OP_MAX] | ||
91 | [PERF_COUNT_HW_CACHE_RESULT_MAX]; | ||
92 | |||
71 | struct sparc_pmu { | 93 | struct sparc_pmu { |
72 | const struct perf_event_map *(*event_map)(int); | 94 | const struct perf_event_map *(*event_map)(int); |
95 | const cache_map_t *cache_map; | ||
73 | int max_events; | 96 | int max_events; |
74 | int upper_shift; | 97 | int upper_shift; |
75 | int lower_shift; | 98 | int lower_shift; |
@@ -80,21 +103,109 @@ struct sparc_pmu { | |||
80 | int lower_nop; | 103 | int lower_nop; |
81 | }; | 104 | }; |
82 | 105 | ||
83 | static const struct perf_event_map ultra3i_perfmon_event_map[] = { | 106 | static const struct perf_event_map ultra3_perfmon_event_map[] = { |
84 | [PERF_COUNT_HW_CPU_CYCLES] = { 0x0000, PIC_UPPER | PIC_LOWER }, | 107 | [PERF_COUNT_HW_CPU_CYCLES] = { 0x0000, PIC_UPPER | PIC_LOWER }, |
85 | [PERF_COUNT_HW_INSTRUCTIONS] = { 0x0001, PIC_UPPER | PIC_LOWER }, | 108 | [PERF_COUNT_HW_INSTRUCTIONS] = { 0x0001, PIC_UPPER | PIC_LOWER }, |
86 | [PERF_COUNT_HW_CACHE_REFERENCES] = { 0x0009, PIC_LOWER }, | 109 | [PERF_COUNT_HW_CACHE_REFERENCES] = { 0x0009, PIC_LOWER }, |
87 | [PERF_COUNT_HW_CACHE_MISSES] = { 0x0009, PIC_UPPER }, | 110 | [PERF_COUNT_HW_CACHE_MISSES] = { 0x0009, PIC_UPPER }, |
88 | }; | 111 | }; |
89 | 112 | ||
90 | static const struct perf_event_map *ultra3i_event_map(int event_id) | 113 | static const struct perf_event_map *ultra3_event_map(int event_id) |
91 | { | 114 | { |
92 | return &ultra3i_perfmon_event_map[event_id]; | 115 | return &ultra3_perfmon_event_map[event_id]; |
93 | } | 116 | } |
94 | 117 | ||
95 | static const struct sparc_pmu ultra3i_pmu = { | 118 | static const cache_map_t ultra3_cache_map = { |
96 | .event_map = ultra3i_event_map, | 119 | [C(L1D)] = { |
97 | .max_events = ARRAY_SIZE(ultra3i_perfmon_event_map), | 120 | [C(OP_READ)] = { |
121 | [C(RESULT_ACCESS)] = { 0x09, PIC_LOWER, }, | ||
122 | [C(RESULT_MISS)] = { 0x09, PIC_UPPER, }, | ||
123 | }, | ||
124 | [C(OP_WRITE)] = { | ||
125 | [C(RESULT_ACCESS)] = { 0x0a, PIC_LOWER }, | ||
126 | [C(RESULT_MISS)] = { 0x0a, PIC_UPPER }, | ||
127 | }, | ||
128 | [C(OP_PREFETCH)] = { | ||
129 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
130 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
131 | }, | ||
132 | }, | ||
133 | [C(L1I)] = { | ||
134 | [C(OP_READ)] = { | ||
135 | [C(RESULT_ACCESS)] = { 0x09, PIC_LOWER, }, | ||
136 | [C(RESULT_MISS)] = { 0x09, PIC_UPPER, }, | ||
137 | }, | ||
138 | [ C(OP_WRITE) ] = { | ||
139 | [ C(RESULT_ACCESS) ] = { CACHE_OP_NONSENSE }, | ||
140 | [ C(RESULT_MISS) ] = { CACHE_OP_NONSENSE }, | ||
141 | }, | ||
142 | [ C(OP_PREFETCH) ] = { | ||
143 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
144 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
145 | }, | ||
146 | }, | ||
147 | [C(LL)] = { | ||
148 | [C(OP_READ)] = { | ||
149 | [C(RESULT_ACCESS)] = { 0x0c, PIC_LOWER, }, | ||
150 | [C(RESULT_MISS)] = { 0x0c, PIC_UPPER, }, | ||
151 | }, | ||
152 | [C(OP_WRITE)] = { | ||
153 | [C(RESULT_ACCESS)] = { 0x0c, PIC_LOWER }, | ||
154 | [C(RESULT_MISS)] = { 0x0c, PIC_UPPER }, | ||
155 | }, | ||
156 | [C(OP_PREFETCH)] = { | ||
157 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
158 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
159 | }, | ||
160 | }, | ||
161 | [C(DTLB)] = { | ||
162 | [C(OP_READ)] = { | ||
163 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
164 | [C(RESULT_MISS)] = { 0x12, PIC_UPPER, }, | ||
165 | }, | ||
166 | [ C(OP_WRITE) ] = { | ||
167 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
168 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
169 | }, | ||
170 | [ C(OP_PREFETCH) ] = { | ||
171 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
172 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
173 | }, | ||
174 | }, | ||
175 | [C(ITLB)] = { | ||
176 | [C(OP_READ)] = { | ||
177 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
178 | [C(RESULT_MISS)] = { 0x11, PIC_UPPER, }, | ||
179 | }, | ||
180 | [ C(OP_WRITE) ] = { | ||
181 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
182 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
183 | }, | ||
184 | [ C(OP_PREFETCH) ] = { | ||
185 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
186 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
187 | }, | ||
188 | }, | ||
189 | [C(BPU)] = { | ||
190 | [C(OP_READ)] = { | ||
191 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
192 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
193 | }, | ||
194 | [ C(OP_WRITE) ] = { | ||
195 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
196 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
197 | }, | ||
198 | [ C(OP_PREFETCH) ] = { | ||
199 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
200 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
201 | }, | ||
202 | }, | ||
203 | }; | ||
204 | |||
205 | static const struct sparc_pmu ultra3_pmu = { | ||
206 | .event_map = ultra3_event_map, | ||
207 | .cache_map = &ultra3_cache_map, | ||
208 | .max_events = ARRAY_SIZE(ultra3_perfmon_event_map), | ||
98 | .upper_shift = 11, | 209 | .upper_shift = 11, |
99 | .lower_shift = 4, | 210 | .lower_shift = 4, |
100 | .event_mask = 0x3f, | 211 | .event_mask = 0x3f, |
@@ -102,6 +213,121 @@ static const struct sparc_pmu ultra3i_pmu = { | |||
102 | .lower_nop = 0x14, | 213 | .lower_nop = 0x14, |
103 | }; | 214 | }; |
104 | 215 | ||
216 | /* Niagara1 is very limited. The upper PIC is hard-locked to count | ||
217 | * only instructions, so it is free running which creates all kinds of | ||
218 | * problems. Some hardware designs make one wonder if the creator | ||
219 | * even looked at how this stuff gets used by software. | ||
220 | */ | ||
221 | static const struct perf_event_map niagara1_perfmon_event_map[] = { | ||
222 | [PERF_COUNT_HW_CPU_CYCLES] = { 0x00, PIC_UPPER }, | ||
223 | [PERF_COUNT_HW_INSTRUCTIONS] = { 0x00, PIC_UPPER }, | ||
224 | [PERF_COUNT_HW_CACHE_REFERENCES] = { 0, PIC_NONE }, | ||
225 | [PERF_COUNT_HW_CACHE_MISSES] = { 0x03, PIC_LOWER }, | ||
226 | }; | ||
227 | |||
228 | static const struct perf_event_map *niagara1_event_map(int event_id) | ||
229 | { | ||
230 | return &niagara1_perfmon_event_map[event_id]; | ||
231 | } | ||
232 | |||
233 | static const cache_map_t niagara1_cache_map = { | ||
234 | [C(L1D)] = { | ||
235 | [C(OP_READ)] = { | ||
236 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
237 | [C(RESULT_MISS)] = { 0x03, PIC_LOWER, }, | ||
238 | }, | ||
239 | [C(OP_WRITE)] = { | ||
240 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
241 | [C(RESULT_MISS)] = { 0x03, PIC_LOWER, }, | ||
242 | }, | ||
243 | [C(OP_PREFETCH)] = { | ||
244 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
245 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
246 | }, | ||
247 | }, | ||
248 | [C(L1I)] = { | ||
249 | [C(OP_READ)] = { | ||
250 | [C(RESULT_ACCESS)] = { 0x00, PIC_UPPER }, | ||
251 | [C(RESULT_MISS)] = { 0x02, PIC_LOWER, }, | ||
252 | }, | ||
253 | [ C(OP_WRITE) ] = { | ||
254 | [ C(RESULT_ACCESS) ] = { CACHE_OP_NONSENSE }, | ||
255 | [ C(RESULT_MISS) ] = { CACHE_OP_NONSENSE }, | ||
256 | }, | ||
257 | [ C(OP_PREFETCH) ] = { | ||
258 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
259 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
260 | }, | ||
261 | }, | ||
262 | [C(LL)] = { | ||
263 | [C(OP_READ)] = { | ||
264 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
265 | [C(RESULT_MISS)] = { 0x07, PIC_LOWER, }, | ||
266 | }, | ||
267 | [C(OP_WRITE)] = { | ||
268 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
269 | [C(RESULT_MISS)] = { 0x07, PIC_LOWER, }, | ||
270 | }, | ||
271 | [C(OP_PREFETCH)] = { | ||
272 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
273 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
274 | }, | ||
275 | }, | ||
276 | [C(DTLB)] = { | ||
277 | [C(OP_READ)] = { | ||
278 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
279 | [C(RESULT_MISS)] = { 0x05, PIC_LOWER, }, | ||
280 | }, | ||
281 | [ C(OP_WRITE) ] = { | ||
282 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
283 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
284 | }, | ||
285 | [ C(OP_PREFETCH) ] = { | ||
286 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
287 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
288 | }, | ||
289 | }, | ||
290 | [C(ITLB)] = { | ||
291 | [C(OP_READ)] = { | ||
292 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
293 | [C(RESULT_MISS)] = { 0x04, PIC_LOWER, }, | ||
294 | }, | ||
295 | [ C(OP_WRITE) ] = { | ||
296 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
297 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
298 | }, | ||
299 | [ C(OP_PREFETCH) ] = { | ||
300 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
301 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
302 | }, | ||
303 | }, | ||
304 | [C(BPU)] = { | ||
305 | [C(OP_READ)] = { | ||
306 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
307 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
308 | }, | ||
309 | [ C(OP_WRITE) ] = { | ||
310 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
311 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
312 | }, | ||
313 | [ C(OP_PREFETCH) ] = { | ||
314 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
315 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
316 | }, | ||
317 | }, | ||
318 | }; | ||
319 | |||
320 | static const struct sparc_pmu niagara1_pmu = { | ||
321 | .event_map = niagara1_event_map, | ||
322 | .cache_map = &niagara1_cache_map, | ||
323 | .max_events = ARRAY_SIZE(niagara1_perfmon_event_map), | ||
324 | .upper_shift = 0, | ||
325 | .lower_shift = 4, | ||
326 | .event_mask = 0x7, | ||
327 | .upper_nop = 0x0, | ||
328 | .lower_nop = 0x0, | ||
329 | }; | ||
330 | |||
105 | static const struct perf_event_map niagara2_perfmon_event_map[] = { | 331 | static const struct perf_event_map niagara2_perfmon_event_map[] = { |
106 | [PERF_COUNT_HW_CPU_CYCLES] = { 0x02ff, PIC_UPPER | PIC_LOWER }, | 332 | [PERF_COUNT_HW_CPU_CYCLES] = { 0x02ff, PIC_UPPER | PIC_LOWER }, |
107 | [PERF_COUNT_HW_INSTRUCTIONS] = { 0x02ff, PIC_UPPER | PIC_LOWER }, | 333 | [PERF_COUNT_HW_INSTRUCTIONS] = { 0x02ff, PIC_UPPER | PIC_LOWER }, |
@@ -116,14 +342,102 @@ static const struct perf_event_map *niagara2_event_map(int event_id) | |||
116 | return &niagara2_perfmon_event_map[event_id]; | 342 | return &niagara2_perfmon_event_map[event_id]; |
117 | } | 343 | } |
118 | 344 | ||
345 | static const cache_map_t niagara2_cache_map = { | ||
346 | [C(L1D)] = { | ||
347 | [C(OP_READ)] = { | ||
348 | [C(RESULT_ACCESS)] = { 0x0208, PIC_UPPER | PIC_LOWER, }, | ||
349 | [C(RESULT_MISS)] = { 0x0302, PIC_UPPER | PIC_LOWER, }, | ||
350 | }, | ||
351 | [C(OP_WRITE)] = { | ||
352 | [C(RESULT_ACCESS)] = { 0x0210, PIC_UPPER | PIC_LOWER, }, | ||
353 | [C(RESULT_MISS)] = { 0x0302, PIC_UPPER | PIC_LOWER, }, | ||
354 | }, | ||
355 | [C(OP_PREFETCH)] = { | ||
356 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
357 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
358 | }, | ||
359 | }, | ||
360 | [C(L1I)] = { | ||
361 | [C(OP_READ)] = { | ||
362 | [C(RESULT_ACCESS)] = { 0x02ff, PIC_UPPER | PIC_LOWER, }, | ||
363 | [C(RESULT_MISS)] = { 0x0301, PIC_UPPER | PIC_LOWER, }, | ||
364 | }, | ||
365 | [ C(OP_WRITE) ] = { | ||
366 | [ C(RESULT_ACCESS) ] = { CACHE_OP_NONSENSE }, | ||
367 | [ C(RESULT_MISS) ] = { CACHE_OP_NONSENSE }, | ||
368 | }, | ||
369 | [ C(OP_PREFETCH) ] = { | ||
370 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
371 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
372 | }, | ||
373 | }, | ||
374 | [C(LL)] = { | ||
375 | [C(OP_READ)] = { | ||
376 | [C(RESULT_ACCESS)] = { 0x0208, PIC_UPPER | PIC_LOWER, }, | ||
377 | [C(RESULT_MISS)] = { 0x0330, PIC_UPPER | PIC_LOWER, }, | ||
378 | }, | ||
379 | [C(OP_WRITE)] = { | ||
380 | [C(RESULT_ACCESS)] = { 0x0210, PIC_UPPER | PIC_LOWER, }, | ||
381 | [C(RESULT_MISS)] = { 0x0320, PIC_UPPER | PIC_LOWER, }, | ||
382 | }, | ||
383 | [C(OP_PREFETCH)] = { | ||
384 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
385 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
386 | }, | ||
387 | }, | ||
388 | [C(DTLB)] = { | ||
389 | [C(OP_READ)] = { | ||
390 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
391 | [C(RESULT_MISS)] = { 0x0b08, PIC_UPPER | PIC_LOWER, }, | ||
392 | }, | ||
393 | [ C(OP_WRITE) ] = { | ||
394 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
395 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
396 | }, | ||
397 | [ C(OP_PREFETCH) ] = { | ||
398 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
399 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
400 | }, | ||
401 | }, | ||
402 | [C(ITLB)] = { | ||
403 | [C(OP_READ)] = { | ||
404 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
405 | [C(RESULT_MISS)] = { 0xb04, PIC_UPPER | PIC_LOWER, }, | ||
406 | }, | ||
407 | [ C(OP_WRITE) ] = { | ||
408 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
409 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
410 | }, | ||
411 | [ C(OP_PREFETCH) ] = { | ||
412 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
413 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
414 | }, | ||
415 | }, | ||
416 | [C(BPU)] = { | ||
417 | [C(OP_READ)] = { | ||
418 | [C(RESULT_ACCESS)] = { CACHE_OP_UNSUPPORTED }, | ||
419 | [C(RESULT_MISS)] = { CACHE_OP_UNSUPPORTED }, | ||
420 | }, | ||
421 | [ C(OP_WRITE) ] = { | ||
422 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
423 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
424 | }, | ||
425 | [ C(OP_PREFETCH) ] = { | ||
426 | [ C(RESULT_ACCESS) ] = { CACHE_OP_UNSUPPORTED }, | ||
427 | [ C(RESULT_MISS) ] = { CACHE_OP_UNSUPPORTED }, | ||
428 | }, | ||
429 | }, | ||
430 | }; | ||
431 | |||
119 | static const struct sparc_pmu niagara2_pmu = { | 432 | static const struct sparc_pmu niagara2_pmu = { |
120 | .event_map = niagara2_event_map, | 433 | .event_map = niagara2_event_map, |
434 | .cache_map = &niagara2_cache_map, | ||
121 | .max_events = ARRAY_SIZE(niagara2_perfmon_event_map), | 435 | .max_events = ARRAY_SIZE(niagara2_perfmon_event_map), |
122 | .upper_shift = 19, | 436 | .upper_shift = 19, |
123 | .lower_shift = 6, | 437 | .lower_shift = 6, |
124 | .event_mask = 0xfff, | 438 | .event_mask = 0xfff, |
125 | .hv_bit = 0x8, | 439 | .hv_bit = 0x8, |
126 | .irq_bit = 0x03, | 440 | .irq_bit = 0x30, |
127 | .upper_nop = 0x220, | 441 | .upper_nop = 0x220, |
128 | .lower_nop = 0x220, | 442 | .lower_nop = 0x220, |
129 | }; | 443 | }; |
@@ -151,23 +465,30 @@ static u64 nop_for_index(int idx) | |||
151 | sparc_pmu->lower_nop, idx); | 465 | sparc_pmu->lower_nop, idx); |
152 | } | 466 | } |
153 | 467 | ||
154 | static inline void sparc_pmu_enable_event(struct hw_perf_event *hwc, | 468 | static inline void sparc_pmu_enable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) |
155 | int idx) | ||
156 | { | 469 | { |
157 | u64 val, mask = mask_for_index(idx); | 470 | u64 val, mask = mask_for_index(idx); |
158 | 471 | ||
159 | val = pcr_ops->read(); | 472 | val = cpuc->pcr; |
160 | pcr_ops->write((val & ~mask) | hwc->config); | 473 | val &= ~mask; |
474 | val |= hwc->config; | ||
475 | cpuc->pcr = val; | ||
476 | |||
477 | pcr_ops->write(cpuc->pcr); | ||
161 | } | 478 | } |
162 | 479 | ||
163 | static inline void sparc_pmu_disable_event(struct hw_perf_event *hwc, | 480 | static inline void sparc_pmu_disable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) |
164 | int idx) | ||
165 | { | 481 | { |
166 | u64 mask = mask_for_index(idx); | 482 | u64 mask = mask_for_index(idx); |
167 | u64 nop = nop_for_index(idx); | 483 | u64 nop = nop_for_index(idx); |
168 | u64 val = pcr_ops->read(); | 484 | u64 val; |
169 | 485 | ||
170 | pcr_ops->write((val & ~mask) | nop); | 486 | val = cpuc->pcr; |
487 | val &= ~mask; | ||
488 | val |= nop; | ||
489 | cpuc->pcr = val; | ||
490 | |||
491 | pcr_ops->write(cpuc->pcr); | ||
171 | } | 492 | } |
172 | 493 | ||
173 | void hw_perf_enable(void) | 494 | void hw_perf_enable(void) |
@@ -182,7 +503,7 @@ void hw_perf_enable(void) | |||
182 | cpuc->enabled = 1; | 503 | cpuc->enabled = 1; |
183 | barrier(); | 504 | barrier(); |
184 | 505 | ||
185 | val = pcr_ops->read(); | 506 | val = cpuc->pcr; |
186 | 507 | ||
187 | for (i = 0; i < MAX_HWEVENTS; i++) { | 508 | for (i = 0; i < MAX_HWEVENTS; i++) { |
188 | struct perf_event *cp = cpuc->events[i]; | 509 | struct perf_event *cp = cpuc->events[i]; |
@@ -194,7 +515,9 @@ void hw_perf_enable(void) | |||
194 | val |= hwc->config_base; | 515 | val |= hwc->config_base; |
195 | } | 516 | } |
196 | 517 | ||
197 | pcr_ops->write(val); | 518 | cpuc->pcr = val; |
519 | |||
520 | pcr_ops->write(cpuc->pcr); | ||
198 | } | 521 | } |
199 | 522 | ||
200 | void hw_perf_disable(void) | 523 | void hw_perf_disable(void) |
@@ -207,10 +530,12 @@ void hw_perf_disable(void) | |||
207 | 530 | ||
208 | cpuc->enabled = 0; | 531 | cpuc->enabled = 0; |
209 | 532 | ||
210 | val = pcr_ops->read(); | 533 | val = cpuc->pcr; |
211 | val &= ~(PCR_UTRACE | PCR_STRACE | | 534 | val &= ~(PCR_UTRACE | PCR_STRACE | |
212 | sparc_pmu->hv_bit | sparc_pmu->irq_bit); | 535 | sparc_pmu->hv_bit | sparc_pmu->irq_bit); |
213 | pcr_ops->write(val); | 536 | cpuc->pcr = val; |
537 | |||
538 | pcr_ops->write(cpuc->pcr); | ||
214 | } | 539 | } |
215 | 540 | ||
216 | static u32 read_pmc(int idx) | 541 | static u32 read_pmc(int idx) |
@@ -242,7 +567,7 @@ static void write_pmc(int idx, u64 val) | |||
242 | } | 567 | } |
243 | 568 | ||
244 | static int sparc_perf_event_set_period(struct perf_event *event, | 569 | static int sparc_perf_event_set_period(struct perf_event *event, |
245 | struct hw_perf_event *hwc, int idx) | 570 | struct hw_perf_event *hwc, int idx) |
246 | { | 571 | { |
247 | s64 left = atomic64_read(&hwc->period_left); | 572 | s64 left = atomic64_read(&hwc->period_left); |
248 | s64 period = hwc->sample_period; | 573 | s64 period = hwc->sample_period; |
@@ -282,19 +607,19 @@ static int sparc_pmu_enable(struct perf_event *event) | |||
282 | if (test_and_set_bit(idx, cpuc->used_mask)) | 607 | if (test_and_set_bit(idx, cpuc->used_mask)) |
283 | return -EAGAIN; | 608 | return -EAGAIN; |
284 | 609 | ||
285 | sparc_pmu_disable_event(hwc, idx); | 610 | sparc_pmu_disable_event(cpuc, hwc, idx); |
286 | 611 | ||
287 | cpuc->events[idx] = event; | 612 | cpuc->events[idx] = event; |
288 | set_bit(idx, cpuc->active_mask); | 613 | set_bit(idx, cpuc->active_mask); |
289 | 614 | ||
290 | sparc_perf_event_set_period(event, hwc, idx); | 615 | sparc_perf_event_set_period(event, hwc, idx); |
291 | sparc_pmu_enable_event(hwc, idx); | 616 | sparc_pmu_enable_event(cpuc, hwc, idx); |
292 | perf_event_update_userpage(event); | 617 | perf_event_update_userpage(event); |
293 | return 0; | 618 | return 0; |
294 | } | 619 | } |
295 | 620 | ||
296 | static u64 sparc_perf_event_update(struct perf_event *event, | 621 | static u64 sparc_perf_event_update(struct perf_event *event, |
297 | struct hw_perf_event *hwc, int idx) | 622 | struct hw_perf_event *hwc, int idx) |
298 | { | 623 | { |
299 | int shift = 64 - 32; | 624 | int shift = 64 - 32; |
300 | u64 prev_raw_count, new_raw_count; | 625 | u64 prev_raw_count, new_raw_count; |
@@ -324,7 +649,7 @@ static void sparc_pmu_disable(struct perf_event *event) | |||
324 | int idx = hwc->idx; | 649 | int idx = hwc->idx; |
325 | 650 | ||
326 | clear_bit(idx, cpuc->active_mask); | 651 | clear_bit(idx, cpuc->active_mask); |
327 | sparc_pmu_disable_event(hwc, idx); | 652 | sparc_pmu_disable_event(cpuc, hwc, idx); |
328 | 653 | ||
329 | barrier(); | 654 | barrier(); |
330 | 655 | ||
@@ -338,18 +663,29 @@ static void sparc_pmu_disable(struct perf_event *event) | |||
338 | static void sparc_pmu_read(struct perf_event *event) | 663 | static void sparc_pmu_read(struct perf_event *event) |
339 | { | 664 | { |
340 | struct hw_perf_event *hwc = &event->hw; | 665 | struct hw_perf_event *hwc = &event->hw; |
666 | |||
341 | sparc_perf_event_update(event, hwc, hwc->idx); | 667 | sparc_perf_event_update(event, hwc, hwc->idx); |
342 | } | 668 | } |
343 | 669 | ||
344 | static void sparc_pmu_unthrottle(struct perf_event *event) | 670 | static void sparc_pmu_unthrottle(struct perf_event *event) |
345 | { | 671 | { |
672 | struct cpu_hw_events *cpuc = &__get_cpu_var(cpu_hw_events); | ||
346 | struct hw_perf_event *hwc = &event->hw; | 673 | struct hw_perf_event *hwc = &event->hw; |
347 | sparc_pmu_enable_event(hwc, hwc->idx); | 674 | |
675 | sparc_pmu_enable_event(cpuc, hwc, hwc->idx); | ||
348 | } | 676 | } |
349 | 677 | ||
350 | static atomic_t active_events = ATOMIC_INIT(0); | 678 | static atomic_t active_events = ATOMIC_INIT(0); |
351 | static DEFINE_MUTEX(pmc_grab_mutex); | 679 | static DEFINE_MUTEX(pmc_grab_mutex); |
352 | 680 | ||
681 | static void perf_stop_nmi_watchdog(void *unused) | ||
682 | { | ||
683 | struct cpu_hw_events *cpuc = &__get_cpu_var(cpu_hw_events); | ||
684 | |||
685 | stop_nmi_watchdog(NULL); | ||
686 | cpuc->pcr = pcr_ops->read(); | ||
687 | } | ||
688 | |||
353 | void perf_event_grab_pmc(void) | 689 | void perf_event_grab_pmc(void) |
354 | { | 690 | { |
355 | if (atomic_inc_not_zero(&active_events)) | 691 | if (atomic_inc_not_zero(&active_events)) |
@@ -358,7 +694,7 @@ void perf_event_grab_pmc(void) | |||
358 | mutex_lock(&pmc_grab_mutex); | 694 | mutex_lock(&pmc_grab_mutex); |
359 | if (atomic_read(&active_events) == 0) { | 695 | if (atomic_read(&active_events) == 0) { |
360 | if (atomic_read(&nmi_active) > 0) { | 696 | if (atomic_read(&nmi_active) > 0) { |
361 | on_each_cpu(stop_nmi_watchdog, NULL, 1); | 697 | on_each_cpu(perf_stop_nmi_watchdog, NULL, 1); |
362 | BUG_ON(atomic_read(&nmi_active) != 0); | 698 | BUG_ON(atomic_read(&nmi_active) != 0); |
363 | } | 699 | } |
364 | atomic_inc(&active_events); | 700 | atomic_inc(&active_events); |
@@ -375,30 +711,160 @@ void perf_event_release_pmc(void) | |||
375 | } | 711 | } |
376 | } | 712 | } |
377 | 713 | ||
714 | static const struct perf_event_map *sparc_map_cache_event(u64 config) | ||
715 | { | ||
716 | unsigned int cache_type, cache_op, cache_result; | ||
717 | const struct perf_event_map *pmap; | ||
718 | |||
719 | if (!sparc_pmu->cache_map) | ||
720 | return ERR_PTR(-ENOENT); | ||
721 | |||
722 | cache_type = (config >> 0) & 0xff; | ||
723 | if (cache_type >= PERF_COUNT_HW_CACHE_MAX) | ||
724 | return ERR_PTR(-EINVAL); | ||
725 | |||
726 | cache_op = (config >> 8) & 0xff; | ||
727 | if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) | ||
728 | return ERR_PTR(-EINVAL); | ||
729 | |||
730 | cache_result = (config >> 16) & 0xff; | ||
731 | if (cache_result >= PERF_COUNT_HW_CACHE_RESULT_MAX) | ||
732 | return ERR_PTR(-EINVAL); | ||
733 | |||
734 | pmap = &((*sparc_pmu->cache_map)[cache_type][cache_op][cache_result]); | ||
735 | |||
736 | if (pmap->encoding == CACHE_OP_UNSUPPORTED) | ||
737 | return ERR_PTR(-ENOENT); | ||
738 | |||
739 | if (pmap->encoding == CACHE_OP_NONSENSE) | ||
740 | return ERR_PTR(-EINVAL); | ||
741 | |||
742 | return pmap; | ||
743 | } | ||
744 | |||
378 | static void hw_perf_event_destroy(struct perf_event *event) | 745 | static void hw_perf_event_destroy(struct perf_event *event) |
379 | { | 746 | { |
380 | perf_event_release_pmc(); | 747 | perf_event_release_pmc(); |
381 | } | 748 | } |
382 | 749 | ||
750 | /* Make sure all events can be scheduled into the hardware at | ||
751 | * the same time. This is simplified by the fact that we only | ||
752 | * need to support 2 simultaneous HW events. | ||
753 | */ | ||
754 | static int sparc_check_constraints(unsigned long *events, int n_ev) | ||
755 | { | ||
756 | if (n_ev <= perf_max_events) { | ||
757 | u8 msk1, msk2; | ||
758 | u16 dummy; | ||
759 | |||
760 | if (n_ev == 1) | ||
761 | return 0; | ||
762 | BUG_ON(n_ev != 2); | ||
763 | perf_event_decode(events[0], &dummy, &msk1); | ||
764 | perf_event_decode(events[1], &dummy, &msk2); | ||
765 | |||
766 | /* If both events can go on any counter, OK. */ | ||
767 | if (msk1 == (PIC_UPPER | PIC_LOWER) && | ||
768 | msk2 == (PIC_UPPER | PIC_LOWER)) | ||
769 | return 0; | ||
770 | |||
771 | /* If one event is limited to a specific counter, | ||
772 | * and the other can go on both, OK. | ||
773 | */ | ||
774 | if ((msk1 == PIC_UPPER || msk1 == PIC_LOWER) && | ||
775 | msk2 == (PIC_UPPER | PIC_LOWER)) | ||
776 | return 0; | ||
777 | if ((msk2 == PIC_UPPER || msk2 == PIC_LOWER) && | ||
778 | msk1 == (PIC_UPPER | PIC_LOWER)) | ||
779 | return 0; | ||
780 | |||
781 | /* If the events are fixed to different counters, OK. */ | ||
782 | if ((msk1 == PIC_UPPER && msk2 == PIC_LOWER) || | ||
783 | (msk1 == PIC_LOWER && msk2 == PIC_UPPER)) | ||
784 | return 0; | ||
785 | |||
786 | /* Otherwise, there is a conflict. */ | ||
787 | } | ||
788 | |||
789 | return -1; | ||
790 | } | ||
791 | |||
792 | static int check_excludes(struct perf_event **evts, int n_prev, int n_new) | ||
793 | { | ||
794 | int eu = 0, ek = 0, eh = 0; | ||
795 | struct perf_event *event; | ||
796 | int i, n, first; | ||
797 | |||
798 | n = n_prev + n_new; | ||
799 | if (n <= 1) | ||
800 | return 0; | ||
801 | |||
802 | first = 1; | ||
803 | for (i = 0; i < n; i++) { | ||
804 | event = evts[i]; | ||
805 | if (first) { | ||
806 | eu = event->attr.exclude_user; | ||
807 | ek = event->attr.exclude_kernel; | ||
808 | eh = event->attr.exclude_hv; | ||
809 | first = 0; | ||
810 | } else if (event->attr.exclude_user != eu || | ||
811 | event->attr.exclude_kernel != ek || | ||
812 | event->attr.exclude_hv != eh) { | ||
813 | return -EAGAIN; | ||
814 | } | ||
815 | } | ||
816 | |||
817 | return 0; | ||
818 | } | ||
819 | |||
820 | static int collect_events(struct perf_event *group, int max_count, | ||
821 | struct perf_event *evts[], unsigned long *events) | ||
822 | { | ||
823 | struct perf_event *event; | ||
824 | int n = 0; | ||
825 | |||
826 | if (!is_software_event(group)) { | ||
827 | if (n >= max_count) | ||
828 | return -1; | ||
829 | evts[n] = group; | ||
830 | events[n++] = group->hw.event_base; | ||
831 | } | ||
832 | list_for_each_entry(event, &group->sibling_list, group_entry) { | ||
833 | if (!is_software_event(event) && | ||
834 | event->state != PERF_EVENT_STATE_OFF) { | ||
835 | if (n >= max_count) | ||
836 | return -1; | ||
837 | evts[n] = event; | ||
838 | events[n++] = event->hw.event_base; | ||
839 | } | ||
840 | } | ||
841 | return n; | ||
842 | } | ||
843 | |||
383 | static int __hw_perf_event_init(struct perf_event *event) | 844 | static int __hw_perf_event_init(struct perf_event *event) |
384 | { | 845 | { |
385 | struct perf_event_attr *attr = &event->attr; | 846 | struct perf_event_attr *attr = &event->attr; |
847 | struct perf_event *evts[MAX_HWEVENTS]; | ||
386 | struct hw_perf_event *hwc = &event->hw; | 848 | struct hw_perf_event *hwc = &event->hw; |
849 | unsigned long events[MAX_HWEVENTS]; | ||
387 | const struct perf_event_map *pmap; | 850 | const struct perf_event_map *pmap; |
388 | u64 enc; | 851 | u64 enc; |
852 | int n; | ||
389 | 853 | ||
390 | if (atomic_read(&nmi_active) < 0) | 854 | if (atomic_read(&nmi_active) < 0) |
391 | return -ENODEV; | 855 | return -ENODEV; |
392 | 856 | ||
393 | if (attr->type != PERF_TYPE_HARDWARE) | 857 | if (attr->type == PERF_TYPE_HARDWARE) { |
858 | if (attr->config >= sparc_pmu->max_events) | ||
859 | return -EINVAL; | ||
860 | pmap = sparc_pmu->event_map(attr->config); | ||
861 | } else if (attr->type == PERF_TYPE_HW_CACHE) { | ||
862 | pmap = sparc_map_cache_event(attr->config); | ||
863 | if (IS_ERR(pmap)) | ||
864 | return PTR_ERR(pmap); | ||
865 | } else | ||
394 | return -EOPNOTSUPP; | 866 | return -EOPNOTSUPP; |
395 | 867 | ||
396 | if (attr->config >= sparc_pmu->max_events) | ||
397 | return -EINVAL; | ||
398 | |||
399 | perf_event_grab_pmc(); | ||
400 | event->destroy = hw_perf_event_destroy; | ||
401 | |||
402 | /* We save the enable bits in the config_base. So to | 868 | /* We save the enable bits in the config_base. So to |
403 | * turn off sampling just write 'config', and to enable | 869 | * turn off sampling just write 'config', and to enable |
404 | * things write 'config | config_base'. | 870 | * things write 'config | config_base'. |
@@ -411,15 +877,39 @@ static int __hw_perf_event_init(struct perf_event *event) | |||
411 | if (!attr->exclude_hv) | 877 | if (!attr->exclude_hv) |
412 | hwc->config_base |= sparc_pmu->hv_bit; | 878 | hwc->config_base |= sparc_pmu->hv_bit; |
413 | 879 | ||
880 | hwc->event_base = perf_event_encode(pmap); | ||
881 | |||
882 | enc = pmap->encoding; | ||
883 | |||
884 | n = 0; | ||
885 | if (event->group_leader != event) { | ||
886 | n = collect_events(event->group_leader, | ||
887 | perf_max_events - 1, | ||
888 | evts, events); | ||
889 | if (n < 0) | ||
890 | return -EINVAL; | ||
891 | } | ||
892 | events[n] = hwc->event_base; | ||
893 | evts[n] = event; | ||
894 | |||
895 | if (check_excludes(evts, n, 1)) | ||
896 | return -EINVAL; | ||
897 | |||
898 | if (sparc_check_constraints(events, n + 1)) | ||
899 | return -EINVAL; | ||
900 | |||
901 | /* Try to do all error checking before this point, as unwinding | ||
902 | * state after grabbing the PMC is difficult. | ||
903 | */ | ||
904 | perf_event_grab_pmc(); | ||
905 | event->destroy = hw_perf_event_destroy; | ||
906 | |||
414 | if (!hwc->sample_period) { | 907 | if (!hwc->sample_period) { |
415 | hwc->sample_period = MAX_PERIOD; | 908 | hwc->sample_period = MAX_PERIOD; |
416 | hwc->last_period = hwc->sample_period; | 909 | hwc->last_period = hwc->sample_period; |
417 | atomic64_set(&hwc->period_left, hwc->sample_period); | 910 | atomic64_set(&hwc->period_left, hwc->sample_period); |
418 | } | 911 | } |
419 | 912 | ||
420 | pmap = sparc_pmu->event_map(attr->config); | ||
421 | |||
422 | enc = pmap->encoding; | ||
423 | if (pmap->pic_mask & PIC_UPPER) { | 913 | if (pmap->pic_mask & PIC_UPPER) { |
424 | hwc->idx = PIC_UPPER_INDEX; | 914 | hwc->idx = PIC_UPPER_INDEX; |
425 | enc <<= sparc_pmu->upper_shift; | 915 | enc <<= sparc_pmu->upper_shift; |
@@ -472,7 +962,7 @@ void perf_event_print_debug(void) | |||
472 | } | 962 | } |
473 | 963 | ||
474 | static int __kprobes perf_event_nmi_handler(struct notifier_block *self, | 964 | static int __kprobes perf_event_nmi_handler(struct notifier_block *self, |
475 | unsigned long cmd, void *__args) | 965 | unsigned long cmd, void *__args) |
476 | { | 966 | { |
477 | struct die_args *args = __args; | 967 | struct die_args *args = __args; |
478 | struct perf_sample_data data; | 968 | struct perf_sample_data data; |
@@ -513,7 +1003,7 @@ static int __kprobes perf_event_nmi_handler(struct notifier_block *self, | |||
513 | continue; | 1003 | continue; |
514 | 1004 | ||
515 | if (perf_event_overflow(event, 1, &data, regs)) | 1005 | if (perf_event_overflow(event, 1, &data, regs)) |
516 | sparc_pmu_disable_event(hwc, idx); | 1006 | sparc_pmu_disable_event(cpuc, hwc, idx); |
517 | } | 1007 | } |
518 | 1008 | ||
519 | return NOTIFY_STOP; | 1009 | return NOTIFY_STOP; |
@@ -525,8 +1015,15 @@ static __read_mostly struct notifier_block perf_event_nmi_notifier = { | |||
525 | 1015 | ||
526 | static bool __init supported_pmu(void) | 1016 | static bool __init supported_pmu(void) |
527 | { | 1017 | { |
528 | if (!strcmp(sparc_pmu_type, "ultra3i")) { | 1018 | if (!strcmp(sparc_pmu_type, "ultra3") || |
529 | sparc_pmu = &ultra3i_pmu; | 1019 | !strcmp(sparc_pmu_type, "ultra3+") || |
1020 | !strcmp(sparc_pmu_type, "ultra3i") || | ||
1021 | !strcmp(sparc_pmu_type, "ultra4+")) { | ||
1022 | sparc_pmu = &ultra3_pmu; | ||
1023 | return true; | ||
1024 | } | ||
1025 | if (!strcmp(sparc_pmu_type, "niagara")) { | ||
1026 | sparc_pmu = &niagara1_pmu; | ||
530 | return true; | 1027 | return true; |
531 | } | 1028 | } |
532 | if (!strcmp(sparc_pmu_type, "niagara2")) { | 1029 | if (!strcmp(sparc_pmu_type, "niagara2")) { |
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index a70a5e1904d9..1886d37d411b 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -265,7 +265,7 @@ static void flush_dcache(unsigned long pfn) | |||
265 | struct page *page; | 265 | struct page *page; |
266 | 266 | ||
267 | page = pfn_to_page(pfn); | 267 | page = pfn_to_page(pfn); |
268 | if (page && page_mapping(page)) { | 268 | if (page) { |
269 | unsigned long pg_flags; | 269 | unsigned long pg_flags; |
270 | 270 | ||
271 | pg_flags = page->flags; | 271 | pg_flags = page->flags; |
diff --git a/arch/sparc/oprofile/init.c b/arch/sparc/oprofile/init.c index f97cb8b6ee5f..f9024bccff16 100644 --- a/arch/sparc/oprofile/init.c +++ b/arch/sparc/oprofile/init.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/oprofile.h> | 11 | #include <linux/oprofile.h> |
12 | #include <linux/errno.h> | 12 | #include <linux/errno.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/param.h> /* for HZ */ | ||
14 | 15 | ||
15 | #ifdef CONFIG_SPARC64 | 16 | #ifdef CONFIG_SPARC64 |
16 | #include <linux/notifier.h> | 17 | #include <linux/notifier.h> |
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index 14a102e877d6..cf8a97f34518 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | #include "linux/irqreturn.h" | 6 | #include "linux/irqreturn.h" |
7 | #include "linux/kd.h" | 7 | #include "linux/kd.h" |
8 | #include "linux/sched.h" | ||
8 | #include "chan_kern.h" | 9 | #include "chan_kern.h" |
9 | #include "irq_kern.h" | 10 | #include "irq_kern.h" |
10 | #include "irq_user.h" | 11 | #include "irq_user.h" |
diff --git a/arch/um/drivers/port_kern.c b/arch/um/drivers/port_kern.c index 19930081d3d8..4ebc8a34738f 100644 --- a/arch/um/drivers/port_kern.c +++ b/arch/um/drivers/port_kern.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "linux/interrupt.h" | 7 | #include "linux/interrupt.h" |
8 | #include "linux/list.h" | 8 | #include "linux/list.h" |
9 | #include "linux/mutex.h" | 9 | #include "linux/mutex.h" |
10 | #include "linux/workqueue.h" | ||
10 | #include "asm/atomic.h" | 11 | #include "asm/atomic.h" |
11 | #include "init.h" | 12 | #include "init.h" |
12 | #include "irq_kern.h" | 13 | #include "irq_kern.h" |
diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index 454cdb43e351..039270b9b73b 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "linux/interrupt.h" | 10 | #include "linux/interrupt.h" |
11 | #include "linux/kernel_stat.h" | 11 | #include "linux/kernel_stat.h" |
12 | #include "linux/module.h" | 12 | #include "linux/module.h" |
13 | #include "linux/sched.h" | ||
13 | #include "linux/seq_file.h" | 14 | #include "linux/seq_file.h" |
14 | #include "as-layout.h" | 15 | #include "as-layout.h" |
15 | #include "kern_util.h" | 16 | #include "kern_util.h" |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 8da93745c087..07e01149e3bf 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -86,10 +86,6 @@ config STACKTRACE_SUPPORT | |||
86 | config HAVE_LATENCYTOP_SUPPORT | 86 | config HAVE_LATENCYTOP_SUPPORT |
87 | def_bool y | 87 | def_bool y |
88 | 88 | ||
89 | config FAST_CMPXCHG_LOCAL | ||
90 | bool | ||
91 | default y | ||
92 | |||
93 | config MMU | 89 | config MMU |
94 | def_bool y | 90 | def_bool y |
95 | 91 | ||
@@ -495,7 +491,7 @@ if PARAVIRT_GUEST | |||
495 | source "arch/x86/xen/Kconfig" | 491 | source "arch/x86/xen/Kconfig" |
496 | 492 | ||
497 | config VMI | 493 | config VMI |
498 | bool "VMI Guest support" | 494 | bool "VMI Guest support (DEPRECATED)" |
499 | select PARAVIRT | 495 | select PARAVIRT |
500 | depends on X86_32 | 496 | depends on X86_32 |
501 | ---help--- | 497 | ---help--- |
@@ -504,6 +500,15 @@ config VMI | |||
504 | at the moment), by linking the kernel to a GPL-ed ROM module | 500 | at the moment), by linking the kernel to a GPL-ed ROM module |
505 | provided by the hypervisor. | 501 | provided by the hypervisor. |
506 | 502 | ||
503 | As of September 2009, VMware has started a phased retirement | ||
504 | of this feature from VMware's products. Please see | ||
505 | feature-removal-schedule.txt for details. If you are | ||
506 | planning to enable this option, please note that you cannot | ||
507 | live migrate a VMI enabled VM to a future VMware product, | ||
508 | which doesn't support VMI. So if you expect your kernel to | ||
509 | seamlessly migrate to newer VMware products, keep this | ||
510 | disabled. | ||
511 | |||
507 | config KVM_CLOCK | 512 | config KVM_CLOCK |
508 | bool "KVM paravirtualized clock" | 513 | bool "KVM paravirtualized clock" |
509 | select PARAVIRT | 514 | select PARAVIRT |
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 527519b8a9f9..f2824fb8c79c 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu | |||
@@ -400,7 +400,7 @@ config X86_TSC | |||
400 | 400 | ||
401 | config X86_CMPXCHG64 | 401 | config X86_CMPXCHG64 |
402 | def_bool y | 402 | def_bool y |
403 | depends on X86_PAE || X86_64 | 403 | depends on X86_PAE || X86_64 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MATOM |
404 | 404 | ||
405 | # this should be set for all -march=.. options where the compiler | 405 | # this should be set for all -march=.. options where the compiler |
406 | # generates cmov. | 406 | # generates cmov. |
@@ -412,6 +412,7 @@ config X86_MINIMUM_CPU_FAMILY | |||
412 | int | 412 | int |
413 | default "64" if X86_64 | 413 | default "64" if X86_64 |
414 | default "6" if X86_32 && X86_P6_NOP | 414 | default "6" if X86_32 && X86_P6_NOP |
415 | default "5" if X86_32 && X86_CMPXCHG64 | ||
415 | default "4" if X86_32 && (X86_XADD || X86_CMPXCHG || X86_BSWAP || X86_WP_WORKS_OK) | 416 | default "4" if X86_32 && (X86_XADD || X86_CMPXCHG || X86_BSWAP || X86_WP_WORKS_OK) |
416 | default "3" | 417 | default "3" |
417 | 418 | ||
diff --git a/arch/x86/boot/setup.ld b/arch/x86/boot/setup.ld index 0f6ec455a2b1..03c0683636b6 100644 --- a/arch/x86/boot/setup.ld +++ b/arch/x86/boot/setup.ld | |||
@@ -53,6 +53,9 @@ SECTIONS | |||
53 | 53 | ||
54 | /DISCARD/ : { *(.note*) } | 54 | /DISCARD/ : { *(.note*) } |
55 | 55 | ||
56 | /* | ||
57 | * The ASSERT() sink to . is intentional, for binutils 2.14 compatibility: | ||
58 | */ | ||
56 | . = ASSERT(_end <= 0x8000, "Setup too big!"); | 59 | . = ASSERT(_end <= 0x8000, "Setup too big!"); |
57 | . = ASSERT(hdr == 0x1f1, "The setup header has the wrong offset!"); | 60 | . = ASSERT(hdr == 0x1f1, "The setup header has the wrong offset!"); |
58 | /* Necessary for the very-old-loader check to work... */ | 61 | /* Necessary for the very-old-loader check to work... */ |
diff --git a/arch/x86/crypto/aesni-intel_glue.c b/arch/x86/crypto/aesni-intel_glue.c index 585edebe12cf..49c552c060e9 100644 --- a/arch/x86/crypto/aesni-intel_glue.c +++ b/arch/x86/crypto/aesni-intel_glue.c | |||
@@ -82,7 +82,7 @@ static int aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, | |||
82 | return -EINVAL; | 82 | return -EINVAL; |
83 | } | 83 | } |
84 | 84 | ||
85 | if (irq_fpu_usable()) | 85 | if (!irq_fpu_usable()) |
86 | err = crypto_aes_expand_key(ctx, in_key, key_len); | 86 | err = crypto_aes_expand_key(ctx, in_key, key_len); |
87 | else { | 87 | else { |
88 | kernel_fpu_begin(); | 88 | kernel_fpu_begin(); |
@@ -103,7 +103,7 @@ static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) | |||
103 | { | 103 | { |
104 | struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); | 104 | struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); |
105 | 105 | ||
106 | if (irq_fpu_usable()) | 106 | if (!irq_fpu_usable()) |
107 | crypto_aes_encrypt_x86(ctx, dst, src); | 107 | crypto_aes_encrypt_x86(ctx, dst, src); |
108 | else { | 108 | else { |
109 | kernel_fpu_begin(); | 109 | kernel_fpu_begin(); |
@@ -116,7 +116,7 @@ static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) | |||
116 | { | 116 | { |
117 | struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); | 117 | struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); |
118 | 118 | ||
119 | if (irq_fpu_usable()) | 119 | if (!irq_fpu_usable()) |
120 | crypto_aes_decrypt_x86(ctx, dst, src); | 120 | crypto_aes_decrypt_x86(ctx, dst, src); |
121 | else { | 121 | else { |
122 | kernel_fpu_begin(); | 122 | kernel_fpu_begin(); |
@@ -342,7 +342,7 @@ static int ablk_encrypt(struct ablkcipher_request *req) | |||
342 | struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); | 342 | struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); |
343 | struct async_aes_ctx *ctx = crypto_ablkcipher_ctx(tfm); | 343 | struct async_aes_ctx *ctx = crypto_ablkcipher_ctx(tfm); |
344 | 344 | ||
345 | if (irq_fpu_usable()) { | 345 | if (!irq_fpu_usable()) { |
346 | struct ablkcipher_request *cryptd_req = | 346 | struct ablkcipher_request *cryptd_req = |
347 | ablkcipher_request_ctx(req); | 347 | ablkcipher_request_ctx(req); |
348 | memcpy(cryptd_req, req, sizeof(*req)); | 348 | memcpy(cryptd_req, req, sizeof(*req)); |
@@ -363,7 +363,7 @@ static int ablk_decrypt(struct ablkcipher_request *req) | |||
363 | struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); | 363 | struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); |
364 | struct async_aes_ctx *ctx = crypto_ablkcipher_ctx(tfm); | 364 | struct async_aes_ctx *ctx = crypto_ablkcipher_ctx(tfm); |
365 | 365 | ||
366 | if (irq_fpu_usable()) { | 366 | if (!irq_fpu_usable()) { |
367 | struct ablkcipher_request *cryptd_req = | 367 | struct ablkcipher_request *cryptd_req = |
368 | ablkcipher_request_ctx(req); | 368 | ablkcipher_request_ctx(req); |
369 | memcpy(cryptd_req, req, sizeof(*req)); | 369 | memcpy(cryptd_req, req, sizeof(*req)); |
diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S index 74619c4f9fda..1733f9f65e82 100644 --- a/arch/x86/ia32/ia32entry.S +++ b/arch/x86/ia32/ia32entry.S | |||
@@ -21,8 +21,8 @@ | |||
21 | #define __AUDIT_ARCH_LE 0x40000000 | 21 | #define __AUDIT_ARCH_LE 0x40000000 |
22 | 22 | ||
23 | #ifndef CONFIG_AUDITSYSCALL | 23 | #ifndef CONFIG_AUDITSYSCALL |
24 | #define sysexit_audit int_ret_from_sys_call | 24 | #define sysexit_audit ia32_ret_from_sys_call |
25 | #define sysretl_audit int_ret_from_sys_call | 25 | #define sysretl_audit ia32_ret_from_sys_call |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #define IA32_NR_syscalls ((ia32_syscall_end - ia32_sys_call_table)/8) | 28 | #define IA32_NR_syscalls ((ia32_syscall_end - ia32_sys_call_table)/8) |
@@ -39,12 +39,12 @@ | |||
39 | .endm | 39 | .endm |
40 | 40 | ||
41 | /* clobbers %eax */ | 41 | /* clobbers %eax */ |
42 | .macro CLEAR_RREGS _r9=rax | 42 | .macro CLEAR_RREGS offset=0, _r9=rax |
43 | xorl %eax,%eax | 43 | xorl %eax,%eax |
44 | movq %rax,R11(%rsp) | 44 | movq %rax,\offset+R11(%rsp) |
45 | movq %rax,R10(%rsp) | 45 | movq %rax,\offset+R10(%rsp) |
46 | movq %\_r9,R9(%rsp) | 46 | movq %\_r9,\offset+R9(%rsp) |
47 | movq %rax,R8(%rsp) | 47 | movq %rax,\offset+R8(%rsp) |
48 | .endm | 48 | .endm |
49 | 49 | ||
50 | /* | 50 | /* |
@@ -172,6 +172,10 @@ sysexit_from_sys_call: | |||
172 | movl RIP-R11(%rsp),%edx /* User %eip */ | 172 | movl RIP-R11(%rsp),%edx /* User %eip */ |
173 | CFI_REGISTER rip,rdx | 173 | CFI_REGISTER rip,rdx |
174 | RESTORE_ARGS 1,24,1,1,1,1 | 174 | RESTORE_ARGS 1,24,1,1,1,1 |
175 | xorq %r8,%r8 | ||
176 | xorq %r9,%r9 | ||
177 | xorq %r10,%r10 | ||
178 | xorq %r11,%r11 | ||
175 | popfq | 179 | popfq |
176 | CFI_ADJUST_CFA_OFFSET -8 | 180 | CFI_ADJUST_CFA_OFFSET -8 |
177 | /*CFI_RESTORE rflags*/ | 181 | /*CFI_RESTORE rflags*/ |
@@ -202,7 +206,7 @@ sysexit_from_sys_call: | |||
202 | 206 | ||
203 | .macro auditsys_exit exit,ebpsave=RBP | 207 | .macro auditsys_exit exit,ebpsave=RBP |
204 | testl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10) | 208 | testl $(_TIF_ALLWORK_MASK & ~_TIF_SYSCALL_AUDIT),TI_flags(%r10) |
205 | jnz int_ret_from_sys_call | 209 | jnz ia32_ret_from_sys_call |
206 | TRACE_IRQS_ON | 210 | TRACE_IRQS_ON |
207 | sti | 211 | sti |
208 | movl %eax,%esi /* second arg, syscall return value */ | 212 | movl %eax,%esi /* second arg, syscall return value */ |
@@ -218,8 +222,9 @@ sysexit_from_sys_call: | |||
218 | cli | 222 | cli |
219 | TRACE_IRQS_OFF | 223 | TRACE_IRQS_OFF |
220 | testl %edi,TI_flags(%r10) | 224 | testl %edi,TI_flags(%r10) |
221 | jnz int_with_check | 225 | jz \exit |
222 | jmp \exit | 226 | CLEAR_RREGS -ARGOFFSET |
227 | jmp int_with_check | ||
223 | .endm | 228 | .endm |
224 | 229 | ||
225 | sysenter_auditsys: | 230 | sysenter_auditsys: |
@@ -329,6 +334,9 @@ sysretl_from_sys_call: | |||
329 | CFI_REGISTER rip,rcx | 334 | CFI_REGISTER rip,rcx |
330 | movl EFLAGS-ARGOFFSET(%rsp),%r11d | 335 | movl EFLAGS-ARGOFFSET(%rsp),%r11d |
331 | /*CFI_REGISTER rflags,r11*/ | 336 | /*CFI_REGISTER rflags,r11*/ |
337 | xorq %r10,%r10 | ||
338 | xorq %r9,%r9 | ||
339 | xorq %r8,%r8 | ||
332 | TRACE_IRQS_ON | 340 | TRACE_IRQS_ON |
333 | movl RSP-ARGOFFSET(%rsp),%esp | 341 | movl RSP-ARGOFFSET(%rsp),%esp |
334 | CFI_RESTORE rsp | 342 | CFI_RESTORE rsp |
@@ -353,7 +361,7 @@ cstar_tracesys: | |||
353 | #endif | 361 | #endif |
354 | xchgl %r9d,%ebp | 362 | xchgl %r9d,%ebp |
355 | SAVE_REST | 363 | SAVE_REST |
356 | CLEAR_RREGS r9 | 364 | CLEAR_RREGS 0, r9 |
357 | movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */ | 365 | movq $-ENOSYS,RAX(%rsp) /* ptrace can change this for a bad syscall */ |
358 | movq %rsp,%rdi /* &pt_regs -> arg1 */ | 366 | movq %rsp,%rdi /* &pt_regs -> arg1 */ |
359 | call syscall_trace_enter | 367 | call syscall_trace_enter |
@@ -425,6 +433,8 @@ ia32_do_call: | |||
425 | call *ia32_sys_call_table(,%rax,8) # xxx: rip relative | 433 | call *ia32_sys_call_table(,%rax,8) # xxx: rip relative |
426 | ia32_sysret: | 434 | ia32_sysret: |
427 | movq %rax,RAX-ARGOFFSET(%rsp) | 435 | movq %rax,RAX-ARGOFFSET(%rsp) |
436 | ia32_ret_from_sys_call: | ||
437 | CLEAR_RREGS -ARGOFFSET | ||
428 | jmp int_ret_from_sys_call | 438 | jmp int_ret_from_sys_call |
429 | 439 | ||
430 | ia32_tracesys: | 440 | ia32_tracesys: |
@@ -442,8 +452,8 @@ END(ia32_syscall) | |||
442 | 452 | ||
443 | ia32_badsys: | 453 | ia32_badsys: |
444 | movq $0,ORIG_RAX-ARGOFFSET(%rsp) | 454 | movq $0,ORIG_RAX-ARGOFFSET(%rsp) |
445 | movq $-ENOSYS,RAX-ARGOFFSET(%rsp) | 455 | movq $-ENOSYS,%rax |
446 | jmp int_ret_from_sys_call | 456 | jmp ia32_sysret |
447 | 457 | ||
448 | quiet_ni_syscall: | 458 | quiet_ni_syscall: |
449 | movq $-ENOSYS,%rax | 459 | movq $-ENOSYS,%rax |
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 3be000435fad..d83892226f73 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -796,6 +796,7 @@ asmlinkage void kvm_handle_fault_on_reboot(void); | |||
796 | #define KVM_ARCH_WANT_MMU_NOTIFIER | 796 | #define KVM_ARCH_WANT_MMU_NOTIFIER |
797 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva); | 797 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva); |
798 | int kvm_age_hva(struct kvm *kvm, unsigned long hva); | 798 | int kvm_age_hva(struct kvm *kvm, unsigned long hva); |
799 | void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte); | ||
799 | int cpuid_maxphyaddr(struct kvm_vcpu *vcpu); | 800 | int cpuid_maxphyaddr(struct kvm_vcpu *vcpu); |
800 | int kvm_cpu_has_interrupt(struct kvm_vcpu *vcpu); | 801 | int kvm_cpu_has_interrupt(struct kvm_vcpu *vcpu); |
801 | int kvm_arch_interrupt_allowed(struct kvm_vcpu *vcpu); | 802 | int kvm_arch_interrupt_allowed(struct kvm_vcpu *vcpu); |
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index b608a64c5814..f1363b72364f 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h | |||
@@ -133,6 +133,8 @@ static inline void winchip_mcheck_init(struct cpuinfo_x86 *c) {} | |||
133 | static inline void enable_p5_mce(void) {} | 133 | static inline void enable_p5_mce(void) {} |
134 | #endif | 134 | #endif |
135 | 135 | ||
136 | extern void (*x86_mce_decode_callback)(struct mce *m); | ||
137 | |||
136 | void mce_setup(struct mce *m); | 138 | void mce_setup(struct mce *m); |
137 | void mce_log(struct mce *m); | 139 | void mce_log(struct mce *m); |
138 | DECLARE_PER_CPU(struct sys_device, mce_dev); | 140 | DECLARE_PER_CPU(struct sys_device, mce_dev); |
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h index 8aebcc41041d..efb38994859c 100644 --- a/arch/x86/include/asm/paravirt.h +++ b/arch/x86/include/asm/paravirt.h | |||
@@ -840,42 +840,22 @@ static __always_inline void __raw_spin_unlock(struct raw_spinlock *lock) | |||
840 | 840 | ||
841 | static inline unsigned long __raw_local_save_flags(void) | 841 | static inline unsigned long __raw_local_save_flags(void) |
842 | { | 842 | { |
843 | unsigned long f; | 843 | return PVOP_CALLEE0(unsigned long, pv_irq_ops.save_fl); |
844 | |||
845 | asm volatile(paravirt_alt(PARAVIRT_CALL) | ||
846 | : "=a"(f) | ||
847 | : paravirt_type(pv_irq_ops.save_fl), | ||
848 | paravirt_clobber(CLBR_EAX) | ||
849 | : "memory", "cc"); | ||
850 | return f; | ||
851 | } | 844 | } |
852 | 845 | ||
853 | static inline void raw_local_irq_restore(unsigned long f) | 846 | static inline void raw_local_irq_restore(unsigned long f) |
854 | { | 847 | { |
855 | asm volatile(paravirt_alt(PARAVIRT_CALL) | 848 | PVOP_VCALLEE1(pv_irq_ops.restore_fl, f); |
856 | : "=a"(f) | ||
857 | : PV_FLAGS_ARG(f), | ||
858 | paravirt_type(pv_irq_ops.restore_fl), | ||
859 | paravirt_clobber(CLBR_EAX) | ||
860 | : "memory", "cc"); | ||
861 | } | 849 | } |
862 | 850 | ||
863 | static inline void raw_local_irq_disable(void) | 851 | static inline void raw_local_irq_disable(void) |
864 | { | 852 | { |
865 | asm volatile(paravirt_alt(PARAVIRT_CALL) | 853 | PVOP_VCALLEE0(pv_irq_ops.irq_disable); |
866 | : | ||
867 | : paravirt_type(pv_irq_ops.irq_disable), | ||
868 | paravirt_clobber(CLBR_EAX) | ||
869 | : "memory", "eax", "cc"); | ||
870 | } | 854 | } |
871 | 855 | ||
872 | static inline void raw_local_irq_enable(void) | 856 | static inline void raw_local_irq_enable(void) |
873 | { | 857 | { |
874 | asm volatile(paravirt_alt(PARAVIRT_CALL) | 858 | PVOP_VCALLEE0(pv_irq_ops.irq_enable); |
875 | : | ||
876 | : paravirt_type(pv_irq_ops.irq_enable), | ||
877 | paravirt_clobber(CLBR_EAX) | ||
878 | : "memory", "eax", "cc"); | ||
879 | } | 859 | } |
880 | 860 | ||
881 | static inline unsigned long __raw_local_irq_save(void) | 861 | static inline unsigned long __raw_local_irq_save(void) |
diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h index dd0f5b32489d..9357473c8da0 100644 --- a/arch/x86/include/asm/paravirt_types.h +++ b/arch/x86/include/asm/paravirt_types.h | |||
@@ -494,10 +494,11 @@ int paravirt_disable_iospace(void); | |||
494 | #define EXTRA_CLOBBERS | 494 | #define EXTRA_CLOBBERS |
495 | #define VEXTRA_CLOBBERS | 495 | #define VEXTRA_CLOBBERS |
496 | #else /* CONFIG_X86_64 */ | 496 | #else /* CONFIG_X86_64 */ |
497 | /* [re]ax isn't an arg, but the return val */ | ||
497 | #define PVOP_VCALL_ARGS \ | 498 | #define PVOP_VCALL_ARGS \ |
498 | unsigned long __edi = __edi, __esi = __esi, \ | 499 | unsigned long __edi = __edi, __esi = __esi, \ |
499 | __edx = __edx, __ecx = __ecx | 500 | __edx = __edx, __ecx = __ecx, __eax = __eax |
500 | #define PVOP_CALL_ARGS PVOP_VCALL_ARGS, __eax | 501 | #define PVOP_CALL_ARGS PVOP_VCALL_ARGS |
501 | 502 | ||
502 | #define PVOP_CALL_ARG1(x) "D" ((unsigned long)(x)) | 503 | #define PVOP_CALL_ARG1(x) "D" ((unsigned long)(x)) |
503 | #define PVOP_CALL_ARG2(x) "S" ((unsigned long)(x)) | 504 | #define PVOP_CALL_ARG2(x) "S" ((unsigned long)(x)) |
@@ -509,6 +510,7 @@ int paravirt_disable_iospace(void); | |||
509 | "=c" (__ecx) | 510 | "=c" (__ecx) |
510 | #define PVOP_CALL_CLOBBERS PVOP_VCALL_CLOBBERS, "=a" (__eax) | 511 | #define PVOP_CALL_CLOBBERS PVOP_VCALL_CLOBBERS, "=a" (__eax) |
511 | 512 | ||
513 | /* void functions are still allowed [re]ax for scratch */ | ||
512 | #define PVOP_VCALLEE_CLOBBERS "=a" (__eax) | 514 | #define PVOP_VCALLEE_CLOBBERS "=a" (__eax) |
513 | #define PVOP_CALLEE_CLOBBERS PVOP_VCALLEE_CLOBBERS | 515 | #define PVOP_CALLEE_CLOBBERS PVOP_VCALLEE_CLOBBERS |
514 | 516 | ||
@@ -583,8 +585,8 @@ int paravirt_disable_iospace(void); | |||
583 | VEXTRA_CLOBBERS, \ | 585 | VEXTRA_CLOBBERS, \ |
584 | pre, post, ##__VA_ARGS__) | 586 | pre, post, ##__VA_ARGS__) |
585 | 587 | ||
586 | #define __PVOP_VCALLEESAVE(rettype, op, pre, post, ...) \ | 588 | #define __PVOP_VCALLEESAVE(op, pre, post, ...) \ |
587 | ____PVOP_CALL(rettype, op.func, CLBR_RET_REG, \ | 589 | ____PVOP_VCALL(op.func, CLBR_RET_REG, \ |
588 | PVOP_VCALLEE_CLOBBERS, , \ | 590 | PVOP_VCALLEE_CLOBBERS, , \ |
589 | pre, post, ##__VA_ARGS__) | 591 | pre, post, ##__VA_ARGS__) |
590 | 592 | ||
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 25a92842dd99..d823c245f63b 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
@@ -143,6 +143,7 @@ extern unsigned long node_remap_size[]; | |||
143 | | 1*SD_BALANCE_FORK \ | 143 | | 1*SD_BALANCE_FORK \ |
144 | | 0*SD_BALANCE_WAKE \ | 144 | | 0*SD_BALANCE_WAKE \ |
145 | | 1*SD_WAKE_AFFINE \ | 145 | | 1*SD_WAKE_AFFINE \ |
146 | | 1*SD_PREFER_LOCAL \ | ||
146 | | 0*SD_SHARE_CPUPOWER \ | 147 | | 0*SD_SHARE_CPUPOWER \ |
147 | | 0*SD_POWERSAVINGS_BALANCE \ | 148 | | 0*SD_POWERSAVINGS_BALANCE \ |
148 | | 0*SD_SHARE_PKG_RESOURCES \ | 149 | | 0*SD_SHARE_PKG_RESOURCES \ |
diff --git a/arch/x86/include/asm/uv/uv_hub.h b/arch/x86/include/asm/uv/uv_hub.h index 04eb6c958b9d..d1414af98559 100644 --- a/arch/x86/include/asm/uv/uv_hub.h +++ b/arch/x86/include/asm/uv/uv_hub.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #include <asm/types.h> | 19 | #include <asm/types.h> |
20 | #include <asm/percpu.h> | 20 | #include <asm/percpu.h> |
21 | #include <asm/uv/uv_mmrs.h> | 21 | #include <asm/uv/uv_mmrs.h> |
22 | #include <asm/irq_vectors.h> | ||
23 | #include <asm/io_apic.h> | ||
22 | 24 | ||
23 | 25 | ||
24 | /* | 26 | /* |
@@ -114,7 +116,7 @@ | |||
114 | /* | 116 | /* |
115 | * The largest possible NASID of a C or M brick (+ 2) | 117 | * The largest possible NASID of a C or M brick (+ 2) |
116 | */ | 118 | */ |
117 | #define UV_MAX_NASID_VALUE (UV_MAX_NUMALINK_NODES * 2) | 119 | #define UV_MAX_NASID_VALUE (UV_MAX_NUMALINK_BLADES * 2) |
118 | 120 | ||
119 | struct uv_scir_s { | 121 | struct uv_scir_s { |
120 | struct timer_list timer; | 122 | struct timer_list timer; |
@@ -230,6 +232,20 @@ static inline unsigned long uv_gpa(void *v) | |||
230 | return uv_soc_phys_ram_to_gpa(__pa(v)); | 232 | return uv_soc_phys_ram_to_gpa(__pa(v)); |
231 | } | 233 | } |
232 | 234 | ||
235 | /* gnode -> pnode */ | ||
236 | static inline unsigned long uv_gpa_to_gnode(unsigned long gpa) | ||
237 | { | ||
238 | return gpa >> uv_hub_info->m_val; | ||
239 | } | ||
240 | |||
241 | /* gpa -> pnode */ | ||
242 | static inline int uv_gpa_to_pnode(unsigned long gpa) | ||
243 | { | ||
244 | unsigned long n_mask = (1UL << uv_hub_info->n_val) - 1; | ||
245 | |||
246 | return uv_gpa_to_gnode(gpa) & n_mask; | ||
247 | } | ||
248 | |||
233 | /* pnode, offset --> socket virtual */ | 249 | /* pnode, offset --> socket virtual */ |
234 | static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) | 250 | static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) |
235 | { | 251 | { |
@@ -421,9 +437,14 @@ static inline void uv_set_cpu_scir_bits(int cpu, unsigned char value) | |||
421 | static inline void uv_hub_send_ipi(int pnode, int apicid, int vector) | 437 | static inline void uv_hub_send_ipi(int pnode, int apicid, int vector) |
422 | { | 438 | { |
423 | unsigned long val; | 439 | unsigned long val; |
440 | unsigned long dmode = dest_Fixed; | ||
441 | |||
442 | if (vector == NMI_VECTOR) | ||
443 | dmode = dest_NMI; | ||
424 | 444 | ||
425 | val = (1UL << UVH_IPI_INT_SEND_SHFT) | | 445 | val = (1UL << UVH_IPI_INT_SEND_SHFT) | |
426 | ((apicid) << UVH_IPI_INT_APIC_ID_SHFT) | | 446 | ((apicid) << UVH_IPI_INT_APIC_ID_SHFT) | |
447 | (dmode << UVH_IPI_INT_DELIVERY_MODE_SHFT) | | ||
427 | (vector << UVH_IPI_INT_VECTOR_SHFT); | 448 | (vector << UVH_IPI_INT_VECTOR_SHFT); |
428 | uv_write_global_mmr64(pnode, UVH_IPI_INT, val); | 449 | uv_write_global_mmr64(pnode, UVH_IPI_INT, val); |
429 | } | 450 | } |
diff --git a/arch/x86/kernel/acpi/realmode/wakeup.lds.S b/arch/x86/kernel/acpi/realmode/wakeup.lds.S index 7da00b799cda..060fff8f5c5b 100644 --- a/arch/x86/kernel/acpi/realmode/wakeup.lds.S +++ b/arch/x86/kernel/acpi/realmode/wakeup.lds.S | |||
@@ -57,5 +57,8 @@ SECTIONS | |||
57 | *(.note*) | 57 | *(.note*) |
58 | } | 58 | } |
59 | 59 | ||
60 | /* | ||
61 | * The ASSERT() sink to . is intentional, for binutils 2.14 compatibility: | ||
62 | */ | ||
60 | . = ASSERT(_end <= WAKEUP_SIZE, "Wakeup too big!"); | 63 | . = ASSERT(_end <= WAKEUP_SIZE, "Wakeup too big!"); |
61 | } | 64 | } |
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index f5f5886a6b53..326c25477d3d 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c | |||
@@ -352,14 +352,14 @@ static __init void get_lowmem_redirect(unsigned long *base, unsigned long *size) | |||
352 | 352 | ||
353 | for (i = 0; i < ARRAY_SIZE(redir_addrs); i++) { | 353 | for (i = 0; i < ARRAY_SIZE(redir_addrs); i++) { |
354 | alias.v = uv_read_local_mmr(redir_addrs[i].alias); | 354 | alias.v = uv_read_local_mmr(redir_addrs[i].alias); |
355 | if (alias.s.base == 0) { | 355 | if (alias.s.enable && alias.s.base == 0) { |
356 | *size = (1UL << alias.s.m_alias); | 356 | *size = (1UL << alias.s.m_alias); |
357 | redirect.v = uv_read_local_mmr(redir_addrs[i].redirect); | 357 | redirect.v = uv_read_local_mmr(redir_addrs[i].redirect); |
358 | *base = (unsigned long)redirect.s.dest_base << DEST_SHIFT; | 358 | *base = (unsigned long)redirect.s.dest_base << DEST_SHIFT; |
359 | return; | 359 | return; |
360 | } | 360 | } |
361 | } | 361 | } |
362 | BUG(); | 362 | *base = *size = 0; |
363 | } | 363 | } |
364 | 364 | ||
365 | enum map_type {map_wb, map_uc}; | 365 | enum map_type {map_wb, map_uc}; |
@@ -619,12 +619,12 @@ void __init uv_system_init(void) | |||
619 | uv_cpu_hub_info(cpu)->lowmem_remap_base = lowmem_redir_base; | 619 | uv_cpu_hub_info(cpu)->lowmem_remap_base = lowmem_redir_base; |
620 | uv_cpu_hub_info(cpu)->lowmem_remap_top = lowmem_redir_size; | 620 | uv_cpu_hub_info(cpu)->lowmem_remap_top = lowmem_redir_size; |
621 | uv_cpu_hub_info(cpu)->m_val = m_val; | 621 | uv_cpu_hub_info(cpu)->m_val = m_val; |
622 | uv_cpu_hub_info(cpu)->n_val = m_val; | 622 | uv_cpu_hub_info(cpu)->n_val = n_val; |
623 | uv_cpu_hub_info(cpu)->numa_blade_id = blade; | 623 | uv_cpu_hub_info(cpu)->numa_blade_id = blade; |
624 | uv_cpu_hub_info(cpu)->blade_processor_id = lcpu; | 624 | uv_cpu_hub_info(cpu)->blade_processor_id = lcpu; |
625 | uv_cpu_hub_info(cpu)->pnode = pnode; | 625 | uv_cpu_hub_info(cpu)->pnode = pnode; |
626 | uv_cpu_hub_info(cpu)->pnode_mask = pnode_mask; | 626 | uv_cpu_hub_info(cpu)->pnode_mask = pnode_mask; |
627 | uv_cpu_hub_info(cpu)->gpa_mask = (1 << (m_val + n_val)) - 1; | 627 | uv_cpu_hub_info(cpu)->gpa_mask = (1UL << (m_val + n_val)) - 1; |
628 | uv_cpu_hub_info(cpu)->gnode_upper = gnode_upper; | 628 | uv_cpu_hub_info(cpu)->gnode_upper = gnode_upper; |
629 | uv_cpu_hub_info(cpu)->gnode_extra = gnode_extra; | 629 | uv_cpu_hub_info(cpu)->gnode_extra = gnode_extra; |
630 | uv_cpu_hub_info(cpu)->global_mmr_base = mmr_base; | 630 | uv_cpu_hub_info(cpu)->global_mmr_base = mmr_base; |
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 183c3457d2f4..721a77ca8115 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
@@ -85,6 +85,18 @@ static DECLARE_WAIT_QUEUE_HEAD(mce_wait); | |||
85 | static DEFINE_PER_CPU(struct mce, mces_seen); | 85 | static DEFINE_PER_CPU(struct mce, mces_seen); |
86 | static int cpu_missing; | 86 | static int cpu_missing; |
87 | 87 | ||
88 | static void default_decode_mce(struct mce *m) | ||
89 | { | ||
90 | pr_emerg("No human readable MCE decoding support on this CPU type.\n"); | ||
91 | pr_emerg("Run the message through 'mcelog --ascii' to decode.\n"); | ||
92 | } | ||
93 | |||
94 | /* | ||
95 | * CPU/chipset specific EDAC code can register a callback here to print | ||
96 | * MCE errors in a human-readable form: | ||
97 | */ | ||
98 | void (*x86_mce_decode_callback)(struct mce *m) = default_decode_mce; | ||
99 | EXPORT_SYMBOL(x86_mce_decode_callback); | ||
88 | 100 | ||
89 | /* MCA banks polled by the period polling timer for corrected events */ | 101 | /* MCA banks polled by the period polling timer for corrected events */ |
90 | DEFINE_PER_CPU(mce_banks_t, mce_poll_banks) = { | 102 | DEFINE_PER_CPU(mce_banks_t, mce_poll_banks) = { |
@@ -165,46 +177,46 @@ void mce_log(struct mce *mce) | |||
165 | set_bit(0, &mce_need_notify); | 177 | set_bit(0, &mce_need_notify); |
166 | } | 178 | } |
167 | 179 | ||
168 | void __weak decode_mce(struct mce *m) | ||
169 | { | ||
170 | return; | ||
171 | } | ||
172 | |||
173 | static void print_mce(struct mce *m) | 180 | static void print_mce(struct mce *m) |
174 | { | 181 | { |
175 | printk(KERN_EMERG | 182 | pr_emerg("CPU %d: Machine Check Exception: %16Lx Bank %d: %016Lx\n", |
176 | "CPU %d: Machine Check Exception: %16Lx Bank %d: %016Lx\n", | ||
177 | m->extcpu, m->mcgstatus, m->bank, m->status); | 183 | m->extcpu, m->mcgstatus, m->bank, m->status); |
184 | |||
178 | if (m->ip) { | 185 | if (m->ip) { |
179 | printk(KERN_EMERG "RIP%s %02x:<%016Lx> ", | 186 | pr_emerg("RIP%s %02x:<%016Lx> ", |
180 | !(m->mcgstatus & MCG_STATUS_EIPV) ? " !INEXACT!" : "", | 187 | !(m->mcgstatus & MCG_STATUS_EIPV) ? " !INEXACT!" : "", |
181 | m->cs, m->ip); | 188 | m->cs, m->ip); |
189 | |||
182 | if (m->cs == __KERNEL_CS) | 190 | if (m->cs == __KERNEL_CS) |
183 | print_symbol("{%s}", m->ip); | 191 | print_symbol("{%s}", m->ip); |
184 | printk(KERN_CONT "\n"); | 192 | pr_cont("\n"); |
185 | } | 193 | } |
186 | printk(KERN_EMERG "TSC %llx ", m->tsc); | 194 | |
195 | pr_emerg("TSC %llx ", m->tsc); | ||
187 | if (m->addr) | 196 | if (m->addr) |
188 | printk(KERN_CONT "ADDR %llx ", m->addr); | 197 | pr_cont("ADDR %llx ", m->addr); |
189 | if (m->misc) | 198 | if (m->misc) |
190 | printk(KERN_CONT "MISC %llx ", m->misc); | 199 | pr_cont("MISC %llx ", m->misc); |
191 | printk(KERN_CONT "\n"); | ||
192 | printk(KERN_EMERG "PROCESSOR %u:%x TIME %llu SOCKET %u APIC %x\n", | ||
193 | m->cpuvendor, m->cpuid, m->time, m->socketid, | ||
194 | m->apicid); | ||
195 | 200 | ||
196 | decode_mce(m); | 201 | pr_cont("\n"); |
202 | pr_emerg("PROCESSOR %u:%x TIME %llu SOCKET %u APIC %x\n", | ||
203 | m->cpuvendor, m->cpuid, m->time, m->socketid, m->apicid); | ||
204 | |||
205 | /* | ||
206 | * Print out human-readable details about the MCE error, | ||
207 | * (if the CPU has an implementation for that): | ||
208 | */ | ||
209 | x86_mce_decode_callback(m); | ||
197 | } | 210 | } |
198 | 211 | ||
199 | static void print_mce_head(void) | 212 | static void print_mce_head(void) |
200 | { | 213 | { |
201 | printk(KERN_EMERG "\nHARDWARE ERROR\n"); | 214 | pr_emerg("\nHARDWARE ERROR\n"); |
202 | } | 215 | } |
203 | 216 | ||
204 | static void print_mce_tail(void) | 217 | static void print_mce_tail(void) |
205 | { | 218 | { |
206 | printk(KERN_EMERG "This is not a software problem!\n" | 219 | pr_emerg("This is not a software problem!\n"); |
207 | "Run through mcelog --ascii to decode and contact your hardware vendor\n"); | ||
208 | } | 220 | } |
209 | 221 | ||
210 | #define PANIC_TIMEOUT 5 /* 5 seconds */ | 222 | #define PANIC_TIMEOUT 5 /* 5 seconds */ |
@@ -218,6 +230,7 @@ static atomic_t mce_fake_paniced; | |||
218 | static void wait_for_panic(void) | 230 | static void wait_for_panic(void) |
219 | { | 231 | { |
220 | long timeout = PANIC_TIMEOUT*USEC_PER_SEC; | 232 | long timeout = PANIC_TIMEOUT*USEC_PER_SEC; |
233 | |||
221 | preempt_disable(); | 234 | preempt_disable(); |
222 | local_irq_enable(); | 235 | local_irq_enable(); |
223 | while (timeout-- > 0) | 236 | while (timeout-- > 0) |
@@ -285,6 +298,7 @@ static void mce_panic(char *msg, struct mce *final, char *exp) | |||
285 | static int msr_to_offset(u32 msr) | 298 | static int msr_to_offset(u32 msr) |
286 | { | 299 | { |
287 | unsigned bank = __get_cpu_var(injectm.bank); | 300 | unsigned bank = __get_cpu_var(injectm.bank); |
301 | |||
288 | if (msr == rip_msr) | 302 | if (msr == rip_msr) |
289 | return offsetof(struct mce, ip); | 303 | return offsetof(struct mce, ip); |
290 | if (msr == MSR_IA32_MCx_STATUS(bank)) | 304 | if (msr == MSR_IA32_MCx_STATUS(bank)) |
@@ -1200,7 +1214,8 @@ static int __cpuinit mce_cap_init(void) | |||
1200 | rdmsrl(MSR_IA32_MCG_CAP, cap); | 1214 | rdmsrl(MSR_IA32_MCG_CAP, cap); |
1201 | 1215 | ||
1202 | b = cap & MCG_BANKCNT_MASK; | 1216 | b = cap & MCG_BANKCNT_MASK; |
1203 | printk(KERN_INFO "mce: CPU supports %d MCE banks\n", b); | 1217 | if (!banks) |
1218 | printk(KERN_INFO "mce: CPU supports %d MCE banks\n", b); | ||
1204 | 1219 | ||
1205 | if (b > MAX_NR_BANKS) { | 1220 | if (b > MAX_NR_BANKS) { |
1206 | printk(KERN_WARNING | 1221 | printk(KERN_WARNING |
diff --git a/arch/x86/kernel/cpu/mcheck/mce_intel.c b/arch/x86/kernel/cpu/mcheck/mce_intel.c index 889f665fe93d..7c785634af2b 100644 --- a/arch/x86/kernel/cpu/mcheck/mce_intel.c +++ b/arch/x86/kernel/cpu/mcheck/mce_intel.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <linux/init.h> | 8 | #include <linux/init.h> |
9 | #include <linux/interrupt.h> | 9 | #include <linux/interrupt.h> |
10 | #include <linux/percpu.h> | 10 | #include <linux/percpu.h> |
11 | #include <linux/sched.h> | ||
11 | #include <asm/apic.h> | 12 | #include <asm/apic.h> |
12 | #include <asm/processor.h> | 13 | #include <asm/processor.h> |
13 | #include <asm/msr.h> | 14 | #include <asm/msr.h> |
diff --git a/arch/x86/kernel/cpu/mtrr/if.c b/arch/x86/kernel/cpu/mtrr/if.c index f04e72527604..3c1b12d461d1 100644 --- a/arch/x86/kernel/cpu/mtrr/if.c +++ b/arch/x86/kernel/cpu/mtrr/if.c | |||
@@ -96,17 +96,24 @@ mtrr_write(struct file *file, const char __user *buf, size_t len, loff_t * ppos) | |||
96 | unsigned long long base, size; | 96 | unsigned long long base, size; |
97 | char *ptr; | 97 | char *ptr; |
98 | char line[LINE_SIZE]; | 98 | char line[LINE_SIZE]; |
99 | int length; | ||
99 | size_t linelen; | 100 | size_t linelen; |
100 | 101 | ||
101 | if (!capable(CAP_SYS_ADMIN)) | 102 | if (!capable(CAP_SYS_ADMIN)) |
102 | return -EPERM; | 103 | return -EPERM; |
103 | if (!len) | ||
104 | return -EINVAL; | ||
105 | 104 | ||
106 | memset(line, 0, LINE_SIZE); | 105 | memset(line, 0, LINE_SIZE); |
107 | if (len > LINE_SIZE) | 106 | |
108 | len = LINE_SIZE; | 107 | length = len; |
109 | if (copy_from_user(line, buf, len - 1)) | 108 | length--; |
109 | |||
110 | if (length > LINE_SIZE - 1) | ||
111 | length = LINE_SIZE - 1; | ||
112 | |||
113 | if (length < 0) | ||
114 | return -EINVAL; | ||
115 | |||
116 | if (copy_from_user(line, buf, length)) | ||
110 | return -EFAULT; | 117 | return -EFAULT; |
111 | 118 | ||
112 | linelen = strlen(line); | 119 | linelen = strlen(line); |
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 85419bb7d4ab..d17d482a04f4 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c | |||
@@ -1378,8 +1378,8 @@ static unsigned long ram_alignment(resource_size_t pos) | |||
1378 | if (mb < 16) | 1378 | if (mb < 16) |
1379 | return 1024*1024; | 1379 | return 1024*1024; |
1380 | 1380 | ||
1381 | /* To 32MB for anything above that */ | 1381 | /* To 64MB for anything above that */ |
1382 | return 32*1024*1024; | 1382 | return 64*1024*1024; |
1383 | } | 1383 | } |
1384 | 1384 | ||
1385 | #define MAX_RESOURCE_SIZE ((resource_size_t)-1) | 1385 | #define MAX_RESOURCE_SIZE ((resource_size_t)-1) |
diff --git a/arch/x86/kernel/early_printk.c b/arch/x86/kernel/early_printk.c index 41fd965c80c6..b9c830c12b4a 100644 --- a/arch/x86/kernel/early_printk.c +++ b/arch/x86/kernel/early_printk.c | |||
@@ -206,8 +206,11 @@ static int __init setup_early_printk(char *buf) | |||
206 | 206 | ||
207 | while (*buf != '\0') { | 207 | while (*buf != '\0') { |
208 | if (!strncmp(buf, "serial", 6)) { | 208 | if (!strncmp(buf, "serial", 6)) { |
209 | early_serial_init(buf + 6); | 209 | buf += 6; |
210 | early_serial_init(buf); | ||
210 | early_console_register(&early_serial_console, keep); | 211 | early_console_register(&early_serial_console, keep); |
212 | if (!strncmp(buf, ",ttyS", 5)) | ||
213 | buf += 5; | ||
211 | } | 214 | } |
212 | if (!strncmp(buf, "ttyS", 4)) { | 215 | if (!strncmp(buf, "ttyS", 4)) { |
213 | early_serial_init(buf + 4); | 216 | early_serial_init(buf + 4); |
diff --git a/arch/x86/kernel/i386_ksyms_32.c b/arch/x86/kernel/i386_ksyms_32.c index 1736c5a725aa..9c3bd4a2050e 100644 --- a/arch/x86/kernel/i386_ksyms_32.c +++ b/arch/x86/kernel/i386_ksyms_32.c | |||
@@ -15,8 +15,10 @@ EXPORT_SYMBOL(mcount); | |||
15 | * the export, but dont use it from C code, it is used | 15 | * the export, but dont use it from C code, it is used |
16 | * by assembly code and is not using C calling convention! | 16 | * by assembly code and is not using C calling convention! |
17 | */ | 17 | */ |
18 | #ifndef CONFIG_X86_CMPXCHG64 | ||
18 | extern void cmpxchg8b_emu(void); | 19 | extern void cmpxchg8b_emu(void); |
19 | EXPORT_SYMBOL(cmpxchg8b_emu); | 20 | EXPORT_SYMBOL(cmpxchg8b_emu); |
21 | #endif | ||
20 | 22 | ||
21 | /* Networking helper routines. */ | 23 | /* Networking helper routines. */ |
22 | EXPORT_SYMBOL(csum_partial_copy_generic); | 24 | EXPORT_SYMBOL(csum_partial_copy_generic); |
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 74656d1d4e30..04bbd5278568 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c | |||
@@ -63,10 +63,10 @@ static int show_other_interrupts(struct seq_file *p, int prec) | |||
63 | for_each_online_cpu(j) | 63 | for_each_online_cpu(j) |
64 | seq_printf(p, "%10u ", irq_stats(j)->irq_spurious_count); | 64 | seq_printf(p, "%10u ", irq_stats(j)->irq_spurious_count); |
65 | seq_printf(p, " Spurious interrupts\n"); | 65 | seq_printf(p, " Spurious interrupts\n"); |
66 | seq_printf(p, "%*s: ", prec, "CNT"); | 66 | seq_printf(p, "%*s: ", prec, "PMI"); |
67 | for_each_online_cpu(j) | 67 | for_each_online_cpu(j) |
68 | seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs); | 68 | seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs); |
69 | seq_printf(p, " Performance counter interrupts\n"); | 69 | seq_printf(p, " Performance monitoring interrupts\n"); |
70 | seq_printf(p, "%*s: ", prec, "PND"); | 70 | seq_printf(p, "%*s: ", prec, "PND"); |
71 | for_each_online_cpu(j) | 71 | for_each_online_cpu(j) |
72 | seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs); | 72 | seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs); |
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 64b838eac18c..b2a71dca5642 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
@@ -35,7 +35,7 @@ int iommu_detected __read_mostly = 0; | |||
35 | 35 | ||
36 | /* | 36 | /* |
37 | * This variable becomes 1 if iommu=pt is passed on the kernel command line. | 37 | * This variable becomes 1 if iommu=pt is passed on the kernel command line. |
38 | * If this variable is 1, IOMMU implementations do no DMA ranslation for | 38 | * If this variable is 1, IOMMU implementations do no DMA translation for |
39 | * devices and allow every device to access to whole physical memory. This is | 39 | * devices and allow every device to access to whole physical memory. This is |
40 | * useful if a user want to use an IOMMU only for KVM device assignment to | 40 | * useful if a user want to use an IOMMU only for KVM device assignment to |
41 | * guests and not for driver dma translation. | 41 | * guests and not for driver dma translation. |
@@ -311,7 +311,7 @@ void pci_iommu_shutdown(void) | |||
311 | amd_iommu_shutdown(); | 311 | amd_iommu_shutdown(); |
312 | } | 312 | } |
313 | /* Must execute after PCI subsystem */ | 313 | /* Must execute after PCI subsystem */ |
314 | fs_initcall(pci_iommu_init); | 314 | rootfs_initcall(pci_iommu_init); |
315 | 315 | ||
316 | #ifdef CONFIG_PCI | 316 | #ifdef CONFIG_PCI |
317 | /* Many VIA bridges seem to corrupt data for DAC. Disable it here */ | 317 | /* Many VIA bridges seem to corrupt data for DAC. Disable it here */ |
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index 98a827ee9ed7..a7f1b64f86e0 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/agp_backend.h> | 16 | #include <linux/agp_backend.h> |
17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | #include <linux/sched.h> | ||
19 | #include <linux/string.h> | 20 | #include <linux/string.h> |
20 | #include <linux/spinlock.h> | 21 | #include <linux/spinlock.h> |
21 | #include <linux/pci.h> | 22 | #include <linux/pci.h> |
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 27349f92a6d7..a1a3cdda06e1 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <linux/pm.h> | 4 | #include <linux/pm.h> |
5 | #include <linux/efi.h> | 5 | #include <linux/efi.h> |
6 | #include <linux/dmi.h> | 6 | #include <linux/dmi.h> |
7 | #include <linux/sched.h> | ||
7 | #include <linux/tboot.h> | 8 | #include <linux/tboot.h> |
8 | #include <acpi/reboot.h> | 9 | #include <acpi/reboot.h> |
9 | #include <asm/io.h> | 10 | #include <asm/io.h> |
diff --git a/arch/x86/kernel/time.c b/arch/x86/kernel/time.c index dcb00d278512..be2573448ed9 100644 --- a/arch/x86/kernel/time.c +++ b/arch/x86/kernel/time.c | |||
@@ -38,7 +38,8 @@ unsigned long profile_pc(struct pt_regs *regs) | |||
38 | #ifdef CONFIG_FRAME_POINTER | 38 | #ifdef CONFIG_FRAME_POINTER |
39 | return *(unsigned long *)(regs->bp + sizeof(long)); | 39 | return *(unsigned long *)(regs->bp + sizeof(long)); |
40 | #else | 40 | #else |
41 | unsigned long *sp = (unsigned long *)regs->sp; | 41 | unsigned long *sp = |
42 | (unsigned long *)kernel_stack_pointer(regs); | ||
42 | /* | 43 | /* |
43 | * Return address is either directly at stack pointer | 44 | * Return address is either directly at stack pointer |
44 | * or above a saved flags. Eflags has bits 22-31 zero, | 45 | * or above a saved flags. Eflags has bits 22-31 zero, |
diff --git a/arch/x86/kernel/tlb_uv.c b/arch/x86/kernel/tlb_uv.c index 503c1f2e8835..1740c85e24bb 100644 --- a/arch/x86/kernel/tlb_uv.c +++ b/arch/x86/kernel/tlb_uv.c | |||
@@ -23,8 +23,6 @@ | |||
23 | static struct bau_control **uv_bau_table_bases __read_mostly; | 23 | static struct bau_control **uv_bau_table_bases __read_mostly; |
24 | static int uv_bau_retry_limit __read_mostly; | 24 | static int uv_bau_retry_limit __read_mostly; |
25 | 25 | ||
26 | /* position of pnode (which is nasid>>1): */ | ||
27 | static int uv_nshift __read_mostly; | ||
28 | /* base pnode in this partition */ | 26 | /* base pnode in this partition */ |
29 | static int uv_partition_base_pnode __read_mostly; | 27 | static int uv_partition_base_pnode __read_mostly; |
30 | 28 | ||
@@ -723,7 +721,7 @@ uv_activation_descriptor_init(int node, int pnode) | |||
723 | BUG_ON(!adp); | 721 | BUG_ON(!adp); |
724 | 722 | ||
725 | pa = uv_gpa(adp); /* need the real nasid*/ | 723 | pa = uv_gpa(adp); /* need the real nasid*/ |
726 | n = pa >> uv_nshift; | 724 | n = uv_gpa_to_pnode(pa); |
727 | m = pa & uv_mmask; | 725 | m = pa & uv_mmask; |
728 | 726 | ||
729 | uv_write_global_mmr64(pnode, UVH_LB_BAU_SB_DESCRIPTOR_BASE, | 727 | uv_write_global_mmr64(pnode, UVH_LB_BAU_SB_DESCRIPTOR_BASE, |
@@ -778,7 +776,7 @@ uv_payload_queue_init(int node, int pnode, struct bau_control *bau_tablesp) | |||
778 | * need the pnode of where the memory was really allocated | 776 | * need the pnode of where the memory was really allocated |
779 | */ | 777 | */ |
780 | pa = uv_gpa(pqp); | 778 | pa = uv_gpa(pqp); |
781 | pn = pa >> uv_nshift; | 779 | pn = uv_gpa_to_pnode(pa); |
782 | uv_write_global_mmr64(pnode, | 780 | uv_write_global_mmr64(pnode, |
783 | UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST, | 781 | UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST, |
784 | ((unsigned long)pn << UV_PAYLOADQ_PNODE_SHIFT) | | 782 | ((unsigned long)pn << UV_PAYLOADQ_PNODE_SHIFT) | |
@@ -843,8 +841,7 @@ static int __init uv_bau_init(void) | |||
843 | GFP_KERNEL, cpu_to_node(cur_cpu)); | 841 | GFP_KERNEL, cpu_to_node(cur_cpu)); |
844 | 842 | ||
845 | uv_bau_retry_limit = 1; | 843 | uv_bau_retry_limit = 1; |
846 | uv_nshift = uv_hub_info->n_val; | 844 | uv_mmask = (1UL << uv_hub_info->m_val) - 1; |
847 | uv_mmask = (1UL << uv_hub_info->n_val) - 1; | ||
848 | nblades = uv_num_possible_blades(); | 845 | nblades = uv_num_possible_blades(); |
849 | 846 | ||
850 | uv_bau_table_bases = (struct bau_control **) | 847 | uv_bau_table_bases = (struct bau_control **) |
diff --git a/arch/x86/kernel/trampoline.c b/arch/x86/kernel/trampoline.c index 699f7eeb896a..cd022121cab6 100644 --- a/arch/x86/kernel/trampoline.c +++ b/arch/x86/kernel/trampoline.c | |||
@@ -3,8 +3,16 @@ | |||
3 | #include <asm/trampoline.h> | 3 | #include <asm/trampoline.h> |
4 | #include <asm/e820.h> | 4 | #include <asm/e820.h> |
5 | 5 | ||
6 | #if defined(CONFIG_X86_64) && defined(CONFIG_ACPI_SLEEP) | ||
7 | #define __trampinit | ||
8 | #define __trampinitdata | ||
9 | #else | ||
10 | #define __trampinit __cpuinit | ||
11 | #define __trampinitdata __cpuinitdata | ||
12 | #endif | ||
13 | |||
6 | /* ready for x86_64 and x86 */ | 14 | /* ready for x86_64 and x86 */ |
7 | unsigned char *__cpuinitdata trampoline_base = __va(TRAMPOLINE_BASE); | 15 | unsigned char *__trampinitdata trampoline_base = __va(TRAMPOLINE_BASE); |
8 | 16 | ||
9 | void __init reserve_trampoline_memory(void) | 17 | void __init reserve_trampoline_memory(void) |
10 | { | 18 | { |
@@ -26,7 +34,7 @@ void __init reserve_trampoline_memory(void) | |||
26 | * bootstrap into the page concerned. The caller | 34 | * bootstrap into the page concerned. The caller |
27 | * has made sure it's suitably aligned. | 35 | * has made sure it's suitably aligned. |
28 | */ | 36 | */ |
29 | unsigned long __cpuinit setup_trampoline(void) | 37 | unsigned long __trampinit setup_trampoline(void) |
30 | { | 38 | { |
31 | memcpy(trampoline_base, trampoline_data, TRAMPOLINE_SIZE); | 39 | memcpy(trampoline_base, trampoline_data, TRAMPOLINE_SIZE); |
32 | return virt_to_phys(trampoline_base); | 40 | return virt_to_phys(trampoline_base); |
diff --git a/arch/x86/kernel/trampoline_64.S b/arch/x86/kernel/trampoline_64.S index 596d54c660a5..3af2dff58b21 100644 --- a/arch/x86/kernel/trampoline_64.S +++ b/arch/x86/kernel/trampoline_64.S | |||
@@ -32,8 +32,12 @@ | |||
32 | #include <asm/segment.h> | 32 | #include <asm/segment.h> |
33 | #include <asm/processor-flags.h> | 33 | #include <asm/processor-flags.h> |
34 | 34 | ||
35 | #ifdef CONFIG_ACPI_SLEEP | ||
36 | .section .rodata, "a", @progbits | ||
37 | #else | ||
35 | /* We can free up the trampoline after bootup if cpu hotplug is not supported. */ | 38 | /* We can free up the trampoline after bootup if cpu hotplug is not supported. */ |
36 | __CPUINITRODATA | 39 | __CPUINITRODATA |
40 | #endif | ||
37 | .code16 | 41 | .code16 |
38 | 42 | ||
39 | ENTRY(trampoline_data) | 43 | ENTRY(trampoline_data) |
diff --git a/arch/x86/kernel/vmi_32.c b/arch/x86/kernel/vmi_32.c index 31e6f6cfe53e..d430e4c30193 100644 --- a/arch/x86/kernel/vmi_32.c +++ b/arch/x86/kernel/vmi_32.c | |||
@@ -648,7 +648,7 @@ static inline int __init activate_vmi(void) | |||
648 | 648 | ||
649 | pv_info.paravirt_enabled = 1; | 649 | pv_info.paravirt_enabled = 1; |
650 | pv_info.kernel_rpl = kernel_cs & SEGMENT_RPL_MASK; | 650 | pv_info.kernel_rpl = kernel_cs & SEGMENT_RPL_MASK; |
651 | pv_info.name = "vmi"; | 651 | pv_info.name = "vmi [deprecated]"; |
652 | 652 | ||
653 | pv_init_ops.patch = vmi_patch; | 653 | pv_init_ops.patch = vmi_patch; |
654 | 654 | ||
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 92929fb3f9fa..3c68fe2d46cf 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
@@ -305,6 +305,9 @@ SECTIONS | |||
305 | 305 | ||
306 | 306 | ||
307 | #ifdef CONFIG_X86_32 | 307 | #ifdef CONFIG_X86_32 |
308 | /* | ||
309 | * The ASSERT() sink to . is intentional, for binutils 2.14 compatibility: | ||
310 | */ | ||
308 | . = ASSERT((_end - LOAD_OFFSET <= KERNEL_IMAGE_SIZE), | 311 | . = ASSERT((_end - LOAD_OFFSET <= KERNEL_IMAGE_SIZE), |
309 | "kernel image bigger than KERNEL_IMAGE_SIZE"); | 312 | "kernel image bigger than KERNEL_IMAGE_SIZE"); |
310 | #else | 313 | #else |
diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index 82ad523b4901..144e7f60b5e2 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c | |||
@@ -116,7 +116,7 @@ static s64 __kpit_elapsed(struct kvm *kvm) | |||
116 | * itself with the initial count and continues counting | 116 | * itself with the initial count and continues counting |
117 | * from there. | 117 | * from there. |
118 | */ | 118 | */ |
119 | remaining = hrtimer_expires_remaining(&ps->pit_timer.timer); | 119 | remaining = hrtimer_get_remaining(&ps->pit_timer.timer); |
120 | elapsed = ps->pit_timer.period - ktime_to_ns(remaining); | 120 | elapsed = ps->pit_timer.period - ktime_to_ns(remaining); |
121 | elapsed = mod_64(elapsed, ps->pit_timer.period); | 121 | elapsed = mod_64(elapsed, ps->pit_timer.period); |
122 | 122 | ||
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 1ae5ceba7eb2..23c217692ea9 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c | |||
@@ -521,7 +521,7 @@ static u32 apic_get_tmcct(struct kvm_lapic *apic) | |||
521 | if (apic_get_reg(apic, APIC_TMICT) == 0) | 521 | if (apic_get_reg(apic, APIC_TMICT) == 0) |
522 | return 0; | 522 | return 0; |
523 | 523 | ||
524 | remaining = hrtimer_expires_remaining(&apic->lapic_timer.timer); | 524 | remaining = hrtimer_get_remaining(&apic->lapic_timer.timer); |
525 | if (ktime_to_ns(remaining) < 0) | 525 | if (ktime_to_ns(remaining) < 0) |
526 | remaining = ktime_set(0, 0); | 526 | remaining = ktime_set(0, 0); |
527 | 527 | ||
@@ -664,7 +664,7 @@ static void start_apic_timer(struct kvm_lapic *apic) | |||
664 | { | 664 | { |
665 | ktime_t now = apic->lapic_timer.timer.base->get_time(); | 665 | ktime_t now = apic->lapic_timer.timer.base->get_time(); |
666 | 666 | ||
667 | apic->lapic_timer.period = apic_get_reg(apic, APIC_TMICT) * | 667 | apic->lapic_timer.period = (u64)apic_get_reg(apic, APIC_TMICT) * |
668 | APIC_BUS_CYCLE_NS * apic->divide_count; | 668 | APIC_BUS_CYCLE_NS * apic->divide_count; |
669 | atomic_set(&apic->lapic_timer.pending, 0); | 669 | atomic_set(&apic->lapic_timer.pending, 0); |
670 | 670 | ||
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index eca41ae9f453..818b92ad82cf 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -156,6 +156,8 @@ module_param(oos_shadow, bool, 0644); | |||
156 | #define CREATE_TRACE_POINTS | 156 | #define CREATE_TRACE_POINTS |
157 | #include "mmutrace.h" | 157 | #include "mmutrace.h" |
158 | 158 | ||
159 | #define SPTE_HOST_WRITEABLE (1ULL << PT_FIRST_AVAIL_BITS_SHIFT) | ||
160 | |||
159 | #define SHADOW_PT_INDEX(addr, level) PT64_INDEX(addr, level) | 161 | #define SHADOW_PT_INDEX(addr, level) PT64_INDEX(addr, level) |
160 | 162 | ||
161 | struct kvm_rmap_desc { | 163 | struct kvm_rmap_desc { |
@@ -634,9 +636,7 @@ static void rmap_remove(struct kvm *kvm, u64 *spte) | |||
634 | if (*spte & shadow_accessed_mask) | 636 | if (*spte & shadow_accessed_mask) |
635 | kvm_set_pfn_accessed(pfn); | 637 | kvm_set_pfn_accessed(pfn); |
636 | if (is_writeble_pte(*spte)) | 638 | if (is_writeble_pte(*spte)) |
637 | kvm_release_pfn_dirty(pfn); | 639 | kvm_set_pfn_dirty(pfn); |
638 | else | ||
639 | kvm_release_pfn_clean(pfn); | ||
640 | rmapp = gfn_to_rmap(kvm, sp->gfns[spte - sp->spt], sp->role.level); | 640 | rmapp = gfn_to_rmap(kvm, sp->gfns[spte - sp->spt], sp->role.level); |
641 | if (!*rmapp) { | 641 | if (!*rmapp) { |
642 | printk(KERN_ERR "rmap_remove: %p %llx 0->BUG\n", spte, *spte); | 642 | printk(KERN_ERR "rmap_remove: %p %llx 0->BUG\n", spte, *spte); |
@@ -748,7 +748,8 @@ static int rmap_write_protect(struct kvm *kvm, u64 gfn) | |||
748 | return write_protected; | 748 | return write_protected; |
749 | } | 749 | } |
750 | 750 | ||
751 | static int kvm_unmap_rmapp(struct kvm *kvm, unsigned long *rmapp) | 751 | static int kvm_unmap_rmapp(struct kvm *kvm, unsigned long *rmapp, |
752 | unsigned long data) | ||
752 | { | 753 | { |
753 | u64 *spte; | 754 | u64 *spte; |
754 | int need_tlb_flush = 0; | 755 | int need_tlb_flush = 0; |
@@ -763,8 +764,47 @@ static int kvm_unmap_rmapp(struct kvm *kvm, unsigned long *rmapp) | |||
763 | return need_tlb_flush; | 764 | return need_tlb_flush; |
764 | } | 765 | } |
765 | 766 | ||
767 | static int kvm_set_pte_rmapp(struct kvm *kvm, unsigned long *rmapp, | ||
768 | unsigned long data) | ||
769 | { | ||
770 | int need_flush = 0; | ||
771 | u64 *spte, new_spte; | ||
772 | pte_t *ptep = (pte_t *)data; | ||
773 | pfn_t new_pfn; | ||
774 | |||
775 | WARN_ON(pte_huge(*ptep)); | ||
776 | new_pfn = pte_pfn(*ptep); | ||
777 | spte = rmap_next(kvm, rmapp, NULL); | ||
778 | while (spte) { | ||
779 | BUG_ON(!is_shadow_present_pte(*spte)); | ||
780 | rmap_printk("kvm_set_pte_rmapp: spte %p %llx\n", spte, *spte); | ||
781 | need_flush = 1; | ||
782 | if (pte_write(*ptep)) { | ||
783 | rmap_remove(kvm, spte); | ||
784 | __set_spte(spte, shadow_trap_nonpresent_pte); | ||
785 | spte = rmap_next(kvm, rmapp, NULL); | ||
786 | } else { | ||
787 | new_spte = *spte &~ (PT64_BASE_ADDR_MASK); | ||
788 | new_spte |= (u64)new_pfn << PAGE_SHIFT; | ||
789 | |||
790 | new_spte &= ~PT_WRITABLE_MASK; | ||
791 | new_spte &= ~SPTE_HOST_WRITEABLE; | ||
792 | if (is_writeble_pte(*spte)) | ||
793 | kvm_set_pfn_dirty(spte_to_pfn(*spte)); | ||
794 | __set_spte(spte, new_spte); | ||
795 | spte = rmap_next(kvm, rmapp, spte); | ||
796 | } | ||
797 | } | ||
798 | if (need_flush) | ||
799 | kvm_flush_remote_tlbs(kvm); | ||
800 | |||
801 | return 0; | ||
802 | } | ||
803 | |||
766 | static int kvm_handle_hva(struct kvm *kvm, unsigned long hva, | 804 | static int kvm_handle_hva(struct kvm *kvm, unsigned long hva, |
767 | int (*handler)(struct kvm *kvm, unsigned long *rmapp)) | 805 | unsigned long data, |
806 | int (*handler)(struct kvm *kvm, unsigned long *rmapp, | ||
807 | unsigned long data)) | ||
768 | { | 808 | { |
769 | int i, j; | 809 | int i, j; |
770 | int retval = 0; | 810 | int retval = 0; |
@@ -786,13 +826,15 @@ static int kvm_handle_hva(struct kvm *kvm, unsigned long hva, | |||
786 | if (hva >= start && hva < end) { | 826 | if (hva >= start && hva < end) { |
787 | gfn_t gfn_offset = (hva - start) >> PAGE_SHIFT; | 827 | gfn_t gfn_offset = (hva - start) >> PAGE_SHIFT; |
788 | 828 | ||
789 | retval |= handler(kvm, &memslot->rmap[gfn_offset]); | 829 | retval |= handler(kvm, &memslot->rmap[gfn_offset], |
830 | data); | ||
790 | 831 | ||
791 | for (j = 0; j < KVM_NR_PAGE_SIZES - 1; ++j) { | 832 | for (j = 0; j < KVM_NR_PAGE_SIZES - 1; ++j) { |
792 | int idx = gfn_offset; | 833 | int idx = gfn_offset; |
793 | idx /= KVM_PAGES_PER_HPAGE(PT_DIRECTORY_LEVEL + j); | 834 | idx /= KVM_PAGES_PER_HPAGE(PT_DIRECTORY_LEVEL + j); |
794 | retval |= handler(kvm, | 835 | retval |= handler(kvm, |
795 | &memslot->lpage_info[j][idx].rmap_pde); | 836 | &memslot->lpage_info[j][idx].rmap_pde, |
837 | data); | ||
796 | } | 838 | } |
797 | } | 839 | } |
798 | } | 840 | } |
@@ -802,10 +844,16 @@ static int kvm_handle_hva(struct kvm *kvm, unsigned long hva, | |||
802 | 844 | ||
803 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva) | 845 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva) |
804 | { | 846 | { |
805 | return kvm_handle_hva(kvm, hva, kvm_unmap_rmapp); | 847 | return kvm_handle_hva(kvm, hva, 0, kvm_unmap_rmapp); |
806 | } | 848 | } |
807 | 849 | ||
808 | static int kvm_age_rmapp(struct kvm *kvm, unsigned long *rmapp) | 850 | void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte) |
851 | { | ||
852 | kvm_handle_hva(kvm, hva, (unsigned long)&pte, kvm_set_pte_rmapp); | ||
853 | } | ||
854 | |||
855 | static int kvm_age_rmapp(struct kvm *kvm, unsigned long *rmapp, | ||
856 | unsigned long data) | ||
809 | { | 857 | { |
810 | u64 *spte; | 858 | u64 *spte; |
811 | int young = 0; | 859 | int young = 0; |
@@ -841,13 +889,13 @@ static void rmap_recycle(struct kvm_vcpu *vcpu, u64 *spte, gfn_t gfn) | |||
841 | gfn = unalias_gfn(vcpu->kvm, gfn); | 889 | gfn = unalias_gfn(vcpu->kvm, gfn); |
842 | rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp->role.level); | 890 | rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp->role.level); |
843 | 891 | ||
844 | kvm_unmap_rmapp(vcpu->kvm, rmapp); | 892 | kvm_unmap_rmapp(vcpu->kvm, rmapp, 0); |
845 | kvm_flush_remote_tlbs(vcpu->kvm); | 893 | kvm_flush_remote_tlbs(vcpu->kvm); |
846 | } | 894 | } |
847 | 895 | ||
848 | int kvm_age_hva(struct kvm *kvm, unsigned long hva) | 896 | int kvm_age_hva(struct kvm *kvm, unsigned long hva) |
849 | { | 897 | { |
850 | return kvm_handle_hva(kvm, hva, kvm_age_rmapp); | 898 | return kvm_handle_hva(kvm, hva, 0, kvm_age_rmapp); |
851 | } | 899 | } |
852 | 900 | ||
853 | #ifdef MMU_DEBUG | 901 | #ifdef MMU_DEBUG |
@@ -1756,7 +1804,7 @@ static int set_spte(struct kvm_vcpu *vcpu, u64 *sptep, | |||
1756 | unsigned pte_access, int user_fault, | 1804 | unsigned pte_access, int user_fault, |
1757 | int write_fault, int dirty, int level, | 1805 | int write_fault, int dirty, int level, |
1758 | gfn_t gfn, pfn_t pfn, bool speculative, | 1806 | gfn_t gfn, pfn_t pfn, bool speculative, |
1759 | bool can_unsync) | 1807 | bool can_unsync, bool reset_host_protection) |
1760 | { | 1808 | { |
1761 | u64 spte; | 1809 | u64 spte; |
1762 | int ret = 0; | 1810 | int ret = 0; |
@@ -1783,6 +1831,9 @@ static int set_spte(struct kvm_vcpu *vcpu, u64 *sptep, | |||
1783 | spte |= kvm_x86_ops->get_mt_mask(vcpu, gfn, | 1831 | spte |= kvm_x86_ops->get_mt_mask(vcpu, gfn, |
1784 | kvm_is_mmio_pfn(pfn)); | 1832 | kvm_is_mmio_pfn(pfn)); |
1785 | 1833 | ||
1834 | if (reset_host_protection) | ||
1835 | spte |= SPTE_HOST_WRITEABLE; | ||
1836 | |||
1786 | spte |= (u64)pfn << PAGE_SHIFT; | 1837 | spte |= (u64)pfn << PAGE_SHIFT; |
1787 | 1838 | ||
1788 | if ((pte_access & ACC_WRITE_MASK) | 1839 | if ((pte_access & ACC_WRITE_MASK) |
@@ -1828,7 +1879,8 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep, | |||
1828 | unsigned pt_access, unsigned pte_access, | 1879 | unsigned pt_access, unsigned pte_access, |
1829 | int user_fault, int write_fault, int dirty, | 1880 | int user_fault, int write_fault, int dirty, |
1830 | int *ptwrite, int level, gfn_t gfn, | 1881 | int *ptwrite, int level, gfn_t gfn, |
1831 | pfn_t pfn, bool speculative) | 1882 | pfn_t pfn, bool speculative, |
1883 | bool reset_host_protection) | ||
1832 | { | 1884 | { |
1833 | int was_rmapped = 0; | 1885 | int was_rmapped = 0; |
1834 | int was_writeble = is_writeble_pte(*sptep); | 1886 | int was_writeble = is_writeble_pte(*sptep); |
@@ -1860,7 +1912,8 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep, | |||
1860 | } | 1912 | } |
1861 | 1913 | ||
1862 | if (set_spte(vcpu, sptep, pte_access, user_fault, write_fault, | 1914 | if (set_spte(vcpu, sptep, pte_access, user_fault, write_fault, |
1863 | dirty, level, gfn, pfn, speculative, true)) { | 1915 | dirty, level, gfn, pfn, speculative, true, |
1916 | reset_host_protection)) { | ||
1864 | if (write_fault) | 1917 | if (write_fault) |
1865 | *ptwrite = 1; | 1918 | *ptwrite = 1; |
1866 | kvm_x86_ops->tlb_flush(vcpu); | 1919 | kvm_x86_ops->tlb_flush(vcpu); |
@@ -1877,8 +1930,7 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep, | |||
1877 | page_header_update_slot(vcpu->kvm, sptep, gfn); | 1930 | page_header_update_slot(vcpu->kvm, sptep, gfn); |
1878 | if (!was_rmapped) { | 1931 | if (!was_rmapped) { |
1879 | rmap_count = rmap_add(vcpu, sptep, gfn); | 1932 | rmap_count = rmap_add(vcpu, sptep, gfn); |
1880 | if (!is_rmap_spte(*sptep)) | 1933 | kvm_release_pfn_clean(pfn); |
1881 | kvm_release_pfn_clean(pfn); | ||
1882 | if (rmap_count > RMAP_RECYCLE_THRESHOLD) | 1934 | if (rmap_count > RMAP_RECYCLE_THRESHOLD) |
1883 | rmap_recycle(vcpu, sptep, gfn); | 1935 | rmap_recycle(vcpu, sptep, gfn); |
1884 | } else { | 1936 | } else { |
@@ -1909,7 +1961,7 @@ static int __direct_map(struct kvm_vcpu *vcpu, gpa_t v, int write, | |||
1909 | if (iterator.level == level) { | 1961 | if (iterator.level == level) { |
1910 | mmu_set_spte(vcpu, iterator.sptep, ACC_ALL, ACC_ALL, | 1962 | mmu_set_spte(vcpu, iterator.sptep, ACC_ALL, ACC_ALL, |
1911 | 0, write, 1, &pt_write, | 1963 | 0, write, 1, &pt_write, |
1912 | level, gfn, pfn, false); | 1964 | level, gfn, pfn, false, true); |
1913 | ++vcpu->stat.pf_fixed; | 1965 | ++vcpu->stat.pf_fixed; |
1914 | break; | 1966 | break; |
1915 | } | 1967 | } |
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index d2fec9c12d22..72558f8ff3f5 100644 --- a/arch/x86/kvm/paging_tmpl.h +++ b/arch/x86/kvm/paging_tmpl.h | |||
@@ -273,9 +273,13 @@ static void FNAME(update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *page, | |||
273 | if (mmu_notifier_retry(vcpu, vcpu->arch.update_pte.mmu_seq)) | 273 | if (mmu_notifier_retry(vcpu, vcpu->arch.update_pte.mmu_seq)) |
274 | return; | 274 | return; |
275 | kvm_get_pfn(pfn); | 275 | kvm_get_pfn(pfn); |
276 | /* | ||
277 | * we call mmu_set_spte() with reset_host_protection = true beacuse that | ||
278 | * vcpu->arch.update_pte.pfn was fetched from get_user_pages(write = 1). | ||
279 | */ | ||
276 | mmu_set_spte(vcpu, spte, page->role.access, pte_access, 0, 0, | 280 | mmu_set_spte(vcpu, spte, page->role.access, pte_access, 0, 0, |
277 | gpte & PT_DIRTY_MASK, NULL, PT_PAGE_TABLE_LEVEL, | 281 | gpte & PT_DIRTY_MASK, NULL, PT_PAGE_TABLE_LEVEL, |
278 | gpte_to_gfn(gpte), pfn, true); | 282 | gpte_to_gfn(gpte), pfn, true, true); |
279 | } | 283 | } |
280 | 284 | ||
281 | /* | 285 | /* |
@@ -308,7 +312,7 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr, | |||
308 | user_fault, write_fault, | 312 | user_fault, write_fault, |
309 | gw->ptes[gw->level-1] & PT_DIRTY_MASK, | 313 | gw->ptes[gw->level-1] & PT_DIRTY_MASK, |
310 | ptwrite, level, | 314 | ptwrite, level, |
311 | gw->gfn, pfn, false); | 315 | gw->gfn, pfn, false, true); |
312 | break; | 316 | break; |
313 | } | 317 | } |
314 | 318 | ||
@@ -558,6 +562,7 @@ static void FNAME(prefetch_page)(struct kvm_vcpu *vcpu, | |||
558 | static int FNAME(sync_page)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp) | 562 | static int FNAME(sync_page)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp) |
559 | { | 563 | { |
560 | int i, offset, nr_present; | 564 | int i, offset, nr_present; |
565 | bool reset_host_protection; | ||
561 | 566 | ||
562 | offset = nr_present = 0; | 567 | offset = nr_present = 0; |
563 | 568 | ||
@@ -595,9 +600,16 @@ static int FNAME(sync_page)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp) | |||
595 | 600 | ||
596 | nr_present++; | 601 | nr_present++; |
597 | pte_access = sp->role.access & FNAME(gpte_access)(vcpu, gpte); | 602 | pte_access = sp->role.access & FNAME(gpte_access)(vcpu, gpte); |
603 | if (!(sp->spt[i] & SPTE_HOST_WRITEABLE)) { | ||
604 | pte_access &= ~ACC_WRITE_MASK; | ||
605 | reset_host_protection = 0; | ||
606 | } else { | ||
607 | reset_host_protection = 1; | ||
608 | } | ||
598 | set_spte(vcpu, &sp->spt[i], pte_access, 0, 0, | 609 | set_spte(vcpu, &sp->spt[i], pte_access, 0, 0, |
599 | is_dirty_gpte(gpte), PT_PAGE_TABLE_LEVEL, gfn, | 610 | is_dirty_gpte(gpte), PT_PAGE_TABLE_LEVEL, gfn, |
600 | spte_to_pfn(sp->spt[i]), true, false); | 611 | spte_to_pfn(sp->spt[i]), true, false, |
612 | reset_host_protection); | ||
601 | } | 613 | } |
602 | 614 | ||
603 | return !nr_present; | 615 | return !nr_present; |
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 944cc9c04b3c..c17404add91f 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -767,6 +767,8 @@ static void svm_vcpu_load(struct kvm_vcpu *vcpu, int cpu) | |||
767 | rdtscll(tsc_this); | 767 | rdtscll(tsc_this); |
768 | delta = vcpu->arch.host_tsc - tsc_this; | 768 | delta = vcpu->arch.host_tsc - tsc_this; |
769 | svm->vmcb->control.tsc_offset += delta; | 769 | svm->vmcb->control.tsc_offset += delta; |
770 | if (is_nested(svm)) | ||
771 | svm->nested.hsave->control.tsc_offset += delta; | ||
770 | vcpu->cpu = cpu; | 772 | vcpu->cpu = cpu; |
771 | kvm_migrate_timers(vcpu); | 773 | kvm_migrate_timers(vcpu); |
772 | svm->asid_generation = 0; | 774 | svm->asid_generation = 0; |
@@ -2057,10 +2059,14 @@ static int svm_get_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 *data) | |||
2057 | 2059 | ||
2058 | switch (ecx) { | 2060 | switch (ecx) { |
2059 | case MSR_IA32_TSC: { | 2061 | case MSR_IA32_TSC: { |
2060 | u64 tsc; | 2062 | u64 tsc_offset; |
2063 | |||
2064 | if (is_nested(svm)) | ||
2065 | tsc_offset = svm->nested.hsave->control.tsc_offset; | ||
2066 | else | ||
2067 | tsc_offset = svm->vmcb->control.tsc_offset; | ||
2061 | 2068 | ||
2062 | rdtscll(tsc); | 2069 | *data = tsc_offset + native_read_tsc(); |
2063 | *data = svm->vmcb->control.tsc_offset + tsc; | ||
2064 | break; | 2070 | break; |
2065 | } | 2071 | } |
2066 | case MSR_K6_STAR: | 2072 | case MSR_K6_STAR: |
@@ -2146,10 +2152,17 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 data) | |||
2146 | 2152 | ||
2147 | switch (ecx) { | 2153 | switch (ecx) { |
2148 | case MSR_IA32_TSC: { | 2154 | case MSR_IA32_TSC: { |
2149 | u64 tsc; | 2155 | u64 tsc_offset = data - native_read_tsc(); |
2156 | u64 g_tsc_offset = 0; | ||
2157 | |||
2158 | if (is_nested(svm)) { | ||
2159 | g_tsc_offset = svm->vmcb->control.tsc_offset - | ||
2160 | svm->nested.hsave->control.tsc_offset; | ||
2161 | svm->nested.hsave->control.tsc_offset = tsc_offset; | ||
2162 | } | ||
2163 | |||
2164 | svm->vmcb->control.tsc_offset = tsc_offset + g_tsc_offset; | ||
2150 | 2165 | ||
2151 | rdtscll(tsc); | ||
2152 | svm->vmcb->control.tsc_offset = data - tsc; | ||
2153 | break; | 2166 | break; |
2154 | } | 2167 | } |
2155 | case MSR_K6_STAR: | 2168 | case MSR_K6_STAR: |
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index f3812014bd0b..ed53b42caba1 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -709,7 +709,7 @@ static void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu) | |||
709 | if (vcpu->cpu != cpu) { | 709 | if (vcpu->cpu != cpu) { |
710 | vcpu_clear(vmx); | 710 | vcpu_clear(vmx); |
711 | kvm_migrate_timers(vcpu); | 711 | kvm_migrate_timers(vcpu); |
712 | vpid_sync_vcpu_all(vmx); | 712 | set_bit(KVM_REQ_TLB_FLUSH, &vcpu->requests); |
713 | local_irq_disable(); | 713 | local_irq_disable(); |
714 | list_add(&vmx->local_vcpus_link, | 714 | list_add(&vmx->local_vcpus_link, |
715 | &per_cpu(vcpus_on_cpu, cpu)); | 715 | &per_cpu(vcpus_on_cpu, cpu)); |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index be451ee44249..9b9695322f56 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -1591,6 +1591,8 @@ static int kvm_dev_ioctl_get_supported_cpuid(struct kvm_cpuid2 *cpuid, | |||
1591 | 1591 | ||
1592 | if (cpuid->nent < 1) | 1592 | if (cpuid->nent < 1) |
1593 | goto out; | 1593 | goto out; |
1594 | if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) | ||
1595 | cpuid->nent = KVM_MAX_CPUID_ENTRIES; | ||
1594 | r = -ENOMEM; | 1596 | r = -ENOMEM; |
1595 | cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry2) * cpuid->nent); | 1597 | cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry2) * cpuid->nent); |
1596 | if (!cpuid_entries) | 1598 | if (!cpuid_entries) |
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index 3e549b8ec8c9..85f5db95c60f 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile | |||
@@ -15,8 +15,10 @@ ifeq ($(CONFIG_X86_32),y) | |||
15 | obj-y += atomic64_32.o | 15 | obj-y += atomic64_32.o |
16 | lib-y += checksum_32.o | 16 | lib-y += checksum_32.o |
17 | lib-y += strstr_32.o | 17 | lib-y += strstr_32.o |
18 | lib-y += semaphore_32.o string_32.o cmpxchg8b_emu.o | 18 | lib-y += semaphore_32.o string_32.o |
19 | 19 | ifneq ($(CONFIG_X86_CMPXCHG64),y) | |
20 | lib-y += cmpxchg8b_emu.o | ||
21 | endif | ||
20 | lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o | 22 | lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o |
21 | else | 23 | else |
22 | obj-y += io_64.o iomap_copy_64.o | 24 | obj-y += io_64.o iomap_copy_64.o |
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 3439616d69f1..23a4d80fb39e 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1075,6 +1075,8 @@ asmlinkage void __init xen_start_kernel(void) | |||
1075 | * Set up some pagetable state before starting to set any ptes. | 1075 | * Set up some pagetable state before starting to set any ptes. |
1076 | */ | 1076 | */ |
1077 | 1077 | ||
1078 | xen_init_mmu_ops(); | ||
1079 | |||
1078 | /* Prevent unwanted bits from being set in PTEs. */ | 1080 | /* Prevent unwanted bits from being set in PTEs. */ |
1079 | __supported_pte_mask &= ~_PAGE_GLOBAL; | 1081 | __supported_pte_mask &= ~_PAGE_GLOBAL; |
1080 | if (!xen_initial_domain()) | 1082 | if (!xen_initial_domain()) |
@@ -1099,7 +1101,6 @@ asmlinkage void __init xen_start_kernel(void) | |||
1099 | */ | 1101 | */ |
1100 | xen_setup_stackprotector(); | 1102 | xen_setup_stackprotector(); |
1101 | 1103 | ||
1102 | xen_init_mmu_ops(); | ||
1103 | xen_init_irq_ops(); | 1104 | xen_init_irq_ops(); |
1104 | xen_init_cpuid_mask(); | 1105 | xen_init_cpuid_mask(); |
1105 | 1106 | ||
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 19085ff0484a..19f7df30937f 100644 --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c | |||
@@ -13,6 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
16 | #include <linux/sched.h> | ||
16 | #include <linux/time.h> | 17 | #include <linux/time.h> |
17 | #include <linux/clocksource.h> | 18 | #include <linux/clocksource.h> |
18 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |