* [PATCH] KVM: PPC: Book3S HV: Fix typos in comments
@ 2020-03-06 0:26 Gustavo Romero
2020-03-06 2:06 ` Gabriel Paubert
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Romero @ 2020-03-06 0:26 UTC (permalink / raw)
To: kvm-ppc; +Cc: linuxppc-dev, Gustavo Romero
Fix typos found in comments about the parameter passed
through r5 to kvmppc_{save,restore}_tm_hv functions.
Signed-off-by: Gustavo Romero <gromero@linux.ibm.com>
---
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
index dbc2fec..a55dbe8 100644
--- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S
+++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
@@ -3121,7 +3121,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
* Save transactional state and TM-related registers.
* Called with r3 pointing to the vcpu struct and r4 containing
* the guest MSR value.
- * r5 is non-zero iff non-volatile register state needs to be maintained.
+ * r5 is non-zero if non-volatile register state needs to be maintained.
* If r5 == 0, this can modify all checkpointed registers, but
* restores r1 and r2 before exit.
*/
@@ -3194,7 +3194,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_P9_TM_XER_SO_BUG)
* Restore transactional state and TM-related registers.
* Called with r3 pointing to the vcpu struct
* and r4 containing the guest MSR value.
- * r5 is non-zero iff non-volatile register state needs to be maintained.
+ * r5 is non-zero if non-volatile register state needs to be maintained.
* This potentially modifies all checkpointed registers.
* It restores r1 and r2 from the PACA.
*/
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: PPC: Book3S HV: Fix typos in comments
2020-03-06 0:26 [PATCH] KVM: PPC: Book3S HV: Fix typos in comments Gustavo Romero
@ 2020-03-06 2:06 ` Gabriel Paubert
2020-03-06 2:09 ` Gustavo Romero
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Paubert @ 2020-03-06 2:06 UTC (permalink / raw)
To: Gustavo Romero; +Cc: linuxppc-dev, kvm-ppc
On Fri, Mar 06, 2020 at 11:26:36AM +1100, Gustavo Romero wrote:
> Fix typos found in comments about the parameter passed
> through r5 to kvmppc_{save,restore}_tm_hv functions.
Actually "iff" is a common shorthand in some fields and not necessarily
a spelling error:
https://en.wikipedia.org/wiki/If_and_only_if
Gabriel
>
> Signed-off-by: Gustavo Romero <gromero@linux.ibm.com>
> ---
> arch/powerpc/kvm/book3s_hv_rmhandlers.S | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
> index dbc2fec..a55dbe8 100644
> --- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S
> +++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
> @@ -3121,7 +3121,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
> * Save transactional state and TM-related registers.
> * Called with r3 pointing to the vcpu struct and r4 containing
> * the guest MSR value.
> - * r5 is non-zero iff non-volatile register state needs to be maintained.
> + * r5 is non-zero if non-volatile register state needs to be maintained.
> * If r5 == 0, this can modify all checkpointed registers, but
> * restores r1 and r2 before exit.
> */
> @@ -3194,7 +3194,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_P9_TM_XER_SO_BUG)
> * Restore transactional state and TM-related registers.
> * Called with r3 pointing to the vcpu struct
> * and r4 containing the guest MSR value.
> - * r5 is non-zero iff non-volatile register state needs to be maintained.
> + * r5 is non-zero if non-volatile register state needs to be maintained.
> * This potentially modifies all checkpointed registers.
> * It restores r1 and r2 from the PACA.
> */
> --
> 1.8.3.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: PPC: Book3S HV: Fix typos in comments
2020-03-06 2:06 ` Gabriel Paubert
@ 2020-03-06 2:09 ` Gustavo Romero
0 siblings, 0 replies; 3+ messages in thread
From: Gustavo Romero @ 2020-03-06 2:09 UTC (permalink / raw)
To: Gabriel Paubert, Gustavo Romero; +Cc: linuxppc-dev, kvm-ppc
Hi Gabriel,
On 03/06/2020 01:06 PM, Gabriel Paubert wrote:
> On Fri, Mar 06, 2020 at 11:26:36AM +1100, Gustavo Romero wrote:
>> Fix typos found in comments about the parameter passed
>> through r5 to kvmppc_{save,restore}_tm_hv functions.
>
> Actually "iff" is a common shorthand in some fields and not necessarily
> a spelling error:
>
> https://en.wikipedia.org/wiki/If_and_only_if
I see. Thank you.
Best regards,
Gustavo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-06 2:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-06 0:26 [PATCH] KVM: PPC: Book3S HV: Fix typos in comments Gustavo Romero
2020-03-06 2:06 ` Gabriel Paubert
2020-03-06 2:09 ` Gustavo Romero
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox