[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC PATCH V2 1/8] xen: fix output of xen_debug_interrupt



Three things are fixed:
 a) the test result of globaly masked event;
 b) make the per-cpu selector L1 to be consistent with description in
    __xen_evtchn_do_upcall's comment;
 c) the test result of L1 selector.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 drivers/xen/events.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 7595581..dadeea4 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -1231,9 +1231,9 @@ irqreturn_t xen_debug_interrupt(int irq, void *dev_id)
                        printk("  %d: event %d -> irq %d%s%s%s\n",
                               cpu_from_evtchn(i), i,
                               evtchn_to_irq[i],
-                              sync_test_bit(word_idx, &v->evtchn_pending_sel)
-                                            ? "" : " l2-clear",
-                              !sync_test_bit(i, sh->evtchn_mask)
+                              !sync_test_bit(word_idx, &v->evtchn_pending_sel)
+                                            ? "" : " l1-clear",
+                              sync_test_bit(i, sh->evtchn_mask)
                                             ? "" : " globally-masked",
                               sync_test_bit(i, cpu_evtchn)
                                             ? "" : " locally-masked");
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.