From: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
To: Michael Neuling <mikey@neuling.org>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: [PATCH] powerpc/xics: Adjust interrupt receive priority for offline cpus
Date: Thu, 23 Feb 2017 16:24:43 +0530 [thread overview]
Message-ID: <20170223105443.22029-1-svaidy@linux.vnet.ibm.com> (raw)
Offline CPUs need to receive IPIs through XIVE when they are
in stop state and wakeup from that state.
Reduce interrupt receive priority in order to receive XIVE
wakeup interrupts when in offline state.
LOWEST_PRIORITY would allow all interrupts to be delivered
as wakeup events.
Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
---
arch/powerpc/sysdev/xics/xics-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/sysdev/xics/xics-common.c b/arch/powerpc/sysdev/xics/xics-common.c
index 69d858e..c674a9d 100644
--- a/arch/powerpc/sysdev/xics/xics-common.c
+++ b/arch/powerpc/sysdev/xics/xics-common.c
@@ -199,7 +199,7 @@ void xics_migrate_irqs_away(void)
xics_set_cpu_giq(xics_default_distrib_server, 0);
/* Allow IPIs again... */
- icp_ops->set_priority(DEFAULT_PRIORITY);
+ icp_ops->set_priority(LOWEST_PRIORITY);
for_each_irq_desc(virq, desc) {
struct irq_chip *chip;
--
2.9.3
next reply other threads:[~2017-02-23 10:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-23 10:54 Vaidyanathan Srinivasan [this message]
2017-02-24 0:22 ` [PATCH] powerpc/xics: Adjust interrupt receive priority for offline cpus Michael Neuling
2017-02-24 0:35 ` Balbir Singh
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=20170223105443.22029-1-svaidy@linux.vnet.ibm.com \
--to=svaidy@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mikey@neuling.org \
/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;
as well as URLs for NNTP newsgroup(s).