From: Wei Liu Subject: Re: [PATCH 01/13] xen: fix output of xen_debug_interrupt Date: Fri, 1 Feb 2013 13:10:53 +0000 Message-ID: <1359724253.23229.115.camel@zion.uk.xensource.com> References: <1359643627-29486-1-git-send-email-wei.liu2@citrix.com> <1359643627-29486-2-git-send-email-wei.liu2@citrix.com> <510BA19F.6010900@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <510BA19F.6010900@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: "konrad.wilk@oracle.com" , wei.liu2@citrix.com, Ian Campbell , "jbeulich@suse.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2013-02-01 at 11:06 +0000, David Vrabel wrote: > On 31/01/13 14:46, Wei Liu wrote: > > Four 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; > > d) add KERN_DEBUG in printk. > > It's hard to pick out the correctness fixes with all the cosmetic > KERN_DEBUG fixes in the same patch. > Moved to separate changeset. > > Signed-off-by: Wei Liu > > --- > > drivers/xen/events.c | 34 +++++++++++++++++----------------- > > 1 file changed, 17 insertions(+), 17 deletions(-) > > > > diff --git a/drivers/xen/events.c b/drivers/xen/events.c > > index 7595581..2c94aad 100644 > > --- a/drivers/xen/events.c > > +++ b/drivers/xen/events.c > [...] > > + !sync_test_bit(word_idx, &v->evtchn_pending_sel) > > + ? "" : " l1-clear", > > This looks backwards now. > Did you mean the "globally-masked" below? I think I made a mistake here, because in global mask 1 means masked while in per cpu mask 0 means masked... Wei. > > + sync_test_bit(i, sh->evtchn_mask) > > ? "" : " globally-masked", > > sync_test_bit(i, cpu_evtchn) > > ? "" : " locally-masked"); > > David >