From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: linux-kernel@vger.kernel.org, konrad.wilk@oracle.com,
Stefano.Stabellini@eu.citrix.com,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: [PATCH 5/6] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST
Date: Wed, 22 Aug 2012 17:20:15 +0100 [thread overview]
Message-ID: <1345652416-27181-5-git-send-email-stefano.stabellini@eu.citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1208221635020.15568@kaball.uk.xensource.com>
Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enabled by
default on ARM. If IRQ_NOAUTOEN is set, __setup_irq doesn't call
irq_startup, that is responsible for calling irq_unmask at startup time.
As a result event channels remain masked.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
drivers/xen/events.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 36bf17d..c60d162 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -842,6 +842,7 @@ int bind_evtchn_to_irq(unsigned int evtchn)
struct irq_info *info = info_for_irq(irq);
WARN_ON(info == NULL || info->type != IRQT_EVTCHN);
}
+ irq_clear_status_flags(irq, IRQ_NOREQUEST|IRQ_NOAUTOEN);
out:
mutex_unlock(&irq_mapping_update_lock);
--
1.7.2.5
next prev parent reply other threads:[~2012-08-22 16:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 16:19 [PATCH 0/6] Xen patches for Linux 3.7 Stefano Stabellini
2012-08-22 16:20 ` [PATCH 1/6] xen/events: fix unmask_evtchn for PV on HVM guests Stefano Stabellini
2012-08-22 16:20 ` [PATCH 2/6] xen: missing includes Stefano Stabellini
2012-08-22 16:20 ` [PATCH 3/6] xen: update xen_add_to_physmap interface Stefano Stabellini
2012-08-22 16:20 ` [PATCH 4/6] xen: Introduce xen_pfn_t for pfn and mfn types Stefano Stabellini
2012-08-22 16:20 ` Stefano Stabellini [this message]
2012-08-22 16:20 ` [PATCH 6/6] xen: allow privcmd for HVM guests Stefano Stabellini
2012-08-22 16:59 ` [PATCH 0/6] Xen patches for Linux 3.7 Konrad Rzeszutek Wilk
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=1345652416-27181-5-git-send-email-stefano.stabellini@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®