From nobody Sat Oct 4 23:47:53 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1759170820; cv=none; d=zohomail.com; s=zohoarc; b=bXjh6LgDvEyJIC+dRFoaldDg1kGOHyf/XHSYN6ovj/kBBuzFmsNyhby/wqJMLKQzh8xDBz/sZ2ADb5lHeAGOinI1kEsBQLxWz72+QFiA+V+oubau9vV+wS77NZYU8dkWtjeXf6dfkLvJPixEukRovwnC/CU7qzUV+vytUIoGJYE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1759170820; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=VjyCCW7HHI1dG8y1m+qgvriOV7CMEgsHNpX6hQdnX2g=; b=VoD6xI40engiU+hEjlRExu9CwoQEUQtNZFK37ZKhtYa8DK55gXSE/2M22m75gn5srQT/4j8PRx98RzNZWWs19ZsTUI02oUYlBmHW6tgf/TaZkK/qF1ksZ9q0iSOcmKfdqxY7f3R0m0CTrv64PmqDOk+N1YFKJukPmF3H22Wuc7c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1759170820094500.16313833171114; Mon, 29 Sep 2025 11:33:40 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1133130.1471330 (Exim 4.92) (envelope-from ) id 1v3Igi-0002Sy-Lk; Mon, 29 Sep 2025 18:33:28 +0000 Received: by outflank-mailman (output) from mailman id 1133130.1471330; Mon, 29 Sep 2025 18:33:28 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1v3Igi-0002Sq-Hi; Mon, 29 Sep 2025 18:33:28 +0000 Received: by outflank-mailman (input) for mailman id 1133130; Mon, 29 Sep 2025 18:33:26 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1v3Igg-0001U2-F5 for xen-devel@lists.xenproject.org; Mon, 29 Sep 2025 18:33:26 +0000 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [2a00:1450:4864:20::331]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c8bb11f0-9d62-11f0-9d14-b5c5bf9af7f9; Mon, 29 Sep 2025 20:33:25 +0200 (CEST) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-46e3cdc1a6aso27634205e9.1 for ; Mon, 29 Sep 2025 11:33:25 -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-46e59ac769asm2811925e9.4.2025.09.29.11.33.22 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 29 Sep 2025 11:33:23 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c8bb11f0-9d62-11f0-9d14-b5c5bf9af7f9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1759170804; x=1759775604; darn=lists.xenproject.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=VjyCCW7HHI1dG8y1m+qgvriOV7CMEgsHNpX6hQdnX2g=; b=n2Lr4ocEkBUzchZUMThYeYkfUdbjxEdsy8/JhkIga8BAF0WvSOm1WN/3/E3K7RkAXL qm+88qfTxRMSCz1bOyfcfBf9+mZh2AW0yOxcWVA9o3AD3w62UNFUmcy8d6k3e+CVUQm6 KRSZCdIwidwvTZUw3wXDKTjcHadYbsERN90GC2x7dlKVn/WHUDYV0FWQEbimx4w6TD6w eDEbxpcRd2XOkPOwsxqgnLYoihyE64tXpIYg7zjnpf+X7xd2iiwf4BMbxzRul9ogglYX fCelFeKvbj2WiuqjsqUmQ6UCHXkX96L3T27nktQDbNm/7Pg10Bid3OTm7A8IVM+udb6c 5rzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759170804; x=1759775604; 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=VjyCCW7HHI1dG8y1m+qgvriOV7CMEgsHNpX6hQdnX2g=; b=RfCzbWt9lyeQMNvp5Aq2BbbAnE5EieG0Cmu/P6nRrfpui6nnz2w6H2Zo5MStk6YSSl nFA/lpIvv+yCPnwCvtnyR0sOYQbZLE3flCUH3taj4jiFxT4jysfHNRzfj+F0EjgeqVHT wPUZg9HwVuSkovc4PAv6xfHdxDs14Lh18kh6eNByHFk2Y9C+094KaIeBVp/lCZg4vQfv BpHkhhJ9XIYFJue82mhoHH202UbYOOWb08bxtWaGFVvcSacEgKTrkKx40HCEELzFMvY5 RjEC1w+R+eRdHkHzeKBT/5LaJoiV8ootTd9vfa0/gW5iNhuxwaxpLRlRPNiYb3378b7T dTXQ== X-Forwarded-Encrypted: i=1; AJvYcCVLBYaxtz22fRI+u/Xl9Xc2LmkXHYJze9zdRSTJpNqugwNK4gVPo3umCMFCddcf2TYyTYZYtT+54l8=@lists.xenproject.org X-Gm-Message-State: AOJu0YwcQw45Jw6wcGVGBw1rQIFFMBrs2JlhWTy7H0NTMltXRv8JiCUA MrNH4DiSlmNUQL6hSZkXreGp0c8PZt+FA+5a7myxidoadyIEFprCWHufhntYBKm8yO8= X-Gm-Gg: ASbGncu5gD6OfdH8lfQ9RZGiKoTCvEXlyQnT+KVfDQ77oJCdSCrn3fizNg3/9YgWRJn on1V7LHQyRq+rb7R9DCKAL8iv4lITcEMmuRy1XEFrbzdyidMBAkL4UL8sUFD9IAwzrIxPelvTga WFXdtITVOkHICOzihQNT6UYP2aonTeyQ8P4F1G3loPx5BG7nht9reS3zbjtpVExxv1y2t/hzaw1 swPXOkx8HerWiaWEd5kmiGKQ8BuK1oLI20sykNhsL4x1zR2d731T+Zo8XDf1SQ+37CO8E/Ha3Te IW/GacUBAd2dDQf0rTm9CTirYrVZtA6zPFQiT32ZlrULlawr5rU7OO7knWGtUQpiGYP+mwCVo1I aikEcgy8ghe0sl0wo5pXVvYtEAUdMPOLVXg6PqD07nRtTSALjCV/hnTKEt9kUCjHcgFS0JAc7 X-Google-Smtp-Source: AGHT+IHQ2XCQX3HS0p3adUQdcJQXlpyRbo0k/r6XrZhzUXT4d+zZkT16mDlxSIQ19wUJoBTgikwi5g== X-Received: by 2002:a05:600c:c10b:b0:46e:33ed:bca4 with SMTP id 5b1f17b1804b1-46e58cea408mr12664365e9.15.1759170804364; Mon, 29 Sep 2025 11:33:24 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Peter Maydell , qemu-devel@nongnu.org Cc: Stefano Stabellini , Richard Henderson , Stefano Garzarella , Reinoud Zandijk , David Hildenbrand , Paolo Bonzini , Ilya Leoshkevich , Sunil Muthuswamy , "Michael S. Tsirkin" , David Woodhouse , kvm@vger.kernel.org, Eric Farman , Zhao Liu , xen-devel@lists.xenproject.org, Paul Durrant , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Halil Pasic , Jason Herne , Marcelo Tosatti , Thomas Huth , Anthony PERARD , qemu-s390x@nongnu.org, "Edgar E. Iglesias" , Peter Xu , Matthew Rosato Subject: [PATCH 05/15] system/physmem: Remove cpu_physical_memory_is_io() Date: Mon, 29 Sep 2025 20:32:44 +0200 Message-ID: <20250929183254.85478-6-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250929183254.85478-1-philmd@linaro.org> References: <20250929183254.85478-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1759170821734116600 There are no more uses of the legacy cpu_physical_memory_is_io() method. Remove it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/exec/cpu-common.h | 2 -- system/physmem.c | 5 ----- 2 files changed, 7 deletions(-) diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index e413d8b3079..a73463a7038 100644 --- a/include/exec/cpu-common.h +++ b/include/exec/cpu-common.h @@ -149,8 +149,6 @@ void *cpu_physical_memory_map(hwaddr addr, void cpu_physical_memory_unmap(void *buffer, hwaddr len, bool is_write, hwaddr access_len); =20 -bool cpu_physical_memory_is_io(hwaddr phys_addr); - /* Coalesced MMIO regions are areas where write operations can be reordere= d. * This usually implies that write operations are side-effect free. This = allows * batching which can make a major impact on performance when using diff --git a/system/physmem.c b/system/physmem.c index 18b3d38dc0c..fd2331c8d01 100644 --- a/system/physmem.c +++ b/system/physmem.c @@ -3763,11 +3763,6 @@ int cpu_memory_rw_debug(CPUState *cpu, vaddr addr, return 0; } =20 -bool cpu_physical_memory_is_io(hwaddr phys_addr) -{ - return address_space_memory_is_io(&address_space_memory, phys_addr, 1); -} - int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque) { RAMBlock *block; --=20 2.51.0