From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B223CCAC5BB for ; Wed, 1 Oct 2025 08:27:59 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v3s72-0000wg-7P; Wed, 01 Oct 2025 04:23:02 -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 1v3s6Z-0000gy-06 for qemu-arm@nongnu.org; Wed, 01 Oct 2025 04:22:32 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1v3s69-0005ZP-93 for qemu-arm@nongnu.org; Wed, 01 Oct 2025 04:22:30 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-46e4473d7f6so33815715e9.1 for ; Wed, 01 Oct 2025 01:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1759306922; x=1759911722; darn=nongnu.org; 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=PmMYrzZ4D+COFB5SMLmnCIFwzyfRzy/9G7uraFCWXGE=; b=hD0OG2sLRpMn6mx4O5hk07YQXLxRruSjzSUFo/JK3mApKOVbLBfrss+aoCyDEcuSd6 GSzSXQ8IdW/x4If1pwFrAGFksnJ+WSFPBggy0qvDoITaeWC2YUX5i9iDkmWTPlyXLOKO ebJuV6kHEqzswsCm18ywBxCMxzPZyDEIM0Sk0ep8jz/RkYn33TA7209Le1cmofb+YLSs zb1YyxKb4bLLx/gYmVhi9AxzdyJj5vnq0NiFZbwSj/bzaDWUiEkNE+jqWo+cEc7EWNBx PB/zq7U3h0A4PlkHtrcIPWBx8bls0XnW/vn0lym/xcMwsU8xudSynaawCWkCmoyyZk3Y DDPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759306922; x=1759911722; 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=PmMYrzZ4D+COFB5SMLmnCIFwzyfRzy/9G7uraFCWXGE=; b=LGtV1uKnbXpNXA4jKqlX+gwdS+D6Kxrl9wym1miiPchkapeI2Mg/cNOcd+jh0iXcS8 W4aTYb2agZqaODQ7OpMaVEcUkmno+cP4e+xWr6O4WCfNCDqSK7RwI4tQGl85XUbVmmpa 2bQDI4moI2p+holkezTedIz7tz8n1FXRuDlg8LAywiWvRpMGxk9Aozvu6TWwjjT56sWO RKSLEcNjHhsJg2Bjrx4L+u2BgGqlt/OiSh3mK9ZB6loYO4OPpu/+gJzyBnbbVfPICTmb YGG5qAN3dkaFqDAabjWHUyGZ6I21XwFpeYi+zVwOWxp6cKG/WyM02NawgsAQLpdNUAYW GqUg== X-Forwarded-Encrypted: i=1; AJvYcCXrfAVRffeT6dcYdPwmYDbJcp6JYr1T0SbihmCMezz9ejKZ0tZrukBYXWq/5kW/1TjlAOzcHMFrpg==@nongnu.org X-Gm-Message-State: AOJu0YxjbPJ3Nq3Rm1qdrQTPPyfsQ7DYyLfYo+/AtQDaV2rv+1lOgCZN HjWtQ40IlATi+SAprPuKKi4LXXctYo+IFs+nVbQUbZ9v+bT3A3gN5KBZTG9wopVoUSs= X-Gm-Gg: ASbGnctN3IK+ufySQ3Md/7DcCvxvdnfcTKHY5KMEofT4xrurnrbzwkS0Aloyw0AsU8a q0Ho2O6+0qJMw0WjZI/QuNZh1yrYQmsEKBPuy9GMdaiMTmg0tY2Ybj9t9YC23OVv9BRvYFwPudZ yBrhYA6LgQ6aGI4BrvNg486dA00XLzw7K93hZ/EcSkwHsqWBXVW72N8fevW3do2sFXNNMIA0XQb Q7Z+GPndBcdeQun+PZU5hL1FwI/2y4egAT+JZH2pQoIOMbrwZSpUSPNXs2pERiQUPnhT4gnBgl0 nxNqCkdsQkjJeHzp1Lw1RyS669Isj2eMVDcD0tcIs24Pe+IO3j9Mrueb7+pyVmnta6siCQwWYMD hZoOCFLWYn6AjvHjdialPE9JNwtHaCZ/KY7CbtFcJAabphy8AMQo9Pqoa+p7ZFeXClW+Unqh3sf WFSNabPJxhEV/mJbmY510L X-Google-Smtp-Source: AGHT+IHO1xSfq3+2eBPBriOScyM58WZ+3hjUuJsBi94Lwh6mBwAPJdjI/1LMjxcK+JWGn/tb5utZZw== X-Received: by 2002:a05:600c:468e:b0:46e:36ba:9253 with SMTP id 5b1f17b1804b1-46e6127b93cmr20886795e9.15.1759306922129; Wed, 01 Oct 2025 01:22:02 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e619c3b75sm27136995e9.7.2025.10.01.01.22.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 01 Oct 2025 01:22:01 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Nicholas Piggin , Elena Ufimtseva , qemu-arm@nongnu.org, Jagannathan Raman , David Hildenbrand , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Halil Pasic , Eric Farman , Thomas Huth , Matthew Rosato , Jason Herne , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , kvm@vger.kernel.org, Christian Borntraeger , Ilya Leoshkevich , Peter Maydell , qemu-ppc@nongnu.org, Harsh Prateek Bora , Fabiano Rosas , Richard Henderson , Alex Williamson , Paolo Bonzini , qemu-s390x@nongnu.org, Peter Xu Subject: [PATCH 06/25] hw: Remove unnecessary 'system/ram_addr.h' header Date: Wed, 1 Oct 2025 10:21:06 +0200 Message-ID: <20251001082127.65741-7-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251001082127.65741-1-philmd@linaro.org> References: <20251001082127.65741-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org None of these files require definition exposed by "system/ram_addr.h", remove its inclusion. Signed-off-by: Philippe Mathieu-Daudé --- hw/ppc/spapr.c | 1 - hw/ppc/spapr_caps.c | 1 - hw/ppc/spapr_pci.c | 1 - hw/remote/memory.c | 1 - hw/remote/proxy-memory-listener.c | 1 - hw/s390x/s390-virtio-ccw.c | 1 - hw/vfio/spapr.c | 1 - hw/virtio/virtio-mem.c | 1 - 8 files changed, 8 deletions(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index eb22333404d..15d09ef9618 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -77,7 +77,6 @@ #include "hw/virtio/virtio-scsi.h" #include "hw/virtio/vhost-scsi-common.h" -#include "system/ram_addr.h" #include "system/confidential-guest-support.h" #include "hw/usb.h" #include "qemu/config-file.h" diff --git a/hw/ppc/spapr_caps.c b/hw/ppc/spapr_caps.c index f2f5722d8ad..0f94c192fd4 100644 --- a/hw/ppc/spapr_caps.c +++ b/hw/ppc/spapr_caps.c @@ -27,7 +27,6 @@ #include "qapi/error.h" #include "qapi/visitor.h" #include "system/hw_accel.h" -#include "system/ram_addr.h" #include "target/ppc/cpu.h" #include "target/ppc/mmu-hash64.h" #include "cpu-models.h" diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c index 1ac1185825e..f9095552e86 100644 --- a/hw/ppc/spapr_pci.c +++ b/hw/ppc/spapr_pci.c @@ -34,7 +34,6 @@ #include "hw/pci/pci_host.h" #include "hw/ppc/spapr.h" #include "hw/pci-host/spapr.h" -#include "system/ram_addr.h" #include #include "trace.h" #include "qemu/error-report.h" diff --git a/hw/remote/memory.c b/hw/remote/memory.c index 00193a552fa..8195aa5fb83 100644 --- a/hw/remote/memory.c +++ b/hw/remote/memory.c @@ -11,7 +11,6 @@ #include "qemu/osdep.h" #include "hw/remote/memory.h" -#include "system/ram_addr.h" #include "qapi/error.h" static void remote_sysmem_reset(void) diff --git a/hw/remote/proxy-memory-listener.c b/hw/remote/proxy-memory-listener.c index 30ac74961dd..e1a52d24f0b 100644 --- a/hw/remote/proxy-memory-listener.c +++ b/hw/remote/proxy-memory-listener.c @@ -12,7 +12,6 @@ #include "qemu/range.h" #include "system/memory.h" #include "exec/cpu-common.h" -#include "system/ram_addr.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "hw/remote/mpqemu-link.h" diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index d0c6e80cb05..ad2c48188a8 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -13,7 +13,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "system/ram_addr.h" #include "system/confidential-guest-support.h" #include "hw/boards.h" #include "hw/s390x/sclp.h" diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c index 8d9d68da4ec..0f23681a3f9 100644 --- a/hw/vfio/spapr.c +++ b/hw/vfio/spapr.c @@ -17,7 +17,6 @@ #include "hw/vfio/vfio-container-legacy.h" #include "hw/hw.h" -#include "system/ram_addr.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "trace.h" diff --git a/hw/virtio/virtio-mem.c b/hw/virtio/virtio-mem.c index 1de2d3de521..15ba6799f22 100644 --- a/hw/virtio/virtio-mem.c +++ b/hw/virtio/virtio-mem.c @@ -25,7 +25,6 @@ #include "hw/virtio/virtio-mem.h" #include "qapi/error.h" #include "qapi/visitor.h" -#include "system/ram_addr.h" #include "migration/misc.h" #include "hw/boards.h" #include "hw/qdev-properties.h" -- 2.51.0