From: Julien Grall <julien.grall@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"Tim (Xen.org)" <tim@xen.org>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: [PATCH v3] xen/arm: trap guest WFI
Date: Wed, 27 Mar 2013 17:09:38 +0000 [thread overview]
Message-ID: <515327D2.9090706@citrix.com> (raw)
In-Reply-To: <1364309371-26854-1-git-send-email-stefano.stabellini@eu.citrix.com>
On 03/26/2013 02:49 PM, Stefano Stabellini wrote:
> static inline int local_events_need_delivery(void)
> {
> - /* TODO
> - * return (vcpu_info(v, evtchn_upcall_pending) &&
> - !vcpu_info(v, evtchn_upcall_mask)); */
> - return 0;
> + return ( !list_empty(¤t->arch.vgic.inflight_irqs) ||
> + vcpu_info(current, evtchn_upcall_pending) );
> }
>
> int local_event_delivery_is_enabled(void);
This patch breaks boot on the arndale board. I'm able to boot dom0
if inflight_irqs is replaced by pending_lr.
Thanks,
Julien
next prev parent reply other threads:[~2013-03-27 17:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-26 14:49 [PATCH v3] xen/arm: trap guest WFI Stefano Stabellini
2013-03-27 17:09 ` Julien Grall [this message]
2013-03-27 17:52 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515327D2.9090706@citrix.com \
--to=julien.grall@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.