diff for duplicates of <1503022258.4493.133.camel@kernel.crashing.org> diff --git a/a/1.txt b/N1/1.txt index c2addd6..8caa762 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -56,8 +56,8 @@ index 150be86b1018..d1ed2c41b5d2 100644 * used to signal MFRR changes is EOId when fetched from * the queue. */ -- if (irq = XICS_IPI || irq = 0) -+ if (irq = XICS_IPI || irq = 0) { +- if (irq == XICS_IPI || irq == 0) ++ if (irq == XICS_IPI || irq == 0) { + /* + * This barrier orders the setting of xc->cppr vs. + * subsquent test of xc->mfrr done inside @@ -91,7 +91,7 @@ index 150be86b1018..d1ed2c41b5d2 100644 + smp_mb(); again: - if (state->guest_priority = MASKED) { + if (state->guest_priority == MASKED) { @@ -470,6 +503,14 @@ X_STATIC int GLUE(X_PFX,h_eoi)(struct kvm_vcpu *vcpu, unsigned long xirr) } diff --git a/a/content_digest b/N1/content_digest index 03c50a1..3812f63 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Benjamin Herrenschmidt <benh@kernel.crashing.org>\0" "Subject\0[PATCH 2/2] kvm/xive: Add missing barriers and document them\0" - "Date\0Fri, 18 Aug 2017 02:10:58 +0000\0" + "Date\0Fri, 18 Aug 2017 12:10:58 +1000\0" "To\0kvm-ppc@vger.kernel.org\0" "Cc\0linuxppc dev list <linuxppc-dev@lists.ozlabs.org>" kvm@vger.kernel.org <kvm@vger.kernel.org> @@ -65,8 +65,8 @@ " \t * used to signal MFRR changes is EOId when fetched from\n" " \t * the queue.\n" " \t */\n" - "-\tif (irq = XICS_IPI || irq = 0)\n" - "+\tif (irq = XICS_IPI || irq = 0) {\n" + "-\tif (irq == XICS_IPI || irq == 0)\n" + "+\tif (irq == XICS_IPI || irq == 0) {\n" "+\t\t/*\n" "+\t\t * This barrier orders the setting of xc->cppr vs.\n" "+\t\t * subsquent test of xc->mfrr done inside\n" @@ -100,7 +100,7 @@ "+\tsmp_mb();\n" " \n" " again:\n" - " \tif (state->guest_priority = MASKED) {\n" + " \tif (state->guest_priority == MASKED) {\n" "@@ -470,6 +503,14 @@ X_STATIC int GLUE(X_PFX,h_eoi)(struct kvm_vcpu *vcpu, unsigned long xirr)\n" " \n" " \t}\n" @@ -136,4 +136,4 @@ " \tif (mfrr < xc->cppr)\n" " \t\t__x_writeq(0, __x_trig_page(&xc->vp_ipi_data));" -cd9cc133053e3706ccc6ca9462029e743f373cedc9bb17ef63279fb840ba17b7 +3d2a07c751e41ed721d6c69b6ceca07bc516252136d822784a1bd0bb108f8e9a
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.