Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2954813rdb; Tue, 26 Dec 2023 10:24:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgCqZye+jjvCwe8jzaizWBwgnX0QQqLJL1IIfNK6zyO36/MprAevGjMO5Z6fb9OfAq3pKd X-Received: by 2002:a05:6402:22f3:b0:555:2b97:470e with SMTP id dn19-20020a05640222f300b005552b97470emr563676edb.54.1703615075237; Tue, 26 Dec 2023 10:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703615075; cv=none; d=google.com; s=arc-20160816; b=NitkaJbuScsPDT78h3osEeeRRrQPFi3v6VlmBYPiyLFJO5WCLuIosNiyizECu9ba3M anAY+SLy9Q1QZ0wCjUn/VjvbbljqA+oyxH9trJVt1xQpazjUDSm2TrMEl42q1VXjTASD dQEuFZqWByCtdO66LfxS2tR3YhjXdp1rXD4W44uheYWb/mxbryQ4K2RmPltVTRxv6gWO rrY/j3vHa8jpNgMrj4EvvzvWax/cMMUA6IrI8erJFkoic7GTENaZu9f+pS2cFeB7gVJ/ qlX60gymPa+Dy3UOOspDQ/sWN77wE9wBcwWu8wzDJxxt4WT9hZRPMNsGDlsebGupTS7I DR3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=nbpck61YwtlHFMw5U/Lo3wdHWoHYEKh8KkvQ9gudgQY=; fh=h7G5gg2DAC/sTVzD12Ww0DS00moireLrq6CNYMb57OA=; b=m834PNqUKllGsmPhmvNnGDHIhu/eE3SzbJVI4hLlLW99xnpjbIyHmB7wxlyEbxBpFY BFnnIUBImQZMZVr/mA0cwREefOjlBrC9wryXu0OwH4cUb79y65GZVegeK2MoPwjaClQa nk4yYz4+LVkXKaBB4y25L90jX1K/v2yujPuk0dKrf21SoBO/6o9voqoVRs9Z9bMl2sVU +MqoaZQJy5uwMF5TK3SnWRg/oKWq2JAg9Si8sL072IhgdBA9pgikUtY7mgMO4AZFWYNc 9xfQdL/cSD083xSGWZKahevivSGWhEOQAMkHo7Jcd0+Zs5kR1HRRIX+HuIVNRBUrNZC1 lqhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=c1r+qaqy; spf=pass (google.com: domain of linux-kernel+bounces-11617-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11617-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c14-20020a50f60e000000b005543ec7bdb2si4693283edn.4.2023.12.26.10.24.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:24:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11617-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=c1r+qaqy; spf=pass (google.com: domain of linux-kernel+bounces-11617-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11617-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C9AEC1F22BEC for ; Tue, 26 Dec 2023 18:24:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18AA753808; Tue, 26 Dec 2023 18:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=soleen.com header.i=@soleen.com header.b="c1r+qaqy" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC861524C4 for ; Tue, 26 Dec 2023 18:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=soleen.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=soleen.com Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-4277e7146abso43076581cf.1 for ; Tue, 26 Dec 2023 10:24:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; t=1703615053; x=1704219853; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nbpck61YwtlHFMw5U/Lo3wdHWoHYEKh8KkvQ9gudgQY=; b=c1r+qaqyurG/qhmvIiqVHdz1oSnR58y8/ep/p9Whu9jRw5+k3eJhNB22Xs/8oj4pG/ 2OBDehnEbI10I8U2bEqaL7JnryezxoBHQ00DcmtN1tv37Pg+ISiq87adHFdQMGsExiHj ll8zFQduifkGaucAKFnhTUm7sWcNwVoAQmc3Ro0Av7Thc1RvbicelFo9odVvzwK+ZNnh OPtsqe+hervrLOpVdfQM3I6EqtLpJchFDggTMQPxbdaBhtpWUsowxbx7T2kq1vCLuMIV bIdidLSjvvq4TNof5HF/rT7tg8Sb3VfvQsvsMixLYLjRs3ubPqfaG38T6MP7R/RkjEmb jftw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703615053; x=1704219853; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nbpck61YwtlHFMw5U/Lo3wdHWoHYEKh8KkvQ9gudgQY=; b=vYjddjPzzT9gNPLMtfP7iozSvqHbCEpCnbsDqwIp3DYwPRVjf+u7z/jvNJ38eIfq/H DbGRhphSb4uEWU4fQMw94aSZMKnYivtGKEMleUFx/hED57TlQl2FfhDaybIOonIxWQ+X A847xCBwsL3aDiFDUHhsurDQJKjmhs/Lg3dcxYk4mUj/2R0wSNaYQnLx/zBr0ZgzeYXv QU5s8L7w9IGIAsHj+HVk/Pwjvr6DFGr9Sn+WBHeKJcPyCsAqI20Fv8488s1nBJ+RuNT6 hS0bzGSxRqwwFAnxxRRzWd1T77ghkju21AbFmnTsb1WsWsgBz3nJ2ahfSZO9bRKn+KEG vSDw== X-Gm-Message-State: AOJu0Yyr5naqurtZqx8UN6SEEJDSSUoACvJOyXGcCx4dwaes2ZQP6LXV Yn2JCOai0cejcCr2FtxNItbBfxFe7m+SyGeqiL5WlNqddc8k6Q== X-Received: by 2002:a05:622a:307:b0:427:7c4f:9d1a with SMTP id q7-20020a05622a030700b004277c4f9d1amr12102912qtw.31.1703615053674; Tue, 26 Dec 2023 10:24:13 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231128204938.1453583-1-pasha.tatashin@soleen.com> <20231128204938.1453583-16-pasha.tatashin@soleen.com> <20231225110930-mutt-send-email-mst@kernel.org> In-Reply-To: <20231225110930-mutt-send-email-mst@kernel.org> From: Pasha Tatashin Date: Tue, 26 Dec 2023 13:23:37 -0500 Message-ID: Subject: Re: [PATCH 15/16] vhost-vdpa: account iommu allocations To: "Michael S. Tsirkin" Cc: akpm@linux-foundation.org, alex.williamson@redhat.com, alim.akhtar@samsung.com, alyssa@rosenzweig.io, asahi@lists.linux.dev, baolu.lu@linux.intel.com, bhelgaas@google.com, cgroups@vger.kernel.org, corbet@lwn.net, david@redhat.com, dwmw2@infradead.org, hannes@cmpxchg.org, heiko@sntech.de, iommu@lists.linux.dev, jasowang@redhat.com, jernej.skrabec@gmail.com, jgg@ziepe.ca, jonathanh@nvidia.com, joro@8bytes.org, kevin.tian@intel.com, krzysztof.kozlowski@linaro.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, lizefan.x@bytedance.com, marcan@marcan.st, mhiramat@kernel.org, m.szyprowski@samsung.com, netdev@vger.kernel.org, paulmck@kernel.org, rdunlap@infradead.org, robin.murphy@arm.com, samuel@sholland.org, suravee.suthikulpanit@amd.com, sven@svenpeter.dev, thierry.reding@gmail.com, tj@kernel.org, tomas.mudrunka@gmail.com, vdumpa@nvidia.com, virtualization@lists.linux.dev, wens@csie.org, will@kernel.org, yu-cheng.yu@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 25, 2023 at 11:09=E2=80=AFAM Michael S. Tsirkin wrote: > > On Tue, Nov 28, 2023 at 08:49:37PM +0000, Pasha Tatashin wrote: > > iommu allocations should be accounted in order to allow admins to > > monitor and limit the amount of iommu memory. > > > > Signed-off-by: Pasha Tatashin > > > Acked-by: Michael S. Tsirkin Thank you, Pasha