2021-03-14 22:08:52

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S


Trivial spelling fixes throughout the file.

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
arch/powerpc/kernel/head_fsl_booke.S | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
index fdd4d274c245..c6fcfca0b0d7 100644
--- a/arch/powerpc/kernel/head_fsl_booke.S
+++ b/arch/powerpc/kernel/head_fsl_booke.S
@@ -113,7 +113,7 @@ _ENTRY(_start);

1:
/*
- * We have the runtime (virutal) address of our base.
+ * We have the runtime (virtual) address of our base.
* We calculate our shift of offset from a 64M page.
* We could map the 64M page we belong to at PAGE_OFFSET and
* get going from there.
@@ -403,7 +403,7 @@ interrupt_base:
EXCEPTION(0x2900, AP_UNAVAIL, AuxillaryProcessorUnavailable, \
unknown_exception, EXC_XFER_STD)

- /* Decrementer Interrupt */
+ /* Decremented Interrupt */
DECREMENTER_EXCEPTION

/* Fixed Internal Timer Interrupt */
@@ -497,7 +497,7 @@ END_BTB_FLUSH_SECTION
#endif
#endif

- bne 2f /* Bail if permission/valid mismach */
+ bne 2f /* Bail if permission/valid mismatch */

/* Jump to common tlb load */
b finish_tlb_load
@@ -592,7 +592,7 @@ END_BTB_FLUSH_SECTION
#endif
#endif

- bne 2f /* Bail if permission mismach */
+ bne 2f /* Bail if permission mismatch */

/* Jump to common TLB load point */
b finish_tlb_load
--
2.30.2


2021-03-15 00:42:05

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote:
>
> Trivial spelling fixes throughout the file.
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>
> ---
> arch/powerpc/kernel/head_fsl_booke.S | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
> index fdd4d274c245..c6fcfca0b0d7 100644
> --- a/arch/powerpc/kernel/head_fsl_booke.S
> +++ b/arch/powerpc/kernel/head_fsl_booke.S
> @@ -403,7 +403,7 @@ interrupt_base:
> EXCEPTION(0x2900, AP_UNAVAIL, AuxillaryProcessorUnavailable, \
> unknown_exception, EXC_XFER_STD)
>
> - /* Decrementer Interrupt */
> + /* Decremented Interrupt */

No, the comment matches the macro (or whatever that is).

> DECREMENTER_EXCEPTION
>
> /* Fixed Internal Timer Interrupt */


--
~Randy

2021-03-15 02:53:26

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

Randy Dunlap <[email protected]> writes:
> On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote:
>>
>> Trivial spelling fixes throughout the file.
>>
>> Signed-off-by: Bhaskar Chowdhury <[email protected]>
>> ---
>> arch/powerpc/kernel/head_fsl_booke.S | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
>> index fdd4d274c245..c6fcfca0b0d7 100644
>> --- a/arch/powerpc/kernel/head_fsl_booke.S
>> +++ b/arch/powerpc/kernel/head_fsl_booke.S
>> @@ -403,7 +403,7 @@ interrupt_base:
>> EXCEPTION(0x2900, AP_UNAVAIL, AuxillaryProcessorUnavailable, \
>> unknown_exception, EXC_XFER_STD)
>>
>> - /* Decrementer Interrupt */
>> + /* Decremented Interrupt */
>
> No, the comment matches the macro (or whatever that is).

Right. I dropped this hunk. Please update your script or whatever to not
"correct" that spelling.

cheers

2021-03-15 03:28:36

by Bhaskar Chowdhury

[permalink] [raw]
Subject: Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

On 13:48 Mon 15 Mar 2021, Michael Ellerman wrote:
>Randy Dunlap <[email protected]> writes:
>> On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote:
>>>
>>> Trivial spelling fixes throughout the file.
>>>
>>> Signed-off-by: Bhaskar Chowdhury <[email protected]>
>>> ---
>>> arch/powerpc/kernel/head_fsl_booke.S | 8 ++++----
>>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
>>> index fdd4d274c245..c6fcfca0b0d7 100644
>>> --- a/arch/powerpc/kernel/head_fsl_booke.S
>>> +++ b/arch/powerpc/kernel/head_fsl_booke.S
>>> @@ -403,7 +403,7 @@ interrupt_base:
>>> EXCEPTION(0x2900, AP_UNAVAIL, AuxillaryProcessorUnavailable, \
>>> unknown_exception, EXC_XFER_STD)
>>>
>>> - /* Decrementer Interrupt */
>>> + /* Decremented Interrupt */
>>
>> No, the comment matches the macro (or whatever that is).
>
>Right. I dropped this hunk. Please update your script or whatever to not
>"correct" that spelling.
>
Hmmmm ...V2 on the way...

>cheers


Attachments:
(No filename) (1.04 kB)
signature.asc (499.00 B)
Download all attachments

2021-03-31 01:16:14

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

On Mon, 15 Mar 2021 03:34:36 +0530, Bhaskar Chowdhury wrote:
> Trivial spelling fixes throughout the file.

Applied to powerpc/next.

[1/1] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S
https://git.kernel.org/powerpc/c/f239873fcd953557ba9a9781d10ca95c0594e2b3

cheers