linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] powerpc/xive: add support for H_INT_RESET
@ 2018-04-03  7:15 Cédric Le Goater
  2018-04-03  7:15 ` [PATCH 1/4] powerpc/64/kexec: fix race in kexec when XIVE is shutdowned Cédric Le Goater
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Cédric Le Goater @ 2018-04-03  7:15 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Michael Ellerman, Benjamin Herrenschmidt, Cédric Le Goater

H_INT_RESET performs a reset of the Hypervisor internal interrupt
structures, removing all settings done with H_INT_SET_SOURCE_CONFIG
and H_INT_SET_QUEUE_CONFIG. This is most important for kdump and kexec
to be able to restart in a clean state.

First patch closes a window in the kexec sequence in which the
H_INT_RESET hcall can be run concurrently with other hcalls when CPUs
are brought down. The other patches wire up the reset hcall making
sure it supports H_LONG_BUSY_* returned by the Hypervisor.

Cédric Le Goater (4):
  powerpc/64/kexec: fix race in kexec when XIVE is shutdowned
  powerpc/xive: fix hcall H_INT_RESET to support long busy delays
  powerpc/xive: shutdown XIVE when kexec or kdump is performed
  powerpc/xive: prepare all hcalls to support long busy delays

 arch/powerpc/kernel/machine_kexec_64.c |  8 +--
 arch/powerpc/platforms/pseries/kexec.c |  7 ++-
 arch/powerpc/sysdev/xive/spapr.c       | 89 +++++++++++++++++++++++++++++-----
 3 files changed, 85 insertions(+), 19 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-05-07  7:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-03  7:15 [PATCH 0/4] powerpc/xive: add support for H_INT_RESET Cédric Le Goater
2018-04-03  7:15 ` [PATCH 1/4] powerpc/64/kexec: fix race in kexec when XIVE is shutdowned Cédric Le Goater
2018-05-04 10:41   ` Michael Ellerman
2018-05-04 11:13     ` Cédric Le Goater
2018-05-04 11:36       ` Cédric Le Goater
2018-04-03  7:15 ` [PATCH 2/4] powerpc/xive: fix hcall H_INT_RESET to support long busy delays Cédric Le Goater
2018-05-04 10:41   ` Michael Ellerman
2018-05-04 11:27     ` Cédric Le Goater
2018-04-03  7:15 ` [PATCH 3/4] powerpc/xive: shutdown XIVE when kexec or kdump is performed Cédric Le Goater
2018-05-04 10:42   ` Michael Ellerman
2018-05-04 11:42     ` Cédric Le Goater
2018-04-03  7:15 ` [PATCH 4/4] powerpc/xive: prepare all hcalls to support long busy delays Cédric Le Goater
2018-05-04 10:42   ` Michael Ellerman
2018-05-04 11:49     ` Cédric Le Goater
2018-05-04 22:29     ` Benjamin Herrenschmidt
2018-05-07  2:30       ` Michael Ellerman
2018-05-07  7:32         ` Cédric Le Goater
2018-04-30 16:21 ` [PATCH 0/4] powerpc/xive: add support for H_INT_RESET Cédric Le Goater

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).