diff options
author | Adam Buchbinder <adam.buchbinder@gmail.com> | 2016-02-24 13:51:11 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-01 03:27:20 -0500 |
commit | 446957ba5127141ee007fc61509e24a9e60853d9 (patch) | |
tree | 6e64ed20eaf8b4aa666eb3c77265e85f52594e50 | |
parent | 95442c64de7a6d6efe788a9820b114f6bd67fef7 (diff) |
powerpc: Fix misspellings in comments.
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
42 files changed, 56 insertions, 56 deletions
diff --git a/arch/powerpc/boot/rs6000.h b/arch/powerpc/boot/rs6000.h index 433f45084e41..d70517ccc0f7 100644 --- a/arch/powerpc/boot/rs6000.h +++ b/arch/powerpc/boot/rs6000.h | |||
@@ -239,5 +239,5 @@ struct external_reloc { | |||
239 | #define DEFAULT_DATA_SECTION_ALIGNMENT 4 | 239 | #define DEFAULT_DATA_SECTION_ALIGNMENT 4 |
240 | #define DEFAULT_BSS_SECTION_ALIGNMENT 4 | 240 | #define DEFAULT_BSS_SECTION_ALIGNMENT 4 |
241 | #define DEFAULT_TEXT_SECTION_ALIGNMENT 4 | 241 | #define DEFAULT_TEXT_SECTION_ALIGNMENT 4 |
242 | /* For new sections we havn't heard of before */ | 242 | /* For new sections we haven't heard of before */ |
243 | #define DEFAULT_SECTION_ALIGNMENT 4 | 243 | #define DEFAULT_SECTION_ALIGNMENT 4 |
diff --git a/arch/powerpc/boot/treeboot-akebono.c b/arch/powerpc/boot/treeboot-akebono.c index b73174c34fe4..bcc5902f8462 100644 --- a/arch/powerpc/boot/treeboot-akebono.c +++ b/arch/powerpc/boot/treeboot-akebono.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | BSS_STACK(4096); | 39 | BSS_STACK(4096); |
40 | 40 | ||
41 | #define SPRN_PIR 0x11E /* Processor Indentification Register */ | 41 | #define SPRN_PIR 0x11E /* Processor Identification Register */ |
42 | #define USERDATA_LEN 256 /* Length of userdata passed in by PIBS */ | 42 | #define USERDATA_LEN 256 /* Length of userdata passed in by PIBS */ |
43 | #define MAX_RANKS 0x4 | 43 | #define MAX_RANKS 0x4 |
44 | #define DDR3_MR0CF 0x80010011U | 44 | #define DDR3_MR0CF 0x80010011U |
diff --git a/arch/powerpc/boot/treeboot-currituck.c b/arch/powerpc/boot/treeboot-currituck.c index 925ae43b7467..303d2074ee56 100644 --- a/arch/powerpc/boot/treeboot-currituck.c +++ b/arch/powerpc/boot/treeboot-currituck.c | |||
@@ -80,7 +80,7 @@ static void ibm_currituck_fixups(void) | |||
80 | } | 80 | } |
81 | } | 81 | } |
82 | 82 | ||
83 | #define SPRN_PIR 0x11E /* Processor Indentification Register */ | 83 | #define SPRN_PIR 0x11E /* Processor Identification Register */ |
84 | void platform_init(void) | 84 | void platform_init(void) |
85 | { | 85 | { |
86 | unsigned long end_of_ram, avail_ram; | 86 | unsigned long end_of_ram, avail_ram; |
diff --git a/arch/powerpc/boot/treeboot-iss4xx.c b/arch/powerpc/boot/treeboot-iss4xx.c index 329e710feda2..733f8bf25184 100644 --- a/arch/powerpc/boot/treeboot-iss4xx.c +++ b/arch/powerpc/boot/treeboot-iss4xx.c | |||
@@ -59,7 +59,7 @@ static void *iss_4xx_vmlinux_alloc(unsigned long size) | |||
59 | return (void *)ibm4xx_memstart; | 59 | return (void *)ibm4xx_memstart; |
60 | } | 60 | } |
61 | 61 | ||
62 | #define SPRN_PIR 0x11E /* Processor Indentification Register */ | 62 | #define SPRN_PIR 0x11E /* Processor Identification Register */ |
63 | void platform_init(void) | 63 | void platform_init(void) |
64 | { | 64 | { |
65 | unsigned long end_of_ram = 0x08000000; | 65 | unsigned long end_of_ram = 0x08000000; |
diff --git a/arch/powerpc/crypto/aes-spe-core.S b/arch/powerpc/crypto/aes-spe-core.S index 5dc6bce90a77..bc6ff43a9889 100644 --- a/arch/powerpc/crypto/aes-spe-core.S +++ b/arch/powerpc/crypto/aes-spe-core.S | |||
@@ -61,7 +61,7 @@ | |||
61 | * via bl/blr. It expects that caller has pre-xored input data with first | 61 | * via bl/blr. It expects that caller has pre-xored input data with first |
62 | * 4 words of encryption key into rD0-rD3. Pointer/counter registers must | 62 | * 4 words of encryption key into rD0-rD3. Pointer/counter registers must |
63 | * have also been set up before (rT0, rKP, CTR). Output is stored in rD0-rD3 | 63 | * have also been set up before (rT0, rKP, CTR). Output is stored in rD0-rD3 |
64 | * and rW0-rW3 and caller must execute a final xor on the ouput registers. | 64 | * and rW0-rW3 and caller must execute a final xor on the output registers. |
65 | * All working registers rD0-rD3 & rW0-rW7 are overwritten during processing. | 65 | * All working registers rD0-rD3 & rW0-rW7 are overwritten during processing. |
66 | * | 66 | * |
67 | */ | 67 | */ |
@@ -209,7 +209,7 @@ ppc_encrypt_block_loop: | |||
209 | * via bl/blr. It expects that caller has pre-xored input data with first | 209 | * via bl/blr. It expects that caller has pre-xored input data with first |
210 | * 4 words of encryption key into rD0-rD3. Pointer/counter registers must | 210 | * 4 words of encryption key into rD0-rD3. Pointer/counter registers must |
211 | * have also been set up before (rT0, rKP, CTR). Output is stored in rD0-rD3 | 211 | * have also been set up before (rT0, rKP, CTR). Output is stored in rD0-rD3 |
212 | * and rW0-rW3 and caller must execute a final xor on the ouput registers. | 212 | * and rW0-rW3 and caller must execute a final xor on the output registers. |
213 | * All working registers rD0-rD3 & rW0-rW7 are overwritten during processing. | 213 | * All working registers rD0-rD3 & rW0-rW7 are overwritten during processing. |
214 | * | 214 | * |
215 | */ | 215 | */ |
diff --git a/arch/powerpc/crypto/aes-spe-glue.c b/arch/powerpc/crypto/aes-spe-glue.c index 93ee046d12cd..6d99ebf2ea15 100644 --- a/arch/powerpc/crypto/aes-spe-glue.c +++ b/arch/powerpc/crypto/aes-spe-glue.c | |||
@@ -32,7 +32,7 @@ | |||
32 | * 16 byte block block or 25 cycles per byte. Thus 768 bytes of input data | 32 | * 16 byte block block or 25 cycles per byte. Thus 768 bytes of input data |
33 | * will need an estimated maximum of 20,000 cycles. Headroom for cache misses | 33 | * will need an estimated maximum of 20,000 cycles. Headroom for cache misses |
34 | * included. Even with the low end model clocked at 667 MHz this equals to a | 34 | * included. Even with the low end model clocked at 667 MHz this equals to a |
35 | * critical time window of less than 30us. The value has been choosen to | 35 | * critical time window of less than 30us. The value has been chosen to |
36 | * process a 512 byte disk block in one or a large 1400 bytes IPsec network | 36 | * process a 512 byte disk block in one or a large 1400 bytes IPsec network |
37 | * packet in two runs. | 37 | * packet in two runs. |
38 | * | 38 | * |
diff --git a/arch/powerpc/include/asm/hydra.h b/arch/powerpc/include/asm/hydra.h index 1cb39c96d155..b3b0f2d020f0 100644 --- a/arch/powerpc/include/asm/hydra.h +++ b/arch/powerpc/include/asm/hydra.h | |||
@@ -89,7 +89,7 @@ extern volatile struct Hydra __iomem *Hydra; | |||
89 | #define HYDRA_INT_EXT2 13 /* PCI IRQX */ | 89 | #define HYDRA_INT_EXT2 13 /* PCI IRQX */ |
90 | #define HYDRA_INT_EXT3 14 /* PCI IRQY */ | 90 | #define HYDRA_INT_EXT3 14 /* PCI IRQY */ |
91 | #define HYDRA_INT_EXT4 15 /* PCI IRQZ */ | 91 | #define HYDRA_INT_EXT4 15 /* PCI IRQZ */ |
92 | #define HYDRA_INT_EXT5 16 /* IDE Primay/Secondary */ | 92 | #define HYDRA_INT_EXT5 16 /* IDE Primary/Secondary */ |
93 | #define HYDRA_INT_EXT6 17 /* IDE Secondary */ | 93 | #define HYDRA_INT_EXT6 17 /* IDE Secondary */ |
94 | #define HYDRA_INT_EXT7 18 /* Power Off Request */ | 94 | #define HYDRA_INT_EXT7 18 /* Power Off Request */ |
95 | #define HYDRA_INT_SPARE 19 | 95 | #define HYDRA_INT_SPARE 19 |
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index 6c1297ec374c..2fd1690b79d2 100644 --- a/arch/powerpc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h | |||
@@ -300,7 +300,7 @@ extern void _memcpy_toio(volatile void __iomem *dest, const void *src, | |||
300 | * When CONFIG_PPC_INDIRECT_MMIO is set, the platform can provide hooks | 300 | * When CONFIG_PPC_INDIRECT_MMIO is set, the platform can provide hooks |
301 | * on all MMIOs. (Note that this is all 64 bits only for now) | 301 | * on all MMIOs. (Note that this is all 64 bits only for now) |
302 | * | 302 | * |
303 | * To help platforms who may need to differenciate MMIO addresses in | 303 | * To help platforms who may need to differentiate MMIO addresses in |
304 | * their hooks, a bitfield is reserved for use by the platform near the | 304 | * their hooks, a bitfield is reserved for use by the platform near the |
305 | * top of MMIO addresses (not PIO, those have to cope the hard way). | 305 | * top of MMIO addresses (not PIO, those have to cope the hard way). |
306 | * | 306 | * |
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 3f191f573d4f..5c38e49ddd42 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h | |||
@@ -174,11 +174,11 @@ struct machdep_calls { | |||
174 | platform, called once per cpu. */ | 174 | platform, called once per cpu. */ |
175 | void (*enable_pmcs)(void); | 175 | void (*enable_pmcs)(void); |
176 | 176 | ||
177 | /* Set DABR for this platform, leave empty for default implemenation */ | 177 | /* Set DABR for this platform, leave empty for default implementation */ |
178 | int (*set_dabr)(unsigned long dabr, | 178 | int (*set_dabr)(unsigned long dabr, |
179 | unsigned long dabrx); | 179 | unsigned long dabrx); |
180 | 180 | ||
181 | /* Set DAWR for this platform, leave empty for default implemenation */ | 181 | /* Set DAWR for this platform, leave empty for default implementation */ |
182 | int (*set_dawr)(unsigned long dawr, | 182 | int (*set_dawr)(unsigned long dawr, |
183 | unsigned long dawrx); | 183 | unsigned long dawrx); |
184 | 184 | ||
diff --git a/arch/powerpc/include/asm/module.h b/arch/powerpc/include/asm/module.h index dcfcad139bcc..5f1526fddccf 100644 --- a/arch/powerpc/include/asm/module.h +++ b/arch/powerpc/include/asm/module.h | |||
@@ -19,7 +19,7 @@ | |||
19 | * Thanks to Paul M for explaining this. | 19 | * Thanks to Paul M for explaining this. |
20 | * | 20 | * |
21 | * PPC can only do rel jumps += 32MB, and often the kernel and other | 21 | * PPC can only do rel jumps += 32MB, and often the kernel and other |
22 | * modules are furthur away than this. So, we jump to a table of | 22 | * modules are further away than this. So, we jump to a table of |
23 | * trampolines attached to the module (the Procedure Linkage Table) | 23 | * trampolines attached to the module (the Procedure Linkage Table) |
24 | * whenever that happens. | 24 | * whenever that happens. |
25 | */ | 25 | */ |
diff --git a/arch/powerpc/include/asm/pmac_feature.h b/arch/powerpc/include/asm/pmac_feature.h index 10902c9375d0..925697968946 100644 --- a/arch/powerpc/include/asm/pmac_feature.h +++ b/arch/powerpc/include/asm/pmac_feature.h | |||
@@ -46,7 +46,7 @@ | |||
46 | 46 | ||
47 | /* PowerSurge are the first generation of PCI Pmacs. This include | 47 | /* PowerSurge are the first generation of PCI Pmacs. This include |
48 | * all of the Grand-Central based machines. We currently don't | 48 | * all of the Grand-Central based machines. We currently don't |
49 | * differenciate most of them. | 49 | * differentiate most of them. |
50 | */ | 50 | */ |
51 | #define PMAC_TYPE_PSURGE 0x10 /* PowerSurge */ | 51 | #define PMAC_TYPE_PSURGE 0x10 /* PowerSurge */ |
52 | #define PMAC_TYPE_ANS 0x11 /* Apple Network Server */ | 52 | #define PMAC_TYPE_ANS 0x11 /* Apple Network Server */ |
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index c4cb2ffc624e..11a81bd5dabd 100644 --- a/arch/powerpc/include/asm/reg.h +++ b/arch/powerpc/include/asm/reg.h | |||
@@ -376,7 +376,7 @@ | |||
376 | #define SPRN_TSCR 0x399 /* Thread Switch Control Register */ | 376 | #define SPRN_TSCR 0x399 /* Thread Switch Control Register */ |
377 | 377 | ||
378 | #define SPRN_DEC 0x016 /* Decrement Register */ | 378 | #define SPRN_DEC 0x016 /* Decrement Register */ |
379 | #define SPRN_DER 0x095 /* Debug Enable Regsiter */ | 379 | #define SPRN_DER 0x095 /* Debug Enable Register */ |
380 | #define DER_RSTE 0x40000000 /* Reset Interrupt */ | 380 | #define DER_RSTE 0x40000000 /* Reset Interrupt */ |
381 | #define DER_CHSTPE 0x20000000 /* Check Stop */ | 381 | #define DER_CHSTPE 0x20000000 /* Check Stop */ |
382 | #define DER_MCIE 0x10000000 /* Machine Check Interrupt */ | 382 | #define DER_MCIE 0x10000000 /* Machine Check Interrupt */ |
@@ -401,7 +401,7 @@ | |||
401 | #define SPRN_DPDES 0x0B0 /* Directed Priv. Doorbell Exc. State */ | 401 | #define SPRN_DPDES 0x0B0 /* Directed Priv. Doorbell Exc. State */ |
402 | #define SPRN_EAR 0x11A /* External Address Register */ | 402 | #define SPRN_EAR 0x11A /* External Address Register */ |
403 | #define SPRN_HASH1 0x3D2 /* Primary Hash Address Register */ | 403 | #define SPRN_HASH1 0x3D2 /* Primary Hash Address Register */ |
404 | #define SPRN_HASH2 0x3D3 /* Secondary Hash Address Resgister */ | 404 | #define SPRN_HASH2 0x3D3 /* Secondary Hash Address Register */ |
405 | #define SPRN_HID0 0x3F0 /* Hardware Implementation Register 0 */ | 405 | #define SPRN_HID0 0x3F0 /* Hardware Implementation Register 0 */ |
406 | #define HID0_HDICE_SH (63 - 23) /* 970 HDEC interrupt enable */ | 406 | #define HID0_HDICE_SH (63 - 23) /* 970 HDEC interrupt enable */ |
407 | #define HID0_EMCP (1<<31) /* Enable Machine Check pin */ | 407 | #define HID0_EMCP (1<<31) /* Enable Machine Check pin */ |
@@ -514,7 +514,7 @@ | |||
514 | #define ICTRL_EICP 0x00000100 /* enable icache par. check */ | 514 | #define ICTRL_EICP 0x00000100 /* enable icache par. check */ |
515 | #define SPRN_IMISS 0x3D4 /* Instruction TLB Miss Register */ | 515 | #define SPRN_IMISS 0x3D4 /* Instruction TLB Miss Register */ |
516 | #define SPRN_IMMR 0x27E /* Internal Memory Map Register */ | 516 | #define SPRN_IMMR 0x27E /* Internal Memory Map Register */ |
517 | #define SPRN_L2CR 0x3F9 /* Level 2 Cache Control Regsiter */ | 517 | #define SPRN_L2CR 0x3F9 /* Level 2 Cache Control Register */ |
518 | #define SPRN_L2CR2 0x3f8 | 518 | #define SPRN_L2CR2 0x3f8 |
519 | #define L2CR_L2E 0x80000000 /* L2 enable */ | 519 | #define L2CR_L2E 0x80000000 /* L2 enable */ |
520 | #define L2CR_L2PE 0x40000000 /* L2 parity enable */ | 520 | #define L2CR_L2PE 0x40000000 /* L2 parity enable */ |
@@ -549,7 +549,7 @@ | |||
549 | #define L2CR_L2DO_745x 0x00010000 /* L2 data only (745x) */ | 549 | #define L2CR_L2DO_745x 0x00010000 /* L2 data only (745x) */ |
550 | #define L2CR_L2REP_745x 0x00001000 /* L2 repl. algorithm (745x) */ | 550 | #define L2CR_L2REP_745x 0x00001000 /* L2 repl. algorithm (745x) */ |
551 | #define L2CR_L2HWF_745x 0x00000800 /* L2 hardware flush (745x) */ | 551 | #define L2CR_L2HWF_745x 0x00000800 /* L2 hardware flush (745x) */ |
552 | #define SPRN_L3CR 0x3FA /* Level 3 Cache Control Regsiter */ | 552 | #define SPRN_L3CR 0x3FA /* Level 3 Cache Control Register */ |
553 | #define L3CR_L3E 0x80000000 /* L3 enable */ | 553 | #define L3CR_L3E 0x80000000 /* L3 enable */ |
554 | #define L3CR_L3PE 0x40000000 /* L3 data parity enable */ | 554 | #define L3CR_L3PE 0x40000000 /* L3 data parity enable */ |
555 | #define L3CR_L3APE 0x20000000 /* L3 addr parity enable */ | 555 | #define L3CR_L3APE 0x20000000 /* L3 addr parity enable */ |
diff --git a/arch/powerpc/include/asm/reg_booke.h b/arch/powerpc/include/asm/reg_booke.h index 2fef74b474f0..737e012ef56e 100644 --- a/arch/powerpc/include/asm/reg_booke.h +++ b/arch/powerpc/include/asm/reg_booke.h | |||
@@ -681,7 +681,7 @@ | |||
681 | #define SPRN_CDBCR 0x3D7 /* Cache Debug Control Register */ | 681 | #define SPRN_CDBCR 0x3D7 /* Cache Debug Control Register */ |
682 | #define SPRN_TBHI 0x3DC /* Time Base High */ | 682 | #define SPRN_TBHI 0x3DC /* Time Base High */ |
683 | #define SPRN_TBLO 0x3DD /* Time Base Low */ | 683 | #define SPRN_TBLO 0x3DD /* Time Base Low */ |
684 | #define SPRN_DBCR 0x3F2 /* Debug Control Regsiter */ | 684 | #define SPRN_DBCR 0x3F2 /* Debug Control Register */ |
685 | #define SPRN_PBL1 0x3FC /* Protection Bound Lower 1 */ | 685 | #define SPRN_PBL1 0x3FC /* Protection Bound Lower 1 */ |
686 | #define SPRN_PBL2 0x3FE /* Protection Bound Lower 2 */ | 686 | #define SPRN_PBL2 0x3FE /* Protection Bound Lower 2 */ |
687 | #define SPRN_PBU1 0x3FD /* Protection Bound Upper 1 */ | 687 | #define SPRN_PBU1 0x3FD /* Protection Bound Upper 1 */ |
diff --git a/arch/powerpc/include/asm/smu.h b/arch/powerpc/include/asm/smu.h index 37d2da6feabf..f280dd11243f 100644 --- a/arch/powerpc/include/asm/smu.h +++ b/arch/powerpc/include/asm/smu.h | |||
@@ -154,7 +154,7 @@ | |||
154 | * | 154 | * |
155 | * The Darwin I2C driver is less subtle though. On any non-success status | 155 | * The Darwin I2C driver is less subtle though. On any non-success status |
156 | * from the response command, it waits 5ms and tries again up to 20 times, | 156 | * from the response command, it waits 5ms and tries again up to 20 times, |
157 | * it doesn't differenciate between fatal errors or "busy" status. | 157 | * it doesn't differentiate between fatal errors or "busy" status. |
158 | * | 158 | * |
159 | * This driver provides an asynchronous paramblock based i2c command | 159 | * This driver provides an asynchronous paramblock based i2c command |
160 | * interface to be used either directly by low level code or by a higher | 160 | * interface to be used either directly by low level code or by a higher |
diff --git a/arch/powerpc/include/asm/uninorth.h b/arch/powerpc/include/asm/uninorth.h index d12b11d7641e..a1d112979fd2 100644 --- a/arch/powerpc/include/asm/uninorth.h +++ b/arch/powerpc/include/asm/uninorth.h | |||
@@ -132,7 +132,7 @@ | |||
132 | 132 | ||
133 | /* This one _might_ return the CPU number of the CPU reading it; | 133 | /* This one _might_ return the CPU number of the CPU reading it; |
134 | * the bootROM decides whether to boot or to sleep/spinloop depending | 134 | * the bootROM decides whether to boot or to sleep/spinloop depending |
135 | * on this register beeing 0 or not | 135 | * on this register being 0 or not |
136 | */ | 136 | */ |
137 | #define UNI_N_CPU_NUMBER 0x0050 | 137 | #define UNI_N_CPU_NUMBER 0x0050 |
138 | 138 | ||
diff --git a/arch/powerpc/include/asm/xics.h b/arch/powerpc/include/asm/xics.h index 0e25bdb190bb..5d61bbced6a1 100644 --- a/arch/powerpc/include/asm/xics.h +++ b/arch/powerpc/include/asm/xics.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Common definitions accross all variants of ICP and ICS interrupt | 2 | * Common definitions across all variants of ICP and ICS interrupt |
3 | * controllers. | 3 | * controllers. |
4 | */ | 4 | */ |
5 | 5 | ||
diff --git a/arch/powerpc/include/uapi/asm/epapr_hcalls.h b/arch/powerpc/include/uapi/asm/epapr_hcalls.h index 7f9c74b46704..b4504f394427 100644 --- a/arch/powerpc/include/uapi/asm/epapr_hcalls.h +++ b/arch/powerpc/include/uapi/asm/epapr_hcalls.h | |||
@@ -78,7 +78,7 @@ | |||
78 | #define EV_SUCCESS 0 | 78 | #define EV_SUCCESS 0 |
79 | #define EV_EPERM 1 /* Operation not permitted */ | 79 | #define EV_EPERM 1 /* Operation not permitted */ |
80 | #define EV_ENOENT 2 /* Entry Not Found */ | 80 | #define EV_ENOENT 2 /* Entry Not Found */ |
81 | #define EV_EIO 3 /* I/O error occured */ | 81 | #define EV_EIO 3 /* I/O error occurred */ |
82 | #define EV_EAGAIN 4 /* The operation had insufficient | 82 | #define EV_EAGAIN 4 /* The operation had insufficient |
83 | * resources to complete and should be | 83 | * resources to complete and should be |
84 | * retried | 84 | * retried |
@@ -89,7 +89,7 @@ | |||
89 | #define EV_ENODEV 7 /* No such device */ | 89 | #define EV_ENODEV 7 /* No such device */ |
90 | #define EV_EINVAL 8 /* An argument supplied to the hcall | 90 | #define EV_EINVAL 8 /* An argument supplied to the hcall |
91 | was out of range or invalid */ | 91 | was out of range or invalid */ |
92 | #define EV_INTERNAL 9 /* An internal error occured */ | 92 | #define EV_INTERNAL 9 /* An internal error occurred */ |
93 | #define EV_CONFIG 10 /* A configuration error was detected */ | 93 | #define EV_CONFIG 10 /* A configuration error was detected */ |
94 | #define EV_INVALID_STATE 11 /* The object is in an invalid state */ | 94 | #define EV_INVALID_STATE 11 /* The object is in an invalid state */ |
95 | #define EV_UNIMPLEMENTED 12 /* Unimplemented hypercall */ | 95 | #define EV_UNIMPLEMENTED 12 /* Unimplemented hypercall */ |
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index b5061abbd2e0..9cdf5c71e426 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S | |||
@@ -806,7 +806,7 @@ _GLOBAL(set_context) | |||
806 | _GLOBAL(init_cpu_state) | 806 | _GLOBAL(init_cpu_state) |
807 | mflr r22 | 807 | mflr r22 |
808 | #ifdef CONFIG_PPC_47x | 808 | #ifdef CONFIG_PPC_47x |
809 | /* We use the PVR to differenciate 44x cores from 476 */ | 809 | /* We use the PVR to differentiate 44x cores from 476 */ |
810 | mfspr r3,SPRN_PVR | 810 | mfspr r3,SPRN_PVR |
811 | srwi r3,r3,16 | 811 | srwi r3,r3,16 |
812 | cmplwi cr0,r3,PVR_476FPE@h | 812 | cmplwi cr0,r3,PVR_476FPE@h |
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index cf8c7e4e0b21..cb64d6feb45a 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Common signal handling code for both 32 and 64 bits | 2 | * Common signal handling code for both 32 and 64 bits |
3 | * | 3 | * |
4 | * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Coproration | 4 | * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Corporation |
5 | * Extracted from signal_32.c and signal_64.c | 5 | * Extracted from signal_32.c and signal_64.c |
6 | * | 6 | * |
7 | * This file is subject to the terms and conditions of the GNU General | 7 | * This file is subject to the terms and conditions of the GNU General |
@@ -178,7 +178,7 @@ unsigned long get_tm_stackpointer(struct pt_regs *regs) | |||
178 | * need to use the stack pointer from the checkpointed state, rather | 178 | * need to use the stack pointer from the checkpointed state, rather |
179 | * than the speculated state. This ensures that the signal context | 179 | * than the speculated state. This ensures that the signal context |
180 | * (written tm suspended) will be written below the stack required for | 180 | * (written tm suspended) will be written below the stack required for |
181 | * the rollback. The transaction is aborted becuase of the treclaim, | 181 | * the rollback. The transaction is aborted because of the treclaim, |
182 | * so any memory written between the tbegin and the signal will be | 182 | * so any memory written between the tbegin and the signal will be |
183 | * rolled back anyway. | 183 | * rolled back anyway. |
184 | * | 184 | * |
diff --git a/arch/powerpc/kernel/signal.h b/arch/powerpc/kernel/signal.h index 51b274199dd9..be305c858e51 100644 --- a/arch/powerpc/kernel/signal.h +++ b/arch/powerpc/kernel/signal.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Coproration | 2 | * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Corporation |
3 | * Extracted from signal_32.c and signal_64.c | 3 | * Extracted from signal_32.c and signal_64.c |
4 | * | 4 | * |
5 | * This file is subject to the terms and conditions of the GNU General | 5 | * This file is subject to the terms and conditions of the GNU General |
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 4e5c11d4d19d..88414dde7e35 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -1402,7 +1402,7 @@ void facility_unavailable_exception(struct pt_regs *regs) | |||
1402 | * is a read DSCR attempt through a mfspr instruction, we | 1402 | * is a read DSCR attempt through a mfspr instruction, we |
1403 | * just emulate the instruction instead. This code path will | 1403 | * just emulate the instruction instead. This code path will |
1404 | * always emulate all the mfspr instructions till the user | 1404 | * always emulate all the mfspr instructions till the user |
1405 | * has attempted atleast one mtspr instruction. This way it | 1405 | * has attempted at least one mtspr instruction. This way it |
1406 | * preserves the same behaviour when the user is accessing | 1406 | * preserves the same behaviour when the user is accessing |
1407 | * the DSCR through privilege level only SPR number (0x11) | 1407 | * the DSCR through privilege level only SPR number (0x11) |
1408 | * which is emulated through illegal instruction exception. | 1408 | * which is emulated through illegal instruction exception. |
diff --git a/arch/powerpc/kvm/book3s_xics.c b/arch/powerpc/kvm/book3s_xics.c index 905e94a1370f..46871d554057 100644 --- a/arch/powerpc/kvm/book3s_xics.c +++ b/arch/powerpc/kvm/book3s_xics.c | |||
@@ -432,7 +432,7 @@ static void icp_deliver_irq(struct kvmppc_xics *xics, struct kvmppc_icp *icp, | |||
432 | * the whole masked_pending business which is about not | 432 | * the whole masked_pending business which is about not |
433 | * losing interrupts that occur while masked. | 433 | * losing interrupts that occur while masked. |
434 | * | 434 | * |
435 | * I don't differenciate normal deliveries and resends, this | 435 | * I don't differentiate normal deliveries and resends, this |
436 | * implementation will differ from PAPR and not lose such | 436 | * implementation will differ from PAPR and not lose such |
437 | * interrupts. | 437 | * interrupts. |
438 | */ | 438 | */ |
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 778ef86e187e..4d66f44a1657 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -992,7 +992,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
992 | kvmppc_restart_interrupt(vcpu, exit_nr); | 992 | kvmppc_restart_interrupt(vcpu, exit_nr); |
993 | 993 | ||
994 | /* | 994 | /* |
995 | * get last instruction before beeing preempted | 995 | * get last instruction before being preempted |
996 | * TODO: for e6500 check also BOOKE_INTERRUPT_LRAT_ERROR & ESR_DATA | 996 | * TODO: for e6500 check also BOOKE_INTERRUPT_LRAT_ERROR & ESR_DATA |
997 | */ | 997 | */ |
998 | switch (exit_nr) { | 998 | switch (exit_nr) { |
diff --git a/arch/powerpc/kvm/e500mc.c b/arch/powerpc/kvm/e500mc.c index cda695de8aa7..f48a0c22e8f9 100644 --- a/arch/powerpc/kvm/e500mc.c +++ b/arch/powerpc/kvm/e500mc.c | |||
@@ -182,7 +182,7 @@ int kvmppc_core_check_processor_compat(void) | |||
182 | r = 0; | 182 | r = 0; |
183 | #ifdef CONFIG_ALTIVEC | 183 | #ifdef CONFIG_ALTIVEC |
184 | /* | 184 | /* |
185 | * Since guests have the priviledge to enable AltiVec, we need AltiVec | 185 | * Since guests have the privilege to enable AltiVec, we need AltiVec |
186 | * support in the host to save/restore their context. | 186 | * support in the host to save/restore their context. |
187 | * Don't use CPU_FTR_ALTIVEC to identify cores with AltiVec unit | 187 | * Don't use CPU_FTR_ALTIVEC to identify cores with AltiVec unit |
188 | * because it's cleared in the absence of CONFIG_ALTIVEC! | 188 | * because it's cleared in the absence of CONFIG_ALTIVEC! |
diff --git a/arch/powerpc/mm/tlb_low_64e.S b/arch/powerpc/mm/tlb_low_64e.S index 29d6987c37ba..eb82d787d99a 100644 --- a/arch/powerpc/mm/tlb_low_64e.S +++ b/arch/powerpc/mm/tlb_low_64e.S | |||
@@ -895,7 +895,7 @@ ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_USE_PAIRED_MAS) | |||
895 | BEGIN_MMU_FTR_SECTION | 895 | BEGIN_MMU_FTR_SECTION |
896 | virt_page_table_tlb_miss_done: | 896 | virt_page_table_tlb_miss_done: |
897 | 897 | ||
898 | /* We have overriden MAS2:EPN but currently our primary TLB miss | 898 | /* We have overridden MAS2:EPN but currently our primary TLB miss |
899 | * handler will always restore it so that should not be an issue, | 899 | * handler will always restore it so that should not be an issue, |
900 | * if we ever optimize the primary handler to not write MAS2 on | 900 | * if we ever optimize the primary handler to not write MAS2 on |
901 | * some cases, we'll have to restore MAS2:EPN here based on the | 901 | * some cases, we'll have to restore MAS2:EPN here based on the |
diff --git a/arch/powerpc/mm/tlb_nohash_low.S b/arch/powerpc/mm/tlb_nohash_low.S index 68c477592e43..eabecfcaef7c 100644 --- a/arch/powerpc/mm/tlb_nohash_low.S +++ b/arch/powerpc/mm/tlb_nohash_low.S | |||
@@ -108,7 +108,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_TYPE_47x) | |||
108 | blr | 108 | blr |
109 | 2: | 109 | 2: |
110 | #ifdef CONFIG_PPC_47x | 110 | #ifdef CONFIG_PPC_47x |
111 | oris r7,r6,0x8000 /* specify way explicitely */ | 111 | oris r7,r6,0x8000 /* specify way explicitly */ |
112 | clrrwi r4,r3,12 /* get an EPN for the hashing with V = 0 */ | 112 | clrrwi r4,r3,12 /* get an EPN for the hashing with V = 0 */ |
113 | ori r4,r4,PPC47x_TLBE_SIZE | 113 | ori r4,r4,PPC47x_TLBE_SIZE |
114 | tlbwe r4,r7,0 /* write it */ | 114 | tlbwe r4,r7,0 /* write it */ |
@@ -149,7 +149,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_TYPE_47x) | |||
149 | li r3,-1 /* Current set */ | 149 | li r3,-1 /* Current set */ |
150 | lis r10,tlb_47x_boltmap@h | 150 | lis r10,tlb_47x_boltmap@h |
151 | ori r10,r10,tlb_47x_boltmap@l | 151 | ori r10,r10,tlb_47x_boltmap@l |
152 | lis r7,0x8000 /* Specify way explicitely */ | 152 | lis r7,0x8000 /* Specify way explicitly */ |
153 | 153 | ||
154 | b 9f /* For each set */ | 154 | b 9f /* For each set */ |
155 | 155 | ||
diff --git a/arch/powerpc/oprofile/op_model_cell.c b/arch/powerpc/oprofile/op_model_cell.c index 863d89386f60..c82497a31c54 100644 --- a/arch/powerpc/oprofile/op_model_cell.c +++ b/arch/powerpc/oprofile/op_model_cell.c | |||
@@ -208,7 +208,7 @@ static void pm_rtas_reset_signals(u32 node) | |||
208 | 208 | ||
209 | /* | 209 | /* |
210 | * The debug bus is being set to the passthru disable state. | 210 | * The debug bus is being set to the passthru disable state. |
211 | * However, the FW still expects atleast one legal signal routing | 211 | * However, the FW still expects at least one legal signal routing |
212 | * entry or it will return an error on the arguments. If we don't | 212 | * entry or it will return an error on the arguments. If we don't |
213 | * supply a valid entry, we must ignore all return values. Ignoring | 213 | * supply a valid entry, we must ignore all return values. Ignoring |
214 | * all return values means we might miss an error we should be | 214 | * all return values means we might miss an error we should be |
@@ -1008,7 +1008,7 @@ static int initial_lfsr[] = { | |||
1008 | * | 1008 | * |
1009 | * To avoid the time to compute the LFSR, a lookup table is used. The 24 bit | 1009 | * To avoid the time to compute the LFSR, a lookup table is used. The 24 bit |
1010 | * LFSR sequence is broken into four ranges. The spacing of the precomputed | 1010 | * LFSR sequence is broken into four ranges. The spacing of the precomputed |
1011 | * values is adjusted in each range so the error between the user specifed | 1011 | * values is adjusted in each range so the error between the user specified |
1012 | * number (N) of events between samples and the actual number of events based | 1012 | * number (N) of events between samples and the actual number of events based |
1013 | * on the precomputed value will be les then about 6.2%. Note, if the user | 1013 | * on the precomputed value will be les then about 6.2%. Note, if the user |
1014 | * specifies N < 2^16, the LFSR value that is 2^16 from the end will be used. | 1014 | * specifies N < 2^16, the LFSR value that is 2^16 from the end will be used. |
diff --git a/arch/powerpc/perf/hv-24x7.h b/arch/powerpc/perf/hv-24x7.h index 0f9fa21a29f2..c57d67dc9f3f 100644 --- a/arch/powerpc/perf/hv-24x7.h +++ b/arch/powerpc/perf/hv-24x7.h | |||
@@ -80,7 +80,7 @@ struct hv_24x7_result { | |||
80 | __u8 results_complete; | 80 | __u8 results_complete; |
81 | __be16 num_elements_returned; | 81 | __be16 num_elements_returned; |
82 | 82 | ||
83 | /* This is a copy of @data_size from the coresponding hv_24x7_request */ | 83 | /* This is a copy of @data_size from the corresponding hv_24x7_request */ |
84 | __be16 result_element_data_size; | 84 | __be16 result_element_data_size; |
85 | __u8 reserved[0x2]; | 85 | __u8 reserved[0x2]; |
86 | 86 | ||
diff --git a/arch/powerpc/perf/power8-pmu.c b/arch/powerpc/perf/power8-pmu.c index 9958ba8bf0d2..be9b7aec216f 100644 --- a/arch/powerpc/perf/power8-pmu.c +++ b/arch/powerpc/perf/power8-pmu.c | |||
@@ -415,7 +415,7 @@ static int power8_compute_mmcr(u64 event[], int n_ev, | |||
415 | pmc_inuse |= 1 << pmc; | 415 | pmc_inuse |= 1 << pmc; |
416 | } | 416 | } |
417 | 417 | ||
418 | /* In continous sampling mode, update SDAR on TLB miss */ | 418 | /* In continuous sampling mode, update SDAR on TLB miss */ |
419 | mmcra = MMCRA_SDAR_MODE_TLB; | 419 | mmcra = MMCRA_SDAR_MODE_TLB; |
420 | mmcr1 = mmcr2 = 0; | 420 | mmcr1 = mmcr2 = 0; |
421 | 421 | ||
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pci.c b/arch/powerpc/platforms/52xx/mpc52xx_pci.c index 6eb3b2abae90..00282c2b0cae 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_pci.c | |||
@@ -319,7 +319,7 @@ mpc52xx_pci_setup(struct pci_controller *hose, | |||
319 | 319 | ||
320 | tmp = in_be32(&pci_regs->gscr); | 320 | tmp = in_be32(&pci_regs->gscr); |
321 | #if 0 | 321 | #if 0 |
322 | /* Reset the exteral bus ( internal PCI controller is NOT resetted ) */ | 322 | /* Reset the exteral bus ( internal PCI controller is NOT reset ) */ |
323 | /* Not necessary and can be a bad thing if for example the bootloader | 323 | /* Not necessary and can be a bad thing if for example the bootloader |
324 | is displaying a splash screen or ... Just left here for | 324 | is displaying a splash screen or ... Just left here for |
325 | documentation purpose if anyone need it */ | 325 | documentation purpose if anyone need it */ |
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index 5ac70de3e48a..d7e87ff912d7 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c | |||
@@ -99,7 +99,7 @@ static void mpc85xx_cds_restart(char *cmd) | |||
99 | pci_read_config_byte(dev, 0x47, &tmp); | 99 | pci_read_config_byte(dev, 0x47, &tmp); |
100 | 100 | ||
101 | /* | 101 | /* |
102 | * At this point, the harware reset should have triggered. | 102 | * At this point, the hardware reset should have triggered. |
103 | * However, if it doesn't work for some mysterious reason, | 103 | * However, if it doesn't work for some mysterious reason, |
104 | * just fall through to the default reset below. | 104 | * just fall through to the default reset below. |
105 | */ | 105 | */ |
diff --git a/arch/powerpc/platforms/powermac/cache.S b/arch/powerpc/platforms/powermac/cache.S index 6be1a4af3359..cc5347eb1662 100644 --- a/arch/powerpc/platforms/powermac/cache.S +++ b/arch/powerpc/platforms/powermac/cache.S | |||
@@ -23,7 +23,7 @@ | |||
23 | * when going to sleep, when doing a PMU based cpufreq transition, | 23 | * when going to sleep, when doing a PMU based cpufreq transition, |
24 | * or when "offlining" a CPU on SMP machines. This code is over | 24 | * or when "offlining" a CPU on SMP machines. This code is over |
25 | * paranoid, but I've had enough issues with various CPU revs and | 25 | * paranoid, but I've had enough issues with various CPU revs and |
26 | * bugs that I decided it was worth beeing over cautious | 26 | * bugs that I decided it was worth being over cautious |
27 | */ | 27 | */ |
28 | 28 | ||
29 | _GLOBAL(flush_disable_caches) | 29 | _GLOBAL(flush_disable_caches) |
diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c index 4882bfd90e27..1e02328c3f2d 100644 --- a/arch/powerpc/platforms/powermac/feature.c +++ b/arch/powerpc/platforms/powermac/feature.c | |||
@@ -198,7 +198,7 @@ static long ohare_htw_scc_enable(struct device_node *node, long param, | |||
198 | if (htw) { | 198 | if (htw) { |
199 | /* Side effect: this will also power up the | 199 | /* Side effect: this will also power up the |
200 | * modem, but it's too messy to figure out on which | 200 | * modem, but it's too messy to figure out on which |
201 | * ports this controls the tranceiver and on which | 201 | * ports this controls the transceiver and on which |
202 | * it controls the modem | 202 | * it controls the modem |
203 | */ | 203 | */ |
204 | if (trans) | 204 | if (trans) |
@@ -463,7 +463,7 @@ static long heathrow_sound_enable(struct device_node *node, long param, | |||
463 | unsigned long flags; | 463 | unsigned long flags; |
464 | 464 | ||
465 | /* B&W G3 and Yikes don't support that properly (the | 465 | /* B&W G3 and Yikes don't support that properly (the |
466 | * sound appear to never come back after beeing shut down). | 466 | * sound appear to never come back after being shut down). |
467 | */ | 467 | */ |
468 | if (pmac_mb.model_id == PMAC_TYPE_YOSEMITE || | 468 | if (pmac_mb.model_id == PMAC_TYPE_YOSEMITE || |
469 | pmac_mb.model_id == PMAC_TYPE_YIKES) | 469 | pmac_mb.model_id == PMAC_TYPE_YIKES) |
@@ -2770,7 +2770,7 @@ set_initial_features(void) | |||
2770 | * but I'm not too sure it was audited for side-effects on other | 2770 | * but I'm not too sure it was audited for side-effects on other |
2771 | * ohare based machines... | 2771 | * ohare based machines... |
2772 | * Since I still have difficulties figuring the right way to | 2772 | * Since I still have difficulties figuring the right way to |
2773 | * differenciate them all and since that hack was there for a long | 2773 | * differentiate them all and since that hack was there for a long |
2774 | * time, I'll keep it around | 2774 | * time, I'll keep it around |
2775 | */ | 2775 | */ |
2776 | if (macio_chips[0].type == macio_ohare) { | 2776 | if (macio_chips[0].type == macio_ohare) { |
diff --git a/arch/powerpc/platforms/powernv/idle.c b/arch/powerpc/platforms/powernv/idle.c index 15bfbcd5debc..fcc8b6861b63 100644 --- a/arch/powerpc/platforms/powernv/idle.c +++ b/arch/powerpc/platforms/powernv/idle.c | |||
@@ -35,9 +35,9 @@ int pnv_save_sprs_for_winkle(void) | |||
35 | int rc; | 35 | int rc; |
36 | 36 | ||
37 | /* | 37 | /* |
38 | * hid0, hid1, hid4, hid5, hmeer and lpcr values are symmetric accross | 38 | * hid0, hid1, hid4, hid5, hmeer and lpcr values are symmetric across |
39 | * all cpus at boot. Get these reg values of current cpu and use the | 39 | * all cpus at boot. Get these reg values of current cpu and use the |
40 | * same accross all cpus. | 40 | * same across all cpus. |
41 | */ | 41 | */ |
42 | uint64_t lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; | 42 | uint64_t lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; |
43 | uint64_t hid0_val = mfspr(SPRN_HID0); | 43 | uint64_t hid0_val = mfspr(SPRN_HID0); |
@@ -185,7 +185,7 @@ static ssize_t store_fastsleep_workaround_applyonce(struct device *dev, | |||
185 | * fastsleep workaround needs to be left in 'applied' state on all | 185 | * fastsleep workaround needs to be left in 'applied' state on all |
186 | * the cores. Do this by- | 186 | * the cores. Do this by- |
187 | * 1. Patching out the call to 'undo' workaround in fastsleep exit path | 187 | * 1. Patching out the call to 'undo' workaround in fastsleep exit path |
188 | * 2. Sending ipi to all the cores which have atleast one online thread | 188 | * 2. Sending ipi to all the cores which have at least one online thread |
189 | * 3. Patching out the call to 'apply' workaround in fastsleep entry | 189 | * 3. Patching out the call to 'apply' workaround in fastsleep entry |
190 | * path | 190 | * path |
191 | * There is no need to send ipi to cores which have all threads | 191 | * There is no need to send ipi to cores which have all threads |
diff --git a/arch/powerpc/platforms/powernv/npu-dma.c b/arch/powerpc/platforms/powernv/npu-dma.c index e85aa900f5c0..7229acd9bb3a 100644 --- a/arch/powerpc/platforms/powernv/npu-dma.c +++ b/arch/powerpc/platforms/powernv/npu-dma.c | |||
@@ -278,7 +278,7 @@ static void pnv_npu_disable_bypass(struct pnv_ioda_pe *npe) | |||
278 | 278 | ||
279 | /* | 279 | /* |
280 | * Enable/disable bypass mode on the NPU. The NPU only supports one | 280 | * Enable/disable bypass mode on the NPU. The NPU only supports one |
281 | * window per link, so bypass needs to be explicity enabled or | 281 | * window per link, so bypass needs to be explicitly enabled or |
282 | * disabled. Unlike for a PHB3 bypass and non-bypass modes can't be | 282 | * disabled. Unlike for a PHB3 bypass and non-bypass modes can't be |
283 | * active at the same time. | 283 | * active at the same time. |
284 | */ | 284 | */ |
diff --git a/arch/powerpc/platforms/ps3/interrupt.c b/arch/powerpc/platforms/ps3/interrupt.c index 638c4060938e..b831638e6f4a 100644 --- a/arch/powerpc/platforms/ps3/interrupt.c +++ b/arch/powerpc/platforms/ps3/interrupt.c | |||
@@ -78,7 +78,7 @@ struct ps3_bmp { | |||
78 | /** | 78 | /** |
79 | * struct ps3_private - a per cpu data structure | 79 | * struct ps3_private - a per cpu data structure |
80 | * @bmp: ps3_bmp structure | 80 | * @bmp: ps3_bmp structure |
81 | * @bmp_lock: Syncronize access to bmp. | 81 | * @bmp_lock: Synchronize access to bmp. |
82 | * @ipi_debug_brk_mask: Mask for debug break IPIs | 82 | * @ipi_debug_brk_mask: Mask for debug break IPIs |
83 | * @ppe_id: HV logical_ppe_id | 83 | * @ppe_id: HV logical_ppe_id |
84 | * @thread_id: HV thread_id | 84 | * @thread_id: HV thread_id |
diff --git a/arch/powerpc/platforms/pseries/hvconsole.c b/arch/powerpc/platforms/pseries/hvconsole.c index 849b29b3e9ae..74da18de853a 100644 --- a/arch/powerpc/platforms/pseries/hvconsole.c +++ b/arch/powerpc/platforms/pseries/hvconsole.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/plpar_wrappers.h> | 31 | #include <asm/plpar_wrappers.h> |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * hvc_get_chars - retrieve characters from firmware for denoted vterm adatper | 34 | * hvc_get_chars - retrieve characters from firmware for denoted vterm adapter |
35 | * @vtermno: The vtermno or unit_address of the adapter from which to fetch the | 35 | * @vtermno: The vtermno or unit_address of the adapter from which to fetch the |
36 | * data. | 36 | * data. |
37 | * @buf: The character buffer into which to put the character data fetched from | 37 | * @buf: The character buffer into which to put the character data fetched from |
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 36df46eaba24..6e944fc6e5f9 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c | |||
@@ -515,7 +515,7 @@ static void __init pSeries_setup_arch(void) | |||
515 | 515 | ||
516 | fwnmi_init(); | 516 | fwnmi_init(); |
517 | 517 | ||
518 | /* By default, only probe PCI (can be overriden by rtas_pci) */ | 518 | /* By default, only probe PCI (can be overridden by rtas_pci) */ |
519 | pci_add_flags(PCI_PROBE_ONLY); | 519 | pci_add_flags(PCI_PROBE_ONLY); |
520 | 520 | ||
521 | /* Find and initialize PCI host bridges */ | 521 | /* Find and initialize PCI host bridges */ |
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index c69e88e91459..85729f49764f 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -575,7 +575,7 @@ int fsl_add_bridge(struct platform_device *pdev, int is_primary) | |||
575 | if (early_find_capability(hose, 0, 0, PCI_CAP_ID_EXP)) { | 575 | if (early_find_capability(hose, 0, 0, PCI_CAP_ID_EXP)) { |
576 | /* use fsl_indirect_read_config for PCIe */ | 576 | /* use fsl_indirect_read_config for PCIe */ |
577 | hose->ops = &fsl_indirect_pcie_ops; | 577 | hose->ops = &fsl_indirect_pcie_ops; |
578 | /* For PCIE read HEADER_TYPE to identify controler mode */ | 578 | /* For PCIE read HEADER_TYPE to identify controller mode */ |
579 | early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); | 579 | early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); |
580 | if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) | 580 | if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) |
581 | goto no_bridge; | 581 | goto no_bridge; |
diff --git a/arch/powerpc/sysdev/fsl_rmu.c b/arch/powerpc/sysdev/fsl_rmu.c index b48197ae44d0..ffe0ee832768 100644 --- a/arch/powerpc/sysdev/fsl_rmu.c +++ b/arch/powerpc/sysdev/fsl_rmu.c | |||
@@ -570,7 +570,7 @@ int fsl_rio_port_write_init(struct fsl_rio_pw *pw) | |||
570 | out_be32(&pw->pw_regs->pwsr, | 570 | out_be32(&pw->pw_regs->pwsr, |
571 | (RIO_IPWSR_TE | RIO_IPWSR_QFI | RIO_IPWSR_PWD)); | 571 | (RIO_IPWSR_TE | RIO_IPWSR_QFI | RIO_IPWSR_PWD)); |
572 | 572 | ||
573 | /* Configure port write contoller for snooping enable all reporting, | 573 | /* Configure port write controller for snooping enable all reporting, |
574 | clear queue full */ | 574 | clear queue full */ |
575 | out_be32(&pw->pw_regs->pwmr, | 575 | out_be32(&pw->pw_regs->pwmr, |
576 | RIO_IPWMR_SEN | RIO_IPWMR_QFIE | RIO_IPWMR_EIE | RIO_IPWMR_CQ); | 576 | RIO_IPWMR_SEN | RIO_IPWMR_QFIE | RIO_IPWMR_EIE | RIO_IPWMR_CQ); |
diff --git a/arch/powerpc/sysdev/i8259.c b/arch/powerpc/sysdev/i8259.c index 6f99ed3967fd..aa2c186d3115 100644 --- a/arch/powerpc/sysdev/i8259.c +++ b/arch/powerpc/sysdev/i8259.c | |||
@@ -238,7 +238,7 @@ void i8259_init(struct device_node *node, unsigned long intack_addr) | |||
238 | /* init master interrupt controller */ | 238 | /* init master interrupt controller */ |
239 | outb(0x11, 0x20); /* Start init sequence */ | 239 | outb(0x11, 0x20); /* Start init sequence */ |
240 | outb(0x00, 0x21); /* Vector base */ | 240 | outb(0x00, 0x21); /* Vector base */ |
241 | outb(0x04, 0x21); /* edge tiggered, Cascade (slave) on IRQ2 */ | 241 | outb(0x04, 0x21); /* edge triggered, Cascade (slave) on IRQ2 */ |
242 | outb(0x01, 0x21); /* Select 8086 mode */ | 242 | outb(0x01, 0x21); /* Select 8086 mode */ |
243 | 243 | ||
244 | /* init slave interrupt controller */ | 244 | /* init slave interrupt controller */ |
diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index 2a0452e364ba..afe3c7cd395d 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * arch/powerpc/kernel/mpic.c | 2 | * arch/powerpc/kernel/mpic.c |
3 | * | 3 | * |
4 | * Driver for interrupt controllers following the OpenPIC standard, the | 4 | * Driver for interrupt controllers following the OpenPIC standard, the |
5 | * common implementation beeing IBM's MPIC. This driver also can deal | 5 | * common implementation being IBM's MPIC. This driver also can deal |
6 | * with various broken implementations of this HW. | 6 | * with various broken implementations of this HW. |
7 | * | 7 | * |
8 | * Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp. | 8 | * Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp. |
@@ -1657,7 +1657,7 @@ void __init mpic_init(struct mpic *mpic) | |||
1657 | } | 1657 | } |
1658 | } | 1658 | } |
1659 | 1659 | ||
1660 | /* FSL mpic error interrupt intialization */ | 1660 | /* FSL mpic error interrupt initialization */ |
1661 | if (mpic->flags & MPIC_FSL_HAS_EIMR) | 1661 | if (mpic->flags & MPIC_FSL_HAS_EIMR) |
1662 | mpic_err_int_init(mpic, MPIC_FSL_ERR_INT); | 1662 | mpic_err_int_init(mpic, MPIC_FSL_ERR_INT); |
1663 | } | 1663 | } |