diff options
| -rw-r--r-- | Documentation/powerpc/dts-bindings/fsl/i2c.txt | 46 | ||||
| -rw-r--r-- | arch/powerpc/Kconfig | 2 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/tqm8540.dts | 4 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/tqm8541.dts | 4 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/tqm8548-bigflash.dts | 8 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/tqm8548.dts | 8 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/tqm8555.dts | 4 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/tqm8560.dts | 4 | ||||
| -rw-r--r-- | arch/powerpc/configs/85xx/tqm8548_defconfig | 164 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/futex.h | 12 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/mmu.h | 6 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/ppc-opcode.h | 13 | ||||
| -rw-r--r-- | arch/powerpc/kernel/cputable.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/mm/tlb_nohash.c | 1 | ||||
| -rw-r--r-- | arch/powerpc/mm/tlb_nohash_low.S | 14 | ||||
| -rw-r--r-- | arch/powerpc/platforms/pseries/dtl.c | 1 | ||||
| -rw-r--r-- | arch/powerpc/platforms/pseries/eeh_driver.c | 2 | ||||
| -rw-r--r-- | include/linux/fsl_devices.h | 4 |
18 files changed, 136 insertions, 163 deletions
diff --git a/Documentation/powerpc/dts-bindings/fsl/i2c.txt b/Documentation/powerpc/dts-bindings/fsl/i2c.txt index d0ab33e21fe6..b6d2e21474f9 100644 --- a/Documentation/powerpc/dts-bindings/fsl/i2c.txt +++ b/Documentation/powerpc/dts-bindings/fsl/i2c.txt | |||
| @@ -7,8 +7,10 @@ Required properties : | |||
| 7 | 7 | ||
| 8 | Recommended properties : | 8 | Recommended properties : |
| 9 | 9 | ||
| 10 | - compatible : Should be "fsl-i2c" for parts compatible with | 10 | - compatible : compatibility list with 2 entries, the first should |
| 11 | Freescale I2C specifications. | 11 | be "fsl,CHIP-i2c" where CHIP is the name of a compatible processor, |
| 12 | e.g. mpc8313, mpc8543, mpc8544, mpc5200 or mpc5200b. The second one | ||
| 13 | should be "fsl-i2c". | ||
| 12 | - interrupts : <a b> where a is the interrupt number and b is a | 14 | - interrupts : <a b> where a is the interrupt number and b is a |
| 13 | field that represents an encoding of the sense and level | 15 | field that represents an encoding of the sense and level |
| 14 | information for the interrupt. This should be encoded based on | 16 | information for the interrupt. This should be encoded based on |
| @@ -16,17 +18,31 @@ Recommended properties : | |||
| 16 | controller you have. | 18 | controller you have. |
| 17 | - interrupt-parent : the phandle for the interrupt controller that | 19 | - interrupt-parent : the phandle for the interrupt controller that |
| 18 | services interrupts for this device. | 20 | services interrupts for this device. |
| 19 | - dfsrr : boolean; if defined, indicates that this I2C device has | 21 | - fsl,preserve-clocking : boolean; if defined, the clock settings |
| 20 | a digital filter sampling rate register | 22 | from the bootloader are preserved (not touched). |
| 21 | - fsl5200-clocking : boolean; if defined, indicated that this device | 23 | - clock-frequency : desired I2C bus clock frequency in Hz. |
| 22 | uses the FSL 5200 clocking mechanism. | 24 | |
| 23 | 25 | Examples : | |
| 24 | Example : | 26 | |
| 25 | i2c@3000 { | 27 | i2c@3d00 { |
| 26 | interrupt-parent = <40000>; | 28 | #address-cells = <1>; |
| 27 | interrupts = <1b 3>; | 29 | #size-cells = <0>; |
| 28 | reg = <3000 18>; | 30 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
| 29 | device_type = "i2c"; | 31 | cell-index = <0>; |
| 30 | compatible = "fsl-i2c"; | 32 | reg = <0x3d00 0x40>; |
| 31 | dfsrr; | 33 | interrupts = <2 15 0>; |
| 34 | interrupt-parent = <&mpc5200_pic>; | ||
| 35 | fsl,preserve-clocking; | ||
| 32 | }; | 36 | }; |
| 37 | |||
| 38 | i2c@3100 { | ||
| 39 | #address-cells = <1>; | ||
| 40 | #size-cells = <0>; | ||
| 41 | cell-index = <1>; | ||
| 42 | compatible = "fsl,mpc8544-i2c", "fsl-i2c"; | ||
| 43 | reg = <0x3100 0x100>; | ||
| 44 | interrupts = <43 2>; | ||
| 45 | interrupt-parent = <&mpic>; | ||
| 46 | clock-frequency = <400000>; | ||
| 47 | }; | ||
| 48 | |||
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5b50e1ac6179..4c7804551362 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
| @@ -462,7 +462,7 @@ config PPC_64K_PAGES | |||
| 462 | 462 | ||
| 463 | config PPC_256K_PAGES | 463 | config PPC_256K_PAGES |
| 464 | bool "256k page size" if 44x | 464 | bool "256k page size" if 44x |
| 465 | depends on !STDBINUTILS && (!SHMEM || BROKEN) | 465 | depends on !STDBINUTILS |
| 466 | help | 466 | help |
| 467 | Make the page size 256k. | 467 | Make the page size 256k. |
| 468 | 468 | ||
diff --git a/arch/powerpc/boot/dts/tqm8540.dts b/arch/powerpc/boot/dts/tqm8540.dts index 231bae756637..b6f1fc6eb960 100644 --- a/arch/powerpc/boot/dts/tqm8540.dts +++ b/arch/powerpc/boot/dts/tqm8540.dts | |||
| @@ -84,9 +84,9 @@ | |||
| 84 | interrupt-parent = <&mpic>; | 84 | interrupt-parent = <&mpic>; |
| 85 | dfsrr; | 85 | dfsrr; |
| 86 | 86 | ||
| 87 | dtt@50 { | 87 | dtt@48 { |
| 88 | compatible = "national,lm75"; | 88 | compatible = "national,lm75"; |
| 89 | reg = <0x50>; | 89 | reg = <0x48>; |
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | rtc@68 { | 92 | rtc@68 { |
diff --git a/arch/powerpc/boot/dts/tqm8541.dts b/arch/powerpc/boot/dts/tqm8541.dts index 4356a1f08295..fa6a3d54a8a5 100644 --- a/arch/powerpc/boot/dts/tqm8541.dts +++ b/arch/powerpc/boot/dts/tqm8541.dts | |||
| @@ -83,9 +83,9 @@ | |||
| 83 | interrupt-parent = <&mpic>; | 83 | interrupt-parent = <&mpic>; |
| 84 | dfsrr; | 84 | dfsrr; |
| 85 | 85 | ||
| 86 | dtt@50 { | 86 | dtt@48 { |
| 87 | compatible = "national,lm75"; | 87 | compatible = "national,lm75"; |
| 88 | reg = <0x50>; | 88 | reg = <0x48>; |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | rtc@68 { | 91 | rtc@68 { |
diff --git a/arch/powerpc/boot/dts/tqm8548-bigflash.dts b/arch/powerpc/boot/dts/tqm8548-bigflash.dts index 19aa72301c83..00f7ed7a2455 100644 --- a/arch/powerpc/boot/dts/tqm8548-bigflash.dts +++ b/arch/powerpc/boot/dts/tqm8548-bigflash.dts | |||
| @@ -85,9 +85,9 @@ | |||
| 85 | interrupt-parent = <&mpic>; | 85 | interrupt-parent = <&mpic>; |
| 86 | dfsrr; | 86 | dfsrr; |
| 87 | 87 | ||
| 88 | dtt@50 { | 88 | dtt@48 { |
| 89 | compatible = "national,lm75"; | 89 | compatible = "national,lm75"; |
| 90 | reg = <0x50>; | 90 | reg = <0x48>; |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | rtc@68 { | 93 | rtc@68 { |
| @@ -247,7 +247,7 @@ | |||
| 247 | interrupts = <31 2 32 2 33 2>; | 247 | interrupts = <31 2 32 2 33 2>; |
| 248 | interrupt-parent = <&mpic>; | 248 | interrupt-parent = <&mpic>; |
| 249 | tbi-handle = <&tbi2>; | 249 | tbi-handle = <&tbi2>; |
| 250 | phy-handle = <&phy3>; | 250 | phy-handle = <&phy4>; |
| 251 | 251 | ||
| 252 | mdio@520 { | 252 | mdio@520 { |
| 253 | #address-cells = <1>; | 253 | #address-cells = <1>; |
| @@ -275,7 +275,7 @@ | |||
| 275 | interrupts = <37 2 38 2 39 2>; | 275 | interrupts = <37 2 38 2 39 2>; |
| 276 | interrupt-parent = <&mpic>; | 276 | interrupt-parent = <&mpic>; |
| 277 | tbi-handle = <&tbi3>; | 277 | tbi-handle = <&tbi3>; |
| 278 | phy-handle = <&phy4>; | 278 | phy-handle = <&phy5>; |
| 279 | 279 | ||
| 280 | mdio@520 { | 280 | mdio@520 { |
| 281 | #address-cells = <1>; | 281 | #address-cells = <1>; |
diff --git a/arch/powerpc/boot/dts/tqm8548.dts b/arch/powerpc/boot/dts/tqm8548.dts index 49145a04fc6c..673e4a778ac8 100644 --- a/arch/powerpc/boot/dts/tqm8548.dts +++ b/arch/powerpc/boot/dts/tqm8548.dts | |||
| @@ -85,9 +85,9 @@ | |||
| 85 | interrupt-parent = <&mpic>; | 85 | interrupt-parent = <&mpic>; |
| 86 | dfsrr; | 86 | dfsrr; |
| 87 | 87 | ||
| 88 | dtt@50 { | 88 | dtt@48 { |
| 89 | compatible = "national,lm75"; | 89 | compatible = "national,lm75"; |
| 90 | reg = <0x50>; | 90 | reg = <0x48>; |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | rtc@68 { | 93 | rtc@68 { |
| @@ -247,7 +247,7 @@ | |||
| 247 | interrupts = <31 2 32 2 33 2>; | 247 | interrupts = <31 2 32 2 33 2>; |
| 248 | interrupt-parent = <&mpic>; | 248 | interrupt-parent = <&mpic>; |
| 249 | tbi-handle = <&tbi2>; | 249 | tbi-handle = <&tbi2>; |
| 250 | phy-handle = <&phy3>; | 250 | phy-handle = <&phy4>; |
| 251 | 251 | ||
| 252 | mdio@520 { | 252 | mdio@520 { |
| 253 | #address-cells = <1>; | 253 | #address-cells = <1>; |
| @@ -275,7 +275,7 @@ | |||
| 275 | interrupts = <37 2 38 2 39 2>; | 275 | interrupts = <37 2 38 2 39 2>; |
| 276 | interrupt-parent = <&mpic>; | 276 | interrupt-parent = <&mpic>; |
| 277 | tbi-handle = <&tbi3>; | 277 | tbi-handle = <&tbi3>; |
| 278 | phy-handle = <&phy4>; | 278 | phy-handle = <&phy5>; |
| 279 | 279 | ||
| 280 | mdio@520 { | 280 | mdio@520 { |
| 281 | #address-cells = <1>; | 281 | #address-cells = <1>; |
diff --git a/arch/powerpc/boot/dts/tqm8555.dts b/arch/powerpc/boot/dts/tqm8555.dts index 06d366ebbda3..6a99f1eef7ad 100644 --- a/arch/powerpc/boot/dts/tqm8555.dts +++ b/arch/powerpc/boot/dts/tqm8555.dts | |||
| @@ -83,9 +83,9 @@ | |||
| 83 | interrupt-parent = <&mpic>; | 83 | interrupt-parent = <&mpic>; |
| 84 | dfsrr; | 84 | dfsrr; |
| 85 | 85 | ||
| 86 | dtt@50 { | 86 | dtt@48 { |
| 87 | compatible = "national,lm75"; | 87 | compatible = "national,lm75"; |
| 88 | reg = <0x50>; | 88 | reg = <0x48>; |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | rtc@68 { | 91 | rtc@68 { |
diff --git a/arch/powerpc/boot/dts/tqm8560.dts b/arch/powerpc/boot/dts/tqm8560.dts index feff915e0492..b6c2d71defd3 100644 --- a/arch/powerpc/boot/dts/tqm8560.dts +++ b/arch/powerpc/boot/dts/tqm8560.dts | |||
| @@ -85,9 +85,9 @@ | |||
| 85 | interrupt-parent = <&mpic>; | 85 | interrupt-parent = <&mpic>; |
| 86 | dfsrr; | 86 | dfsrr; |
| 87 | 87 | ||
| 88 | dtt@50 { | 88 | dtt@48 { |
| 89 | compatible = "national,lm75"; | 89 | compatible = "national,lm75"; |
| 90 | reg = <0x50>; | 90 | reg = <0x48>; |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | rtc@68 { | 93 | rtc@68 { |
diff --git a/arch/powerpc/configs/85xx/tqm8548_defconfig b/arch/powerpc/configs/85xx/tqm8548_defconfig index 0bc45975911a..43030fea2eee 100644 --- a/arch/powerpc/configs/85xx/tqm8548_defconfig +++ b/arch/powerpc/configs/85xx/tqm8548_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.29-rc2 | 3 | # Linux kernel version: 2.6.29-rc7 |
| 4 | # Mon Jan 26 15:36:20 2009 | 4 | # Mon Mar 16 09:03:28 2009 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -22,6 +22,7 @@ CONFIG_FSL_EMB_PERFMON=y | |||
| 22 | # CONFIG_PHYS_64BIT is not set | 22 | # CONFIG_PHYS_64BIT is not set |
| 23 | CONFIG_SPE=y | 23 | CONFIG_SPE=y |
| 24 | CONFIG_PPC_MMU_NOHASH=y | 24 | CONFIG_PPC_MMU_NOHASH=y |
| 25 | CONFIG_PPC_BOOK3E_MMU=y | ||
| 25 | # CONFIG_PPC_MM_SLICES is not set | 26 | # CONFIG_PPC_MM_SLICES is not set |
| 26 | # CONFIG_SMP is not set | 27 | # CONFIG_SMP is not set |
| 27 | CONFIG_PPC32=y | 28 | CONFIG_PPC32=y |
| @@ -75,6 +76,15 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
| 75 | # CONFIG_BSD_PROCESS_ACCT is not set | 76 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 76 | # CONFIG_TASKSTATS is not set | 77 | # CONFIG_TASKSTATS is not set |
| 77 | # CONFIG_AUDIT is not set | 78 | # CONFIG_AUDIT is not set |
| 79 | |||
| 80 | # | ||
| 81 | # RCU Subsystem | ||
| 82 | # | ||
| 83 | CONFIG_CLASSIC_RCU=y | ||
| 84 | # CONFIG_TREE_RCU is not set | ||
| 85 | # CONFIG_PREEMPT_RCU is not set | ||
| 86 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 87 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 78 | # CONFIG_IKCONFIG is not set | 88 | # CONFIG_IKCONFIG is not set |
| 79 | CONFIG_LOG_BUF_SHIFT=14 | 89 | CONFIG_LOG_BUF_SHIFT=14 |
| 80 | CONFIG_GROUP_SCHED=y | 90 | CONFIG_GROUP_SCHED=y |
| @@ -152,11 +162,6 @@ CONFIG_DEFAULT_AS=y | |||
| 152 | # CONFIG_DEFAULT_CFQ is not set | 162 | # CONFIG_DEFAULT_CFQ is not set |
| 153 | # CONFIG_DEFAULT_NOOP is not set | 163 | # CONFIG_DEFAULT_NOOP is not set |
| 154 | CONFIG_DEFAULT_IOSCHED="anticipatory" | 164 | CONFIG_DEFAULT_IOSCHED="anticipatory" |
| 155 | CONFIG_CLASSIC_RCU=y | ||
| 156 | # CONFIG_TREE_RCU is not set | ||
| 157 | # CONFIG_PREEMPT_RCU is not set | ||
| 158 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 159 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 160 | # CONFIG_FREEZER is not set | 165 | # CONFIG_FREEZER is not set |
| 161 | 166 | ||
| 162 | # | 167 | # |
| @@ -202,7 +207,7 @@ CONFIG_MPIC=y | |||
| 202 | # | 207 | # |
| 203 | # Kernel options | 208 | # Kernel options |
| 204 | # | 209 | # |
| 205 | # CONFIG_HIGHMEM is not set | 210 | CONFIG_HIGHMEM=y |
| 206 | CONFIG_TICK_ONESHOT=y | 211 | CONFIG_TICK_ONESHOT=y |
| 207 | CONFIG_NO_HZ=y | 212 | CONFIG_NO_HZ=y |
| 208 | CONFIG_HIGH_RES_TIMERS=y | 213 | CONFIG_HIGH_RES_TIMERS=y |
| @@ -244,6 +249,7 @@ CONFIG_UNEVICTABLE_LRU=y | |||
| 244 | CONFIG_PPC_4K_PAGES=y | 249 | CONFIG_PPC_4K_PAGES=y |
| 245 | # CONFIG_PPC_16K_PAGES is not set | 250 | # CONFIG_PPC_16K_PAGES is not set |
| 246 | # CONFIG_PPC_64K_PAGES is not set | 251 | # CONFIG_PPC_64K_PAGES is not set |
| 252 | # CONFIG_PPC_256K_PAGES is not set | ||
| 247 | CONFIG_FORCE_MAX_ZONEORDER=11 | 253 | CONFIG_FORCE_MAX_ZONEORDER=11 |
| 248 | CONFIG_PROC_DEVICETREE=y | 254 | CONFIG_PROC_DEVICETREE=y |
| 249 | # CONFIG_CMDLINE_BOOL is not set | 255 | # CONFIG_CMDLINE_BOOL is not set |
| @@ -259,6 +265,7 @@ CONFIG_ZONE_DMA=y | |||
| 259 | CONFIG_PPC_INDIRECT_PCI=y | 265 | CONFIG_PPC_INDIRECT_PCI=y |
| 260 | CONFIG_FSL_SOC=y | 266 | CONFIG_FSL_SOC=y |
| 261 | CONFIG_FSL_PCI=y | 267 | CONFIG_FSL_PCI=y |
| 268 | CONFIG_FSL_LBC=y | ||
| 262 | CONFIG_PPC_PCI_CHOICE=y | 269 | CONFIG_PPC_PCI_CHOICE=y |
| 263 | CONFIG_PCI=y | 270 | CONFIG_PCI=y |
| 264 | CONFIG_PCI_DOMAINS=y | 271 | CONFIG_PCI_DOMAINS=y |
| @@ -284,10 +291,11 @@ CONFIG_ARCH_SUPPORTS_MSI=y | |||
| 284 | # Default settings for advanced configuration options are used | 291 | # Default settings for advanced configuration options are used |
| 285 | # | 292 | # |
| 286 | CONFIG_LOWMEM_SIZE=0x30000000 | 293 | CONFIG_LOWMEM_SIZE=0x30000000 |
| 294 | CONFIG_LOWMEM_CAM_NUM=3 | ||
| 287 | CONFIG_PAGE_OFFSET=0xc0000000 | 295 | CONFIG_PAGE_OFFSET=0xc0000000 |
| 288 | CONFIG_KERNEL_START=0xc0000000 | 296 | CONFIG_KERNEL_START=0xc0000000 |
| 289 | CONFIG_PHYSICAL_START=0x00000000 | 297 | CONFIG_PHYSICAL_START=0x00000000 |
| 290 | CONFIG_PHYSICAL_ALIGN=0x10000000 | 298 | CONFIG_PHYSICAL_ALIGN=0x04000000 |
| 291 | CONFIG_TASK_SIZE=0xc0000000 | 299 | CONFIG_TASK_SIZE=0xc0000000 |
| 292 | CONFIG_NET=y | 300 | CONFIG_NET=y |
| 293 | 301 | ||
| @@ -363,12 +371,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 363 | # CONFIG_BT is not set | 371 | # CONFIG_BT is not set |
| 364 | # CONFIG_AF_RXRPC is not set | 372 | # CONFIG_AF_RXRPC is not set |
| 365 | # CONFIG_PHONET is not set | 373 | # CONFIG_PHONET is not set |
| 366 | CONFIG_WIRELESS=y | 374 | # CONFIG_WIRELESS is not set |
| 367 | # CONFIG_CFG80211 is not set | ||
| 368 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
| 369 | # CONFIG_WIRELESS_EXT is not set | ||
| 370 | # CONFIG_LIB80211 is not set | ||
| 371 | # CONFIG_MAC80211 is not set | ||
| 372 | # CONFIG_WIMAX is not set | 375 | # CONFIG_WIMAX is not set |
| 373 | # CONFIG_RFKILL is not set | 376 | # CONFIG_RFKILL is not set |
| 374 | # CONFIG_NET_9P is not set | 377 | # CONFIG_NET_9P is not set |
| @@ -471,27 +474,18 @@ CONFIG_MTD_NAND_IDS=y | |||
| 471 | # CONFIG_MTD_NAND_NANDSIM is not set | 474 | # CONFIG_MTD_NAND_NANDSIM is not set |
| 472 | # CONFIG_MTD_NAND_PLATFORM is not set | 475 | # CONFIG_MTD_NAND_PLATFORM is not set |
| 473 | # CONFIG_MTD_NAND_FSL_ELBC is not set | 476 | # CONFIG_MTD_NAND_FSL_ELBC is not set |
| 474 | # CONFIG_MTD_NAND_FSL_UPM is not set | 477 | CONFIG_MTD_NAND_FSL_UPM=y |
| 475 | # CONFIG_MTD_ONENAND is not set | 478 | # CONFIG_MTD_ONENAND is not set |
| 476 | 479 | ||
| 477 | # | 480 | # |
| 478 | # LPDDR flash memory drivers | 481 | # LPDDR flash memory drivers |
| 479 | # | 482 | # |
| 480 | # CONFIG_MTD_LPDDR is not set | 483 | # CONFIG_MTD_LPDDR is not set |
| 481 | # CONFIG_MTD_QINFO_PROBE is not set | ||
| 482 | 484 | ||
| 483 | # | 485 | # |
| 484 | # UBI - Unsorted block images | 486 | # UBI - Unsorted block images |
| 485 | # | 487 | # |
| 486 | CONFIG_MTD_UBI=m | 488 | # CONFIG_MTD_UBI is not set |
| 487 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
| 488 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
| 489 | # CONFIG_MTD_UBI_GLUEBI is not set | ||
| 490 | |||
| 491 | # | ||
| 492 | # UBI debugging options | ||
| 493 | # | ||
| 494 | # CONFIG_MTD_UBI_DEBUG is not set | ||
| 495 | CONFIG_OF_DEVICE=y | 489 | CONFIG_OF_DEVICE=y |
| 496 | CONFIG_OF_I2C=y | 490 | CONFIG_OF_I2C=y |
| 497 | # CONFIG_PARPORT is not set | 491 | # CONFIG_PARPORT is not set |
| @@ -515,69 +509,21 @@ CONFIG_BLK_DEV_RAM_SIZE=32768 | |||
| 515 | # CONFIG_BLK_DEV_HD is not set | 509 | # CONFIG_BLK_DEV_HD is not set |
| 516 | CONFIG_MISC_DEVICES=y | 510 | CONFIG_MISC_DEVICES=y |
| 517 | # CONFIG_PHANTOM is not set | 511 | # CONFIG_PHANTOM is not set |
| 518 | # CONFIG_EEPROM_93CX6 is not set | ||
| 519 | # CONFIG_SGI_IOC4 is not set | 512 | # CONFIG_SGI_IOC4 is not set |
| 520 | # CONFIG_TIFM_CORE is not set | 513 | # CONFIG_TIFM_CORE is not set |
| 521 | # CONFIG_ICS932S401 is not set | 514 | # CONFIG_ICS932S401 is not set |
| 522 | # CONFIG_ENCLOSURE_SERVICES is not set | 515 | # CONFIG_ENCLOSURE_SERVICES is not set |
| 523 | # CONFIG_HP_ILO is not set | 516 | # CONFIG_HP_ILO is not set |
| 524 | # CONFIG_C2PORT is not set | 517 | # CONFIG_C2PORT is not set |
| 518 | |||
| 519 | # | ||
| 520 | # EEPROM support | ||
| 521 | # | ||
| 522 | # CONFIG_EEPROM_AT24 is not set | ||
| 523 | # CONFIG_EEPROM_LEGACY is not set | ||
| 524 | # CONFIG_EEPROM_93CX6 is not set | ||
| 525 | CONFIG_HAVE_IDE=y | 525 | CONFIG_HAVE_IDE=y |
| 526 | CONFIG_IDE=y | 526 | # CONFIG_IDE is not set |
| 527 | |||
| 528 | # | ||
| 529 | # Please see Documentation/ide/ide.txt for help/info on IDE drives | ||
| 530 | # | ||
| 531 | CONFIG_IDE_TIMINGS=y | ||
| 532 | # CONFIG_BLK_DEV_IDE_SATA is not set | ||
| 533 | CONFIG_IDE_GD=y | ||
| 534 | CONFIG_IDE_GD_ATA=y | ||
| 535 | # CONFIG_IDE_GD_ATAPI is not set | ||
| 536 | # CONFIG_BLK_DEV_IDECD is not set | ||
| 537 | # CONFIG_BLK_DEV_IDETAPE is not set | ||
| 538 | # CONFIG_IDE_TASK_IOCTL is not set | ||
| 539 | CONFIG_IDE_PROC_FS=y | ||
| 540 | |||
| 541 | # | ||
| 542 | # IDE chipset support/bugfixes | ||
| 543 | # | ||
| 544 | # CONFIG_BLK_DEV_PLATFORM is not set | ||
| 545 | CONFIG_BLK_DEV_IDEDMA_SFF=y | ||
| 546 | |||
| 547 | # | ||
| 548 | # PCI IDE chipsets support | ||
| 549 | # | ||
| 550 | CONFIG_BLK_DEV_IDEPCI=y | ||
| 551 | CONFIG_IDEPCI_PCIBUS_ORDER=y | ||
| 552 | # CONFIG_BLK_DEV_OFFBOARD is not set | ||
| 553 | CONFIG_BLK_DEV_GENERIC=y | ||
| 554 | # CONFIG_BLK_DEV_OPTI621 is not set | ||
| 555 | CONFIG_BLK_DEV_IDEDMA_PCI=y | ||
| 556 | # CONFIG_BLK_DEV_AEC62XX is not set | ||
| 557 | # CONFIG_BLK_DEV_ALI15X3 is not set | ||
| 558 | # CONFIG_BLK_DEV_AMD74XX is not set | ||
| 559 | # CONFIG_BLK_DEV_CMD64X is not set | ||
| 560 | # CONFIG_BLK_DEV_TRIFLEX is not set | ||
| 561 | # CONFIG_BLK_DEV_CS5520 is not set | ||
| 562 | # CONFIG_BLK_DEV_CS5530 is not set | ||
| 563 | # CONFIG_BLK_DEV_HPT366 is not set | ||
| 564 | # CONFIG_BLK_DEV_JMICRON is not set | ||
| 565 | # CONFIG_BLK_DEV_SC1200 is not set | ||
| 566 | # CONFIG_BLK_DEV_PIIX is not set | ||
| 567 | # CONFIG_BLK_DEV_IT8172 is not set | ||
| 568 | # CONFIG_BLK_DEV_IT8213 is not set | ||
| 569 | # CONFIG_BLK_DEV_IT821X is not set | ||
| 570 | # CONFIG_BLK_DEV_NS87415 is not set | ||
| 571 | # CONFIG_BLK_DEV_PDC202XX_OLD is not set | ||
| 572 | # CONFIG_BLK_DEV_PDC202XX_NEW is not set | ||
| 573 | # CONFIG_BLK_DEV_SVWKS is not set | ||
| 574 | # CONFIG_BLK_DEV_SIIMAGE is not set | ||
| 575 | # CONFIG_BLK_DEV_SL82C105 is not set | ||
| 576 | # CONFIG_BLK_DEV_SLC90E66 is not set | ||
| 577 | # CONFIG_BLK_DEV_TRM290 is not set | ||
| 578 | CONFIG_BLK_DEV_VIA82CXXX=y | ||
| 579 | # CONFIG_BLK_DEV_TC86C001 is not set | ||
| 580 | CONFIG_BLK_DEV_IDEDMA=y | ||
| 581 | 527 | ||
| 582 | # | 528 | # |
| 583 | # SCSI device support | 529 | # SCSI device support |
| @@ -650,7 +596,7 @@ CONFIG_MII=y | |||
| 650 | CONFIG_NETDEV_1000=y | 596 | CONFIG_NETDEV_1000=y |
| 651 | # CONFIG_ACENIC is not set | 597 | # CONFIG_ACENIC is not set |
| 652 | # CONFIG_DL2K is not set | 598 | # CONFIG_DL2K is not set |
| 653 | CONFIG_E1000=y | 599 | # CONFIG_E1000 is not set |
| 654 | # CONFIG_E1000E is not set | 600 | # CONFIG_E1000E is not set |
| 655 | # CONFIG_IP1000 is not set | 601 | # CONFIG_IP1000 is not set |
| 656 | # CONFIG_IGB is not set | 602 | # CONFIG_IGB is not set |
| @@ -668,6 +614,7 @@ CONFIG_GIANFAR=y | |||
| 668 | # CONFIG_QLA3XXX is not set | 614 | # CONFIG_QLA3XXX is not set |
| 669 | # CONFIG_ATL1 is not set | 615 | # CONFIG_ATL1 is not set |
| 670 | # CONFIG_ATL1E is not set | 616 | # CONFIG_ATL1E is not set |
| 617 | # CONFIG_ATL1C is not set | ||
| 671 | # CONFIG_JME is not set | 618 | # CONFIG_JME is not set |
| 672 | CONFIG_NETDEV_10000=y | 619 | CONFIG_NETDEV_10000=y |
| 673 | # CONFIG_CHELSIO_T1 is not set | 620 | # CONFIG_CHELSIO_T1 is not set |
| @@ -835,8 +782,6 @@ CONFIG_I2C_MPC=y | |||
| 835 | # Miscellaneous I2C Chip support | 782 | # Miscellaneous I2C Chip support |
| 836 | # | 783 | # |
| 837 | # CONFIG_DS1682 is not set | 784 | # CONFIG_DS1682 is not set |
| 838 | # CONFIG_EEPROM_AT24 is not set | ||
| 839 | # CONFIG_EEPROM_LEGACY is not set | ||
| 840 | # CONFIG_SENSORS_PCF8574 is not set | 785 | # CONFIG_SENSORS_PCF8574 is not set |
| 841 | # CONFIG_PCF8575 is not set | 786 | # CONFIG_PCF8575 is not set |
| 842 | # CONFIG_SENSORS_PCA9539 is not set | 787 | # CONFIG_SENSORS_PCA9539 is not set |
| @@ -975,26 +920,7 @@ CONFIG_HID=y | |||
| 975 | # Special HID drivers | 920 | # Special HID drivers |
| 976 | # | 921 | # |
| 977 | CONFIG_HID_COMPAT=y | 922 | CONFIG_HID_COMPAT=y |
| 978 | CONFIG_USB_SUPPORT=y | 923 | # CONFIG_USB_SUPPORT is not set |
| 979 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 980 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
| 981 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
| 982 | # CONFIG_USB is not set | ||
| 983 | # CONFIG_USB_OTG_WHITELIST is not set | ||
| 984 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
| 985 | |||
| 986 | # | ||
| 987 | # Enable Host or Gadget support to see Inventra options | ||
| 988 | # | ||
| 989 | |||
| 990 | # | ||
| 991 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | ||
| 992 | # | ||
| 993 | # CONFIG_USB_GADGET is not set | ||
| 994 | |||
| 995 | # | ||
| 996 | # OTG and related infrastructure | ||
| 997 | # | ||
| 998 | # CONFIG_UWB is not set | 924 | # CONFIG_UWB is not set |
| 999 | # CONFIG_MMC is not set | 925 | # CONFIG_MMC is not set |
| 1000 | # CONFIG_MEMSTICK is not set | 926 | # CONFIG_MEMSTICK is not set |
| @@ -1064,16 +990,9 @@ CONFIG_RTC_DRV_DS1307=y | |||
| 1064 | # | 990 | # |
| 1065 | # File systems | 991 | # File systems |
| 1066 | # | 992 | # |
| 1067 | CONFIG_EXT2_FS=y | 993 | # CONFIG_EXT2_FS is not set |
| 1068 | # CONFIG_EXT2_FS_XATTR is not set | 994 | # CONFIG_EXT3_FS is not set |
| 1069 | # CONFIG_EXT2_FS_XIP is not set | ||
| 1070 | CONFIG_EXT3_FS=y | ||
| 1071 | CONFIG_EXT3_FS_XATTR=y | ||
| 1072 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
| 1073 | # CONFIG_EXT3_FS_SECURITY is not set | ||
| 1074 | # CONFIG_EXT4_FS is not set | 995 | # CONFIG_EXT4_FS is not set |
| 1075 | CONFIG_JBD=y | ||
| 1076 | CONFIG_FS_MBCACHE=y | ||
| 1077 | # CONFIG_REISERFS_FS is not set | 996 | # CONFIG_REISERFS_FS is not set |
| 1078 | # CONFIG_JFS_FS is not set | 997 | # CONFIG_JFS_FS is not set |
| 1079 | # CONFIG_FS_POSIX_ACL is not set | 998 | # CONFIG_FS_POSIX_ACL is not set |
| @@ -1122,8 +1041,17 @@ CONFIG_MISC_FILESYSTEMS=y | |||
| 1122 | # CONFIG_BEFS_FS is not set | 1041 | # CONFIG_BEFS_FS is not set |
| 1123 | # CONFIG_BFS_FS is not set | 1042 | # CONFIG_BFS_FS is not set |
| 1124 | # CONFIG_EFS_FS is not set | 1043 | # CONFIG_EFS_FS is not set |
| 1125 | # CONFIG_JFFS2_FS is not set | 1044 | CONFIG_JFFS2_FS=y |
| 1126 | # CONFIG_UBIFS_FS is not set | 1045 | CONFIG_JFFS2_FS_DEBUG=0 |
| 1046 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
| 1047 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 1048 | # CONFIG_JFFS2_SUMMARY is not set | ||
| 1049 | # CONFIG_JFFS2_FS_XATTR is not set | ||
| 1050 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
| 1051 | CONFIG_JFFS2_ZLIB=y | ||
| 1052 | # CONFIG_JFFS2_LZO is not set | ||
| 1053 | CONFIG_JFFS2_RTIME=y | ||
| 1054 | # CONFIG_JFFS2_RUBIN is not set | ||
| 1127 | # CONFIG_CRAMFS is not set | 1055 | # CONFIG_CRAMFS is not set |
| 1128 | # CONFIG_SQUASHFS is not set | 1056 | # CONFIG_SQUASHFS is not set |
| 1129 | # CONFIG_VXFS_FS is not set | 1057 | # CONFIG_VXFS_FS is not set |
| @@ -1184,6 +1112,8 @@ CONFIG_GENERIC_FIND_LAST_BIT=y | |||
| 1184 | CONFIG_CRC32=y | 1112 | CONFIG_CRC32=y |
| 1185 | # CONFIG_CRC7 is not set | 1113 | # CONFIG_CRC7 is not set |
| 1186 | # CONFIG_LIBCRC32C is not set | 1114 | # CONFIG_LIBCRC32C is not set |
| 1115 | CONFIG_ZLIB_INFLATE=y | ||
| 1116 | CONFIG_ZLIB_DEFLATE=y | ||
| 1187 | CONFIG_PLIST=y | 1117 | CONFIG_PLIST=y |
| 1188 | CONFIG_HAS_IOMEM=y | 1118 | CONFIG_HAS_IOMEM=y |
| 1189 | CONFIG_HAS_IOPORT=y | 1119 | CONFIG_HAS_IOPORT=y |
| @@ -1219,6 +1149,7 @@ CONFIG_DEBUG_MUTEXES=y | |||
| 1219 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1149 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
| 1220 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1150 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
| 1221 | # CONFIG_DEBUG_KOBJECT is not set | 1151 | # CONFIG_DEBUG_KOBJECT is not set |
| 1152 | # CONFIG_DEBUG_HIGHMEM is not set | ||
| 1222 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1153 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 1223 | # CONFIG_DEBUG_INFO is not set | 1154 | # CONFIG_DEBUG_INFO is not set |
| 1224 | # CONFIG_DEBUG_VM is not set | 1155 | # CONFIG_DEBUG_VM is not set |
| @@ -1236,6 +1167,7 @@ CONFIG_DEBUG_MUTEXES=y | |||
| 1236 | # CONFIG_LATENCYTOP is not set | 1167 | # CONFIG_LATENCYTOP is not set |
| 1237 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 1168 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
| 1238 | CONFIG_HAVE_FUNCTION_TRACER=y | 1169 | CONFIG_HAVE_FUNCTION_TRACER=y |
| 1170 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
| 1239 | CONFIG_HAVE_DYNAMIC_FTRACE=y | 1171 | CONFIG_HAVE_DYNAMIC_FTRACE=y |
| 1240 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | 1172 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y |
| 1241 | 1173 | ||
diff --git a/arch/powerpc/include/asm/futex.h b/arch/powerpc/include/asm/futex.h index 6d406c5c5de4..9696cc36d2dc 100644 --- a/arch/powerpc/include/asm/futex.h +++ b/arch/powerpc/include/asm/futex.h | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | PPC_LONG "1b,4b,2b,4b\n" \ | 27 | PPC_LONG "1b,4b,2b,4b\n" \ |
| 28 | ".previous" \ | 28 | ".previous" \ |
| 29 | : "=&r" (oldval), "=&r" (ret) \ | 29 | : "=&r" (oldval), "=&r" (ret) \ |
| 30 | : "b" (uaddr), "i" (-EFAULT), "1" (oparg) \ | 30 | : "b" (uaddr), "i" (-EFAULT), "r" (oparg) \ |
| 31 | : "cr0", "memory") | 31 | : "cr0", "memory") |
| 32 | 32 | ||
| 33 | static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr) | 33 | static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr) |
| @@ -47,19 +47,19 @@ static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr) | |||
| 47 | 47 | ||
| 48 | switch (op) { | 48 | switch (op) { |
| 49 | case FUTEX_OP_SET: | 49 | case FUTEX_OP_SET: |
| 50 | __futex_atomic_op("", ret, oldval, uaddr, oparg); | 50 | __futex_atomic_op("mr %1,%4\n", ret, oldval, uaddr, oparg); |
| 51 | break; | 51 | break; |
| 52 | case FUTEX_OP_ADD: | 52 | case FUTEX_OP_ADD: |
| 53 | __futex_atomic_op("add %1,%0,%1\n", ret, oldval, uaddr, oparg); | 53 | __futex_atomic_op("add %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 54 | break; | 54 | break; |
| 55 | case FUTEX_OP_OR: | 55 | case FUTEX_OP_OR: |
| 56 | __futex_atomic_op("or %1,%0,%1\n", ret, oldval, uaddr, oparg); | 56 | __futex_atomic_op("or %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 57 | break; | 57 | break; |
| 58 | case FUTEX_OP_ANDN: | 58 | case FUTEX_OP_ANDN: |
| 59 | __futex_atomic_op("andc %1,%0,%1\n", ret, oldval, uaddr, oparg); | 59 | __futex_atomic_op("andc %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 60 | break; | 60 | break; |
| 61 | case FUTEX_OP_XOR: | 61 | case FUTEX_OP_XOR: |
| 62 | __futex_atomic_op("xor %1,%0,%1\n", ret, oldval, uaddr, oparg); | 62 | __futex_atomic_op("xor %1,%0,%4\n", ret, oldval, uaddr, oparg); |
| 63 | break; | 63 | break; |
| 64 | default: | 64 | default: |
| 65 | ret = -ENOSYS; | 65 | ret = -ENOSYS; |
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index cbf154387091..86d2366ab6a1 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h | |||
| @@ -52,6 +52,12 @@ | |||
| 52 | */ | 52 | */ |
| 53 | #define MMU_FTR_NEED_DTLB_SW_LRU ASM_CONST(0x00200000) | 53 | #define MMU_FTR_NEED_DTLB_SW_LRU ASM_CONST(0x00200000) |
| 54 | 54 | ||
| 55 | /* This indicates that the processor uses the wrong opcode for tlbilx | ||
| 56 | * instructions. During the ISA 2.06 development the opcode for tlbilx | ||
| 57 | * changed and some early implementations used to old opcode | ||
| 58 | */ | ||
| 59 | #define MMU_FTR_TLBILX_EARLY_OPCODE ASM_CONST(0x00400000) | ||
| 60 | |||
| 55 | #ifndef __ASSEMBLY__ | 61 | #ifndef __ASSEMBLY__ |
| 56 | #include <asm/cputable.h> | 62 | #include <asm/cputable.h> |
| 57 | 63 | ||
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index f4a4db8d5555..ef4da37f3c10 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h | |||
| @@ -43,7 +43,8 @@ | |||
| 43 | 43 | ||
| 44 | #define PPC_INST_STSWI 0x7c0005aa | 44 | #define PPC_INST_STSWI 0x7c0005aa |
| 45 | #define PPC_INST_STSWX 0x7c00052a | 45 | #define PPC_INST_STSWX 0x7c00052a |
| 46 | #define PPC_INST_TLBILX 0x7c000626 | 46 | #define PPC_INST_TLBILX 0x7c000024 |
| 47 | #define PPC_INST_TLBILX_EARLY 0x7c000626 | ||
| 47 | #define PPC_INST_WAIT 0x7c00007c | 48 | #define PPC_INST_WAIT 0x7c00007c |
| 48 | 49 | ||
| 49 | /* macros to insert fields into opcodes */ | 50 | /* macros to insert fields into opcodes */ |
| @@ -63,10 +64,18 @@ | |||
| 63 | #define PPC_RFDI stringify_in_c(.long PPC_INST_RFDI) | 64 | #define PPC_RFDI stringify_in_c(.long PPC_INST_RFDI) |
| 64 | #define PPC_RFMCI stringify_in_c(.long PPC_INST_RFMCI) | 65 | #define PPC_RFMCI stringify_in_c(.long PPC_INST_RFMCI) |
| 65 | #define PPC_TLBILX(t, a, b) stringify_in_c(.long PPC_INST_TLBILX | \ | 66 | #define PPC_TLBILX(t, a, b) stringify_in_c(.long PPC_INST_TLBILX | \ |
| 66 | __PPC_T_TLB(t) | __PPC_RA(a) | __PPC_RB(b)) | 67 | __PPC_T_TLB(t) | \ |
| 68 | __PPC_RA(a) | __PPC_RB(b)) | ||
| 67 | #define PPC_TLBILX_ALL(a, b) PPC_TLBILX(0, a, b) | 69 | #define PPC_TLBILX_ALL(a, b) PPC_TLBILX(0, a, b) |
| 68 | #define PPC_TLBILX_PID(a, b) PPC_TLBILX(1, a, b) | 70 | #define PPC_TLBILX_PID(a, b) PPC_TLBILX(1, a, b) |
| 69 | #define PPC_TLBILX_VA(a, b) PPC_TLBILX(3, a, b) | 71 | #define PPC_TLBILX_VA(a, b) PPC_TLBILX(3, a, b) |
| 72 | |||
| 73 | #define PPC_TLBILX_EARLY(t, a, b) stringify_in_c(.long PPC_INST_TLBILX_EARLY | \ | ||
| 74 | __PPC_T_TLB(t) | \ | ||
| 75 | __PPC_RA(a) | __PPC_RB(b)) | ||
| 76 | #define PPC_TLBILX_ALL_EARLY(a, b) PPC_TLBILX_EARLY(0, a, b) | ||
| 77 | #define PPC_TLBILX_PID_EARLY(a, b) PPC_TLBILX_EARLY(1, a, b) | ||
| 78 | #define PPC_TLBILX_VA_EARLY(a, b) PPC_TLBILX_EARLY(3, a, b) | ||
| 70 | #define PPC_WAIT(w) stringify_in_c(.long PPC_INST_WAIT | \ | 79 | #define PPC_WAIT(w) stringify_in_c(.long PPC_INST_WAIT | \ |
| 71 | __PPC_WC(w)) | 80 | __PPC_WC(w)) |
| 72 | 81 | ||
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index cd1b687544f3..57db50f40289 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
| @@ -1766,7 +1766,7 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
| 1766 | .cpu_features = CPU_FTRS_E500MC, | 1766 | .cpu_features = CPU_FTRS_E500MC, |
| 1767 | .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU, | 1767 | .cpu_user_features = COMMON_USER_BOOKE | PPC_FEATURE_HAS_FPU, |
| 1768 | .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | | 1768 | .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | |
| 1769 | MMU_FTR_USE_TLBILX, | 1769 | MMU_FTR_USE_TLBILX | MMU_FTR_TLBILX_EARLY_OPCODE, |
| 1770 | .icache_bsize = 64, | 1770 | .icache_bsize = 64, |
| 1771 | .dcache_bsize = 64, | 1771 | .dcache_bsize = 64, |
| 1772 | .num_pmcs = 4, | 1772 | .num_pmcs = 4, |
diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c index 7af72970faed..ad2eb4d34dd4 100644 --- a/arch/powerpc/mm/tlb_nohash.c +++ b/arch/powerpc/mm/tlb_nohash.c | |||
| @@ -125,7 +125,6 @@ static void do_flush_tlb_page_ipi(void *param) | |||
| 125 | 125 | ||
| 126 | void flush_tlb_mm(struct mm_struct *mm) | 126 | void flush_tlb_mm(struct mm_struct *mm) |
| 127 | { | 127 | { |
| 128 | cpumask_t cpu_mask; | ||
| 129 | unsigned int pid; | 128 | unsigned int pid; |
| 130 | 129 | ||
| 131 | preempt_disable(); | 130 | preempt_disable(); |
diff --git a/arch/powerpc/mm/tlb_nohash_low.S b/arch/powerpc/mm/tlb_nohash_low.S index 788b87c36f77..45fed3698349 100644 --- a/arch/powerpc/mm/tlb_nohash_low.S +++ b/arch/powerpc/mm/tlb_nohash_low.S | |||
| @@ -138,7 +138,11 @@ BEGIN_MMU_FTR_SECTION | |||
| 138 | andi. r3,r3,MMUCSR0_TLBFI@l | 138 | andi. r3,r3,MMUCSR0_TLBFI@l |
| 139 | bne 1b | 139 | bne 1b |
| 140 | MMU_FTR_SECTION_ELSE | 140 | MMU_FTR_SECTION_ELSE |
| 141 | PPC_TLBILX_ALL(0,0) | 141 | BEGIN_MMU_FTR_SECTION_NESTED(96) |
| 142 | PPC_TLBILX_ALL(0,r3) | ||
| 143 | MMU_FTR_SECTION_ELSE_NESTED(96) | ||
| 144 | PPC_TLBILX_ALL_EARLY(0,r3) | ||
| 145 | ALT_MMU_FTR_SECTION_END_NESTED_IFCLR(MMU_FTR_TLBILX_EARLY_OPCODE, 96) | ||
| 142 | ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_TLBILX) | 146 | ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_TLBILX) |
| 143 | msync | 147 | msync |
| 144 | isync | 148 | isync |
| @@ -151,7 +155,11 @@ BEGIN_MMU_FTR_SECTION | |||
| 151 | wrteei 0 | 155 | wrteei 0 |
| 152 | mfspr r4,SPRN_MAS6 /* save MAS6 */ | 156 | mfspr r4,SPRN_MAS6 /* save MAS6 */ |
| 153 | mtspr SPRN_MAS6,r3 | 157 | mtspr SPRN_MAS6,r3 |
| 158 | BEGIN_MMU_FTR_SECTION_NESTED(96) | ||
| 154 | PPC_TLBILX_PID(0,0) | 159 | PPC_TLBILX_PID(0,0) |
| 160 | MMU_FTR_SECTION_ELSE_NESTED(96) | ||
| 161 | PPC_TLBILX_PID_EARLY(0,0) | ||
| 162 | ALT_MMU_FTR_SECTION_END_NESTED_IFCLR(MMU_FTR_TLBILX_EARLY_OPCODE, 96) | ||
| 155 | mtspr SPRN_MAS6,r4 /* restore MAS6 */ | 163 | mtspr SPRN_MAS6,r4 /* restore MAS6 */ |
| 156 | wrtee r10 | 164 | wrtee r10 |
| 157 | MMU_FTR_SECTION_ELSE | 165 | MMU_FTR_SECTION_ELSE |
| @@ -185,7 +193,11 @@ BEGIN_MMU_FTR_SECTION | |||
| 185 | mtspr SPRN_MAS1,r4 | 193 | mtspr SPRN_MAS1,r4 |
| 186 | tlbwe | 194 | tlbwe |
| 187 | MMU_FTR_SECTION_ELSE | 195 | MMU_FTR_SECTION_ELSE |
| 196 | BEGIN_MMU_FTR_SECTION_NESTED(96) | ||
| 188 | PPC_TLBILX_VA(0,r3) | 197 | PPC_TLBILX_VA(0,r3) |
| 198 | MMU_FTR_SECTION_ELSE_NESTED(96) | ||
| 199 | PPC_TLBILX_VA_EARLY(0,r3) | ||
| 200 | ALT_MMU_FTR_SECTION_END_NESTED_IFCLR(MMU_FTR_TLBILX_EARLY_OPCODE, 96) | ||
| 189 | ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_TLBILX) | 201 | ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_TLBILX) |
| 190 | msync | 202 | msync |
| 191 | isync | 203 | isync |
diff --git a/arch/powerpc/platforms/pseries/dtl.c b/arch/powerpc/platforms/pseries/dtl.c index fafcaa0e81ef..ab69925d579b 100644 --- a/arch/powerpc/platforms/pseries/dtl.c +++ b/arch/powerpc/platforms/pseries/dtl.c | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #include <asm/smp.h> | 25 | #include <asm/smp.h> |
| 26 | #include <asm/system.h> | 26 | #include <asm/system.h> |
| 27 | #include <asm/uaccess.h> | 27 | #include <asm/uaccess.h> |
| 28 | #include <asm/firmware.h> | ||
| 28 | 29 | ||
| 29 | #include "plpar_wrappers.h" | 30 | #include "plpar_wrappers.h" |
| 30 | 31 | ||
diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c b/arch/powerpc/platforms/pseries/eeh_driver.c index 380420f8c400..9a2a6e32f00f 100644 --- a/arch/powerpc/platforms/pseries/eeh_driver.c +++ b/arch/powerpc/platforms/pseries/eeh_driver.c | |||
| @@ -182,6 +182,8 @@ static void eeh_report_reset(struct pci_dev *dev, void *userdata) | |||
| 182 | if (!driver) | 182 | if (!driver) |
| 183 | return; | 183 | return; |
| 184 | 184 | ||
| 185 | dev->error_state = pci_channel_io_normal; | ||
| 186 | |||
| 185 | eeh_enable_irq(dev); | 187 | eeh_enable_irq(dev); |
| 186 | 188 | ||
| 187 | if (!driver->err_handler || | 189 | if (!driver->err_handler || |
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index f2a78b5e8b55..43fc95d822d5 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h | |||
| @@ -43,10 +43,6 @@ | |||
| 43 | * | 43 | * |
| 44 | */ | 44 | */ |
| 45 | 45 | ||
| 46 | /* Flags related to I2C device features */ | ||
| 47 | #define FSL_I2C_DEV_SEPARATE_DFSRR 0x00000001 | ||
| 48 | #define FSL_I2C_DEV_CLOCK_5200 0x00000002 | ||
| 49 | |||
| 50 | enum fsl_usb2_operating_modes { | 46 | enum fsl_usb2_operating_modes { |
| 51 | FSL_USB2_MPH_HOST, | 47 | FSL_USB2_MPH_HOST, |
| 52 | FSL_USB2_DR_HOST, | 48 | FSL_USB2_DR_HOST, |
