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

diff --git a/a/1.txt b/N1/1.txt
index 676709d..5e46aed 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -53,21 +53,21 @@ Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
 >  {
 > @@ -1645,6 +1652,8 @@ XXX benchmark guest exits
 >  				r = kvmppc_emulate_doorbell_instr(vcpu);
->  			if (cause = FSCR_PM_LG)
+>  			if (cause == FSCR_PM_LG)
 >  				r = kvmppc_pmu_unavailable(vcpu);
-> +			if (cause = FSCR_EBB_LG)
+> +			if (cause == FSCR_EBB_LG)
 > +				r = kvmppc_ebb_unavailable(vcpu);
 >  		}
->  		if (r = EMULATE_FAIL) {
+>  		if (r == EMULATE_FAIL) {
 >  			kvmppc_core_queue_program(vcpu, SRR1_PROGILL);
 > @@ -1764,6 +1773,8 @@ static int kvmppc_handle_nested_exit(struct kvm_vcpu *vcpu)
 >  		r = EMULATE_FAIL;
->  		if (cause = FSCR_PM_LG && (vcpu->arch.nested_hfscr & HFSCR_PM))
+>  		if (cause == FSCR_PM_LG && (vcpu->arch.nested_hfscr & HFSCR_PM))
 >  			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 (r = EMULATE_FAIL)
+>  		if (r == EMULATE_FAIL)
 >  			r = RESUME_HOST;
 > diff --git a/arch/powerpc/kvm/book3s_hv_nested.c b/arch/powerpc/kvm/book3s_hv_nested.c
 > index 024b0ce5b702..ee8668f056f9 100644
diff --git a/a/content_digest b/N1/content_digest
index 9f48526..837b318 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020210622105736.633352-35-npiggin@gmail.com\0"
  "From\0Fabiano Rosas <farosas@linux.ibm.com>\0"
  "Subject\0Re: [RFC PATCH 34/43] KVM: PPC: Book3S HV P9: Demand fault EBB facility registers\0"
- "Date\0Thu, 08 Jul 2021 17:46:03 +0000\0"
+ "Date\0Thu, 08 Jul 2021 14:46:03 -0300\0"
  "To\0Nicholas Piggin <npiggin@gmail.com>"
  " kvm-ppc@vger.kernel.org\0"
  "Cc\0linuxppc-dev@lists.ozlabs.org"
@@ -64,21 +64,21 @@
  ">  {\n"
  "> @@ -1645,6 +1652,8 @@ XXX benchmark guest exits\n"
  ">  \t\t\t\tr = kvmppc_emulate_doorbell_instr(vcpu);\n"
- ">  \t\t\tif (cause = FSCR_PM_LG)\n"
+ ">  \t\t\tif (cause == FSCR_PM_LG)\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}\n"
- ">  \t\tif (r = EMULATE_FAIL) {\n"
+ ">  \t\tif (r == EMULATE_FAIL) {\n"
  ">  \t\t\tkvmppc_core_queue_program(vcpu, SRR1_PROGILL);\n"
  "> @@ -1764,6 +1773,8 @@ static int kvmppc_handle_nested_exit(struct kvm_vcpu *vcpu)\n"
  ">  \t\tr = EMULATE_FAIL;\n"
- ">  \t\tif (cause = FSCR_PM_LG && (vcpu->arch.nested_hfscr & HFSCR_PM))\n"
+ ">  \t\tif (cause == FSCR_PM_LG && (vcpu->arch.nested_hfscr & HFSCR_PM))\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"
  ">\n"
- ">  \t\tif (r = EMULATE_FAIL)\n"
+ ">  \t\tif (r == EMULATE_FAIL)\n"
  ">  \t\t\tr = RESUME_HOST;\n"
  "> diff --git a/arch/powerpc/kvm/book3s_hv_nested.c b/arch/powerpc/kvm/book3s_hv_nested.c\n"
  "> index 024b0ce5b702..ee8668f056f9 100644\n"
@@ -139,4 +139,4 @@
  ">  \tif (!cpu_has_feature(CPU_FTR_ARCH_31))\n"
  ">  \t\tvcpu->arch.tid = mfspr(SPRN_TIDR);"
 
-96700faf3d71e2b2a62d348f3be570b46f1feb9c280b95fe3faaaf97ecd8da1c
+9679d21a5438ea479dc3c3196f435d3f492454db075dc0494d125916ddfb357b

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.