diff for duplicates of <20190813100648.GE9567@blackberry> diff --git a/a/1.txt b/N1/1.txt index 17c3ebb..2a8dc84 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -302,7 +302,7 @@ index 1cdb395..be86fce 100644 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); @@ -820,6 +836,10 @@ static int xive_irq_set_vcpu_affinity(struct irq_data *d, void *state) - /* Set it to PQ\x10 state to prevent further sends */ + /* Set it to PQ=10 state to prevent further sends */ pq = xive_esb_read(xd, XIVE_ESB_SET_PQ_10); + if (!xd->stale_p) { + xd->saved_p = !!(pq & XIVE_ESB_VAL_P); @@ -310,7 +310,7 @@ index 1cdb395..be86fce 100644 + } /* No target ? nothing to do */ - if (xd->target = XIVE_INVALID_TARGET) { + if (xd->target == XIVE_INVALID_TARGET) { @@ -827,7 +847,7 @@ static int xive_irq_set_vcpu_affinity(struct irq_data *d, void *state) * An untargetted interrupt should have been * also masked at the source diff --git a/a/content_digest b/N1/content_digest index f16f41b..8d52046 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190813095845.GA9567@blackberry\0" "From\0Paul Mackerras <paulus@ozlabs.org>\0" "Subject\0[PATCH v2 3/3] powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race\0" - "Date\0Tue, 13 Aug 2019 10:06:48 +0000\0" + "Date\0Tue, 13 Aug 2019 20:06:48 +1000\0" "To\0linuxppc-dev@ozlabs.org" " kvm@vger.kernel.org\0" "Cc\0kvm-ppc@vger.kernel.org" @@ -312,7 +312,7 @@ " \tstruct xive_irq_data *xd = irq_data_get_irq_handler_data(d);\n" "@@ -820,6 +836,10 @@ static int xive_irq_set_vcpu_affinity(struct irq_data *d, void *state)\n" " \n" - " \t\t/* Set it to PQ\020 state to prevent further sends */\n" + " \t\t/* Set it to PQ=10 state to prevent further sends */\n" " \t\tpq = xive_esb_read(xd, XIVE_ESB_SET_PQ_10);\n" "+\t\tif (!xd->stale_p) {\n" "+\t\t\txd->saved_p = !!(pq & XIVE_ESB_VAL_P);\n" @@ -320,7 +320,7 @@ "+\t\t}\n" " \n" " \t\t/* No target ? nothing to do */\n" - " \t\tif (xd->target = XIVE_INVALID_TARGET) {\n" + " \t\tif (xd->target == XIVE_INVALID_TARGET) {\n" "@@ -827,7 +847,7 @@ static int xive_irq_set_vcpu_affinity(struct irq_data *d, void *state)\n" " \t\t\t * An untargetted interrupt should have been\n" " \t\t\t * also masked at the source\n" @@ -399,4 +399,4 @@ "-- \n" 2.7.4 -cd126e7dda0b74356099130b941bcb0fbaf687391528d8b7acd7f8ccc30dcb05 +3ac50fa247545cdd483a3793420d15ed504846fd21b52b8f1641dbccd7e3924f
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.