diff options
author | David S. Miller <davem@davemloft.net> | 2012-09-15 11:43:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-15 11:43:53 -0400 |
commit | b48b63a1f6e26b0dec2c9f1690396ed4bcb66903 (patch) | |
tree | 8d9ad227c3a7d35cd78d40ecaf9bf59375dbd21a /arch/powerpc | |
parent | 7f2e6a5d8608d0353b017a0fe15502307593734e (diff) | |
parent | 3f0c3c8fe30c725c1264fb6db8cc4b69db3a658a (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
net/netfilter/nfnetlink_log.c
net/netfilter/xt_LOG.c
Rather easy conflict resolution, the 'net' tree had bug fixes to make
sure we checked if a socket is a time-wait one or not and elide the
logging code if so.
Whereas on the 'net-next' side we are calculating the UID and GID from
the creds using different interfaces due to the user namespace changes
from Eric Biederman.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc')
42 files changed, 307 insertions, 281 deletions
diff --git a/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi b/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi index 8d35d2c1f694..4f9c9f682ecf 100644 --- a/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi | |||
@@ -345,6 +345,13 @@ | |||
345 | /include/ "qoriq-duart-1.dtsi" | 345 | /include/ "qoriq-duart-1.dtsi" |
346 | /include/ "qoriq-gpio-0.dtsi" | 346 | /include/ "qoriq-gpio-0.dtsi" |
347 | /include/ "qoriq-usb2-mph-0.dtsi" | 347 | /include/ "qoriq-usb2-mph-0.dtsi" |
348 | usb@210000 { | ||
349 | compatible = "fsl-usb2-mph-v1.6", "fsl,mpc85xx-usb2-mph", "fsl-usb2-mph"; | ||
350 | port0; | ||
351 | }; | ||
348 | /include/ "qoriq-usb2-dr-0.dtsi" | 352 | /include/ "qoriq-usb2-dr-0.dtsi" |
353 | usb@211000 { | ||
354 | compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr"; | ||
355 | }; | ||
349 | /include/ "qoriq-sec4.0-0.dtsi" | 356 | /include/ "qoriq-sec4.0-0.dtsi" |
350 | }; | 357 | }; |
diff --git a/arch/powerpc/configs/85xx/p1023rds_defconfig b/arch/powerpc/configs/85xx/p1023rds_defconfig index f4337bacd0e7..26e541c4662b 100644 --- a/arch/powerpc/configs/85xx/p1023rds_defconfig +++ b/arch/powerpc/configs/85xx/p1023rds_defconfig | |||
@@ -6,28 +6,27 @@ CONFIG_SYSVIPC=y | |||
6 | CONFIG_POSIX_MQUEUE=y | 6 | CONFIG_POSIX_MQUEUE=y |
7 | CONFIG_BSD_PROCESS_ACCT=y | 7 | CONFIG_BSD_PROCESS_ACCT=y |
8 | CONFIG_AUDIT=y | 8 | CONFIG_AUDIT=y |
9 | CONFIG_SPARSE_IRQ=y | 9 | CONFIG_IRQ_DOMAIN_DEBUG=y |
10 | CONFIG_NO_HZ=y | ||
11 | CONFIG_HIGH_RES_TIMERS=y | ||
10 | CONFIG_IKCONFIG=y | 12 | CONFIG_IKCONFIG=y |
11 | CONFIG_IKCONFIG_PROC=y | 13 | CONFIG_IKCONFIG_PROC=y |
12 | CONFIG_LOG_BUF_SHIFT=14 | 14 | CONFIG_LOG_BUF_SHIFT=14 |
13 | CONFIG_BLK_DEV_INITRD=y | 15 | CONFIG_BLK_DEV_INITRD=y |
14 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
15 | CONFIG_KALLSYMS_ALL=y | 16 | CONFIG_KALLSYMS_ALL=y |
16 | CONFIG_KALLSYMS_EXTRA_PASS=y | ||
17 | CONFIG_EMBEDDED=y | 17 | CONFIG_EMBEDDED=y |
18 | CONFIG_MODULES=y | 18 | CONFIG_MODULES=y |
19 | CONFIG_MODULE_UNLOAD=y | 19 | CONFIG_MODULE_UNLOAD=y |
20 | CONFIG_MODULE_FORCE_UNLOAD=y | 20 | CONFIG_MODULE_FORCE_UNLOAD=y |
21 | CONFIG_MODVERSIONS=y | 21 | CONFIG_MODVERSIONS=y |
22 | # CONFIG_BLK_DEV_BSG is not set | 22 | # CONFIG_BLK_DEV_BSG is not set |
23 | CONFIG_PARTITION_ADVANCED=y | ||
24 | CONFIG_MAC_PARTITION=y | ||
23 | CONFIG_P1023_RDS=y | 25 | CONFIG_P1023_RDS=y |
24 | CONFIG_QUICC_ENGINE=y | 26 | CONFIG_QUICC_ENGINE=y |
25 | CONFIG_QE_GPIO=y | 27 | CONFIG_QE_GPIO=y |
26 | CONFIG_CPM2=y | 28 | CONFIG_CPM2=y |
27 | CONFIG_GPIO_MPC8XXX=y | ||
28 | CONFIG_HIGHMEM=y | 29 | CONFIG_HIGHMEM=y |
29 | CONFIG_NO_HZ=y | ||
30 | CONFIG_HIGH_RES_TIMERS=y | ||
31 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 30 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
32 | CONFIG_BINFMT_MISC=m | 31 | CONFIG_BINFMT_MISC=m |
33 | CONFIG_MATH_EMULATION=y | 32 | CONFIG_MATH_EMULATION=y |
@@ -63,11 +62,11 @@ CONFIG_INET_ESP=y | |||
63 | CONFIG_IPV6=y | 62 | CONFIG_IPV6=y |
64 | CONFIG_IP_SCTP=m | 63 | CONFIG_IP_SCTP=m |
65 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 64 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
65 | CONFIG_DEVTMPFS=y | ||
66 | CONFIG_PROC_DEVICETREE=y | 66 | CONFIG_PROC_DEVICETREE=y |
67 | CONFIG_BLK_DEV_LOOP=y | 67 | CONFIG_BLK_DEV_LOOP=y |
68 | CONFIG_BLK_DEV_RAM=y | 68 | CONFIG_BLK_DEV_RAM=y |
69 | CONFIG_BLK_DEV_RAM_SIZE=131072 | 69 | CONFIG_BLK_DEV_RAM_SIZE=131072 |
70 | CONFIG_MISC_DEVICES=y | ||
71 | CONFIG_EEPROM_LEGACY=y | 70 | CONFIG_EEPROM_LEGACY=y |
72 | CONFIG_BLK_DEV_SD=y | 71 | CONFIG_BLK_DEV_SD=y |
73 | CONFIG_CHR_DEV_ST=y | 72 | CONFIG_CHR_DEV_ST=y |
@@ -80,15 +79,14 @@ CONFIG_SATA_FSL=y | |||
80 | CONFIG_SATA_SIL24=y | 79 | CONFIG_SATA_SIL24=y |
81 | CONFIG_NETDEVICES=y | 80 | CONFIG_NETDEVICES=y |
82 | CONFIG_DUMMY=y | 81 | CONFIG_DUMMY=y |
82 | CONFIG_FS_ENET=y | ||
83 | CONFIG_FSL_PQ_MDIO=y | ||
84 | CONFIG_E1000E=y | ||
83 | CONFIG_MARVELL_PHY=y | 85 | CONFIG_MARVELL_PHY=y |
84 | CONFIG_DAVICOM_PHY=y | 86 | CONFIG_DAVICOM_PHY=y |
85 | CONFIG_CICADA_PHY=y | 87 | CONFIG_CICADA_PHY=y |
86 | CONFIG_VITESSE_PHY=y | 88 | CONFIG_VITESSE_PHY=y |
87 | CONFIG_FIXED_PHY=y | 89 | CONFIG_FIXED_PHY=y |
88 | CONFIG_NET_ETHERNET=y | ||
89 | CONFIG_FS_ENET=y | ||
90 | CONFIG_E1000E=y | ||
91 | CONFIG_FSL_PQ_MDIO=y | ||
92 | CONFIG_INPUT_FF_MEMLESS=m | 90 | CONFIG_INPUT_FF_MEMLESS=m |
93 | # CONFIG_INPUT_MOUSEDEV is not set | 91 | # CONFIG_INPUT_MOUSEDEV is not set |
94 | # CONFIG_INPUT_KEYBOARD is not set | 92 | # CONFIG_INPUT_KEYBOARD is not set |
@@ -98,16 +96,15 @@ CONFIG_SERIAL_8250=y | |||
98 | CONFIG_SERIAL_8250_CONSOLE=y | 96 | CONFIG_SERIAL_8250_CONSOLE=y |
99 | CONFIG_SERIAL_8250_NR_UARTS=2 | 97 | CONFIG_SERIAL_8250_NR_UARTS=2 |
100 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | 98 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 |
101 | CONFIG_SERIAL_8250_EXTENDED=y | ||
102 | CONFIG_SERIAL_8250_MANY_PORTS=y | 99 | CONFIG_SERIAL_8250_MANY_PORTS=y |
103 | CONFIG_SERIAL_8250_DETECT_IRQ=y | 100 | CONFIG_SERIAL_8250_DETECT_IRQ=y |
104 | CONFIG_SERIAL_8250_RSA=y | 101 | CONFIG_SERIAL_8250_RSA=y |
105 | CONFIG_SERIAL_QE=m | 102 | CONFIG_SERIAL_QE=m |
106 | CONFIG_HW_RANDOM=y | ||
107 | CONFIG_NVRAM=y | 103 | CONFIG_NVRAM=y |
108 | CONFIG_I2C=y | 104 | CONFIG_I2C=y |
109 | CONFIG_I2C_CPM=m | 105 | CONFIG_I2C_CPM=m |
110 | CONFIG_I2C_MPC=y | 106 | CONFIG_I2C_MPC=y |
107 | CONFIG_GPIO_MPC8XXX=y | ||
111 | # CONFIG_HWMON is not set | 108 | # CONFIG_HWMON is not set |
112 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 109 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
113 | CONFIG_SOUND=y | 110 | CONFIG_SOUND=y |
@@ -123,7 +120,6 @@ CONFIG_DMADEVICES=y | |||
123 | CONFIG_FSL_DMA=y | 120 | CONFIG_FSL_DMA=y |
124 | # CONFIG_NET_DMA is not set | 121 | # CONFIG_NET_DMA is not set |
125 | CONFIG_STAGING=y | 122 | CONFIG_STAGING=y |
126 | # CONFIG_STAGING_EXCLUDE_BUILD is not set | ||
127 | CONFIG_EXT2_FS=y | 123 | CONFIG_EXT2_FS=y |
128 | CONFIG_EXT3_FS=y | 124 | CONFIG_EXT3_FS=y |
129 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | 125 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set |
@@ -150,22 +146,15 @@ CONFIG_QNX4FS_FS=m | |||
150 | CONFIG_SYSV_FS=m | 146 | CONFIG_SYSV_FS=m |
151 | CONFIG_UFS_FS=m | 147 | CONFIG_UFS_FS=m |
152 | CONFIG_NFS_FS=y | 148 | CONFIG_NFS_FS=y |
153 | CONFIG_NFS_V3=y | ||
154 | CONFIG_NFS_V4=y | 149 | CONFIG_NFS_V4=y |
155 | CONFIG_ROOT_NFS=y | 150 | CONFIG_ROOT_NFS=y |
156 | CONFIG_NFSD=y | 151 | CONFIG_NFSD=y |
157 | CONFIG_PARTITION_ADVANCED=y | ||
158 | CONFIG_MAC_PARTITION=y | ||
159 | CONFIG_CRC_T10DIF=y | 152 | CONFIG_CRC_T10DIF=y |
160 | CONFIG_FRAME_WARN=8092 | 153 | CONFIG_FRAME_WARN=8092 |
161 | CONFIG_DEBUG_FS=y | 154 | CONFIG_DEBUG_FS=y |
162 | CONFIG_DEBUG_KERNEL=y | ||
163 | CONFIG_DETECT_HUNG_TASK=y | 155 | CONFIG_DETECT_HUNG_TASK=y |
164 | # CONFIG_DEBUG_BUGVERBOSE is not set | 156 | # CONFIG_DEBUG_BUGVERBOSE is not set |
165 | CONFIG_DEBUG_INFO=y | 157 | CONFIG_DEBUG_INFO=y |
166 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
167 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
168 | CONFIG_IRQ_DOMAIN_DEBUG=y | ||
169 | CONFIG_CRYPTO_PCBC=m | 158 | CONFIG_CRYPTO_PCBC=m |
170 | CONFIG_CRYPTO_SHA256=y | 159 | CONFIG_CRYPTO_SHA256=y |
171 | CONFIG_CRYPTO_SHA512=y | 160 | CONFIG_CRYPTO_SHA512=y |
diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/configs/corenet32_smp_defconfig index cbb98c1234fd..8b3d57c1ebe8 100644 --- a/arch/powerpc/configs/corenet32_smp_defconfig +++ b/arch/powerpc/configs/corenet32_smp_defconfig | |||
@@ -6,8 +6,8 @@ CONFIG_SYSVIPC=y | |||
6 | CONFIG_POSIX_MQUEUE=y | 6 | CONFIG_POSIX_MQUEUE=y |
7 | CONFIG_BSD_PROCESS_ACCT=y | 7 | CONFIG_BSD_PROCESS_ACCT=y |
8 | CONFIG_AUDIT=y | 8 | CONFIG_AUDIT=y |
9 | CONFIG_SPARSE_IRQ=y | 9 | CONFIG_NO_HZ=y |
10 | CONFIG_RCU_TRACE=y | 10 | CONFIG_HIGH_RES_TIMERS=y |
11 | CONFIG_IKCONFIG=y | 11 | CONFIG_IKCONFIG=y |
12 | CONFIG_IKCONFIG_PROC=y | 12 | CONFIG_IKCONFIG_PROC=y |
13 | CONFIG_LOG_BUF_SHIFT=14 | 13 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -21,23 +21,22 @@ CONFIG_MODULE_UNLOAD=y | |||
21 | CONFIG_MODULE_FORCE_UNLOAD=y | 21 | CONFIG_MODULE_FORCE_UNLOAD=y |
22 | CONFIG_MODVERSIONS=y | 22 | CONFIG_MODVERSIONS=y |
23 | # CONFIG_BLK_DEV_BSG is not set | 23 | # CONFIG_BLK_DEV_BSG is not set |
24 | CONFIG_PARTITION_ADVANCED=y | ||
25 | CONFIG_MAC_PARTITION=y | ||
24 | CONFIG_P2041_RDB=y | 26 | CONFIG_P2041_RDB=y |
25 | CONFIG_P3041_DS=y | 27 | CONFIG_P3041_DS=y |
26 | CONFIG_P4080_DS=y | 28 | CONFIG_P4080_DS=y |
27 | CONFIG_P5020_DS=y | 29 | CONFIG_P5020_DS=y |
28 | CONFIG_HIGHMEM=y | 30 | CONFIG_HIGHMEM=y |
29 | CONFIG_NO_HZ=y | ||
30 | CONFIG_HIGH_RES_TIMERS=y | ||
31 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | 31 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set |
32 | CONFIG_BINFMT_MISC=m | 32 | CONFIG_BINFMT_MISC=m |
33 | CONFIG_KEXEC=y | 33 | CONFIG_KEXEC=y |
34 | CONFIG_IRQ_ALL_CPUS=y | 34 | CONFIG_IRQ_ALL_CPUS=y |
35 | CONFIG_FORCE_MAX_ZONEORDER=13 | 35 | CONFIG_FORCE_MAX_ZONEORDER=13 |
36 | CONFIG_FSL_LBC=y | ||
37 | CONFIG_PCI=y | 36 | CONFIG_PCI=y |
38 | CONFIG_PCIEPORTBUS=y | 37 | CONFIG_PCIEPORTBUS=y |
39 | CONFIG_PCI_MSI=y | ||
40 | # CONFIG_PCIEASPM is not set | 38 | # CONFIG_PCIEASPM is not set |
39 | CONFIG_PCI_MSI=y | ||
41 | CONFIG_RAPIDIO=y | 40 | CONFIG_RAPIDIO=y |
42 | CONFIG_FSL_RIO=y | 41 | CONFIG_FSL_RIO=y |
43 | CONFIG_NET=y | 42 | CONFIG_NET=y |
@@ -70,6 +69,7 @@ CONFIG_INET_IPCOMP=y | |||
70 | CONFIG_IPV6=y | 69 | CONFIG_IPV6=y |
71 | CONFIG_IP_SCTP=m | 70 | CONFIG_IP_SCTP=m |
72 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 71 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
72 | CONFIG_DEVTMPFS=y | ||
73 | CONFIG_MTD=y | 73 | CONFIG_MTD=y |
74 | CONFIG_MTD_CMDLINE_PARTS=y | 74 | CONFIG_MTD_CMDLINE_PARTS=y |
75 | CONFIG_MTD_CHAR=y | 75 | CONFIG_MTD_CHAR=y |
@@ -77,17 +77,14 @@ CONFIG_MTD_BLOCK=y | |||
77 | CONFIG_MTD_CFI=y | 77 | CONFIG_MTD_CFI=y |
78 | CONFIG_MTD_CFI_AMDSTD=y | 78 | CONFIG_MTD_CFI_AMDSTD=y |
79 | CONFIG_MTD_PHYSMAP_OF=y | 79 | CONFIG_MTD_PHYSMAP_OF=y |
80 | CONFIG_MTD_M25P80=y | ||
80 | CONFIG_MTD_NAND=y | 81 | CONFIG_MTD_NAND=y |
81 | CONFIG_MTD_NAND_ECC=y | ||
82 | CONFIG_MTD_NAND_IDS=y | ||
83 | CONFIG_MTD_NAND_FSL_IFC=y | ||
84 | CONFIG_MTD_NAND_FSL_ELBC=y | 82 | CONFIG_MTD_NAND_FSL_ELBC=y |
85 | CONFIG_MTD_M25P80=y | 83 | CONFIG_MTD_NAND_FSL_IFC=y |
86 | CONFIG_PROC_DEVICETREE=y | 84 | CONFIG_PROC_DEVICETREE=y |
87 | CONFIG_BLK_DEV_LOOP=y | 85 | CONFIG_BLK_DEV_LOOP=y |
88 | CONFIG_BLK_DEV_RAM=y | 86 | CONFIG_BLK_DEV_RAM=y |
89 | CONFIG_BLK_DEV_RAM_SIZE=131072 | 87 | CONFIG_BLK_DEV_RAM_SIZE=131072 |
90 | CONFIG_MISC_DEVICES=y | ||
91 | CONFIG_BLK_DEV_SD=y | 88 | CONFIG_BLK_DEV_SD=y |
92 | CONFIG_CHR_DEV_ST=y | 89 | CONFIG_CHR_DEV_ST=y |
93 | CONFIG_BLK_DEV_SR=y | 90 | CONFIG_BLK_DEV_SR=y |
@@ -115,11 +112,9 @@ CONFIG_SERIO_LIBPS2=y | |||
115 | CONFIG_PPC_EPAPR_HV_BYTECHAN=y | 112 | CONFIG_PPC_EPAPR_HV_BYTECHAN=y |
116 | CONFIG_SERIAL_8250=y | 113 | CONFIG_SERIAL_8250=y |
117 | CONFIG_SERIAL_8250_CONSOLE=y | 114 | CONFIG_SERIAL_8250_CONSOLE=y |
118 | CONFIG_SERIAL_8250_EXTENDED=y | ||
119 | CONFIG_SERIAL_8250_MANY_PORTS=y | 115 | CONFIG_SERIAL_8250_MANY_PORTS=y |
120 | CONFIG_SERIAL_8250_DETECT_IRQ=y | 116 | CONFIG_SERIAL_8250_DETECT_IRQ=y |
121 | CONFIG_SERIAL_8250_RSA=y | 117 | CONFIG_SERIAL_8250_RSA=y |
122 | CONFIG_HW_RANDOM=y | ||
123 | CONFIG_NVRAM=y | 118 | CONFIG_NVRAM=y |
124 | CONFIG_I2C=y | 119 | CONFIG_I2C=y |
125 | CONFIG_I2C_CHARDEV=y | 120 | CONFIG_I2C_CHARDEV=y |
@@ -132,7 +127,6 @@ CONFIG_SPI_FSL_ESPI=y | |||
132 | CONFIG_VIDEO_OUTPUT_CONTROL=y | 127 | CONFIG_VIDEO_OUTPUT_CONTROL=y |
133 | CONFIG_USB_HID=m | 128 | CONFIG_USB_HID=m |
134 | CONFIG_USB=y | 129 | CONFIG_USB=y |
135 | CONFIG_USB_DEVICEFS=y | ||
136 | CONFIG_USB_MON=y | 130 | CONFIG_USB_MON=y |
137 | CONFIG_USB_EHCI_HCD=y | 131 | CONFIG_USB_EHCI_HCD=y |
138 | CONFIG_USB_EHCI_FSL=y | 132 | CONFIG_USB_EHCI_FSL=y |
@@ -142,8 +136,6 @@ CONFIG_USB_OHCI_HCD_PPC_OF_LE=y | |||
142 | CONFIG_USB_STORAGE=y | 136 | CONFIG_USB_STORAGE=y |
143 | CONFIG_MMC=y | 137 | CONFIG_MMC=y |
144 | CONFIG_MMC_SDHCI=y | 138 | CONFIG_MMC_SDHCI=y |
145 | CONFIG_MMC_SDHCI_OF=y | ||
146 | CONFIG_MMC_SDHCI_OF_ESDHC=y | ||
147 | CONFIG_EDAC=y | 139 | CONFIG_EDAC=y |
148 | CONFIG_EDAC_MM_EDAC=y | 140 | CONFIG_EDAC_MM_EDAC=y |
149 | CONFIG_EDAC_MPC85XX=y | 141 | CONFIG_EDAC_MPC85XX=y |
@@ -170,19 +162,16 @@ CONFIG_HUGETLBFS=y | |||
170 | CONFIG_JFFS2_FS=y | 162 | CONFIG_JFFS2_FS=y |
171 | CONFIG_CRAMFS=y | 163 | CONFIG_CRAMFS=y |
172 | CONFIG_NFS_FS=y | 164 | CONFIG_NFS_FS=y |
173 | CONFIG_NFS_V3=y | ||
174 | CONFIG_NFS_V4=y | 165 | CONFIG_NFS_V4=y |
175 | CONFIG_ROOT_NFS=y | 166 | CONFIG_ROOT_NFS=y |
176 | CONFIG_NFSD=m | 167 | CONFIG_NFSD=m |
177 | CONFIG_PARTITION_ADVANCED=y | ||
178 | CONFIG_MAC_PARTITION=y | ||
179 | CONFIG_NLS_ISO8859_1=y | 168 | CONFIG_NLS_ISO8859_1=y |
180 | CONFIG_NLS_UTF8=m | 169 | CONFIG_NLS_UTF8=m |
181 | CONFIG_MAGIC_SYSRQ=y | 170 | CONFIG_MAGIC_SYSRQ=y |
182 | CONFIG_DEBUG_SHIRQ=y | 171 | CONFIG_DEBUG_SHIRQ=y |
183 | CONFIG_DETECT_HUNG_TASK=y | 172 | CONFIG_DETECT_HUNG_TASK=y |
184 | CONFIG_DEBUG_INFO=y | 173 | CONFIG_DEBUG_INFO=y |
185 | CONFIG_SYSCTL_SYSCALL_CHECK=y | 174 | CONFIG_RCU_TRACE=y |
186 | CONFIG_CRYPTO_NULL=y | 175 | CONFIG_CRYPTO_NULL=y |
187 | CONFIG_CRYPTO_PCBC=m | 176 | CONFIG_CRYPTO_PCBC=m |
188 | CONFIG_CRYPTO_MD4=y | 177 | CONFIG_CRYPTO_MD4=y |
diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig index dd89de8b0b7f..0516e22ca3de 100644 --- a/arch/powerpc/configs/corenet64_smp_defconfig +++ b/arch/powerpc/configs/corenet64_smp_defconfig | |||
@@ -56,6 +56,7 @@ CONFIG_INET_ESP=y | |||
56 | CONFIG_IPV6=y | 56 | CONFIG_IPV6=y |
57 | CONFIG_IP_SCTP=m | 57 | CONFIG_IP_SCTP=m |
58 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 58 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
59 | CONFIG_DEVTMPFS=y | ||
59 | CONFIG_MTD=y | 60 | CONFIG_MTD=y |
60 | CONFIG_MTD_CMDLINE_PARTS=y | 61 | CONFIG_MTD_CMDLINE_PARTS=y |
61 | CONFIG_MTD_CHAR=y | 62 | CONFIG_MTD_CHAR=y |
diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig index 15130066e5e2..07b7f2af2dca 100644 --- a/arch/powerpc/configs/g5_defconfig +++ b/arch/powerpc/configs/g5_defconfig | |||
@@ -1,8 +1,10 @@ | |||
1 | CONFIG_PPC64=y | ||
2 | CONFIG_ALTIVEC=y | ||
3 | CONFIG_SMP=y | ||
4 | CONFIG_NR_CPUS=4 | ||
1 | CONFIG_EXPERIMENTAL=y | 5 | CONFIG_EXPERIMENTAL=y |
2 | CONFIG_SYSVIPC=y | 6 | CONFIG_SYSVIPC=y |
3 | CONFIG_POSIX_MQUEUE=y | 7 | CONFIG_POSIX_MQUEUE=y |
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
6 | CONFIG_IKCONFIG=y | 8 | CONFIG_IKCONFIG=y |
7 | CONFIG_IKCONFIG_PROC=y | 9 | CONFIG_IKCONFIG_PROC=y |
8 | CONFIG_BLK_DEV_INITRD=y | 10 | CONFIG_BLK_DEV_INITRD=y |
@@ -13,15 +15,16 @@ CONFIG_MODULES=y | |||
13 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
14 | CONFIG_MODVERSIONS=y | 16 | CONFIG_MODVERSIONS=y |
15 | CONFIG_MODULE_SRCVERSION_ALL=y | 17 | CONFIG_MODULE_SRCVERSION_ALL=y |
16 | CONFIG_PARTITION_ADVANCED=y | 18 | # CONFIG_PPC_PSERIES is not set |
17 | CONFIG_MAC_PARTITION=y | ||
18 | CONFIG_SMP=y | ||
19 | CONFIG_NR_CPUS=4 | ||
20 | CONFIG_KEXEC=y | ||
21 | # CONFIG_RELOCATABLE is not set | ||
22 | CONFIG_CPU_FREQ=y | 19 | CONFIG_CPU_FREQ=y |
23 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | 20 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y |
24 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | 21 | CONFIG_CPU_FREQ_GOV_USERSPACE=y |
22 | CONFIG_CPU_FREQ_PMAC64=y | ||
23 | CONFIG_NO_HZ=y | ||
24 | CONFIG_HIGH_RES_TIMERS=y | ||
25 | CONFIG_KEXEC=y | ||
26 | CONFIG_IRQ_ALL_CPUS=y | ||
27 | # CONFIG_MIGRATION is not set | ||
25 | CONFIG_PCI_MSI=y | 28 | CONFIG_PCI_MSI=y |
26 | CONFIG_NET=y | 29 | CONFIG_NET=y |
27 | CONFIG_PACKET=y | 30 | CONFIG_PACKET=y |
@@ -49,6 +52,7 @@ CONFIG_NF_CT_NETLINK=m | |||
49 | CONFIG_NF_CONNTRACK_IPV4=m | 52 | CONFIG_NF_CONNTRACK_IPV4=m |
50 | CONFIG_IP_NF_QUEUE=m | 53 | CONFIG_IP_NF_QUEUE=m |
51 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 54 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
55 | CONFIG_PROC_DEVICETREE=y | ||
52 | CONFIG_BLK_DEV_LOOP=y | 56 | CONFIG_BLK_DEV_LOOP=y |
53 | CONFIG_BLK_DEV_NBD=m | 57 | CONFIG_BLK_DEV_NBD=m |
54 | CONFIG_BLK_DEV_RAM=y | 58 | CONFIG_BLK_DEV_RAM=y |
@@ -56,6 +60,8 @@ CONFIG_BLK_DEV_RAM_SIZE=65536 | |||
56 | CONFIG_CDROM_PKTCDVD=m | 60 | CONFIG_CDROM_PKTCDVD=m |
57 | CONFIG_IDE=y | 61 | CONFIG_IDE=y |
58 | CONFIG_BLK_DEV_IDECD=y | 62 | CONFIG_BLK_DEV_IDECD=y |
63 | CONFIG_BLK_DEV_IDE_PMAC=y | ||
64 | CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y | ||
59 | CONFIG_BLK_DEV_SD=y | 65 | CONFIG_BLK_DEV_SD=y |
60 | CONFIG_CHR_DEV_ST=y | 66 | CONFIG_CHR_DEV_ST=y |
61 | CONFIG_BLK_DEV_SR=y | 67 | CONFIG_BLK_DEV_SR=y |
@@ -79,24 +85,33 @@ CONFIG_DM_CRYPT=m | |||
79 | CONFIG_DM_SNAPSHOT=m | 85 | CONFIG_DM_SNAPSHOT=m |
80 | CONFIG_DM_MIRROR=m | 86 | CONFIG_DM_MIRROR=m |
81 | CONFIG_DM_ZERO=m | 87 | CONFIG_DM_ZERO=m |
82 | CONFIG_MACINTOSH_DRIVERS=y | 88 | CONFIG_IEEE1394=y |
89 | CONFIG_IEEE1394_OHCI1394=y | ||
90 | CONFIG_IEEE1394_SBP2=m | ||
91 | CONFIG_IEEE1394_ETH1394=m | ||
92 | CONFIG_IEEE1394_RAWIO=y | ||
93 | CONFIG_IEEE1394_VIDEO1394=m | ||
94 | CONFIG_IEEE1394_DV1394=m | ||
95 | CONFIG_ADB_PMU=y | ||
96 | CONFIG_PMAC_SMU=y | ||
83 | CONFIG_MAC_EMUMOUSEBTN=y | 97 | CONFIG_MAC_EMUMOUSEBTN=y |
98 | CONFIG_THERM_PM72=y | ||
99 | CONFIG_WINDFARM=y | ||
100 | CONFIG_WINDFARM_PM81=y | ||
101 | CONFIG_WINDFARM_PM91=y | ||
102 | CONFIG_WINDFARM_PM112=y | ||
103 | CONFIG_WINDFARM_PM121=y | ||
84 | CONFIG_NETDEVICES=y | 104 | CONFIG_NETDEVICES=y |
85 | CONFIG_BONDING=m | ||
86 | CONFIG_DUMMY=m | 105 | CONFIG_DUMMY=m |
87 | CONFIG_MII=y | 106 | CONFIG_BONDING=m |
88 | CONFIG_TUN=m | 107 | CONFIG_TUN=m |
108 | CONFIG_NET_ETHERNET=y | ||
109 | CONFIG_MII=y | ||
110 | CONFIG_SUNGEM=y | ||
89 | CONFIG_ACENIC=m | 111 | CONFIG_ACENIC=m |
90 | CONFIG_ACENIC_OMIT_TIGON_I=y | 112 | CONFIG_ACENIC_OMIT_TIGON_I=y |
91 | CONFIG_TIGON3=y | ||
92 | CONFIG_E1000=y | 113 | CONFIG_E1000=y |
93 | CONFIG_SUNGEM=y | 114 | CONFIG_TIGON3=y |
94 | CONFIG_PPP=m | ||
95 | CONFIG_PPP_BSDCOMP=m | ||
96 | CONFIG_PPP_DEFLATE=m | ||
97 | CONFIG_PPPOE=m | ||
98 | CONFIG_PPP_ASYNC=m | ||
99 | CONFIG_PPP_SYNC_TTY=m | ||
100 | CONFIG_USB_CATC=m | 115 | CONFIG_USB_CATC=m |
101 | CONFIG_USB_KAWETH=m | 116 | CONFIG_USB_KAWETH=m |
102 | CONFIG_USB_PEGASUS=m | 117 | CONFIG_USB_PEGASUS=m |
@@ -106,24 +121,36 @@ CONFIG_USB_USBNET=m | |||
106 | # CONFIG_USB_NET_NET1080 is not set | 121 | # CONFIG_USB_NET_NET1080 is not set |
107 | # CONFIG_USB_NET_CDC_SUBSET is not set | 122 | # CONFIG_USB_NET_CDC_SUBSET is not set |
108 | # CONFIG_USB_NET_ZAURUS is not set | 123 | # CONFIG_USB_NET_ZAURUS is not set |
124 | CONFIG_PPP=m | ||
125 | CONFIG_PPP_ASYNC=m | ||
126 | CONFIG_PPP_SYNC_TTY=m | ||
127 | CONFIG_PPP_DEFLATE=m | ||
128 | CONFIG_PPP_BSDCOMP=m | ||
129 | CONFIG_PPPOE=m | ||
109 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | 130 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set |
110 | CONFIG_INPUT_JOYDEV=m | 131 | CONFIG_INPUT_JOYDEV=m |
111 | CONFIG_INPUT_EVDEV=y | 132 | CONFIG_INPUT_EVDEV=y |
133 | # CONFIG_KEYBOARD_ATKBD is not set | ||
112 | # CONFIG_MOUSE_PS2 is not set | 134 | # CONFIG_MOUSE_PS2 is not set |
135 | # CONFIG_SERIO_I8042 is not set | ||
113 | # CONFIG_SERIO_SERPORT is not set | 136 | # CONFIG_SERIO_SERPORT is not set |
114 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
115 | # CONFIG_HW_RANDOM is not set | 137 | # CONFIG_HW_RANDOM is not set |
116 | CONFIG_GEN_RTC=y | 138 | CONFIG_GEN_RTC=y |
117 | CONFIG_RAW_DRIVER=y | 139 | CONFIG_RAW_DRIVER=y |
118 | CONFIG_I2C_CHARDEV=y | 140 | CONFIG_I2C_CHARDEV=y |
119 | # CONFIG_HWMON is not set | 141 | # CONFIG_HWMON is not set |
120 | CONFIG_AGP=y | 142 | CONFIG_AGP=m |
121 | CONFIG_DRM=y | 143 | CONFIG_AGP_UNINORTH=m |
122 | CONFIG_DRM_NOUVEAU=y | ||
123 | CONFIG_VIDEO_OUTPUT_CONTROL=m | 144 | CONFIG_VIDEO_OUTPUT_CONTROL=m |
145 | CONFIG_FB=y | ||
124 | CONFIG_FIRMWARE_EDID=y | 146 | CONFIG_FIRMWARE_EDID=y |
125 | CONFIG_FB_TILEBLITTING=y | 147 | CONFIG_FB_TILEBLITTING=y |
148 | CONFIG_FB_OF=y | ||
149 | CONFIG_FB_NVIDIA=y | ||
150 | CONFIG_FB_NVIDIA_I2C=y | ||
126 | CONFIG_FB_RADEON=y | 151 | CONFIG_FB_RADEON=y |
152 | # CONFIG_VGA_CONSOLE is not set | ||
153 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
127 | CONFIG_LOGO=y | 154 | CONFIG_LOGO=y |
128 | CONFIG_SOUND=m | 155 | CONFIG_SOUND=m |
129 | CONFIG_SND=m | 156 | CONFIG_SND=m |
@@ -131,7 +158,15 @@ CONFIG_SND_SEQUENCER=m | |||
131 | CONFIG_SND_MIXER_OSS=m | 158 | CONFIG_SND_MIXER_OSS=m |
132 | CONFIG_SND_PCM_OSS=m | 159 | CONFIG_SND_PCM_OSS=m |
133 | CONFIG_SND_SEQUENCER_OSS=y | 160 | CONFIG_SND_SEQUENCER_OSS=y |
161 | CONFIG_SND_POWERMAC=m | ||
162 | CONFIG_SND_AOA=m | ||
163 | CONFIG_SND_AOA_FABRIC_LAYOUT=m | ||
164 | CONFIG_SND_AOA_ONYX=m | ||
165 | CONFIG_SND_AOA_TAS=m | ||
166 | CONFIG_SND_AOA_TOONIE=m | ||
134 | CONFIG_SND_USB_AUDIO=m | 167 | CONFIG_SND_USB_AUDIO=m |
168 | CONFIG_HID_PID=y | ||
169 | CONFIG_USB_HIDDEV=y | ||
135 | CONFIG_HID_GYRATION=y | 170 | CONFIG_HID_GYRATION=y |
136 | CONFIG_LOGITECH_FF=y | 171 | CONFIG_LOGITECH_FF=y |
137 | CONFIG_HID_PANTHERLORD=y | 172 | CONFIG_HID_PANTHERLORD=y |
@@ -139,12 +174,13 @@ CONFIG_HID_PETALYNX=y | |||
139 | CONFIG_HID_SAMSUNG=y | 174 | CONFIG_HID_SAMSUNG=y |
140 | CONFIG_HID_SONY=y | 175 | CONFIG_HID_SONY=y |
141 | CONFIG_HID_SUNPLUS=y | 176 | CONFIG_HID_SUNPLUS=y |
142 | CONFIG_HID_PID=y | ||
143 | CONFIG_USB_HIDDEV=y | ||
144 | CONFIG_USB=y | 177 | CONFIG_USB=y |
178 | CONFIG_USB_DEVICEFS=y | ||
145 | CONFIG_USB_MON=y | 179 | CONFIG_USB_MON=y |
146 | CONFIG_USB_EHCI_HCD=y | 180 | CONFIG_USB_EHCI_HCD=y |
181 | # CONFIG_USB_EHCI_HCD_PPC_OF is not set | ||
147 | CONFIG_USB_OHCI_HCD=y | 182 | CONFIG_USB_OHCI_HCD=y |
183 | CONFIG_USB_OHCI_HCD_PPC_OF_BE=y | ||
148 | CONFIG_USB_ACM=m | 184 | CONFIG_USB_ACM=m |
149 | CONFIG_USB_PRINTER=y | 185 | CONFIG_USB_PRINTER=y |
150 | CONFIG_USB_STORAGE=y | 186 | CONFIG_USB_STORAGE=y |
@@ -208,6 +244,8 @@ CONFIG_REISERFS_FS_POSIX_ACL=y | |||
208 | CONFIG_REISERFS_FS_SECURITY=y | 244 | CONFIG_REISERFS_FS_SECURITY=y |
209 | CONFIG_XFS_FS=m | 245 | CONFIG_XFS_FS=m |
210 | CONFIG_XFS_POSIX_ACL=y | 246 | CONFIG_XFS_POSIX_ACL=y |
247 | CONFIG_INOTIFY=y | ||
248 | CONFIG_AUTOFS_FS=m | ||
211 | CONFIG_ISO9660_FS=y | 249 | CONFIG_ISO9660_FS=y |
212 | CONFIG_JOLIET=y | 250 | CONFIG_JOLIET=y |
213 | CONFIG_ZISOFS=y | 251 | CONFIG_ZISOFS=y |
@@ -221,12 +259,14 @@ CONFIG_HFS_FS=m | |||
221 | CONFIG_HFSPLUS_FS=m | 259 | CONFIG_HFSPLUS_FS=m |
222 | CONFIG_CRAMFS=y | 260 | CONFIG_CRAMFS=y |
223 | CONFIG_NFS_FS=y | 261 | CONFIG_NFS_FS=y |
262 | CONFIG_NFS_V3=y | ||
224 | CONFIG_NFS_V3_ACL=y | 263 | CONFIG_NFS_V3_ACL=y |
225 | CONFIG_NFS_V4=y | 264 | CONFIG_NFS_V4=y |
226 | CONFIG_NFSD=y | 265 | CONFIG_NFSD=y |
227 | CONFIG_NFSD_V3_ACL=y | 266 | CONFIG_NFSD_V3_ACL=y |
228 | CONFIG_NFSD_V4=y | 267 | CONFIG_NFSD_V4=y |
229 | CONFIG_CIFS=m | 268 | CONFIG_CIFS=m |
269 | CONFIG_PARTITION_ADVANCED=y | ||
230 | CONFIG_NLS_CODEPAGE_437=y | 270 | CONFIG_NLS_CODEPAGE_437=y |
231 | CONFIG_NLS_CODEPAGE_1250=y | 271 | CONFIG_NLS_CODEPAGE_1250=y |
232 | CONFIG_NLS_CODEPAGE_1251=y | 272 | CONFIG_NLS_CODEPAGE_1251=y |
@@ -234,23 +274,29 @@ CONFIG_NLS_ASCII=y | |||
234 | CONFIG_NLS_ISO8859_1=y | 274 | CONFIG_NLS_ISO8859_1=y |
235 | CONFIG_NLS_ISO8859_15=y | 275 | CONFIG_NLS_ISO8859_15=y |
236 | CONFIG_NLS_UTF8=y | 276 | CONFIG_NLS_UTF8=y |
277 | CONFIG_CRC_T10DIF=y | ||
278 | CONFIG_LIBCRC32C=m | ||
237 | CONFIG_MAGIC_SYSRQ=y | 279 | CONFIG_MAGIC_SYSRQ=y |
238 | # CONFIG_UNUSED_SYMBOLS is not set | ||
239 | CONFIG_DEBUG_FS=y | 280 | CONFIG_DEBUG_FS=y |
240 | CONFIG_DEBUG_KERNEL=y | 281 | CONFIG_DEBUG_KERNEL=y |
241 | CONFIG_DEBUG_MUTEXES=y | 282 | CONFIG_DEBUG_MUTEXES=y |
283 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
242 | CONFIG_LATENCYTOP=y | 284 | CONFIG_LATENCYTOP=y |
243 | CONFIG_STRICT_DEVMEM=y | 285 | CONFIG_SYSCTL_SYSCALL_CHECK=y |
286 | CONFIG_BOOTX_TEXT=y | ||
244 | CONFIG_CRYPTO_NULL=m | 287 | CONFIG_CRYPTO_NULL=m |
245 | CONFIG_CRYPTO_TEST=m | 288 | CONFIG_CRYPTO_TEST=m |
289 | CONFIG_CRYPTO_ECB=m | ||
246 | CONFIG_CRYPTO_PCBC=m | 290 | CONFIG_CRYPTO_PCBC=m |
247 | CONFIG_CRYPTO_HMAC=y | 291 | CONFIG_CRYPTO_HMAC=y |
292 | CONFIG_CRYPTO_MD4=m | ||
248 | CONFIG_CRYPTO_MICHAEL_MIC=m | 293 | CONFIG_CRYPTO_MICHAEL_MIC=m |
249 | CONFIG_CRYPTO_SHA256=m | 294 | CONFIG_CRYPTO_SHA256=m |
250 | CONFIG_CRYPTO_SHA512=m | 295 | CONFIG_CRYPTO_SHA512=m |
251 | CONFIG_CRYPTO_WP512=m | 296 | CONFIG_CRYPTO_WP512=m |
252 | CONFIG_CRYPTO_AES=m | 297 | CONFIG_CRYPTO_AES=m |
253 | CONFIG_CRYPTO_ANUBIS=m | 298 | CONFIG_CRYPTO_ANUBIS=m |
299 | CONFIG_CRYPTO_ARC4=m | ||
254 | CONFIG_CRYPTO_BLOWFISH=m | 300 | CONFIG_CRYPTO_BLOWFISH=m |
255 | CONFIG_CRYPTO_CAST5=m | 301 | CONFIG_CRYPTO_CAST5=m |
256 | CONFIG_CRYPTO_CAST6=m | 302 | CONFIG_CRYPTO_CAST6=m |
@@ -260,6 +306,3 @@ CONFIG_CRYPTO_TEA=m | |||
260 | CONFIG_CRYPTO_TWOFISH=m | 306 | CONFIG_CRYPTO_TWOFISH=m |
261 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 307 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
262 | # CONFIG_CRYPTO_HW is not set | 308 | # CONFIG_CRYPTO_HW is not set |
263 | # CONFIG_VIRTUALIZATION is not set | ||
264 | CONFIG_CRC_T10DIF=y | ||
265 | CONFIG_LIBCRC32C=m | ||
diff --git a/arch/powerpc/configs/mpc83xx_defconfig b/arch/powerpc/configs/mpc83xx_defconfig index 5aac9a8bc53b..9352e4430c3b 100644 --- a/arch/powerpc/configs/mpc83xx_defconfig +++ b/arch/powerpc/configs/mpc83xx_defconfig | |||
@@ -2,12 +2,12 @@ CONFIG_EXPERIMENTAL=y | |||
2 | CONFIG_SYSVIPC=y | 2 | CONFIG_SYSVIPC=y |
3 | CONFIG_LOG_BUF_SHIFT=14 | 3 | CONFIG_LOG_BUF_SHIFT=14 |
4 | CONFIG_BLK_DEV_INITRD=y | 4 | CONFIG_BLK_DEV_INITRD=y |
5 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
6 | CONFIG_EXPERT=y | 5 | CONFIG_EXPERT=y |
7 | CONFIG_SLAB=y | 6 | CONFIG_SLAB=y |
8 | CONFIG_MODULES=y | 7 | CONFIG_MODULES=y |
9 | CONFIG_MODULE_UNLOAD=y | 8 | CONFIG_MODULE_UNLOAD=y |
10 | # CONFIG_BLK_DEV_BSG is not set | 9 | # CONFIG_BLK_DEV_BSG is not set |
10 | CONFIG_PARTITION_ADVANCED=y | ||
11 | # CONFIG_PPC_CHRP is not set | 11 | # CONFIG_PPC_CHRP is not set |
12 | # CONFIG_PPC_PMAC is not set | 12 | # CONFIG_PPC_PMAC is not set |
13 | CONFIG_PPC_83xx=y | 13 | CONFIG_PPC_83xx=y |
@@ -25,7 +25,6 @@ CONFIG_ASP834x=y | |||
25 | CONFIG_QUICC_ENGINE=y | 25 | CONFIG_QUICC_ENGINE=y |
26 | CONFIG_QE_GPIO=y | 26 | CONFIG_QE_GPIO=y |
27 | CONFIG_MATH_EMULATION=y | 27 | CONFIG_MATH_EMULATION=y |
28 | CONFIG_SPARSE_IRQ=y | ||
29 | CONFIG_PCI=y | 28 | CONFIG_PCI=y |
30 | CONFIG_NET=y | 29 | CONFIG_NET=y |
31 | CONFIG_PACKET=y | 30 | CONFIG_PACKET=y |
@@ -42,10 +41,9 @@ CONFIG_INET_ESP=y | |||
42 | # CONFIG_INET_LRO is not set | 41 | # CONFIG_INET_LRO is not set |
43 | # CONFIG_IPV6 is not set | 42 | # CONFIG_IPV6 is not set |
44 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 43 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
44 | CONFIG_DEVTMPFS=y | ||
45 | # CONFIG_FW_LOADER is not set | 45 | # CONFIG_FW_LOADER is not set |
46 | CONFIG_MTD=y | 46 | CONFIG_MTD=y |
47 | CONFIG_MTD_PARTITIONS=y | ||
48 | CONFIG_MTD_OF_PARTS=y | ||
49 | CONFIG_MTD_CHAR=y | 47 | CONFIG_MTD_CHAR=y |
50 | CONFIG_MTD_BLOCK=y | 48 | CONFIG_MTD_BLOCK=y |
51 | CONFIG_MTD_CFI=y | 49 | CONFIG_MTD_CFI=y |
@@ -64,15 +62,14 @@ CONFIG_ATA=y | |||
64 | CONFIG_SATA_FSL=y | 62 | CONFIG_SATA_FSL=y |
65 | CONFIG_SATA_SIL=y | 63 | CONFIG_SATA_SIL=y |
66 | CONFIG_NETDEVICES=y | 64 | CONFIG_NETDEVICES=y |
65 | CONFIG_MII=y | ||
66 | CONFIG_UCC_GETH=y | ||
67 | CONFIG_GIANFAR=y | ||
67 | CONFIG_MARVELL_PHY=y | 68 | CONFIG_MARVELL_PHY=y |
68 | CONFIG_DAVICOM_PHY=y | 69 | CONFIG_DAVICOM_PHY=y |
69 | CONFIG_VITESSE_PHY=y | 70 | CONFIG_VITESSE_PHY=y |
70 | CONFIG_ICPLUS_PHY=y | 71 | CONFIG_ICPLUS_PHY=y |
71 | CONFIG_FIXED_PHY=y | 72 | CONFIG_FIXED_PHY=y |
72 | CONFIG_NET_ETHERNET=y | ||
73 | CONFIG_MII=y | ||
74 | CONFIG_GIANFAR=y | ||
75 | CONFIG_UCC_GETH=y | ||
76 | CONFIG_INPUT_FF_MEMLESS=m | 73 | CONFIG_INPUT_FF_MEMLESS=m |
77 | # CONFIG_INPUT_MOUSEDEV is not set | 74 | # CONFIG_INPUT_MOUSEDEV is not set |
78 | # CONFIG_INPUT_KEYBOARD is not set | 75 | # CONFIG_INPUT_KEYBOARD is not set |
@@ -112,17 +109,12 @@ CONFIG_RTC_DRV_DS1374=y | |||
112 | CONFIG_EXT2_FS=y | 109 | CONFIG_EXT2_FS=y |
113 | CONFIG_EXT3_FS=y | 110 | CONFIG_EXT3_FS=y |
114 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | 111 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set |
115 | CONFIG_INOTIFY=y | ||
116 | CONFIG_PROC_KCORE=y | 112 | CONFIG_PROC_KCORE=y |
117 | CONFIG_TMPFS=y | 113 | CONFIG_TMPFS=y |
118 | CONFIG_NFS_FS=y | 114 | CONFIG_NFS_FS=y |
119 | CONFIG_NFS_V3=y | ||
120 | CONFIG_NFS_V4=y | 115 | CONFIG_NFS_V4=y |
121 | CONFIG_ROOT_NFS=y | 116 | CONFIG_ROOT_NFS=y |
122 | CONFIG_PARTITION_ADVANCED=y | ||
123 | CONFIG_CRC_T10DIF=y | 117 | CONFIG_CRC_T10DIF=y |
124 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
125 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
126 | CONFIG_CRYPTO_ECB=m | 118 | CONFIG_CRYPTO_ECB=m |
127 | CONFIG_CRYPTO_PCBC=m | 119 | CONFIG_CRYPTO_PCBC=m |
128 | CONFIG_CRYPTO_SHA256=y | 120 | CONFIG_CRYPTO_SHA256=y |
diff --git a/arch/powerpc/configs/mpc85xx_defconfig b/arch/powerpc/configs/mpc85xx_defconfig index 03ee911c4577..8b5bda27d248 100644 --- a/arch/powerpc/configs/mpc85xx_defconfig +++ b/arch/powerpc/configs/mpc85xx_defconfig | |||
@@ -5,7 +5,9 @@ CONFIG_SYSVIPC=y | |||
5 | CONFIG_POSIX_MQUEUE=y | 5 | CONFIG_POSIX_MQUEUE=y |
6 | CONFIG_BSD_PROCESS_ACCT=y | 6 | CONFIG_BSD_PROCESS_ACCT=y |
7 | CONFIG_AUDIT=y | 7 | CONFIG_AUDIT=y |
8 | CONFIG_SPARSE_IRQ=y | 8 | CONFIG_IRQ_DOMAIN_DEBUG=y |
9 | CONFIG_NO_HZ=y | ||
10 | CONFIG_HIGH_RES_TIMERS=y | ||
9 | CONFIG_IKCONFIG=y | 11 | CONFIG_IKCONFIG=y |
10 | CONFIG_IKCONFIG_PROC=y | 12 | CONFIG_IKCONFIG_PROC=y |
11 | CONFIG_LOG_BUF_SHIFT=14 | 13 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -17,6 +19,8 @@ CONFIG_MODULE_UNLOAD=y | |||
17 | CONFIG_MODULE_FORCE_UNLOAD=y | 19 | CONFIG_MODULE_FORCE_UNLOAD=y |
18 | CONFIG_MODVERSIONS=y | 20 | CONFIG_MODVERSIONS=y |
19 | # CONFIG_BLK_DEV_BSG is not set | 21 | # CONFIG_BLK_DEV_BSG is not set |
22 | CONFIG_PARTITION_ADVANCED=y | ||
23 | CONFIG_MAC_PARTITION=y | ||
20 | CONFIG_MPC8540_ADS=y | 24 | CONFIG_MPC8540_ADS=y |
21 | CONFIG_MPC8560_ADS=y | 25 | CONFIG_MPC8560_ADS=y |
22 | CONFIG_MPC85xx_CDS=y | 26 | CONFIG_MPC85xx_CDS=y |
@@ -40,8 +44,6 @@ CONFIG_SBC8548=y | |||
40 | CONFIG_QUICC_ENGINE=y | 44 | CONFIG_QUICC_ENGINE=y |
41 | CONFIG_QE_GPIO=y | 45 | CONFIG_QE_GPIO=y |
42 | CONFIG_HIGHMEM=y | 46 | CONFIG_HIGHMEM=y |
43 | CONFIG_NO_HZ=y | ||
44 | CONFIG_HIGH_RES_TIMERS=y | ||
45 | CONFIG_BINFMT_MISC=m | 47 | CONFIG_BINFMT_MISC=m |
46 | CONFIG_MATH_EMULATION=y | 48 | CONFIG_MATH_EMULATION=y |
47 | CONFIG_FORCE_MAX_ZONEORDER=12 | 49 | CONFIG_FORCE_MAX_ZONEORDER=12 |
@@ -74,36 +76,25 @@ CONFIG_INET_ESP=y | |||
74 | CONFIG_IPV6=y | 76 | CONFIG_IPV6=y |
75 | CONFIG_IP_SCTP=m | 77 | CONFIG_IP_SCTP=m |
76 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 78 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
79 | CONFIG_DEVTMPFS=y | ||
77 | CONFIG_MTD=y | 80 | CONFIG_MTD=y |
78 | CONFIG_MTD_CMDLINE_PARTS=y | 81 | CONFIG_MTD_CMDLINE_PARTS=y |
79 | CONFIG_MTD_CHAR=y | 82 | CONFIG_MTD_CHAR=y |
80 | CONFIG_MTD_BLOCK=y | 83 | CONFIG_MTD_BLOCK=y |
81 | CONFIG_MTD_CFI=y | ||
82 | CONFIG_FTL=y | 84 | CONFIG_FTL=y |
83 | CONFIG_MTD_GEN_PROBE=y | 85 | CONFIG_MTD_CFI=y |
84 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
85 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
86 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
87 | CONFIG_MTD_CFI_I1=y | ||
88 | CONFIG_MTD_CFI_I2=y | ||
89 | CONFIG_MTD_CFI_INTELEXT=y | 86 | CONFIG_MTD_CFI_INTELEXT=y |
90 | CONFIG_MTD_CFI_AMDSTD=y | 87 | CONFIG_MTD_CFI_AMDSTD=y |
91 | CONFIG_MTD_CFI_UTIL=y | ||
92 | CONFIG_MTD_PHYSMAP_OF=y | 88 | CONFIG_MTD_PHYSMAP_OF=y |
93 | CONFIG_MTD_PARTITIONS=y | 89 | CONFIG_MTD_M25P80=y |
94 | CONFIG_MTD_OF_PARTS=y | ||
95 | CONFIG_MTD_NAND=y | 90 | CONFIG_MTD_NAND=y |
96 | CONFIG_MTD_NAND_FSL_ELBC=y | 91 | CONFIG_MTD_NAND_FSL_ELBC=y |
97 | CONFIG_MTD_NAND_FSL_IFC=y | 92 | CONFIG_MTD_NAND_FSL_IFC=y |
98 | CONFIG_MTD_NAND_IDS=y | ||
99 | CONFIG_MTD_NAND_ECC=y | ||
100 | CONFIG_MTD_M25P80=y | ||
101 | CONFIG_PROC_DEVICETREE=y | 93 | CONFIG_PROC_DEVICETREE=y |
102 | CONFIG_BLK_DEV_LOOP=y | 94 | CONFIG_BLK_DEV_LOOP=y |
103 | CONFIG_BLK_DEV_NBD=y | 95 | CONFIG_BLK_DEV_NBD=y |
104 | CONFIG_BLK_DEV_RAM=y | 96 | CONFIG_BLK_DEV_RAM=y |
105 | CONFIG_BLK_DEV_RAM_SIZE=131072 | 97 | CONFIG_BLK_DEV_RAM_SIZE=131072 |
106 | CONFIG_MISC_DEVICES=y | ||
107 | CONFIG_EEPROM_LEGACY=y | 98 | CONFIG_EEPROM_LEGACY=y |
108 | CONFIG_BLK_DEV_SD=y | 99 | CONFIG_BLK_DEV_SD=y |
109 | CONFIG_CHR_DEV_ST=y | 100 | CONFIG_CHR_DEV_ST=y |
@@ -115,6 +106,7 @@ CONFIG_ATA=y | |||
115 | CONFIG_SATA_AHCI=y | 106 | CONFIG_SATA_AHCI=y |
116 | CONFIG_SATA_FSL=y | 107 | CONFIG_SATA_FSL=y |
117 | CONFIG_PATA_ALI=y | 108 | CONFIG_PATA_ALI=y |
109 | CONFIG_PATA_VIA=y | ||
118 | CONFIG_NETDEVICES=y | 110 | CONFIG_NETDEVICES=y |
119 | CONFIG_DUMMY=y | 111 | CONFIG_DUMMY=y |
120 | CONFIG_FS_ENET=y | 112 | CONFIG_FS_ENET=y |
@@ -134,7 +126,6 @@ CONFIG_SERIAL_8250=y | |||
134 | CONFIG_SERIAL_8250_CONSOLE=y | 126 | CONFIG_SERIAL_8250_CONSOLE=y |
135 | CONFIG_SERIAL_8250_NR_UARTS=2 | 127 | CONFIG_SERIAL_8250_NR_UARTS=2 |
136 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | 128 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 |
137 | CONFIG_SERIAL_8250_EXTENDED=y | ||
138 | CONFIG_SERIAL_8250_MANY_PORTS=y | 129 | CONFIG_SERIAL_8250_MANY_PORTS=y |
139 | CONFIG_SERIAL_8250_DETECT_IRQ=y | 130 | CONFIG_SERIAL_8250_DETECT_IRQ=y |
140 | CONFIG_SERIAL_8250_RSA=y | 131 | CONFIG_SERIAL_8250_RSA=y |
@@ -183,7 +174,6 @@ CONFIG_HID_SAMSUNG=y | |||
183 | CONFIG_HID_SONY=y | 174 | CONFIG_HID_SONY=y |
184 | CONFIG_HID_SUNPLUS=y | 175 | CONFIG_HID_SUNPLUS=y |
185 | CONFIG_USB=y | 176 | CONFIG_USB=y |
186 | CONFIG_USB_DEVICEFS=y | ||
187 | CONFIG_USB_MON=y | 177 | CONFIG_USB_MON=y |
188 | CONFIG_USB_EHCI_HCD=y | 178 | CONFIG_USB_EHCI_HCD=y |
189 | CONFIG_USB_EHCI_FSL=y | 179 | CONFIG_USB_EHCI_FSL=y |
@@ -229,18 +219,13 @@ CONFIG_QNX4FS_FS=m | |||
229 | CONFIG_SYSV_FS=m | 219 | CONFIG_SYSV_FS=m |
230 | CONFIG_UFS_FS=m | 220 | CONFIG_UFS_FS=m |
231 | CONFIG_NFS_FS=y | 221 | CONFIG_NFS_FS=y |
232 | CONFIG_NFS_V3=y | ||
233 | CONFIG_NFS_V4=y | 222 | CONFIG_NFS_V4=y |
234 | CONFIG_ROOT_NFS=y | 223 | CONFIG_ROOT_NFS=y |
235 | CONFIG_NFSD=y | 224 | CONFIG_NFSD=y |
236 | CONFIG_PARTITION_ADVANCED=y | ||
237 | CONFIG_MAC_PARTITION=y | ||
238 | CONFIG_CRC_T10DIF=y | 225 | CONFIG_CRC_T10DIF=y |
239 | CONFIG_DEBUG_FS=y | 226 | CONFIG_DEBUG_FS=y |
240 | CONFIG_DETECT_HUNG_TASK=y | 227 | CONFIG_DETECT_HUNG_TASK=y |
241 | CONFIG_DEBUG_INFO=y | 228 | CONFIG_DEBUG_INFO=y |
242 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
243 | CONFIG_IRQ_DOMAIN_DEBUG=y | ||
244 | CONFIG_CRYPTO_PCBC=m | 229 | CONFIG_CRYPTO_PCBC=m |
245 | CONFIG_CRYPTO_SHA256=y | 230 | CONFIG_CRYPTO_SHA256=y |
246 | CONFIG_CRYPTO_SHA512=y | 231 | CONFIG_CRYPTO_SHA512=y |
diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig b/arch/powerpc/configs/mpc85xx_smp_defconfig index fdfa84dc908f..b0974e7e98ae 100644 --- a/arch/powerpc/configs/mpc85xx_smp_defconfig +++ b/arch/powerpc/configs/mpc85xx_smp_defconfig | |||
@@ -7,7 +7,9 @@ CONFIG_SYSVIPC=y | |||
7 | CONFIG_POSIX_MQUEUE=y | 7 | CONFIG_POSIX_MQUEUE=y |
8 | CONFIG_BSD_PROCESS_ACCT=y | 8 | CONFIG_BSD_PROCESS_ACCT=y |
9 | CONFIG_AUDIT=y | 9 | CONFIG_AUDIT=y |
10 | CONFIG_SPARSE_IRQ=y | 10 | CONFIG_IRQ_DOMAIN_DEBUG=y |
11 | CONFIG_NO_HZ=y | ||
12 | CONFIG_HIGH_RES_TIMERS=y | ||
11 | CONFIG_IKCONFIG=y | 13 | CONFIG_IKCONFIG=y |
12 | CONFIG_IKCONFIG_PROC=y | 14 | CONFIG_IKCONFIG_PROC=y |
13 | CONFIG_LOG_BUF_SHIFT=14 | 15 | CONFIG_LOG_BUF_SHIFT=14 |
@@ -19,6 +21,8 @@ CONFIG_MODULE_UNLOAD=y | |||
19 | CONFIG_MODULE_FORCE_UNLOAD=y | 21 | CONFIG_MODULE_FORCE_UNLOAD=y |
20 | CONFIG_MODVERSIONS=y | 22 | CONFIG_MODVERSIONS=y |
21 | # CONFIG_BLK_DEV_BSG is not set | 23 | # CONFIG_BLK_DEV_BSG is not set |
24 | CONFIG_PARTITION_ADVANCED=y | ||
25 | CONFIG_MAC_PARTITION=y | ||
22 | CONFIG_MPC8540_ADS=y | 26 | CONFIG_MPC8540_ADS=y |
23 | CONFIG_MPC8560_ADS=y | 27 | CONFIG_MPC8560_ADS=y |
24 | CONFIG_MPC85xx_CDS=y | 28 | CONFIG_MPC85xx_CDS=y |
@@ -42,8 +46,6 @@ CONFIG_SBC8548=y | |||
42 | CONFIG_QUICC_ENGINE=y | 46 | CONFIG_QUICC_ENGINE=y |
43 | CONFIG_QE_GPIO=y | 47 | CONFIG_QE_GPIO=y |
44 | CONFIG_HIGHMEM=y | 48 | CONFIG_HIGHMEM=y |
45 | CONFIG_NO_HZ=y | ||
46 | CONFIG_HIGH_RES_TIMERS=y | ||
47 | CONFIG_BINFMT_MISC=m | 49 | CONFIG_BINFMT_MISC=m |
48 | CONFIG_MATH_EMULATION=y | 50 | CONFIG_MATH_EMULATION=y |
49 | CONFIG_IRQ_ALL_CPUS=y | 51 | CONFIG_IRQ_ALL_CPUS=y |
@@ -77,36 +79,25 @@ CONFIG_INET_ESP=y | |||
77 | CONFIG_IPV6=y | 79 | CONFIG_IPV6=y |
78 | CONFIG_IP_SCTP=m | 80 | CONFIG_IP_SCTP=m |
79 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 81 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
82 | CONFIG_DEVTMPFS=y | ||
80 | CONFIG_MTD=y | 83 | CONFIG_MTD=y |
81 | CONFIG_MTD_CMDLINE_PARTS=y | 84 | CONFIG_MTD_CMDLINE_PARTS=y |
82 | CONFIG_MTD_CHAR=y | 85 | CONFIG_MTD_CHAR=y |
83 | CONFIG_MTD_BLOCK=y | 86 | CONFIG_MTD_BLOCK=y |
84 | CONFIG_MTD_CFI=y | ||
85 | CONFIG_FTL=y | 87 | CONFIG_FTL=y |
86 | CONFIG_MTD_GEN_PROBE=y | 88 | CONFIG_MTD_CFI=y |
87 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
88 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
89 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
90 | CONFIG_MTD_CFI_I1=y | ||
91 | CONFIG_MTD_CFI_I2=y | ||
92 | CONFIG_MTD_CFI_INTELEXT=y | 89 | CONFIG_MTD_CFI_INTELEXT=y |
93 | CONFIG_MTD_CFI_AMDSTD=y | 90 | CONFIG_MTD_CFI_AMDSTD=y |
94 | CONFIG_MTD_CFI_UTIL=y | ||
95 | CONFIG_MTD_PHYSMAP_OF=y | 91 | CONFIG_MTD_PHYSMAP_OF=y |
96 | CONFIG_MTD_PARTITIONS=y | 92 | CONFIG_MTD_M25P80=y |
97 | CONFIG_MTD_OF_PARTS=y | ||
98 | CONFIG_MTD_NAND=y | 93 | CONFIG_MTD_NAND=y |
99 | CONFIG_MTD_NAND_FSL_ELBC=y | 94 | CONFIG_MTD_NAND_FSL_ELBC=y |
100 | CONFIG_MTD_NAND_FSL_IFC=y | 95 | CONFIG_MTD_NAND_FSL_IFC=y |
101 | CONFIG_MTD_NAND_IDS=y | ||
102 | CONFIG_MTD_NAND_ECC=y | ||
103 | CONFIG_MTD_M25P80=y | ||
104 | CONFIG_PROC_DEVICETREE=y | 96 | CONFIG_PROC_DEVICETREE=y |
105 | CONFIG_BLK_DEV_LOOP=y | 97 | CONFIG_BLK_DEV_LOOP=y |
106 | CONFIG_BLK_DEV_NBD=y | 98 | CONFIG_BLK_DEV_NBD=y |
107 | CONFIG_BLK_DEV_RAM=y | 99 | CONFIG_BLK_DEV_RAM=y |
108 | CONFIG_BLK_DEV_RAM_SIZE=131072 | 100 | CONFIG_BLK_DEV_RAM_SIZE=131072 |
109 | CONFIG_MISC_DEVICES=y | ||
110 | CONFIG_EEPROM_LEGACY=y | 101 | CONFIG_EEPROM_LEGACY=y |
111 | CONFIG_BLK_DEV_SD=y | 102 | CONFIG_BLK_DEV_SD=y |
112 | CONFIG_CHR_DEV_ST=y | 103 | CONFIG_CHR_DEV_ST=y |
@@ -137,7 +128,6 @@ CONFIG_SERIAL_8250=y | |||
137 | CONFIG_SERIAL_8250_CONSOLE=y | 128 | CONFIG_SERIAL_8250_CONSOLE=y |
138 | CONFIG_SERIAL_8250_NR_UARTS=2 | 129 | CONFIG_SERIAL_8250_NR_UARTS=2 |
139 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 | 130 | CONFIG_SERIAL_8250_RUNTIME_UARTS=2 |
140 | CONFIG_SERIAL_8250_EXTENDED=y | ||
141 | CONFIG_SERIAL_8250_MANY_PORTS=y | 131 | CONFIG_SERIAL_8250_MANY_PORTS=y |
142 | CONFIG_SERIAL_8250_DETECT_IRQ=y | 132 | CONFIG_SERIAL_8250_DETECT_IRQ=y |
143 | CONFIG_SERIAL_8250_RSA=y | 133 | CONFIG_SERIAL_8250_RSA=y |
@@ -186,7 +176,6 @@ CONFIG_HID_SAMSUNG=y | |||
186 | CONFIG_HID_SONY=y | 176 | CONFIG_HID_SONY=y |
187 | CONFIG_HID_SUNPLUS=y | 177 | CONFIG_HID_SUNPLUS=y |
188 | CONFIG_USB=y | 178 | CONFIG_USB=y |
189 | CONFIG_USB_DEVICEFS=y | ||
190 | CONFIG_USB_MON=y | 179 | CONFIG_USB_MON=y |
191 | CONFIG_USB_EHCI_HCD=y | 180 | CONFIG_USB_EHCI_HCD=y |
192 | CONFIG_USB_EHCI_FSL=y | 181 | CONFIG_USB_EHCI_FSL=y |
@@ -232,18 +221,13 @@ CONFIG_QNX4FS_FS=m | |||
232 | CONFIG_SYSV_FS=m | 221 | CONFIG_SYSV_FS=m |
233 | CONFIG_UFS_FS=m | 222 | CONFIG_UFS_FS=m |
234 | CONFIG_NFS_FS=y | 223 | CONFIG_NFS_FS=y |
235 | CONFIG_NFS_V3=y | ||
236 | CONFIG_NFS_V4=y | 224 | CONFIG_NFS_V4=y |
237 | CONFIG_ROOT_NFS=y | 225 | CONFIG_ROOT_NFS=y |
238 | CONFIG_NFSD=y | 226 | CONFIG_NFSD=y |
239 | CONFIG_PARTITION_ADVANCED=y | ||
240 | CONFIG_MAC_PARTITION=y | ||
241 | CONFIG_CRC_T10DIF=y | 227 | CONFIG_CRC_T10DIF=y |
242 | CONFIG_DEBUG_FS=y | 228 | CONFIG_DEBUG_FS=y |
243 | CONFIG_DETECT_HUNG_TASK=y | 229 | CONFIG_DETECT_HUNG_TASK=y |
244 | CONFIG_DEBUG_INFO=y | 230 | CONFIG_DEBUG_INFO=y |
245 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
246 | CONFIG_IRQ_DOMAIN_DEBUG=y | ||
247 | CONFIG_CRYPTO_PCBC=m | 231 | CONFIG_CRYPTO_PCBC=m |
248 | CONFIG_CRYPTO_SHA256=y | 232 | CONFIG_CRYPTO_SHA256=y |
249 | CONFIG_CRYPTO_SHA512=y | 233 | CONFIG_CRYPTO_SHA512=y |
diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h index 50d82c8a037f..b3c083de17ad 100644 --- a/arch/powerpc/include/asm/cputable.h +++ b/arch/powerpc/include/asm/cputable.h | |||
@@ -553,9 +553,7 @@ static inline int cpu_has_feature(unsigned long feature) | |||
553 | & feature); | 553 | & feature); |
554 | } | 554 | } |
555 | 555 | ||
556 | #ifdef CONFIG_HAVE_HW_BREAKPOINT | ||
557 | #define HBP_NUM 1 | 556 | #define HBP_NUM 1 |
558 | #endif /* CONFIG_HAVE_HW_BREAKPOINT */ | ||
559 | 557 | ||
560 | #endif /* !__ASSEMBLY__ */ | 558 | #endif /* !__ASSEMBLY__ */ |
561 | 559 | ||
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 50ea12fd7bf5..a8bf5c673a3c 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/kvm_asm.h> | 33 | #include <asm/kvm_asm.h> |
34 | #include <asm/processor.h> | 34 | #include <asm/processor.h> |
35 | #include <asm/page.h> | 35 | #include <asm/page.h> |
36 | #include <asm/cacheflush.h> | ||
36 | 37 | ||
37 | #define KVM_MAX_VCPUS NR_CPUS | 38 | #define KVM_MAX_VCPUS NR_CPUS |
38 | #define KVM_MAX_VCORES NR_CPUS | 39 | #define KVM_MAX_VCORES NR_CPUS |
diff --git a/arch/powerpc/include/asm/kvm_ppc.h b/arch/powerpc/include/asm/kvm_ppc.h index 0124937a23b9..e006f0bdea95 100644 --- a/arch/powerpc/include/asm/kvm_ppc.h +++ b/arch/powerpc/include/asm/kvm_ppc.h | |||
@@ -219,4 +219,16 @@ void kvmppc_claim_lpid(long lpid); | |||
219 | void kvmppc_free_lpid(long lpid); | 219 | void kvmppc_free_lpid(long lpid); |
220 | void kvmppc_init_lpid(unsigned long nr_lpids); | 220 | void kvmppc_init_lpid(unsigned long nr_lpids); |
221 | 221 | ||
222 | static inline void kvmppc_mmu_flush_icache(pfn_t pfn) | ||
223 | { | ||
224 | /* Clear i-cache for new pages */ | ||
225 | struct page *page; | ||
226 | page = pfn_to_page(pfn); | ||
227 | if (!test_bit(PG_arch_1, &page->flags)) { | ||
228 | flush_dcache_icache_page(page); | ||
229 | set_bit(PG_arch_1, &page->flags); | ||
230 | } | ||
231 | } | ||
232 | |||
233 | |||
222 | #endif /* __POWERPC_KVM_PPC_H__ */ | 234 | #endif /* __POWERPC_KVM_PPC_H__ */ |
diff --git a/arch/powerpc/include/asm/mpic_msgr.h b/arch/powerpc/include/asm/mpic_msgr.h index 326d33ca55cd..d4f471fb1031 100644 --- a/arch/powerpc/include/asm/mpic_msgr.h +++ b/arch/powerpc/include/asm/mpic_msgr.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
16 | #include <asm/smp.h> | 16 | #include <asm/smp.h> |
17 | #include <asm/io.h> | ||
17 | 18 | ||
18 | struct mpic_msgr { | 19 | struct mpic_msgr { |
19 | u32 __iomem *base; | 20 | u32 __iomem *base; |
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 53b6dfa83344..54b73a28c205 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h | |||
@@ -386,6 +386,7 @@ extern unsigned long cpuidle_disable; | |||
386 | enum idle_boot_override {IDLE_NO_OVERRIDE = 0, IDLE_POWERSAVE_OFF}; | 386 | enum idle_boot_override {IDLE_NO_OVERRIDE = 0, IDLE_POWERSAVE_OFF}; |
387 | 387 | ||
388 | extern int powersave_nap; /* set if nap mode can be used in idle loop */ | 388 | extern int powersave_nap; /* set if nap mode can be used in idle loop */ |
389 | extern void power7_nap(void); | ||
389 | 390 | ||
390 | #ifdef CONFIG_PSERIES_IDLE | 391 | #ifdef CONFIG_PSERIES_IDLE |
391 | extern void update_smt_snooze_delay(int snooze); | 392 | extern void update_smt_snooze_delay(int snooze); |
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index 85b05c463fae..e8995727b1c1 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c | |||
@@ -76,6 +76,7 @@ int main(void) | |||
76 | DEFINE(SIGSEGV, SIGSEGV); | 76 | DEFINE(SIGSEGV, SIGSEGV); |
77 | DEFINE(NMI_MASK, NMI_MASK); | 77 | DEFINE(NMI_MASK, NMI_MASK); |
78 | DEFINE(THREAD_DSCR, offsetof(struct thread_struct, dscr)); | 78 | DEFINE(THREAD_DSCR, offsetof(struct thread_struct, dscr)); |
79 | DEFINE(THREAD_DSCR_INHERIT, offsetof(struct thread_struct, dscr_inherit)); | ||
79 | #else | 80 | #else |
80 | DEFINE(THREAD_INFO, offsetof(struct task_struct, stack)); | 81 | DEFINE(THREAD_INFO, offsetof(struct task_struct, stack)); |
81 | #endif /* CONFIG_PPC64 */ | 82 | #endif /* CONFIG_PPC64 */ |
diff --git a/arch/powerpc/kernel/dbell.c b/arch/powerpc/kernel/dbell.c index 5b25c8060fd6..a892680668d8 100644 --- a/arch/powerpc/kernel/dbell.c +++ b/arch/powerpc/kernel/dbell.c | |||
@@ -28,6 +28,8 @@ void doorbell_setup_this_cpu(void) | |||
28 | 28 | ||
29 | void doorbell_cause_ipi(int cpu, unsigned long data) | 29 | void doorbell_cause_ipi(int cpu, unsigned long data) |
30 | { | 30 | { |
31 | /* Order previous accesses vs. msgsnd, which is treated as a store */ | ||
32 | mb(); | ||
31 | ppc_msgsnd(PPC_DBELL, 0, data); | 33 | ppc_msgsnd(PPC_DBELL, 0, data); |
32 | } | 34 | } |
33 | 35 | ||
diff --git a/arch/powerpc/kernel/dma-iommu.c b/arch/powerpc/kernel/dma-iommu.c index 2d7bb8ced136..e4897523de41 100644 --- a/arch/powerpc/kernel/dma-iommu.c +++ b/arch/powerpc/kernel/dma-iommu.c | |||
@@ -83,11 +83,10 @@ static int dma_iommu_dma_supported(struct device *dev, u64 mask) | |||
83 | return 0; | 83 | return 0; |
84 | } | 84 | } |
85 | 85 | ||
86 | if ((tbl->it_offset + tbl->it_size) > (mask >> IOMMU_PAGE_SHIFT)) { | 86 | if (tbl->it_offset > (mask >> IOMMU_PAGE_SHIFT)) { |
87 | dev_info(dev, "Warning: IOMMU window too big for device mask\n"); | 87 | dev_info(dev, "Warning: IOMMU offset too big for device mask\n"); |
88 | dev_info(dev, "mask: 0x%08llx, table end: 0x%08lx\n", | 88 | dev_info(dev, "mask: 0x%08llx, table offset: 0x%08lx\n", |
89 | mask, (tbl->it_offset + tbl->it_size) << | 89 | mask, tbl->it_offset << IOMMU_PAGE_SHIFT); |
90 | IOMMU_PAGE_SHIFT); | ||
91 | return 0; | 90 | return 0; |
92 | } else | 91 | } else |
93 | return 1; | 92 | return 1; |
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S index 4b01a25e29ef..b40e0b4815b3 100644 --- a/arch/powerpc/kernel/entry_64.S +++ b/arch/powerpc/kernel/entry_64.S | |||
@@ -370,6 +370,12 @@ _GLOBAL(ret_from_fork) | |||
370 | li r3,0 | 370 | li r3,0 |
371 | b syscall_exit | 371 | b syscall_exit |
372 | 372 | ||
373 | .section ".toc","aw" | ||
374 | DSCR_DEFAULT: | ||
375 | .tc dscr_default[TC],dscr_default | ||
376 | |||
377 | .section ".text" | ||
378 | |||
373 | /* | 379 | /* |
374 | * This routine switches between two different tasks. The process | 380 | * This routine switches between two different tasks. The process |
375 | * state of one is saved on its kernel stack. Then the state | 381 | * state of one is saved on its kernel stack. Then the state |
@@ -509,9 +515,6 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_1T_SEGMENT) | |||
509 | mr r1,r8 /* start using new stack pointer */ | 515 | mr r1,r8 /* start using new stack pointer */ |
510 | std r7,PACAKSAVE(r13) | 516 | std r7,PACAKSAVE(r13) |
511 | 517 | ||
512 | ld r6,_CCR(r1) | ||
513 | mtcrf 0xFF,r6 | ||
514 | |||
515 | #ifdef CONFIG_ALTIVEC | 518 | #ifdef CONFIG_ALTIVEC |
516 | BEGIN_FTR_SECTION | 519 | BEGIN_FTR_SECTION |
517 | ld r0,THREAD_VRSAVE(r4) | 520 | ld r0,THREAD_VRSAVE(r4) |
@@ -520,14 +523,22 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC) | |||
520 | #endif /* CONFIG_ALTIVEC */ | 523 | #endif /* CONFIG_ALTIVEC */ |
521 | #ifdef CONFIG_PPC64 | 524 | #ifdef CONFIG_PPC64 |
522 | BEGIN_FTR_SECTION | 525 | BEGIN_FTR_SECTION |
526 | lwz r6,THREAD_DSCR_INHERIT(r4) | ||
527 | ld r7,DSCR_DEFAULT@toc(2) | ||
523 | ld r0,THREAD_DSCR(r4) | 528 | ld r0,THREAD_DSCR(r4) |
524 | cmpd r0,r25 | 529 | cmpwi r6,0 |
525 | beq 1f | 530 | bne 1f |
531 | ld r0,0(r7) | ||
532 | 1: cmpd r0,r25 | ||
533 | beq 2f | ||
526 | mtspr SPRN_DSCR,r0 | 534 | mtspr SPRN_DSCR,r0 |
527 | 1: | 535 | 2: |
528 | END_FTR_SECTION_IFSET(CPU_FTR_DSCR) | 536 | END_FTR_SECTION_IFSET(CPU_FTR_DSCR) |
529 | #endif | 537 | #endif |
530 | 538 | ||
539 | ld r6,_CCR(r1) | ||
540 | mtcrf 0xFF,r6 | ||
541 | |||
531 | /* r3-r13 are destroyed -- Cort */ | 542 | /* r3-r13 are destroyed -- Cort */ |
532 | REST_8GPRS(14, r1) | 543 | REST_8GPRS(14, r1) |
533 | REST_10GPRS(22, r1) | 544 | REST_10GPRS(22, r1) |
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index e894515e77bb..39aa97d3ff88 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S | |||
@@ -186,7 +186,7 @@ hardware_interrupt_hv: | |||
186 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0x800) | 186 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0x800) |
187 | 187 | ||
188 | MASKABLE_EXCEPTION_PSERIES(0x900, 0x900, decrementer) | 188 | MASKABLE_EXCEPTION_PSERIES(0x900, 0x900, decrementer) |
189 | MASKABLE_EXCEPTION_HV(0x980, 0x982, decrementer) | 189 | STD_EXCEPTION_HV(0x980, 0x982, hdecrementer) |
190 | 190 | ||
191 | STD_EXCEPTION_PSERIES(0xa00, 0xa00, trap_0a) | 191 | STD_EXCEPTION_PSERIES(0xa00, 0xa00, trap_0a) |
192 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0xa00) | 192 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0xa00) |
@@ -486,6 +486,7 @@ machine_check_common: | |||
486 | 486 | ||
487 | STD_EXCEPTION_COMMON_ASYNC(0x500, hardware_interrupt, do_IRQ) | 487 | STD_EXCEPTION_COMMON_ASYNC(0x500, hardware_interrupt, do_IRQ) |
488 | STD_EXCEPTION_COMMON_ASYNC(0x900, decrementer, .timer_interrupt) | 488 | STD_EXCEPTION_COMMON_ASYNC(0x900, decrementer, .timer_interrupt) |
489 | STD_EXCEPTION_COMMON(0x980, hdecrementer, .hdec_interrupt) | ||
489 | STD_EXCEPTION_COMMON(0xa00, trap_0a, .unknown_exception) | 490 | STD_EXCEPTION_COMMON(0xa00, trap_0a, .unknown_exception) |
490 | STD_EXCEPTION_COMMON(0xb00, trap_0b, .unknown_exception) | 491 | STD_EXCEPTION_COMMON(0xb00, trap_0b, .unknown_exception) |
491 | STD_EXCEPTION_COMMON(0xd00, single_step, .single_step_exception) | 492 | STD_EXCEPTION_COMMON(0xd00, single_step, .single_step_exception) |
diff --git a/arch/powerpc/kernel/hw_breakpoint.c b/arch/powerpc/kernel/hw_breakpoint.c index f3a82dde61db..956a4c496de9 100644 --- a/arch/powerpc/kernel/hw_breakpoint.c +++ b/arch/powerpc/kernel/hw_breakpoint.c | |||
@@ -253,7 +253,7 @@ int __kprobes hw_breakpoint_handler(struct die_args *args) | |||
253 | 253 | ||
254 | /* Do not emulate user-space instructions, instead single-step them */ | 254 | /* Do not emulate user-space instructions, instead single-step them */ |
255 | if (user_mode(regs)) { | 255 | if (user_mode(regs)) { |
256 | bp->ctx->task->thread.last_hit_ubp = bp; | 256 | current->thread.last_hit_ubp = bp; |
257 | regs->msr |= MSR_SE; | 257 | regs->msr |= MSR_SE; |
258 | goto out; | 258 | goto out; |
259 | } | 259 | } |
diff --git a/arch/powerpc/kernel/idle_power7.S b/arch/powerpc/kernel/idle_power7.S index 7140d838339e..e11863f4e595 100644 --- a/arch/powerpc/kernel/idle_power7.S +++ b/arch/powerpc/kernel/idle_power7.S | |||
@@ -28,7 +28,9 @@ _GLOBAL(power7_idle) | |||
28 | lwz r4,ADDROFF(powersave_nap)(r3) | 28 | lwz r4,ADDROFF(powersave_nap)(r3) |
29 | cmpwi 0,r4,0 | 29 | cmpwi 0,r4,0 |
30 | beqlr | 30 | beqlr |
31 | /* fall through */ | ||
31 | 32 | ||
33 | _GLOBAL(power7_nap) | ||
32 | /* NAP is a state loss, we create a regs frame on the | 34 | /* NAP is a state loss, we create a regs frame on the |
33 | * stack, fill it up with the state we care about and | 35 | * stack, fill it up with the state we care about and |
34 | * stick a pointer to it in PACAR1. We really only | 36 | * stick a pointer to it in PACAR1. We really only |
diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index 782bd0a3c2f0..c470a40b29f5 100644 --- a/arch/powerpc/kernel/kgdb.c +++ b/arch/powerpc/kernel/kgdb.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <asm/processor.h> | 25 | #include <asm/processor.h> |
26 | #include <asm/machdep.h> | 26 | #include <asm/machdep.h> |
27 | #include <asm/debug.h> | 27 | #include <asm/debug.h> |
28 | #include <linux/slab.h> | ||
28 | 29 | ||
29 | /* | 30 | /* |
30 | * This table contains the mapping between PowerPC hardware trap types, and | 31 | * This table contains the mapping between PowerPC hardware trap types, and |
@@ -101,6 +102,21 @@ static int computeSignal(unsigned int tt) | |||
101 | return SIGHUP; /* default for things we don't know about */ | 102 | return SIGHUP; /* default for things we don't know about */ |
102 | } | 103 | } |
103 | 104 | ||
105 | /** | ||
106 | * | ||
107 | * kgdb_skipexception - Bail out of KGDB when we've been triggered. | ||
108 | * @exception: Exception vector number | ||
109 | * @regs: Current &struct pt_regs. | ||
110 | * | ||
111 | * On some architectures we need to skip a breakpoint exception when | ||
112 | * it occurs after a breakpoint has been removed. | ||
113 | * | ||
114 | */ | ||
115 | int kgdb_skipexception(int exception, struct pt_regs *regs) | ||
116 | { | ||
117 | return kgdb_isremovedbreak(regs->nip); | ||
118 | } | ||
119 | |||
104 | static int kgdb_call_nmi_hook(struct pt_regs *regs) | 120 | static int kgdb_call_nmi_hook(struct pt_regs *regs) |
105 | { | 121 | { |
106 | kgdb_nmicallback(raw_smp_processor_id(), regs); | 122 | kgdb_nmicallback(raw_smp_processor_id(), regs); |
@@ -138,6 +154,8 @@ static int kgdb_handle_breakpoint(struct pt_regs *regs) | |||
138 | static int kgdb_singlestep(struct pt_regs *regs) | 154 | static int kgdb_singlestep(struct pt_regs *regs) |
139 | { | 155 | { |
140 | struct thread_info *thread_info, *exception_thread_info; | 156 | struct thread_info *thread_info, *exception_thread_info; |
157 | struct thread_info *backup_current_thread_info = \ | ||
158 | (struct thread_info *)kmalloc(sizeof(struct thread_info), GFP_KERNEL); | ||
141 | 159 | ||
142 | if (user_mode(regs)) | 160 | if (user_mode(regs)) |
143 | return 0; | 161 | return 0; |
@@ -155,13 +173,17 @@ static int kgdb_singlestep(struct pt_regs *regs) | |||
155 | thread_info = (struct thread_info *)(regs->gpr[1] & ~(THREAD_SIZE-1)); | 173 | thread_info = (struct thread_info *)(regs->gpr[1] & ~(THREAD_SIZE-1)); |
156 | exception_thread_info = current_thread_info(); | 174 | exception_thread_info = current_thread_info(); |
157 | 175 | ||
158 | if (thread_info != exception_thread_info) | 176 | if (thread_info != exception_thread_info) { |
177 | /* Save the original current_thread_info. */ | ||
178 | memcpy(backup_current_thread_info, exception_thread_info, sizeof *thread_info); | ||
159 | memcpy(exception_thread_info, thread_info, sizeof *thread_info); | 179 | memcpy(exception_thread_info, thread_info, sizeof *thread_info); |
180 | } | ||
160 | 181 | ||
161 | kgdb_handle_exception(0, SIGTRAP, 0, regs); | 182 | kgdb_handle_exception(0, SIGTRAP, 0, regs); |
162 | 183 | ||
163 | if (thread_info != exception_thread_info) | 184 | if (thread_info != exception_thread_info) |
164 | memcpy(thread_info, exception_thread_info, sizeof *thread_info); | 185 | /* Restore current_thread_info lastly. */ |
186 | memcpy(exception_thread_info, backup_current_thread_info, sizeof *thread_info); | ||
165 | 187 | ||
166 | return 1; | 188 | return 1; |
167 | } | 189 | } |
@@ -410,7 +432,6 @@ int kgdb_arch_handle_exception(int vector, int signo, int err_code, | |||
410 | #else | 432 | #else |
411 | linux_regs->msr |= MSR_SE; | 433 | linux_regs->msr |= MSR_SE; |
412 | #endif | 434 | #endif |
413 | kgdb_single_step = 1; | ||
414 | atomic_set(&kgdb_cpu_doing_single_step, | 435 | atomic_set(&kgdb_cpu_doing_single_step, |
415 | raw_smp_processor_id()); | 436 | raw_smp_processor_id()); |
416 | } | 437 | } |
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 710f400476de..1a1f2ddfb581 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -802,16 +802,8 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, | |||
802 | #endif /* CONFIG_PPC_STD_MMU_64 */ | 802 | #endif /* CONFIG_PPC_STD_MMU_64 */ |
803 | #ifdef CONFIG_PPC64 | 803 | #ifdef CONFIG_PPC64 |
804 | if (cpu_has_feature(CPU_FTR_DSCR)) { | 804 | if (cpu_has_feature(CPU_FTR_DSCR)) { |
805 | if (current->thread.dscr_inherit) { | 805 | p->thread.dscr_inherit = current->thread.dscr_inherit; |
806 | p->thread.dscr_inherit = 1; | 806 | p->thread.dscr = current->thread.dscr; |
807 | p->thread.dscr = current->thread.dscr; | ||
808 | } else if (0 != dscr_default) { | ||
809 | p->thread.dscr_inherit = 1; | ||
810 | p->thread.dscr = dscr_default; | ||
811 | } else { | ||
812 | p->thread.dscr_inherit = 0; | ||
813 | p->thread.dscr = 0; | ||
814 | } | ||
815 | } | 807 | } |
816 | #endif | 808 | #endif |
817 | 809 | ||
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 0321007086f7..8d4214afc21d 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
@@ -198,8 +198,15 @@ void smp_muxed_ipi_message_pass(int cpu, int msg) | |||
198 | struct cpu_messages *info = &per_cpu(ipi_message, cpu); | 198 | struct cpu_messages *info = &per_cpu(ipi_message, cpu); |
199 | char *message = (char *)&info->messages; | 199 | char *message = (char *)&info->messages; |
200 | 200 | ||
201 | /* | ||
202 | * Order previous accesses before accesses in the IPI handler. | ||
203 | */ | ||
204 | smp_mb(); | ||
201 | message[msg] = 1; | 205 | message[msg] = 1; |
202 | mb(); | 206 | /* |
207 | * cause_ipi functions are required to include a full barrier | ||
208 | * before doing whatever causes the IPI. | ||
209 | */ | ||
203 | smp_ops->cause_ipi(cpu, info->data); | 210 | smp_ops->cause_ipi(cpu, info->data); |
204 | } | 211 | } |
205 | 212 | ||
@@ -211,7 +218,7 @@ irqreturn_t smp_ipi_demux(void) | |||
211 | mb(); /* order any irq clear */ | 218 | mb(); /* order any irq clear */ |
212 | 219 | ||
213 | do { | 220 | do { |
214 | all = xchg_local(&info->messages, 0); | 221 | all = xchg(&info->messages, 0); |
215 | 222 | ||
216 | #ifdef __BIG_ENDIAN | 223 | #ifdef __BIG_ENDIAN |
217 | if (all & (1 << (24 - 8 * PPC_MSG_CALL_FUNCTION))) | 224 | if (all & (1 << (24 - 8 * PPC_MSG_CALL_FUNCTION))) |
diff --git a/arch/powerpc/kernel/syscalls.c b/arch/powerpc/kernel/syscalls.c index f2496f2faecc..4e3cc47f26b9 100644 --- a/arch/powerpc/kernel/syscalls.c +++ b/arch/powerpc/kernel/syscalls.c | |||
@@ -107,11 +107,11 @@ long ppc64_personality(unsigned long personality) | |||
107 | long ret; | 107 | long ret; |
108 | 108 | ||
109 | if (personality(current->personality) == PER_LINUX32 | 109 | if (personality(current->personality) == PER_LINUX32 |
110 | && personality == PER_LINUX) | 110 | && personality(personality) == PER_LINUX) |
111 | personality = PER_LINUX32; | 111 | personality = (personality & ~PER_MASK) | PER_LINUX32; |
112 | ret = sys_personality(personality); | 112 | ret = sys_personality(personality); |
113 | if (ret == PER_LINUX32) | 113 | if (personality(ret) == PER_LINUX32) |
114 | ret = PER_LINUX; | 114 | ret = (ret & ~PER_MASK) | PER_LINUX; |
115 | return ret; | 115 | return ret; |
116 | } | 116 | } |
117 | #endif | 117 | #endif |
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 3529446c2abd..8302af649219 100644 --- a/arch/powerpc/kernel/sysfs.c +++ b/arch/powerpc/kernel/sysfs.c | |||
@@ -194,6 +194,14 @@ static ssize_t show_dscr_default(struct device *dev, | |||
194 | return sprintf(buf, "%lx\n", dscr_default); | 194 | return sprintf(buf, "%lx\n", dscr_default); |
195 | } | 195 | } |
196 | 196 | ||
197 | static void update_dscr(void *dummy) | ||
198 | { | ||
199 | if (!current->thread.dscr_inherit) { | ||
200 | current->thread.dscr = dscr_default; | ||
201 | mtspr(SPRN_DSCR, dscr_default); | ||
202 | } | ||
203 | } | ||
204 | |||
197 | static ssize_t __used store_dscr_default(struct device *dev, | 205 | static ssize_t __used store_dscr_default(struct device *dev, |
198 | struct device_attribute *attr, const char *buf, | 206 | struct device_attribute *attr, const char *buf, |
199 | size_t count) | 207 | size_t count) |
@@ -206,6 +214,8 @@ static ssize_t __used store_dscr_default(struct device *dev, | |||
206 | return -EINVAL; | 214 | return -EINVAL; |
207 | dscr_default = val; | 215 | dscr_default = val; |
208 | 216 | ||
217 | on_each_cpu(update_dscr, NULL, 1); | ||
218 | |||
209 | return count; | 219 | return count; |
210 | } | 220 | } |
211 | 221 | ||
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index be171ee73bf8..e49e93191b69 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -535,6 +535,15 @@ void timer_interrupt(struct pt_regs * regs) | |||
535 | trace_timer_interrupt_exit(regs); | 535 | trace_timer_interrupt_exit(regs); |
536 | } | 536 | } |
537 | 537 | ||
538 | /* | ||
539 | * Hypervisor decrementer interrupts shouldn't occur but are sometimes | ||
540 | * left pending on exit from a KVM guest. We don't need to do anything | ||
541 | * to clear them, as they are edge-triggered. | ||
542 | */ | ||
543 | void hdec_interrupt(struct pt_regs *regs) | ||
544 | { | ||
545 | } | ||
546 | |||
538 | #ifdef CONFIG_SUSPEND | 547 | #ifdef CONFIG_SUSPEND |
539 | static void generic_suspend_disable_irqs(void) | 548 | static void generic_suspend_disable_irqs(void) |
540 | { | 549 | { |
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 158972341a2d..ae0843fa7a61 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -972,8 +972,9 @@ static int emulate_instruction(struct pt_regs *regs) | |||
972 | cpu_has_feature(CPU_FTR_DSCR)) { | 972 | cpu_has_feature(CPU_FTR_DSCR)) { |
973 | PPC_WARN_EMULATED(mtdscr, regs); | 973 | PPC_WARN_EMULATED(mtdscr, regs); |
974 | rd = (instword >> 21) & 0x1f; | 974 | rd = (instword >> 21) & 0x1f; |
975 | mtspr(SPRN_DSCR, regs->gpr[rd]); | 975 | current->thread.dscr = regs->gpr[rd]; |
976 | current->thread.dscr_inherit = 1; | 976 | current->thread.dscr_inherit = 1; |
977 | mtspr(SPRN_DSCR, current->thread.dscr); | ||
977 | return 0; | 978 | return 0; |
978 | } | 979 | } |
979 | #endif | 980 | #endif |
diff --git a/arch/powerpc/kvm/book3s_32_mmu_host.c b/arch/powerpc/kvm/book3s_32_mmu_host.c index f922c29bb234..837f13e7b6bf 100644 --- a/arch/powerpc/kvm/book3s_32_mmu_host.c +++ b/arch/powerpc/kvm/book3s_32_mmu_host.c | |||
@@ -211,6 +211,9 @@ next_pteg: | |||
211 | pteg1 |= PP_RWRX; | 211 | pteg1 |= PP_RWRX; |
212 | } | 212 | } |
213 | 213 | ||
214 | if (orig_pte->may_execute) | ||
215 | kvmppc_mmu_flush_icache(hpaddr >> PAGE_SHIFT); | ||
216 | |||
214 | local_irq_disable(); | 217 | local_irq_disable(); |
215 | 218 | ||
216 | if (pteg[rr]) { | 219 | if (pteg[rr]) { |
diff --git a/arch/powerpc/kvm/book3s_64_mmu_host.c b/arch/powerpc/kvm/book3s_64_mmu_host.c index 10fc8ec9d2a8..0688b6b39585 100644 --- a/arch/powerpc/kvm/book3s_64_mmu_host.c +++ b/arch/powerpc/kvm/book3s_64_mmu_host.c | |||
@@ -126,6 +126,8 @@ int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *orig_pte) | |||
126 | 126 | ||
127 | if (!orig_pte->may_execute) | 127 | if (!orig_pte->may_execute) |
128 | rflags |= HPTE_R_N; | 128 | rflags |= HPTE_R_N; |
129 | else | ||
130 | kvmppc_mmu_flush_icache(hpaddr >> PAGE_SHIFT); | ||
129 | 131 | ||
130 | hash = hpt_hash(va, PTE_SIZE, MMU_SEGSIZE_256M); | 132 | hash = hpt_hash(va, PTE_SIZE, MMU_SEGSIZE_256M); |
131 | 133 | ||
diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S b/arch/powerpc/kvm/book3s_hv_rmhandlers.S index 5a84c8d3d040..44b72feaff7d 100644 --- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S +++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S | |||
@@ -1421,13 +1421,13 @@ _GLOBAL(kvmppc_h_cede) | |||
1421 | sync /* order setting ceded vs. testing prodded */ | 1421 | sync /* order setting ceded vs. testing prodded */ |
1422 | lbz r5,VCPU_PRODDED(r3) | 1422 | lbz r5,VCPU_PRODDED(r3) |
1423 | cmpwi r5,0 | 1423 | cmpwi r5,0 |
1424 | bne 1f | 1424 | bne kvm_cede_prodded |
1425 | li r0,0 /* set trap to 0 to say hcall is handled */ | 1425 | li r0,0 /* set trap to 0 to say hcall is handled */ |
1426 | stw r0,VCPU_TRAP(r3) | 1426 | stw r0,VCPU_TRAP(r3) |
1427 | li r0,H_SUCCESS | 1427 | li r0,H_SUCCESS |
1428 | std r0,VCPU_GPR(R3)(r3) | 1428 | std r0,VCPU_GPR(R3)(r3) |
1429 | BEGIN_FTR_SECTION | 1429 | BEGIN_FTR_SECTION |
1430 | b 2f /* just send it up to host on 970 */ | 1430 | b kvm_cede_exit /* just send it up to host on 970 */ |
1431 | END_FTR_SECTION_IFCLR(CPU_FTR_ARCH_206) | 1431 | END_FTR_SECTION_IFCLR(CPU_FTR_ARCH_206) |
1432 | 1432 | ||
1433 | /* | 1433 | /* |
@@ -1446,7 +1446,7 @@ END_FTR_SECTION_IFCLR(CPU_FTR_ARCH_206) | |||
1446 | or r4,r4,r0 | 1446 | or r4,r4,r0 |
1447 | PPC_POPCNTW(R7,R4) | 1447 | PPC_POPCNTW(R7,R4) |
1448 | cmpw r7,r8 | 1448 | cmpw r7,r8 |
1449 | bge 2f | 1449 | bge kvm_cede_exit |
1450 | stwcx. r4,0,r6 | 1450 | stwcx. r4,0,r6 |
1451 | bne 31b | 1451 | bne 31b |
1452 | li r0,1 | 1452 | li r0,1 |
@@ -1555,7 +1555,8 @@ kvm_end_cede: | |||
1555 | b hcall_real_fallback | 1555 | b hcall_real_fallback |
1556 | 1556 | ||
1557 | /* cede when already previously prodded case */ | 1557 | /* cede when already previously prodded case */ |
1558 | 1: li r0,0 | 1558 | kvm_cede_prodded: |
1559 | li r0,0 | ||
1559 | stb r0,VCPU_PRODDED(r3) | 1560 | stb r0,VCPU_PRODDED(r3) |
1560 | sync /* order testing prodded vs. clearing ceded */ | 1561 | sync /* order testing prodded vs. clearing ceded */ |
1561 | stb r0,VCPU_CEDED(r3) | 1562 | stb r0,VCPU_CEDED(r3) |
@@ -1563,7 +1564,8 @@ kvm_end_cede: | |||
1563 | blr | 1564 | blr |
1564 | 1565 | ||
1565 | /* we've ceded but we want to give control to the host */ | 1566 | /* we've ceded but we want to give control to the host */ |
1566 | 2: li r3,H_TOO_HARD | 1567 | kvm_cede_exit: |
1568 | li r3,H_TOO_HARD | ||
1567 | blr | 1569 | blr |
1568 | 1570 | ||
1569 | secondary_too_late: | 1571 | secondary_too_late: |
diff --git a/arch/powerpc/kvm/e500_tlb.c b/arch/powerpc/kvm/e500_tlb.c index c510fc961302..a2b66717813d 100644 --- a/arch/powerpc/kvm/e500_tlb.c +++ b/arch/powerpc/kvm/e500_tlb.c | |||
@@ -322,11 +322,11 @@ static inline void kvmppc_e500_ref_release(struct tlbe_ref *ref) | |||
322 | static void clear_tlb1_bitmap(struct kvmppc_vcpu_e500 *vcpu_e500) | 322 | static void clear_tlb1_bitmap(struct kvmppc_vcpu_e500 *vcpu_e500) |
323 | { | 323 | { |
324 | if (vcpu_e500->g2h_tlb1_map) | 324 | if (vcpu_e500->g2h_tlb1_map) |
325 | memset(vcpu_e500->g2h_tlb1_map, | 325 | memset(vcpu_e500->g2h_tlb1_map, 0, |
326 | sizeof(u64) * vcpu_e500->gtlb_params[1].entries, 0); | 326 | sizeof(u64) * vcpu_e500->gtlb_params[1].entries); |
327 | if (vcpu_e500->h2g_tlb1_rmap) | 327 | if (vcpu_e500->h2g_tlb1_rmap) |
328 | memset(vcpu_e500->h2g_tlb1_rmap, | 328 | memset(vcpu_e500->h2g_tlb1_rmap, 0, |
329 | sizeof(unsigned int) * host_tlb_params[1].entries, 0); | 329 | sizeof(unsigned int) * host_tlb_params[1].entries); |
330 | } | 330 | } |
331 | 331 | ||
332 | static void clear_tlb_privs(struct kvmppc_vcpu_e500 *vcpu_e500) | 332 | static void clear_tlb_privs(struct kvmppc_vcpu_e500 *vcpu_e500) |
@@ -539,6 +539,9 @@ static inline void kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500, | |||
539 | 539 | ||
540 | kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, | 540 | kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, |
541 | ref, gvaddr, stlbe); | 541 | ref, gvaddr, stlbe); |
542 | |||
543 | /* Clear i-cache for new pages */ | ||
544 | kvmppc_mmu_flush_icache(pfn); | ||
542 | } | 545 | } |
543 | 546 | ||
544 | /* XXX only map the one-one case, for now use TLB0 */ | 547 | /* XXX only map the one-one case, for now use TLB0 */ |
diff --git a/arch/powerpc/lib/code-patching.c b/arch/powerpc/lib/code-patching.c index dd223b3eb333..17e5b2364312 100644 --- a/arch/powerpc/lib/code-patching.c +++ b/arch/powerpc/lib/code-patching.c | |||
@@ -20,7 +20,7 @@ int patch_instruction(unsigned int *addr, unsigned int instr) | |||
20 | { | 20 | { |
21 | int err; | 21 | int err; |
22 | 22 | ||
23 | err = __put_user(instr, addr); | 23 | __put_user_size(instr, addr, 4, err); |
24 | if (err) | 24 | if (err) |
25 | return err; | 25 | return err; |
26 | asm ("dcbst 0, %0; sync; icbi 0,%0; sync; isync" : : "r" (addr)); | 26 | asm ("dcbst 0, %0; sync; icbi 0,%0; sync; isync" : : "r" (addr)); |
diff --git a/arch/powerpc/lib/copyuser_power7.S b/arch/powerpc/lib/copyuser_power7.S index f9ede7c6606e..0d24ff15f5f6 100644 --- a/arch/powerpc/lib/copyuser_power7.S +++ b/arch/powerpc/lib/copyuser_power7.S | |||
@@ -288,7 +288,7 @@ err1; stb r0,0(r3) | |||
288 | std r0,16(r1) | 288 | std r0,16(r1) |
289 | stdu r1,-STACKFRAMESIZE(r1) | 289 | stdu r1,-STACKFRAMESIZE(r1) |
290 | bl .enter_vmx_usercopy | 290 | bl .enter_vmx_usercopy |
291 | cmpwi r3,0 | 291 | cmpwi cr1,r3,0 |
292 | ld r0,STACKFRAMESIZE+16(r1) | 292 | ld r0,STACKFRAMESIZE+16(r1) |
293 | ld r3,STACKFRAMESIZE+48(r1) | 293 | ld r3,STACKFRAMESIZE+48(r1) |
294 | ld r4,STACKFRAMESIZE+56(r1) | 294 | ld r4,STACKFRAMESIZE+56(r1) |
@@ -326,38 +326,7 @@ err1; stb r0,0(r3) | |||
326 | dcbt r0,r8,0b01010 /* GO */ | 326 | dcbt r0,r8,0b01010 /* GO */ |
327 | .machine pop | 327 | .machine pop |
328 | 328 | ||
329 | /* | 329 | beq cr1,.Lunwind_stack_nonvmx_copy |
330 | * We prefetch both the source and destination using enhanced touch | ||
331 | * instructions. We use a stream ID of 0 for the load side and | ||
332 | * 1 for the store side. | ||
333 | */ | ||
334 | clrrdi r6,r4,7 | ||
335 | clrrdi r9,r3,7 | ||
336 | ori r9,r9,1 /* stream=1 */ | ||
337 | |||
338 | srdi r7,r5,7 /* length in cachelines, capped at 0x3FF */ | ||
339 | cmpldi cr1,r7,0x3FF | ||
340 | ble cr1,1f | ||
341 | li r7,0x3FF | ||
342 | 1: lis r0,0x0E00 /* depth=7 */ | ||
343 | sldi r7,r7,7 | ||
344 | or r7,r7,r0 | ||
345 | ori r10,r7,1 /* stream=1 */ | ||
346 | |||
347 | lis r8,0x8000 /* GO=1 */ | ||
348 | clrldi r8,r8,32 | ||
349 | |||
350 | .machine push | ||
351 | .machine "power4" | ||
352 | dcbt r0,r6,0b01000 | ||
353 | dcbt r0,r7,0b01010 | ||
354 | dcbtst r0,r9,0b01000 | ||
355 | dcbtst r0,r10,0b01010 | ||
356 | eieio | ||
357 | dcbt r0,r8,0b01010 /* GO */ | ||
358 | .machine pop | ||
359 | |||
360 | beq .Lunwind_stack_nonvmx_copy | ||
361 | 330 | ||
362 | /* | 331 | /* |
363 | * If source and destination are not relatively aligned we use a | 332 | * If source and destination are not relatively aligned we use a |
diff --git a/arch/powerpc/lib/memcpy_power7.S b/arch/powerpc/lib/memcpy_power7.S index 0efdc51bc716..7ba6c96de778 100644 --- a/arch/powerpc/lib/memcpy_power7.S +++ b/arch/powerpc/lib/memcpy_power7.S | |||
@@ -222,7 +222,7 @@ _GLOBAL(memcpy_power7) | |||
222 | std r0,16(r1) | 222 | std r0,16(r1) |
223 | stdu r1,-STACKFRAMESIZE(r1) | 223 | stdu r1,-STACKFRAMESIZE(r1) |
224 | bl .enter_vmx_copy | 224 | bl .enter_vmx_copy |
225 | cmpwi r3,0 | 225 | cmpwi cr1,r3,0 |
226 | ld r0,STACKFRAMESIZE+16(r1) | 226 | ld r0,STACKFRAMESIZE+16(r1) |
227 | ld r3,STACKFRAMESIZE+48(r1) | 227 | ld r3,STACKFRAMESIZE+48(r1) |
228 | ld r4,STACKFRAMESIZE+56(r1) | 228 | ld r4,STACKFRAMESIZE+56(r1) |
@@ -260,7 +260,7 @@ _GLOBAL(memcpy_power7) | |||
260 | dcbt r0,r8,0b01010 /* GO */ | 260 | dcbt r0,r8,0b01010 /* GO */ |
261 | .machine pop | 261 | .machine pop |
262 | 262 | ||
263 | beq .Lunwind_stack_nonvmx_copy | 263 | beq cr1,.Lunwind_stack_nonvmx_copy |
264 | 264 | ||
265 | /* | 265 | /* |
266 | * If source and destination are not relatively aligned we use a | 266 | * If source and destination are not relatively aligned we use a |
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index baaafde7d135..fbdad0e3929a 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c | |||
@@ -469,6 +469,7 @@ void flush_dcache_icache_page(struct page *page) | |||
469 | __flush_dcache_icache_phys(page_to_pfn(page) << PAGE_SHIFT); | 469 | __flush_dcache_icache_phys(page_to_pfn(page) << PAGE_SHIFT); |
470 | #endif | 470 | #endif |
471 | } | 471 | } |
472 | EXPORT_SYMBOL(flush_dcache_icache_page); | ||
472 | 473 | ||
473 | void clear_user_page(void *page, unsigned long vaddr, struct page *pg) | 474 | void clear_user_page(void *page, unsigned long vaddr, struct page *pg) |
474 | { | 475 | { |
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 39b159751c35..59213cfaeca9 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c | |||
@@ -1436,11 +1436,11 @@ static long vphn_get_associativity(unsigned long cpu, | |||
1436 | 1436 | ||
1437 | /* | 1437 | /* |
1438 | * Update the node maps and sysfs entries for each cpu whose home node | 1438 | * Update the node maps and sysfs entries for each cpu whose home node |
1439 | * has changed. | 1439 | * has changed. Returns 1 when the topology has changed, and 0 otherwise. |
1440 | */ | 1440 | */ |
1441 | int arch_update_cpu_topology(void) | 1441 | int arch_update_cpu_topology(void) |
1442 | { | 1442 | { |
1443 | int cpu, nid, old_nid; | 1443 | int cpu, nid, old_nid, changed = 0; |
1444 | unsigned int associativity[VPHN_ASSOC_BUFSIZE] = {0}; | 1444 | unsigned int associativity[VPHN_ASSOC_BUFSIZE] = {0}; |
1445 | struct device *dev; | 1445 | struct device *dev; |
1446 | 1446 | ||
@@ -1466,9 +1466,10 @@ int arch_update_cpu_topology(void) | |||
1466 | dev = get_cpu_device(cpu); | 1466 | dev = get_cpu_device(cpu); |
1467 | if (dev) | 1467 | if (dev) |
1468 | kobject_uevent(&dev->kobj, KOBJ_CHANGE); | 1468 | kobject_uevent(&dev->kobj, KOBJ_CHANGE); |
1469 | changed = 1; | ||
1469 | } | 1470 | } |
1470 | 1471 | ||
1471 | return 1; | 1472 | return changed; |
1472 | } | 1473 | } |
1473 | 1474 | ||
1474 | static void topology_work_fn(struct work_struct *work) | 1475 | static void topology_work_fn(struct work_struct *work) |
diff --git a/arch/powerpc/perf/core-book3s.c b/arch/powerpc/perf/core-book3s.c index 77b49ddda9d3..7cd2dbd6e4c4 100644 --- a/arch/powerpc/perf/core-book3s.c +++ b/arch/powerpc/perf/core-book3s.c | |||
@@ -1431,7 +1431,7 @@ static void perf_event_interrupt(struct pt_regs *regs) | |||
1431 | if (!event->hw.idx || is_limited_pmc(event->hw.idx)) | 1431 | if (!event->hw.idx || is_limited_pmc(event->hw.idx)) |
1432 | continue; | 1432 | continue; |
1433 | val = read_pmc(event->hw.idx); | 1433 | val = read_pmc(event->hw.idx); |
1434 | if ((int)val < 0) { | 1434 | if (pmc_overflow(val)) { |
1435 | /* event has overflowed */ | 1435 | /* event has overflowed */ |
1436 | found = 1; | 1436 | found = 1; |
1437 | record_and_restart(event, val, regs); | 1437 | record_and_restart(event, val, regs); |
diff --git a/arch/powerpc/platforms/powernv/smp.c b/arch/powerpc/platforms/powernv/smp.c index 3ef46254c35b..7698b6e13c57 100644 --- a/arch/powerpc/platforms/powernv/smp.c +++ b/arch/powerpc/platforms/powernv/smp.c | |||
@@ -106,14 +106,6 @@ static void pnv_smp_cpu_kill_self(void) | |||
106 | { | 106 | { |
107 | unsigned int cpu; | 107 | unsigned int cpu; |
108 | 108 | ||
109 | /* If powersave_nap is enabled, use NAP mode, else just | ||
110 | * spin aimlessly | ||
111 | */ | ||
112 | if (!powersave_nap) { | ||
113 | generic_mach_cpu_die(); | ||
114 | return; | ||
115 | } | ||
116 | |||
117 | /* Standard hot unplug procedure */ | 109 | /* Standard hot unplug procedure */ |
118 | local_irq_disable(); | 110 | local_irq_disable(); |
119 | idle_task_exit(); | 111 | idle_task_exit(); |
@@ -128,7 +120,7 @@ static void pnv_smp_cpu_kill_self(void) | |||
128 | */ | 120 | */ |
129 | mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1); | 121 | mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1); |
130 | while (!generic_check_cpu_restart(cpu)) { | 122 | while (!generic_check_cpu_restart(cpu)) { |
131 | power7_idle(); | 123 | power7_nap(); |
132 | if (!generic_check_cpu_restart(cpu)) { | 124 | if (!generic_check_cpu_restart(cpu)) { |
133 | DBG("CPU%d Unexpected exit while offline !\n", cpu); | 125 | DBG("CPU%d Unexpected exit while offline !\n", cpu); |
134 | /* We may be getting an IPI, so we re-enable | 126 | /* We may be getting an IPI, so we re-enable |
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index a7b2a600d0a4..c37f46136321 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -465,7 +465,7 @@ int __init fsl_add_bridge(struct device_node *dev, int is_primary) | |||
465 | iounmap(hose->cfg_data); | 465 | iounmap(hose->cfg_data); |
466 | iounmap(hose->cfg_addr); | 466 | iounmap(hose->cfg_addr); |
467 | pcibios_free_controller(hose); | 467 | pcibios_free_controller(hose); |
468 | return 0; | 468 | return -ENODEV; |
469 | } | 469 | } |
470 | 470 | ||
471 | setup_pci_cmd(hose); | 471 | setup_pci_cmd(hose); |
@@ -827,6 +827,7 @@ struct device_node *fsl_pci_primary; | |||
827 | 827 | ||
828 | void __devinit fsl_pci_init(void) | 828 | void __devinit fsl_pci_init(void) |
829 | { | 829 | { |
830 | int ret; | ||
830 | struct device_node *node; | 831 | struct device_node *node; |
831 | struct pci_controller *hose; | 832 | struct pci_controller *hose; |
832 | dma_addr_t max = 0xffffffff; | 833 | dma_addr_t max = 0xffffffff; |
@@ -855,10 +856,12 @@ void __devinit fsl_pci_init(void) | |||
855 | if (!fsl_pci_primary) | 856 | if (!fsl_pci_primary) |
856 | fsl_pci_primary = node; | 857 | fsl_pci_primary = node; |
857 | 858 | ||
858 | fsl_add_bridge(node, fsl_pci_primary == node); | 859 | ret = fsl_add_bridge(node, fsl_pci_primary == node); |
859 | hose = pci_find_hose_for_OF_device(node); | 860 | if (ret == 0) { |
860 | max = min(max, hose->dma_window_base_cur + | 861 | hose = pci_find_hose_for_OF_device(node); |
861 | hose->dma_window_size); | 862 | max = min(max, hose->dma_window_base_cur + |
863 | hose->dma_window_size); | ||
864 | } | ||
862 | } | 865 | } |
863 | } | 866 | } |
864 | 867 | ||
diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c index 483d8fa72e8b..e961f8c4a8f0 100644 --- a/arch/powerpc/sysdev/mpic_msgr.c +++ b/arch/powerpc/sysdev/mpic_msgr.c | |||
@@ -14,6 +14,9 @@ | |||
14 | #include <linux/list.h> | 14 | #include <linux/list.h> |
15 | #include <linux/of_platform.h> | 15 | #include <linux/of_platform.h> |
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/err.h> | ||
18 | #include <linux/export.h> | ||
19 | #include <linux/slab.h> | ||
17 | #include <asm/prom.h> | 20 | #include <asm/prom.h> |
18 | #include <asm/hw_irq.h> | 21 | #include <asm/hw_irq.h> |
19 | #include <asm/ppc-pci.h> | 22 | #include <asm/ppc-pci.h> |
diff --git a/arch/powerpc/sysdev/xics/icp-hv.c b/arch/powerpc/sysdev/xics/icp-hv.c index 14469cf9df68..df0fc5821469 100644 --- a/arch/powerpc/sysdev/xics/icp-hv.c +++ b/arch/powerpc/sysdev/xics/icp-hv.c | |||
@@ -65,7 +65,11 @@ static inline void icp_hv_set_xirr(unsigned int value) | |||
65 | static inline void icp_hv_set_qirr(int n_cpu , u8 value) | 65 | static inline void icp_hv_set_qirr(int n_cpu , u8 value) |
66 | { | 66 | { |
67 | int hw_cpu = get_hard_smp_processor_id(n_cpu); | 67 | int hw_cpu = get_hard_smp_processor_id(n_cpu); |
68 | long rc = plpar_hcall_norets(H_IPI, hw_cpu, value); | 68 | long rc; |
69 | |||
70 | /* Make sure all previous accesses are ordered before IPI sending */ | ||
71 | mb(); | ||
72 | rc = plpar_hcall_norets(H_IPI, hw_cpu, value); | ||
69 | if (rc != H_SUCCESS) { | 73 | if (rc != H_SUCCESS) { |
70 | pr_err("%s: bad return code qirr cpu=%d hw_cpu=%d mfrr=0x%x " | 74 | pr_err("%s: bad return code qirr cpu=%d hw_cpu=%d mfrr=0x%x " |
71 | "returned %ld\n", __func__, n_cpu, hw_cpu, value, rc); | 75 | "returned %ld\n", __func__, n_cpu, hw_cpu, value, rc); |
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index eab3492a45c5..9b49c65ee7a4 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/reboot.h> | 17 | #include <linux/reboot.h> |
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | #include <linux/kallsyms.h> | 19 | #include <linux/kallsyms.h> |
20 | #include <linux/kmsg_dump.h> | ||
20 | #include <linux/cpumask.h> | 21 | #include <linux/cpumask.h> |
21 | #include <linux/export.h> | 22 | #include <linux/export.h> |
22 | #include <linux/sysrq.h> | 23 | #include <linux/sysrq.h> |
@@ -894,13 +895,13 @@ cmds(struct pt_regs *excp) | |||
894 | #endif | 895 | #endif |
895 | default: | 896 | default: |
896 | printf("Unrecognized command: "); | 897 | printf("Unrecognized command: "); |
897 | do { | 898 | do { |
898 | if (' ' < cmd && cmd <= '~') | 899 | if (' ' < cmd && cmd <= '~') |
899 | putchar(cmd); | 900 | putchar(cmd); |
900 | else | 901 | else |
901 | printf("\\x%x", cmd); | 902 | printf("\\x%x", cmd); |
902 | cmd = inchar(); | 903 | cmd = inchar(); |
903 | } while (cmd != '\n'); | 904 | } while (cmd != '\n'); |
904 | printf(" (type ? for help)\n"); | 905 | printf(" (type ? for help)\n"); |
905 | break; | 906 | break; |
906 | } | 907 | } |
@@ -1097,7 +1098,7 @@ static long check_bp_loc(unsigned long addr) | |||
1097 | return 1; | 1098 | return 1; |
1098 | } | 1099 | } |
1099 | 1100 | ||
1100 | static char *breakpoint_help_string = | 1101 | static char *breakpoint_help_string = |
1101 | "Breakpoint command usage:\n" | 1102 | "Breakpoint command usage:\n" |
1102 | "b show breakpoints\n" | 1103 | "b show breakpoints\n" |
1103 | "b <addr> [cnt] set breakpoint at given instr addr\n" | 1104 | "b <addr> [cnt] set breakpoint at given instr addr\n" |
@@ -1193,7 +1194,7 @@ bpt_cmds(void) | |||
1193 | 1194 | ||
1194 | default: | 1195 | default: |
1195 | termch = cmd; | 1196 | termch = cmd; |
1196 | cmd = skipbl(); | 1197 | cmd = skipbl(); |
1197 | if (cmd == '?') { | 1198 | if (cmd == '?') { |
1198 | printf(breakpoint_help_string); | 1199 | printf(breakpoint_help_string); |
1199 | break; | 1200 | break; |
@@ -1359,7 +1360,7 @@ static void xmon_show_stack(unsigned long sp, unsigned long lr, | |||
1359 | sp + REGS_OFFSET); | 1360 | sp + REGS_OFFSET); |
1360 | break; | 1361 | break; |
1361 | } | 1362 | } |
1362 | printf("--- Exception: %lx %s at ", regs.trap, | 1363 | printf("--- Exception: %lx %s at ", regs.trap, |
1363 | getvecname(TRAP(®s))); | 1364 | getvecname(TRAP(®s))); |
1364 | pc = regs.nip; | 1365 | pc = regs.nip; |
1365 | lr = regs.link; | 1366 | lr = regs.link; |
@@ -1623,14 +1624,14 @@ static void super_regs(void) | |||
1623 | 1624 | ||
1624 | cmd = skipbl(); | 1625 | cmd = skipbl(); |
1625 | if (cmd == '\n') { | 1626 | if (cmd == '\n') { |
1626 | unsigned long sp, toc; | 1627 | unsigned long sp, toc; |
1627 | asm("mr %0,1" : "=r" (sp) :); | 1628 | asm("mr %0,1" : "=r" (sp) :); |
1628 | asm("mr %0,2" : "=r" (toc) :); | 1629 | asm("mr %0,2" : "=r" (toc) :); |
1629 | 1630 | ||
1630 | printf("msr = "REG" sprg0= "REG"\n", | 1631 | printf("msr = "REG" sprg0= "REG"\n", |
1631 | mfmsr(), mfspr(SPRN_SPRG0)); | 1632 | mfmsr(), mfspr(SPRN_SPRG0)); |
1632 | printf("pvr = "REG" sprg1= "REG"\n", | 1633 | printf("pvr = "REG" sprg1= "REG"\n", |
1633 | mfspr(SPRN_PVR), mfspr(SPRN_SPRG1)); | 1634 | mfspr(SPRN_PVR), mfspr(SPRN_SPRG1)); |
1634 | printf("dec = "REG" sprg2= "REG"\n", | 1635 | printf("dec = "REG" sprg2= "REG"\n", |
1635 | mfspr(SPRN_DEC), mfspr(SPRN_SPRG2)); | 1636 | mfspr(SPRN_DEC), mfspr(SPRN_SPRG2)); |
1636 | printf("sp = "REG" sprg3= "REG"\n", sp, mfspr(SPRN_SPRG3)); | 1637 | printf("sp = "REG" sprg3= "REG"\n", sp, mfspr(SPRN_SPRG3)); |
@@ -1783,7 +1784,7 @@ byterev(unsigned char *val, int size) | |||
1783 | static int brev; | 1784 | static int brev; |
1784 | static int mnoread; | 1785 | static int mnoread; |
1785 | 1786 | ||
1786 | static char *memex_help_string = | 1787 | static char *memex_help_string = |
1787 | "Memory examine command usage:\n" | 1788 | "Memory examine command usage:\n" |
1788 | "m [addr] [flags] examine/change memory\n" | 1789 | "m [addr] [flags] examine/change memory\n" |
1789 | " addr is optional. will start where left off.\n" | 1790 | " addr is optional. will start where left off.\n" |
@@ -1798,7 +1799,7 @@ static char *memex_help_string = | |||
1798 | "NOTE: flags are saved as defaults\n" | 1799 | "NOTE: flags are saved as defaults\n" |
1799 | ""; | 1800 | ""; |
1800 | 1801 | ||
1801 | static char *memex_subcmd_help_string = | 1802 | static char *memex_subcmd_help_string = |
1802 | "Memory examine subcommands:\n" | 1803 | "Memory examine subcommands:\n" |
1803 | " hexval write this val to current location\n" | 1804 | " hexval write this val to current location\n" |
1804 | " 'string' write chars from string to this location\n" | 1805 | " 'string' write chars from string to this location\n" |
@@ -2064,7 +2065,7 @@ prdump(unsigned long adrs, long ndump) | |||
2064 | nr = mread(adrs, temp, r); | 2065 | nr = mread(adrs, temp, r); |
2065 | adrs += nr; | 2066 | adrs += nr; |
2066 | for (m = 0; m < r; ++m) { | 2067 | for (m = 0; m < r; ++m) { |
2067 | if ((m & (sizeof(long) - 1)) == 0 && m > 0) | 2068 | if ((m & (sizeof(long) - 1)) == 0 && m > 0) |
2068 | putchar(' '); | 2069 | putchar(' '); |
2069 | if (m < nr) | 2070 | if (m < nr) |
2070 | printf("%.2x", temp[m]); | 2071 | printf("%.2x", temp[m]); |
@@ -2072,7 +2073,7 @@ prdump(unsigned long adrs, long ndump) | |||
2072 | printf("%s", fault_chars[fault_type]); | 2073 | printf("%s", fault_chars[fault_type]); |
2073 | } | 2074 | } |
2074 | for (; m < 16; ++m) { | 2075 | for (; m < 16; ++m) { |
2075 | if ((m & (sizeof(long) - 1)) == 0) | 2076 | if ((m & (sizeof(long) - 1)) == 0) |
2076 | putchar(' '); | 2077 | putchar(' '); |
2077 | printf(" "); | 2078 | printf(" "); |
2078 | } | 2079 | } |
@@ -2148,45 +2149,28 @@ print_address(unsigned long addr) | |||
2148 | void | 2149 | void |
2149 | dump_log_buf(void) | 2150 | dump_log_buf(void) |
2150 | { | 2151 | { |
2151 | const unsigned long size = 128; | 2152 | struct kmsg_dumper dumper = { .active = 1 }; |
2152 | unsigned long end, addr; | 2153 | unsigned char buf[128]; |
2153 | unsigned char buf[size + 1]; | 2154 | size_t len; |
2154 | 2155 | ||
2155 | addr = 0; | 2156 | if (setjmp(bus_error_jmp) != 0) { |
2156 | buf[size] = '\0'; | 2157 | printf("Error dumping printk buffer!\n"); |
2157 | 2158 | return; | |
2158 | if (setjmp(bus_error_jmp) != 0) { | 2159 | } |
2159 | printf("Unable to lookup symbol __log_buf!\n"); | 2160 | |
2160 | return; | 2161 | catch_memory_errors = 1; |
2161 | } | 2162 | sync(); |
2162 | 2163 | ||
2163 | catch_memory_errors = 1; | 2164 | kmsg_dump_rewind_nolock(&dumper); |
2164 | sync(); | 2165 | while (kmsg_dump_get_line_nolock(&dumper, false, buf, sizeof(buf), &len)) { |
2165 | addr = kallsyms_lookup_name("__log_buf"); | 2166 | buf[len] = '\0'; |
2166 | 2167 | printf("%s", buf); | |
2167 | if (! addr) | 2168 | } |
2168 | printf("Symbol __log_buf not found!\n"); | 2169 | |
2169 | else { | 2170 | sync(); |
2170 | end = addr + (1 << CONFIG_LOG_BUF_SHIFT); | 2171 | /* wait a little while to see if we get a machine check */ |
2171 | while (addr < end) { | 2172 | __delay(200); |
2172 | if (! mread(addr, buf, size)) { | 2173 | catch_memory_errors = 0; |
2173 | printf("Can't read memory at address 0x%lx\n", addr); | ||
2174 | break; | ||
2175 | } | ||
2176 | |||
2177 | printf("%s", buf); | ||
2178 | |||
2179 | if (strlen(buf) < size) | ||
2180 | break; | ||
2181 | |||
2182 | addr += size; | ||
2183 | } | ||
2184 | } | ||
2185 | |||
2186 | sync(); | ||
2187 | /* wait a little while to see if we get a machine check */ | ||
2188 | __delay(200); | ||
2189 | catch_memory_errors = 0; | ||
2190 | } | 2174 | } |
2191 | 2175 | ||
2192 | /* | 2176 | /* |