From nobody Fri Dec 19 14:32:21 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1567525661; cv=none; d=zoho.com; s=zohoarc; b=cKjoykoH6oR/ZJpa/CMcbZQowybFbID786DgvPTfImaeW6i5Cq8iJYgcRekAoo0doKYUbKrvm0KtGCb2DoGdgw8IEZc5E4ZZK6FF2g91yua2MrWuBStsdqFxEjPfXUl0txcOjjfjUltVuT1kp1VF5RoW9aO7lkaHWXphv4Bna64= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567525661; h=Content-Type:Content-Transfer-Encoding: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:ARC-Authentication-Results; bh=NH3h4g6hlFhS6RKG3sIpGzTOMf5SCVInEe1V7vBG3qg=; b=cqF1AcO1Klr3xosjF1aH4O/3DP20mDti/+jY0lqPZm6T77vl1aNHA+NqEQ9i3YKTW9168d41agkXD5nxuMyL1EF4fjik4MNiicz+WXiEoA3/QyT6lPr09+A9EB8Uwn7k7G9pZG9DDGUPYImUkRcdl6p7xFB7oZTtdpYZtKA7AhI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1567525661289475.6009127779471; Tue, 3 Sep 2019 08:47:41 -0700 (PDT) Received: from localhost ([::1]:47788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5B1q-0003c2-Co for importer@patchew.org; Tue, 03 Sep 2019 11:47:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59194) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5ArO-0002mQ-KR for qemu-devel@nongnu.org; Tue, 03 Sep 2019 11:36:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5ArN-0005vE-9x for qemu-devel@nongnu.org; Tue, 03 Sep 2019 11:36:46 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35654) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i5ArN-0005uc-3i for qemu-devel@nongnu.org; Tue, 03 Sep 2019 11:36:45 -0400 Received: by mail-wr1-x435.google.com with SMTP id g7so18034427wrx.2 for ; Tue, 03 Sep 2019 08:36:45 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id a18sm24435188wrt.18.2019.09.03.08.36.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 08:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=NH3h4g6hlFhS6RKG3sIpGzTOMf5SCVInEe1V7vBG3qg=; b=jtOX8o8auFMGzcrCxB3sDZjE0P/pUUOUS1eLpjgznJPW5k+JqxaO6x2RwfJ/E9XU72 FL8x8XUij3JXYpngGMtEFf5D8XXrW95TgEyT56ekRn84SHWAb38/s1E1CblICNayx/s9 ma95EjmuUy8NTc72TpJT/mtfkhWOPdRRcAEHqADf8ZrvuHSfcK8QxIGwKXR5R+/sO+wI xDAiF62eokHL/Y8zFvDY0LcXgcfVY4C38l+k875wHUrJGyhAi/dHYTXAj8GDwABntoL1 MTrFSEQzkgynUAbRfNC9YsOG/YsH2RnjEi4XnSCBo/bqqo9E1LMsP6m53NC0RGrH/cY/ CEeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NH3h4g6hlFhS6RKG3sIpGzTOMf5SCVInEe1V7vBG3qg=; b=C1dwUBkhTPeC6nmE84kgwL9om0X2r59McqkDj0WObhTKPV9ipDVK0AVdb6CicBs7ps SqevrnOUqyDKlZ95cRmwfncxs4Nh4qRi4UkXEw3q++4aXGz8MsHcLMloSoUj2Jsp686f xWip/CVM5ZHNZyvIkS8ixUA3sztqWwC9D7fA+j+7wFPVYk1fu7ipOtRRdXY/lO6YS/pm b2t1mmoqFKAcVSUvt69/wTn31KSnAJv7p9aFpQKtyIkc2NpaXOUj0iZ0YKrx9lY38Mrb BblRSHMOxnpvCqnJg6NP7P9WZA5x411XD77vmH4y2M3vSnYCs6dIp8f+w6xoySWhDE5q agGQ== X-Gm-Message-State: APjAAAUipdff4vSWdZWfqZMnBRgmM/dG/nyUwEO2nBOf3x1hxZag5Mb/ jaf9v46MU+rqs2hhZCtLBKlkZPQs+XOd4A== X-Google-Smtp-Source: APXvYqwCMgmyCLGLfOq74oSrV6xyF0mt1fKoM5Es+YOSXm8R+uQv2qRzjaeagkArVyZV0zmgj6l2HA== X-Received: by 2002:adf:e74c:: with SMTP id c12mr7481836wrn.173.1567525003715; Tue, 03 Sep 2019 08:36:43 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 3 Sep 2019 16:36:18 +0100 Message-Id: <20190903153633.6651-7-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190903153633.6651-1-peter.maydell@linaro.org> References: <20190903153633.6651-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 Subject: [Qemu-devel] [PULL 06/21] memory: Remove unused memory_region_iommu_replay_all() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Eric Auger memory_region_iommu_replay_all is not used. Remove it. Signed-off-by: Eric Auger Reported-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Peter Xu Message-id: 20190822172350.12008-2-eric.auger@redhat.com Signed-off-by: Peter Maydell --- include/exec/memory.h | 10 ---------- memory.c | 9 --------- 2 files changed, 19 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index fddc2ff48a7..ecca388e69d 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -1086,16 +1086,6 @@ void memory_region_register_iommu_notifier(MemoryReg= ion *mr, */ void memory_region_iommu_replay(IOMMUMemoryRegion *iommu_mr, IOMMUNotifier= *n); =20 -/** - * memory_region_iommu_replay_all: replay existing IOMMU translations - * to all the notifiers registered. - * - * Note: this is not related to record-and-replay functionality. - * - * @iommu_mr: the memory region to observe - */ -void memory_region_iommu_replay_all(IOMMUMemoryRegion *iommu_mr); - /** * memory_region_unregister_iommu_notifier: unregister a notifier for * changes to IOMMU translation entries. diff --git a/memory.c b/memory.c index 7fd93b1d42d..a23ff3cc2ac 100644 --- a/memory.c +++ b/memory.c @@ -1922,15 +1922,6 @@ void memory_region_iommu_replay(IOMMUMemoryRegion *i= ommu_mr, IOMMUNotifier *n) } } =20 -void memory_region_iommu_replay_all(IOMMUMemoryRegion *iommu_mr) -{ - IOMMUNotifier *notifier; - - IOMMU_NOTIFIER_FOREACH(notifier, iommu_mr) { - memory_region_iommu_replay(iommu_mr, notifier); - } -} - void memory_region_unregister_iommu_notifier(MemoryRegion *mr, IOMMUNotifier *n) { --=20 2.20.1