From patchwork Fri Jul 1 06:41:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 642835 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rgn4d2PCYz9sBg for ; Fri, 1 Jul 2016 16:46:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.b=AXcWKAn1; dkim-atps=neutral Received: from localhost ([::1]:53970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIsDX-0003Sz-82 for incoming@patchwork.ozlabs.org; Fri, 01 Jul 2016 02:46:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIs7j-0003b1-BS for qemu-devel@nongnu.org; Fri, 01 Jul 2016 02:40:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIs7g-0003Fw-9L for qemu-devel@nongnu.org; Fri, 01 Jul 2016 02:40:22 -0400 Received: from ozlabs.org ([103.22.144.67]:45003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIs7f-0003FF-VN; Fri, 01 Jul 2016 02:40:20 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 3rgmxS3jYdz9t1J; Fri, 1 Jul 2016 16:40:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1467355212; bh=rkcD5jlAWlv3LsNNKyinSPWf62wDiemN0CvtoFPy2NQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AXcWKAn1QitnmOmSlhDpeYSjp4BBe0dRxxlDXLIb644QJ+GjKbwIPl+rEfAuzWW70 qJz8w/mvar5BojcTL4cMCgv3MO68FbWKEdHRKMrPq7n0uFdy/N9opCvrRtN5bt2FQq ZERTLQEHgOIlvpEpuCT/HFRj0vMT0Gx8m4uSDCe8= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 1 Jul 2016 16:41:45 +1000 Message-Id: <1467355319-28406-10-git-send-email-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1467355319-28406-1-git-send-email-david@gibson.dropbear.id.au> References: <1467355319-28406-1-git-send-email-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 103.22.144.67 Subject: [Qemu-devel] [PULL 09/23] hw/ppc/spapr: Add some missing hcall function set strings X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Add "hcall-sprg0" (for H_SET_SPRG0), "hcall-copy" (for H_PAGE_INIT) and "hcall-debug" (for H_LOGICAL_CI_LOAD/STORE) to the property "ibm,hypertas-functions" to indicate that we support these hypercalls. Signed-off-by: Thomas Huth Signed-off-by: David Gibson --- hw/ppc/spapr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 0b6bb9c..d26b4c2 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -339,6 +339,9 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base, add_str(hypertas, "hcall-splpar"); add_str(hypertas, "hcall-bulk"); add_str(hypertas, "hcall-set-mode"); + add_str(hypertas, "hcall-sprg0"); + add_str(hypertas, "hcall-copy"); + add_str(hypertas, "hcall-debug"); add_str(qemu_hypertas, "hcall-memop1"); fdt = g_malloc0(FDT_MAX_SIZE);