Received: from eggs.gnu.org ([2001:4830:134:3::10]:59189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9dNy-0000vR-Ou for qemu-devel@nongnu.org; Tue, 31 Oct 2017 16:43:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9dNv-00049i-MP for qemu-devel@nongnu.org; Tue, 31 Oct 2017 16:43:46 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55298 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9dNv-00049N-GU for qemu-devel@nongnu.org; Tue, 31 Oct 2017 16:43:43 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9VKeNng125420 for ; Tue, 31 Oct 2017 16:43:41 -0400 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0a-001b2d01.pphosted.com with ESMTP id 2dxv46em45-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 31 Oct 2017 16:43:40 -0400 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 31 Oct 2017 14:43:40 -0600 From: Daniel Henrique Barboza Date: Tue, 31 Oct 2017 18:43:26 -0200 Message-Id: <20171031204330.14803-1-danielhb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/4] ppc: adding some RTAS calls in tests/libqos List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, david@gibson.dropbear.id.au, mdroth@linux.vnet.ibm.com, lvivier@redhat.com v2: - added a new patch to fix a Travis build issue with Mac OS 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 (4): tests: adding 'check_exception' RTAS implementation tests: adding 'set_indicator' RTAS call tests: ibm,configure-connector RTAS call implementation tests/rtas-test.c: fix Apple endian.h include tests/libqos/rtas.c | 105 ++++++++++++++++++++++++ tests/libqos/rtas.h | 5 ++ tests/rtas-test.c | 229 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 339 insertions(+) -- 2.13.6