From patchwork Fri Jul 7 11:31:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 700023 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp3820287wrs; Fri, 7 Jul 2023 04:35:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlFQijNHLJapQLP57t4qa6Je1tNwVpn74KdT3jKQklC4tfgokngjJhFj7rRCWJITpvMjhF9H X-Received: by 2002:a0d:d555:0:b0:57a:6ce:aff3 with SMTP id x82-20020a0dd555000000b0057a06ceaff3mr5863747ywd.47.1688729742110; Fri, 07 Jul 2023 04:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688729742; cv=none; d=google.com; s=arc-20160816; b=tiuEPsPbGlOQo95IbirUWTxbzgXVmhpDVzk02bltQiCrKCQHt8dtl+wa036b+fpT3Q Jkl3G31xc29PZZkkGFpsaO23tTJ3MlN7mmilCCSRKqMO75fv/sb+urb878clROcVZeZN mC06p6IKr4g5Rsdk0ZJ4Um6CVK8BpcatfUU+XlZ/lNO9ku4kgum5JAKM+FtO3p8nmkSh Ic6vVJjbczVohplnKY6p0zT4GNEYyhIaypZw9AWYdRXuDPd8flemZHG39E/cKNJ/cPoV Zspu4p0J+E4M61tjZ0UNNUnDUScswCHE/iAZtkMKl+JdoPoTwEKd6O3P9gA8IN0FuOAw guVA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kCkdRPqEQAxVr0sy/Rwt/MUSqIIx/LRBpxLUD+vaQdM=; fh=orPKfBnBb1BT0TNwwWZflb/ySS4/REUg/E7LW8jo6rg=; b=XXkLWXGlEfh2v+oF5cVwqZ+Vhr5ca2TveuiQy6QhZNAxnJYlK1FeZSgv67NChAW1w4 Xp7LWVecT7iqni7jepriLkm0dwRuG/IvemzjpSLPQEOHgSRj8CmmHZqWGtmVcZwp9qQ9 IlVsVwggvjWICjeQGsdv9WaJhIfdP6UCC7l5OFwbCJbcDGrqgcLKM1SnWKYdoWLlOZQG Th1MRekfP8RdIZBOue0E2Oo+yohclCfusV5//tWNXYuNuGXagIIiH9mk58cqZLFCKrx/ Ic5/KUgqP8tHLTonoyAOC9/EJZL8BHrJlqlbKrRjGKwfMVhXBrrT6elzP7mb4C3nm5Tk EPJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rkj2TyiF; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a10-20020ac85b8a000000b003f7d719855esi2417425qta.281.2023.07.07.04.35.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jul 2023 04:35:42 -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=@gmail.com header.s=20221208 header.b=rkj2TyiF; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHjih-0007gZ-Rm; Fri, 07 Jul 2023 07:33:51 -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 1qHjif-0007SU-Ij; Fri, 07 Jul 2023 07:33:49 -0400 Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHjid-000755-W9; Fri, 07 Jul 2023 07:33:49 -0400 Received: by mail-ot1-x32c.google.com with SMTP id 46e09a7af769-6b5d7e60015so1679805a34.0; Fri, 07 Jul 2023 04:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688729626; x=1691321626; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kCkdRPqEQAxVr0sy/Rwt/MUSqIIx/LRBpxLUD+vaQdM=; b=rkj2TyiFNZO/2Vv1H5XdTPzGg5/XhIplcXjArMCj8u2AANTwmcFMN3t/wDewfAT3Gn 5nvn45d5wbv+cdidVYY8uGISzFZZ4A/rvyLDGjDbjvBAmphNsBvEXzKglerKYL0ekdHT 7L6/vHFoGHJs8/8xZ/EXqZ2ufT70iVoy2bd0lzXLL4BI5K2G2p18ZiDWGqyua2SL+0n9 tNEvC0nVs2aILq0pvad3pLt9kx2py8ujkx9DcV0uI5lQDgB5vb7rl+r4rm2a5oU7ZTkS 6C1ext0Vh5ceUzzo7C88L+vk1y643zh4qbxKtbfbtrn4ZmpXbrpmVbeasGUqtBdZ+2al ZVug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688729626; x=1691321626; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kCkdRPqEQAxVr0sy/Rwt/MUSqIIx/LRBpxLUD+vaQdM=; b=THMQQH8fenBMe/kAUfm94LaZfOWGt2z8ll3SoybnJLXxUg6os/WIHK0Be4LXWX/n1N 8J+DpLEm7mXL7XUnQHDXuhuQFWMAh7HCZm7FLplDYcHgZD7Z94CdJDoxbKD/87Lg21EY KiIW26hpUWnRzallhvcoJRBfl+pk1Sieb4/uKJfgQ8lFpvmIdEROYF3NOZh4gEdDQMJU QeLr1W6uLD+VRpDSVs+/4tGkuWQRBjaPXglIeWdeujyacTJGG6aMFUQJlHjc1UHybihv MVMRny0dWr1rtWBq9G8q5rYOBHPjuuSKzhhrKwUFt+n6dW8mXYpkTj+5NYmJAYHUZ2Pt SMTw== X-Gm-Message-State: ABy/qLbiTh+OBtqR2xjvyF6i8o0I1zYd6fY9nxI6xKCGPSmieEvAryF8 pjHm0Qhl1N3Gxa/XoAN8JR3J3/HPA8c= X-Received: by 2002:a9d:7515:0:b0:6b8:6b70:4848 with SMTP id r21-20020a9d7515000000b006b86b704848mr5810116otk.29.1688729625958; Fri, 07 Jul 2023 04:33:45 -0700 (PDT) Received: from grind.. ([2804:14c:f435:9162::1002]) by smtp.gmail.com with ESMTPSA id g17-20020a9d6c51000000b006b74b37f5e5sm1574859otq.20.2023.07.07.04.33.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 04:33:45 -0700 (PDT) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, danielhb413@gmail.com, peter.maydell@linaro.org, richard.henderson@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?C?= =?utf-8?q?=C3=A9dric_Le_Goater?= , Greg Kurz Subject: [PULL 57/60] target/ppc: Restrict 'kvm_ppc.h' to sysemu in cpu_init.c Date: Fri, 7 Jul 2023 08:31:05 -0300 Message-ID: <20230707113108.7145-58-danielhb413@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230707113108.7145-1-danielhb413@gmail.com> References: <20230707113108.7145-1-danielhb413@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::32c; envelope-from=danielhb413@gmail.com; helo=mail-ot1-x32c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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 From: Philippe Mathieu-Daudé User emulation shouldn't need any of the KVM prototypes declared in "kvm_ppc.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Cédric Le Goater Reviewed-by: Greg Kurz Message-ID: <20230627115124.19632-6-philmd@linaro.org> Signed-off-by: Daniel Henrique Barboza --- target/ppc/cpu_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index 6ac1765a8d..02b7aad9b0 100644 --- a/target/ppc/cpu_init.c +++ b/target/ppc/cpu_init.c @@ -21,7 +21,6 @@ #include "qemu/osdep.h" #include "disas/dis-asm.h" #include "gdbstub/helpers.h" -#include "kvm_ppc.h" #include "sysemu/cpus.h" #include "sysemu/hw_accel.h" #include "sysemu/tcg.h" @@ -49,6 +48,7 @@ #ifndef CONFIG_USER_ONLY #include "hw/boards.h" #include "hw/intc/intc.h" +#include "kvm_ppc.h" #endif /* #define PPC_DEBUG_SPR */