All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <87sg0oog0m.fsf@linux.ibm.com>

diff --git a/a/1.txt b/N1/1.txt
index 93aab8d..d60f280 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -55,21 +55,21 @@ Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
 >  {
 > @@ -1654,6 +1661,8 @@ XXX benchmark guest exits
 >  				r = kvmppc_pmu_unavailable(vcpu);
->  			if (cause = FSCR_EBB_LG)
+>  			if (cause == FSCR_EBB_LG)
 >  				r = kvmppc_ebb_unavailable(vcpu);
-> +			if (cause = FSCR_TM_LG)
+> +			if (cause == FSCR_TM_LG)
 > +				r = kvmppc_tm_unavailable(vcpu);
 >  		}
->  		if (r = EMULATE_FAIL) {
+>  		if (r == EMULATE_FAIL) {
 >  			kvmppc_core_queue_program(vcpu, SRR1_PROGILL);
 > @@ -1775,6 +1784,8 @@ static int kvmppc_handle_nested_exit(struct kvm_vcpu *vcpu)
 >  			r = kvmppc_pmu_unavailable(vcpu);
->  		if (cause = FSCR_EBB_LG && (vcpu->arch.nested_hfscr & HFSCR_EBB))
+>  		if (cause == FSCR_EBB_LG && (vcpu->arch.nested_hfscr & HFSCR_EBB))
 >  			r = kvmppc_ebb_unavailable(vcpu);
-> +		if (cause = FSCR_TM_LG && (vcpu->arch.nested_hfscr & HFSCR_TM))
+> +		if (cause == FSCR_TM_LG && (vcpu->arch.nested_hfscr & HFSCR_TM))
 > +			r = kvmppc_tm_unavailable(vcpu);
 >
->  		if (r = EMULATE_FAIL)
+>  		if (r == EMULATE_FAIL)
 >  			r = RESUME_HOST;
 > @@ -3737,8 +3748,9 @@ static int kvmhv_vcpu_entry_p9_nested(struct kvm_vcpu *vcpu, u64 time_limit, uns
 >  		msr |= MSR_VEC;
diff --git a/a/content_digest b/N1/content_digest
index 534e349..1df8181 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020210622105736.633352-36-npiggin@gmail.com\0"
  "From\0Fabiano Rosas <farosas@linux.ibm.com>\0"
  "Subject\0Re: [RFC PATCH 35/43] KVM: PPC: Book3S HV P9: Demand fault TM facility registers\0"
- "Date\0Thu, 08 Jul 2021 17:46:17 +0000\0"
+ "Date\0Thu, 08 Jul 2021 14:46:17 -0300\0"
  "To\0Nicholas Piggin <npiggin@gmail.com>"
  " kvm-ppc@vger.kernel.org\0"
  "Cc\0linuxppc-dev@lists.ozlabs.org"
@@ -66,21 +66,21 @@
  ">  {\n"
  "> @@ -1654,6 +1661,8 @@ XXX benchmark guest exits\n"
  ">  \t\t\t\tr = kvmppc_pmu_unavailable(vcpu);\n"
- ">  \t\t\tif (cause = FSCR_EBB_LG)\n"
+ ">  \t\t\tif (cause == FSCR_EBB_LG)\n"
  ">  \t\t\t\tr = kvmppc_ebb_unavailable(vcpu);\n"
- "> +\t\t\tif (cause = FSCR_TM_LG)\n"
+ "> +\t\t\tif (cause == FSCR_TM_LG)\n"
  "> +\t\t\t\tr = kvmppc_tm_unavailable(vcpu);\n"
  ">  \t\t}\n"
- ">  \t\tif (r = EMULATE_FAIL) {\n"
+ ">  \t\tif (r == EMULATE_FAIL) {\n"
  ">  \t\t\tkvmppc_core_queue_program(vcpu, SRR1_PROGILL);\n"
  "> @@ -1775,6 +1784,8 @@ static int kvmppc_handle_nested_exit(struct kvm_vcpu *vcpu)\n"
  ">  \t\t\tr = kvmppc_pmu_unavailable(vcpu);\n"
- ">  \t\tif (cause = FSCR_EBB_LG && (vcpu->arch.nested_hfscr & HFSCR_EBB))\n"
+ ">  \t\tif (cause == FSCR_EBB_LG && (vcpu->arch.nested_hfscr & HFSCR_EBB))\n"
  ">  \t\t\tr = kvmppc_ebb_unavailable(vcpu);\n"
- "> +\t\tif (cause = FSCR_TM_LG && (vcpu->arch.nested_hfscr & HFSCR_TM))\n"
+ "> +\t\tif (cause == FSCR_TM_LG && (vcpu->arch.nested_hfscr & HFSCR_TM))\n"
  "> +\t\t\tr = kvmppc_tm_unavailable(vcpu);\n"
  ">\n"
- ">  \t\tif (r = EMULATE_FAIL)\n"
+ ">  \t\tif (r == EMULATE_FAIL)\n"
  ">  \t\t\tr = RESUME_HOST;\n"
  "> @@ -3737,8 +3748,9 @@ static int kvmhv_vcpu_entry_p9_nested(struct kvm_vcpu *vcpu, u64 time_limit, uns\n"
  ">  \t\tmsr |= MSR_VEC;\n"
@@ -170,4 +170,4 @@
  ">  \tmsr = msr_check_and_set(msr);\n"
  ">  \t/* Save MSR for restore. This is after hard disable, so EE is clear. */"
 
-391cf968c77e3b802a63644484e074826b83d1cf1038cc24d05440e5714dcc1d
+389e688687287abca6cc78c7dfa5c0368b18146a28dca470e5e6688e9a087c20

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.