From patchwork Tue Jun 27 11:51:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 13294386 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADD21EB64DC for ; Tue, 27 Jun 2023 11:51:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230473AbjF0Lve (ORCPT ); Tue, 27 Jun 2023 07:51:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbjF0Lvc (ORCPT ); Tue, 27 Jun 2023 07:51:32 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A46510D for ; Tue, 27 Jun 2023 04:51:29 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-51bece5d935so5815035a12.1 for ; Tue, 27 Jun 2023 04:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687866688; x=1690458688; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qPtl76CipHVizf8iARQn4UaHNN6Q85+7HKGDlYZi6lk=; b=IHXdv9VH6AeXO0m39eVCHQOX+VJnJPytveSYJdymBKX+NaBmcva/dMtq9RXkcD9J1q Vjc29PPtva3lGclZMGpXay+GlQhObuQH9NeWFz4wIh3Mh2swBwuI4R5smZmO7jJ8VxHv a/rqCsobN6UKbX8EehPtOrH4u/MwhaxKLyJFHAigdJCAMJ1mZxPhnKk9tKCNpyy/Uz4e HnNTksYKRATrsN9Yo3vvOLRG4+aoIBlnI7cqslpx52YlAOrZOZ/DuiryRnhmnU14ewnj pbLiYbuV2J9O7Lqxhy3+ZEONYwQU65Drt0OupnBvKPKecGXSTDLxbipim3FIw17YCJ3e 4tZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687866688; x=1690458688; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qPtl76CipHVizf8iARQn4UaHNN6Q85+7HKGDlYZi6lk=; b=VWZCf+1b7xQFMp+dc7jsOaehAr6/xjiy06+ll841VkO0JWpV6W8r3+1qXNoKxTA9dC oOSIVlNI3eGj7dqbTxkJVrO/Fd9WuqiqsZKjOtMIX76fJdaVQe3G5sjpE4C6pXf6jCt/ ShGI4pMD0POaIdcjOFFj/deLrwXlxxLPkYZ9/mHg5gmwwnLWrD2hiZFsjV3L2eOkHINP oRShAP0GLZRNKztZfEeI9/ZGdTRDbSX57K8hCaOkhvqCrTL7S8NM0pFcHnb+yYelseQB P/E5KGhmZd2R4y+Q92vMtyuLZ33HjTcyLf7CG9LvubCENlcaLG3AViOLBvJ66XFUz0Q6 r2bA== X-Gm-Message-State: AC+VfDzy9DVqVuUs4/Vqv2ooKxpK7yv+ZI7SU6XosQRab/OwZeBWjo5i DJQspqZ83wXnj/D5oDdIQqi4OQ== X-Google-Smtp-Source: ACHHUZ4bhSYl2ChCkrhZi7oo7PTKNdL5gy6/V5UrWzFh8sqg1GlhRG4M0JvVQV64c45Y6wiDFouwKw== X-Received: by 2002:a50:ed06:0:b0:51d:902a:63c3 with SMTP id j6-20020a50ed06000000b0051d902a63c3mr6298243eds.34.1687866687711; Tue, 27 Jun 2023 04:51:27 -0700 (PDT) Received: from m1x-phil.lan ([176.187.199.204]) by smtp.gmail.com with ESMTPSA id z24-20020aa7cf98000000b0051bfcd3c4desm3676022edx.19.2023.06.27.04.51.26 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 27 Jun 2023 04:51:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Gibson , Daniel Henrique Barboza , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , qemu-ppc@nongnu.org, Paolo Bonzini , Greg Kurz , kvm@vger.kernel.org, Nicholas Piggin , =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 0/6] target/ppc: Few cleanups in kvm_ppc.h Date: Tue, 27 Jun 2023 13:51:18 +0200 Message-Id: <20230627115124.19632-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org PPC specific changes of a bigger KVM cleanup, remove "kvm_ppc.h" from user emulation. Mostly trivial IMO. Philippe Mathieu-Daudé (6): target/ppc: Have 'kvm_ppc.h' include 'sysemu/kvm.h' target/ppc: Reorder #ifdef'ry in kvm_ppc.h target/ppc: Move CPU QOM definitions to cpu-qom.h target/ppc: Define TYPE_HOST_POWERPC_CPU in cpu-qom.h target/ppc: Restrict 'kvm_ppc.h' to sysemu in cpu_init.c target/ppc: Remove pointless checks of CONFIG_USER_ONLY in 'kvm_ppc.h' target/ppc/cpu-qom.h | 7 +++++ target/ppc/cpu.h | 6 ---- target/ppc/kvm_ppc.h | 70 ++++++++++++++++++------------------------- target/ppc/cpu_init.c | 2 +- 4 files changed, 37 insertions(+), 48 deletions(-)