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 <redacted>
---
arch/powerpc/sysdev/xics/xics-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Michael Neuling <hidden> Date: 2017-02-24 00:22:00
On Thu, 2017-02-23 at 16:24 +0530, Vaidyanathan Srinivasan wrote:
Offline CPUs need to receive IPIs through XIVE when they are
in stop state and wakeup from that state.
=20
Reduce interrupt receive priority in order to receive XIVE
wakeup interrupts when in offline state.
=20
LOWEST_PRIORITY would allow all interrupts to be delivered
as wakeup events.
This needs to be expanded to explain why "DEFAULT" doesn't work in this cas=
e.
This also needs an explicit statement that "It fixes onlining of CPUs on
POWER9". I'd even advocate for making that the patch subject.=20
Also if it's the right fix, it needs a cc:stable.
Mikey
On Thu, Feb 23, 2017 at 9:54 PM, Vaidyanathan Srinivasan
[off-list ref] wrote:
quoted hunk
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 <redacted>
---
arch/powerpc/sysdev/xics/xics-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Aren't IPI's at higher priority than DEFAULT_PRIORITY? Like Mikey said
I am not sure what
is broken with the current implementation? Is this true for all
icp_ops? I presume you are using
icp_opal. I suspect you'll need to look at
1. XIVE to see if EMULATION_PRIO is the issue
2. Check if only icp_opal is impacted
Balbir Singh.