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 95A14CAC5B8 for ; Mon, 6 Oct 2025 13:13:20 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v5l1L-0007Ry-Mt; Mon, 06 Oct 2025 09:12:56 -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 1v5l1K-0007Rq-BD for qemu-arm@nongnu.org; Mon, 06 Oct 2025 09:12:54 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v5l1F-0002iz-7N for qemu-arm@nongnu.org; Mon, 06 Oct 2025 09:12:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1759756362; 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: in-reply-to:in-reply-to:references:references; bh=bZX5X7NZc+e0nNEzSVMGJer7k1nFPtWQz0KM+RWSTz4=; b=Jis8ZoA1xvJYtEaXLmKqlZtHDxK2Zkyud2HiQHKYeoUUj386etnz2K0RQgljyVdFpbUUWC w/CunDVKX7u20zfpvgr/4kRPSPeiKu36Mye1lPDSh1b0MMUZFIw8/SwLZf79qUuu5fb0oq nB9CtUCIBQ87BH8c0Xn/j+8ewq68QcY= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-219-x8Rkh5nxPDupobFIuKSfPg-1; Mon, 06 Oct 2025 09:12:40 -0400 X-MC-Unique: x8Rkh5nxPDupobFIuKSfPg-1 X-Mimecast-MFC-AGG-ID: x8Rkh5nxPDupobFIuKSfPg_1759756360 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-46e41c32209so23495545e9.0 for ; Mon, 06 Oct 2025 06:12:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759756359; x=1760361159; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bZX5X7NZc+e0nNEzSVMGJer7k1nFPtWQz0KM+RWSTz4=; b=wH85zvhfLaocw5yivDrKvfLOSAbAe8v32QahAky8q1awzTgXLZWtUwLYl0b7hAI2tA TSdcB574g6l+gMo72RKouDNyXb8QX6246NCq+a3ij3VQrQC7VOjSMIAkG+6FaXWNtElG c+hGN8lG4HWODmgk12+F6o0pWAC9Ye1Fw8z8+x1iSTtKEVG+1HO0dux/7OpY0A8y0f6Z BQZIGIXK5j7U6+V8g9MVrN4K7A5BWKwk2XMerxE4shR6IR7tJPF1GMlbPDTqDf1cPGTk 43Adb768oiwqtxlIgfBhFVdaS/bAsUEWCau0ry8jxeoCsRq4GPA6ahYMounFYJoAN6O9 kXww== X-Forwarded-Encrypted: i=1; AJvYcCWPT28i2UGUbRBcFFbdS/D4nQK59JlXezjMrzUcwOCKjUx0JtqCZJbYtAbonu4ZAYsG+kK7UbMY4g==@nongnu.org X-Gm-Message-State: AOJu0Yx2F2GTVf6lgIDjY7qujAYzwb+6YbkfCpg4HvQc34b2eYh0ZDRQ +A0hB//REilMkiGZksYtypw3ewLd7nFQAUBfdmpS4t/POHPfot6qeiy+5ACAf8RyOP9+Tl/z48Y /bsX3hL+VhsPmqd6bRrMhfzLzpe2/vsdt52nhPh8j583eE+xWcZRmfQ== X-Gm-Gg: ASbGnct1Mn6dAk2Dyuzpb0x9HZsREFJhccMYOkmJxqXqRnA5QYRyE2rySbyH6vHTylY hLtxdH2nOb63Jm6k64C8j5joAqsZgYj/MYhJIj4810xFaB9rDjcp1mAd4WDmi/qHYG1DsdwjolJ 7NPEWmg+dfxyK/TQFqALeW2MraF4mfYw1QhBNTSpFE4uDfchFEmMmbEDuXFfnfpd8GlEtWxSk00 WvP69g5l/AafYTAPm3tZ3YpPLuYRp7jRVCQcisK4G2ZAiVyoVK8gc4bQmUg9gfN89i8G8N2hRhO M4heOpxX4Z4UC7ErOb6dFI4a9tvC1qU8NxD2nls= X-Received: by 2002:a05:600d:13:b0:46e:41e6:28c7 with SMTP id 5b1f17b1804b1-46e714acf6amr68095615e9.8.1759756359397; Mon, 06 Oct 2025 06:12:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH2qtW3lG+TMWoe50L45Fy1tpw8PbsSTr5Yr+/xRjZfuwDK3WBPkcZEhGMwJ1550s57H0s02w== X-Received: by 2002:a05:600d:13:b0:46e:41e6:28c7 with SMTP id 5b1f17b1804b1-46e714acf6amr68095195e9.8.1759756358900; Mon, 06 Oct 2025 06:12:38 -0700 (PDT) Received: from redhat.com ([2a0d:6fc0:1518:6900:b69a:73e1:9698:9cd3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4255d8e9719sm21219952f8f.31.2025.10.06.06.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Oct 2025 06:12:38 -0700 (PDT) Date: Mon, 6 Oct 2025 09:12:34 -0400 From: "Michael S. Tsirkin" To: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Cc: qemu-devel@nongnu.org, Nicholas Piggin , Elena Ufimtseva , qemu-arm@nongnu.org, Jagannathan Raman , David Hildenbrand , Halil Pasic , Eric Farman , Thomas Huth , Matthew Rosato , Jason Herne , =?iso-8859-1?Q?C=E9dric?= Le Goater , 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: Re: [PATCH 06/25] hw: Remove unnecessary 'system/ram_addr.h' header Message-ID: <20251006091227-mutt-send-email-mst@kernel.org> References: <20251001082127.65741-1-philmd@linaro.org> <20251001082127.65741-7-philmd@linaro.org> MIME-Version: 1.0 In-Reply-To: <20251001082127.65741-7-philmd@linaro.org> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 088L9wNku9fP6o8_yOLESWf3Q4EmcQ4e9kFu9qj6GnU_1759756360 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.441, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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 On Wed, Oct 01, 2025 at 10:21:06AM +0200, Philippe Mathieu-Daudé wrote: > None of these files require definition exposed by "system/ram_addr.h", > remove its inclusion. > > Signed-off-by: Philippe Mathieu-Daudé Acked-by: Michael S. Tsirkin > --- > 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