From nobody Thu Dec 18 00:16:00 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1671544702; cv=none; d=zohomail.com; s=zohoarc; b=Mi/aEUG78MxIw+1zLhPPFWpHRK9UUrV4TWVw/dXtXkzrg6ZWf6p36J8VPEJw5yk5D498AR99WTzbV3FXo8NzXhUX2fHuJhbhz3Jj2aYnaDclqXUgMUnLtudgrDOkFHBVWnjyoFLAiBVg5om3vX925SqsLQnQCfqrXK6ThdDqrIY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671544702; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Y26umyxYZIQKbffD6hLBebjrxc3lj3DIY2bESqX+yW8=; b=FHNJ5ZNt5o+zL4176NOOTdFM4sqnE1uHLDGqHJr9IQPML93T++XlWZRSY0YS6IB4PZw2gh+5N2pfCjtt6tTRmvBASuvbITh1htSRAxgmgzgjpZksn/oHnECWtAudPz199dQ4nyJYKr8gUZ/sAOwJ4ae5OaNJLGVEIPryXqITQSI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671544702092738.4126666547687; Tue, 20 Dec 2022 05:58:22 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7d3Y-0004GS-Ps; Tue, 20 Dec 2022 08:53:20 -0500 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 1p7d3V-0004D3-Rn; Tue, 20 Dec 2022 08:53:18 -0500 Received: from mail-oa1-x30.google.com ([2001:4860:4864:20::30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7d3T-00012L-D9; Tue, 20 Dec 2022 08:53:16 -0500 Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-1442977d77dso15419977fac.6; Tue, 20 Dec 2022 05:53:14 -0800 (PST) Received: from fedora.dc1.ventanamicro.com (201-43-103-101.dsl.telesp.net.br. [201.43.103.101]) by smtp.gmail.com with ESMTPSA id f14-20020a056870898e00b0014474019e50sm5994933oaq.24.2022.12.20.05.53.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 05:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=Y26umyxYZIQKbffD6hLBebjrxc3lj3DIY2bESqX+yW8=; b=N4X8/K/Bm9TSecU9vhuD2VVfE6LVb6VMRvVOWijsSRe8Z/N2hzMwTUI6GRAUdXv68G oq7333ThQd9FExBoH7r6rRLdYbx+gHkth9A2eqVwUeajiPCipj/WmgPpTWp7buVP5x05 34qaMlTzExlBIDXp9g1TaeR4iEKAwYlOcOdRmsAUmjIZFeNDrOsISx09xbaIR26g1p5V 5pMcWWfz5l0yeWBUmUvPSvOh7mioalzBzIo85wx71T9GCPdeah1i6Bspov6nopYTXRyQ 1Na+X+vSgWuZ+5AvCIDp/joUFOZfX0/aiqWw+q2kaLT77M8Tt8ejGB3ER7PnuucVj3Vd 9gIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Y26umyxYZIQKbffD6hLBebjrxc3lj3DIY2bESqX+yW8=; b=oowBvXCv4nQX5we2ogpsp6zIf5mBZhKxHrhIis9GS2q0phtJKUZT7AUkqWa0ZeCC6/ rVAZ2H0KtkKXsiJnGzm2hDwKKnEpCDX17P3R4LUkyDLr2MZZ1RG9Hb9W6Ehnj1TUIMah AguQO843P5kmmjPAorqLnSqGj2wvQK5hfyh7mipMM7XWZqPKPaNZoog21W0tf9Ac8QoC vJny20Gi1k01HiZqi19uA4XRncYodXWIllENvEekx1yZZmd/eW3oO5TYb0Pv6LjUEnS/ ItUJLxBZyQVv5ARgGuBtzx+fVJwC5cHCxxxBEfIr7aBXEO1usA612wHeP0uc2fTOP1hr bUZQ== X-Gm-Message-State: ANoB5pkT3rcFBHgOiqMvLGqMOqXRGx+Uej98eJqTY31mdlpcjUZuiAYP Pv6EcJvZ04eIiaf0AbolCGr4FMErCJQ= X-Google-Smtp-Source: AA0mqf737xJGwsBuDZfYzMGlTCByYFtx9aQMjU/8l1ht6pBGBfrDwLdFd49vxEd/QRSrPd1I1f84Hw== X-Received: by 2002:a05:6870:a40a:b0:143:aebb:57d8 with SMTP id m10-20020a056870a40a00b00143aebb57d8mr23728428oal.49.1671544392212; Tue, 20 Dec 2022 05:53:12 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, danielhb413@gmail.com, peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 05/15] target/ppc/kvm: Add missing "cpu.h" and "exec/hwaddr.h" Date: Tue, 20 Dec 2022 10:52:41 -0300 Message-Id: <20221220135251.155176-6-danielhb413@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220135251.155176-1-danielhb413@gmail.com> References: <20221220135251.155176-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2001:4860:4864:20::30; envelope-from=danielhb413@gmail.com; helo=mail-oa1-x30.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1671544703234100001 From: Philippe Mathieu-Daud=C3=A9 kvm_ppc.h is missing various declarations from "cpu.h": target/ppc/kvm_ppc.h:128:40: error: unknown type name 'CPUPPCState'; did = you mean 'CPUState'? static inline int kvmppc_get_hypercall(CPUPPCState *env, ^~~~~~~~~~~ CPUState include/qemu/typedefs.h:45:25: note: 'CPUState' declared here typedef struct CPUState CPUState; ^ target/ppc/kvm_ppc.h:134:40: error: unknown type name 'PowerPCCPU' static inline int kvmppc_set_interrupt(PowerPCCPU *cpu, int irq, int leve= l) ^ target/ppc/kvm_ppc.h:285:38: error: unknown type name 'hwaddr' hwaddr ptex, int n) ^ target/ppc/kvm_ppc.h:220:15: error: unknown type name 'target_ulong' static inline target_ulong kvmppc_configure_v3_mmu(PowerPCCPU *cpu, ^ target/ppc/kvm_ppc.h:286:38: error: unknown type name 'ppc_hash_pte64_t' static inline void kvmppc_read_hptes(ppc_hash_pte64_t *hptes, ^ Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Daniel Henrique Barboza Message-Id: <20221213123550.39302-2-philmd@linaro.org> Signed-off-by: Daniel Henrique Barboza --- target/ppc/kvm_ppc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/ppc/kvm_ppc.h b/target/ppc/kvm_ppc.h index ee9325bf9a..5fd9753953 100644 --- a/target/ppc/kvm_ppc.h +++ b/target/ppc/kvm_ppc.h @@ -9,6 +9,9 @@ #ifndef KVM_PPC_H #define KVM_PPC_H =20 +#include "exec/hwaddr.h" +#include "cpu.h" + #define TYPE_HOST_POWERPC_CPU POWERPC_CPU_TYPE_NAME("host") =20 #ifdef CONFIG_KVM --=20 2.38.1