qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 0/3] ppc: adding some RTAS calls in tests/libqos
@ 2017-10-26 20:22 Daniel Henrique Barboza
  2017-10-26 20:22 ` [Qemu-devel] [PATCH v1 1/3] tests: adding 'check_exception' RTAS implementation Daniel Henrique Barboza
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Daniel Henrique Barboza @ 2017-10-26 20:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-ppc, david, mdroth, lvivier

This series implements a few RTAS hypercalls in tests/libqos
that, used together, implement the DRC state transition described
in PAPR 2.7+, 13.4.

This started as an attempt of implementing hot unplug qtests for the
sPAPR machine but I've found a few issues that will require more time
solving:

- CPU hot unplug: for some reason the machine freezes after the
callback is returned.

- LMB hot unplug: not supported by the sPAPR machine if not
set in CAS.

I have a feeling that the CPU hot unplug  issue might be related
with the lack of CAS negotiation step as well, but only way to be
sure is to further understanding how the CAS negotation interfere
with the device hot unplug. If needed we'll have to implement the
client architecture support hypercall as well in the future.

Until then, I believe these hypercalls have a value of their own and
are worth being pushed upstream.


Daniel Henrique Barboza (3):
  tests: adding 'check_exception' RTAS implementation
  tests: adding 'set_indicator' RTAS call
  tests: ibm,configure-connector RTAS call implementation

 tests/libqos/rtas.c | 105 +++++++++++++++++++++++++
 tests/libqos/rtas.h |   5 ++
 tests/rtas-test.c   | 218 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 328 insertions(+)

-- 
2.13.6

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

end of thread, other threads:[~2017-10-30 23:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-26 20:22 [Qemu-devel] [PATCH v1 0/3] ppc: adding some RTAS calls in tests/libqos Daniel Henrique Barboza
2017-10-26 20:22 ` [Qemu-devel] [PATCH v1 1/3] tests: adding 'check_exception' RTAS implementation Daniel Henrique Barboza
2017-10-26 20:22 ` [Qemu-devel] [PATCH v1 2/3] tests: adding 'set_indicator' RTAS call Daniel Henrique Barboza
2017-10-26 20:22 ` [Qemu-devel] [PATCH v1 3/3] tests: ibm, configure-connector RTAS call implementation Daniel Henrique Barboza
2017-10-30 20:12 ` [Qemu-devel] [PATCH v1 0/3] ppc: adding some RTAS calls in tests/libqos David Gibson
2017-10-30 20:29   ` [Qemu-devel] [Qemu-ppc] " Daniel Henrique Barboza
2017-10-30 23:21     ` Daniel Henrique Barboza

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