From nobody Wed May 8 14:56:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1633540086; cv=none; d=zohomail.com; s=zohoarc; b=mk5qHU0NPiRZs6/p0uuR9GDhOnn8xwMhN1a278X82Kx8KwQP29eRqfkMHXRIjWocHCRCiLEdyEBDe1WisoNbBxMuY+Ddr6UjTQdlLKVmOlJkTZQ6I1/PkoURTUWFd65THfIQDeFBP4anUtrMRjJTfNU+QREwFpyfwnk6bO3RJiw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1633540086; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=CFbVGe9eX9tRB5LbQy+xdlj6wpfh1SEhjkhLlewRII0=; b=LeHgIAXMCq92rfpp244pkyZZse0Of003cj10OUZTWQHjwDOBqU3UF+MZyUNW9XVb74NHctBM0aZ0860B7NQHetAlGEF5hOYinqlX//O7porst/+Q3yRF9xJ/o3oxtbrjeV34ArAdDJ70OePCV1EFdgpAigs8otghZvAeHp+d01I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1633540086504397.65695837766066; Wed, 6 Oct 2021 10:08:06 -0700 (PDT) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-292-3w0jBNwpM2SKStI1gWN2TQ-1; Wed, 06 Oct 2021 13:08:04 -0400 Received: by mail-wr1-f70.google.com with SMTP id r16-20020adfbb10000000b00160958ed8acso2586426wrg.16 for ; Wed, 06 Oct 2021 10:08:03 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id o12sm7164868wms.15.2021.10.06.10.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 10:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633540085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CFbVGe9eX9tRB5LbQy+xdlj6wpfh1SEhjkhLlewRII0=; b=fEvfYTALh5TS+njUs8enMA7wcNnTPePFFCK3UFRzPN55dRv7HZx5YRF87enpnxQPctJXU0 dPE8GSYPTqZQZDF8+amp4y/tFNc9MC6EeQSuY4eeQiRHQIn+TlZMtjQvKLQVO7/MoqZ/Bn gYULcWw0v5CJkSe3vNAPhDkqVJ60Hsk= X-MC-Unique: 3w0jBNwpM2SKStI1gWN2TQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CFbVGe9eX9tRB5LbQy+xdlj6wpfh1SEhjkhLlewRII0=; b=lKgzsrvm7WJ9LDjjOfK0+pP9Ta+mTi8gmRvZyRkCRikDrbfZ5wxp5kqCrDjF9QtFWL I79HIO/g1SPWoFgGsXFoQlpE+g+rhjHpPgN85Vg8THlBqauG2Vnm9lmSVIBa4uQVhmJ5 V2qzzb3hJml72QKSszh3J/2VAaR1YCClWDK9g7Devq8tO2XoUB9dFWZqKX+TW1cbS4eS YFSwd84eFXMgKRDUQ/zOFUql0oR+6ZaFOKzvMx7Pcv6uBgxlcKBL0onWh2WuKqyRQFL4 pF/eybAr2jldTSd9wQi5aOwoofweNsapbQKm5tV7/zf/Jb4TkCoFLguHCgKHzDbVxqLJ U7rQ== X-Gm-Message-State: AOAM530g2TWw8HrbPDu3ue9fz75dB8rIDENUihm525YjU3tU16cb8o5X 3IJLL2gOXlF30+5wi9grE5SATN+6FzVzY0CVy6+KWGTOchhgg55r5JAYjjbX/2XCttEMhD3N2Vy es15aGHMWysjTkQ== X-Received: by 2002:adf:ab43:: with SMTP id r3mr13264107wrc.225.1633540082968; Wed, 06 Oct 2021 10:08:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8Q10+JOVNjEOOYI+G6nmefa/nbweUHz65hVSQwcQSjJRnaLN2zwSSIYFWBRyUF2qzXpW2Zg== X-Received: by 2002:adf:ab43:: with SMTP id r3mr13264096wrc.225.1633540082843; Wed, 06 Oct 2021 10:08:02 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Lucas Mateus Castro , David Gibson , Greg Kurz , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/ppc/spapr_softmmu: Reduce include list Date: Wed, 6 Oct 2021 19:08:01 +0200 Message-Id: <20211006170801.178023-1-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1633540088167100001 Commit 962104f0448 ("hw/ppc: moved hcalls that depend on softmmu") introduced a lot of unnecessary #include directives. Remove them. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/ppc/spapr_softmmu.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hw/ppc/spapr_softmmu.c b/hw/ppc/spapr_softmmu.c index 6c6b86dd3c6..f8924270eff 100644 --- a/hw/ppc/spapr_softmmu.c +++ b/hw/ppc/spapr_softmmu.c @@ -1,25 +1,10 @@ #include "qemu/osdep.h" #include "qemu/cutils.h" -#include "qapi/error.h" -#include "sysemu/hw_accel.h" -#include "sysemu/runstate.h" -#include "qemu/log.h" -#include "qemu/main-loop.h" -#include "qemu/module.h" -#include "qemu/error-report.h" #include "cpu.h" -#include "exec/exec-all.h" #include "helper_regs.h" #include "hw/ppc/spapr.h" -#include "hw/ppc/spapr_cpu_core.h" #include "mmu-hash64.h" -#include "cpu-models.h" -#include "trace.h" -#include "kvm_ppc.h" -#include "hw/ppc/fdt.h" -#include "hw/ppc/spapr_ovec.h" #include "mmu-book3s-v3.h" -#include "hw/mem/memory-device.h" =20 static inline bool valid_ptex(PowerPCCPU *cpu, target_ulong ptex) { --=20 2.31.1