From patchwork Wed Jul 17 05:39:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 11047161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4049414DB for ; Wed, 17 Jul 2019 05:40:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CC13285F2 for ; Wed, 17 Jul 2019 05:40:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BE8928708; Wed, 17 Jul 2019 05:40:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C0F78285F2 for ; Wed, 17 Jul 2019 05:40:21 +0000 (UTC) Received: from localhost ([::1]:54156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hncfs-0002ED-SJ for patchwork-qemu-devel@patchwork.kernel.org; Wed, 17 Jul 2019 01:40:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50022) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hncfh-0001Uy-T4 for qemu-devel@nongnu.org; Wed, 17 Jul 2019 01:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hncfh-00057N-1n for qemu-devel@nongnu.org; Wed, 17 Jul 2019 01:40:09 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:45649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hncff-000536-50; Wed, 17 Jul 2019 01:40:07 -0400 Received: by mail-pf1-x442.google.com with SMTP id r1so10237443pfq.12; Tue, 16 Jul 2019 22:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W0rA03HU631KZnI2JAXN5qkOfvFkjS2UXdBozSlCk4c=; b=RJRHsDilUsK6WE5c7qo4xFYWty4rI37zbDWC8Z6fI+h1FL1O8Zcy8uZiBp5wU4h5qi adSZbwVxU51LJG++4M+MC3ZVPH+Jhd4Nfy6W5FIniHLkOp/+or5h1VdQvQGDLwhc2iZD Rk+G0y6lyH9if572Z9Sw4pnJosceQVIxkPbHK7Pbvtc28vxfa+nNrx8Q50mI36/ufnSm coUNlI9xXyIPbcCg59Cxs2MBHey/z1DbmyQNsPyDs7hbUt/UPOISrZRq6kQFUKSh9YFX eT5DLI+xr1dpVa8Ia8BD8S5WL9Zi4+7CGl8030FKPTIzTZdjEiKuDALre9ZU5gf2AOzQ 3Zng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W0rA03HU631KZnI2JAXN5qkOfvFkjS2UXdBozSlCk4c=; b=eLWvteB+4mzRLW8tgmteon2ZVb08WxqDh7BscZExwmr+8yOcd6/TBUZvdKG8kKOsCC oo8PZJvAdxGnjeBNBfPEawIXPwjO2RGLeC1P89Ltq9/RNR1kiNFnLzJcF3/NFd7FG3Wa 7L9+hcTOznL0Y4QUxmFJ8d6SC09OwKxLglpf7NrxbCtlezw4Xd2JcZN1/qJDOFSv3r/9 PEUfyhwOcKhFBX/VWh/PFF05DnzKmLSDnEMaKTYpOHr9lDMVGKuwlTTsIT49tIiHavCf ZLoJ/7hthJ6zpkJQhZCl/egjrN6ka2HGLIRu6oenGoVf85uCH/I3GB3cI4xXoBZhn11/ S/tw== X-Gm-Message-State: APjAAAUqbRMAvDxLlXw2Q7HL3eBdJHd3cMzC0Yl3SIycnF/Jn6XeDZC7 ihxn34TJBwBZIUsy8qCL+ao= X-Google-Smtp-Source: APXvYqwPl1Vr7QDBE8z4PwjO/QHN+TsBs/okze/r9JOrsrAW7LrGaVfIEPKVwB41AR0+laLsSxOyNg== X-Received: by 2002:a65:50cb:: with SMTP id s11mr38830414pgp.371.1563342004824; Tue, 16 Jul 2019 22:40:04 -0700 (PDT) Received: from bobo.local0.net ([203.220.8.141]) by smtp.gmail.com with ESMTPSA id g18sm39322656pgm.9.2019.07.16.22.40.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 16 Jul 2019 22:40:03 -0700 (PDT) From: Nicholas Piggin To: David Gibson Date: Wed, 17 Jul 2019 15:39:48 +1000 Message-Id: <20190717053952.13729-1-npiggin@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::442 Subject: [Qemu-devel] [PATCH v5 0/4] spapr: implement dispatch and suspend calls X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Greg Kurz , Nicholas Piggin , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Since the last post I tried to account for feedback, fix style, add comments, fixed a bug or two in migration etc, more testing, and dropped the rtas ibm,suspend-me patch for now pending some reworking. Thanks, Nick Nicholas Piggin (4): spapr: Implement VPA dispatch counter and prod bit on tcg spapr: Implement H_PROD spapr: Implement H_CONFER spapr: Implement H_JOIN hw/ppc/spapr.c | 42 +++++++++ hw/ppc/spapr_cpu_core.c | 4 +- hw/ppc/spapr_hcall.c | 147 ++++++++++++++++++++++++++++++-- include/hw/ppc/spapr.h | 7 ++ include/hw/ppc/spapr_cpu_core.h | 1 + target/ppc/cpu.h | 2 + target/ppc/translate_init.inc.c | 25 ++++++ 7 files changed, 222 insertions(+), 6 deletions(-)