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: 696834 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp3724630wrm; Tue, 27 Jun 2023 04:52:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ40xz0fXhBFxmTuS1VdJwcgKoO9hmj7VQ0lq+07Vsrap88/Wo4kSRVtj0G+lFwIGuOrJZpE X-Received: by 2002:a05:620a:4552:b0:765:a84f:7860 with SMTP id u18-20020a05620a455200b00765a84f7860mr5920982qkp.34.1687866773406; Tue, 27 Jun 2023 04:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687866773; cv=none; d=google.com; s=arc-20160816; b=VJqF8e/rTJvG6qEvGxFLhcNg3g1Wn6kTugCyrePKWa1Pfzdr+1TnA54hqo3SM1at1I hYMVzGOg6dE4mZThSRCVY46a7zd4DQ9mv79F4ShHB0iWuiZ8xrx+z8gbNu79X4StPC01 5sNoufl/+nuhN9IoL/EAkgHsFXNXiH6GVMe4iVqdEyCFHMkFhV9kjCU4W6YsBzZCDvTg tk0DnlEtmWSERc3jTqM6iaL5ekHFM6E1Q5vX0SsDWmFMvaUexr983u38S+Rz14vXsOpe APIinMfNyrJWqGMcgsRizto1vamQwlXG+AlEaxNBMSmzcLfqTe7MuHN7koCXTmpv/dzg 0oZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=qPtl76CipHVizf8iARQn4UaHNN6Q85+7HKGDlYZi6lk=; fh=HTfWIrJzOLTRsca7VdqVkZSV2mA14Yhlo/G1nQOSMq0=; b=fdrT+X9zbiG1blKNq2bbdJUJyboBpm7ZL5Jn32Y6shemTISnIXBO0D1A6Fn77Oj1hh cd4wZ7aC1wTM/pHcQGKVd4z5r/vpwSVwJR1LKpqzN/d61GhORdmLmJUZNZUuu4mcqM6s g3DVSwke6fzwPKsEA4Ha6P4zIvp16UmBXxp7BgT3EahhS3QNA5b6BUXYVRILly/jQi1o rWmnc4qP8GRCbbw8pLywLHKGfaXpN+sVHo6TBCgzr38kp1n6coXJOK+Et26N1YyDpP2k ZEey3WaZSUkINJtWcExq+ShLp5vlTw+YRsHHLWxlrnMsCFpeanblZ+Igkt4hsIrJYsd9 DApg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IHXdv9VH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id rl8-20020a05620a904800b0075bbc2ff3e2si2930598qkn.571.2023.06.27.04.52.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Jun 2023 04:52:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IHXdv9VH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qE7EL-0001hH-TP; Tue, 27 Jun 2023 07:51:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qE7EK-0001gk-M2 for qemu-devel@nongnu.org; Tue, 27 Jun 2023 07:51:32 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qE7EH-0004hS-JF for qemu-devel@nongnu.org; Tue, 27 Jun 2023 07:51:32 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-510d6b939bfso5830034a12.0 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=VnNmlEMN/5wQxSZe9hOkW5PcnqvfNfUQcTc587RoGOe7m2kSmCKDleJEes3c1OW1sR rS8P6q8QdhOfYxGEcCQkzV/xCa8UpXKezSft4eAxjWkCsN1oRRAt5D166619efs9KijF UZZvonILa6+SbVYsfVA+NIdKUY5OKa7xk9eF+w7kLnUu84Grw+dhdL+/BtxV6ACB2VNO Pu0YOR26xKK2kw2nvYHVOXFNrHPeq+CsozaXez3FhmgZgjAEy7mPFQ8BJBfZFXNKWMNj Jr1+cAIXfew7v/oghYkGqwXkJABHLliE32yRIZDX5w+CZ4OyWy0yDiesYs2z5IKhE2Bv V7uQ== X-Gm-Message-State: AC+VfDxe8bUzRxZWdy529f5DbcVGXRurjpLgNGf4bc6+9qQ80ROzvsNB yhaFIcfuTtudInFl/sOTWB6DUnG1ztTqre5cxrg= 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 Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=philmd@linaro.org; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.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(-)