Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4258111pxb; Thu, 14 Oct 2021 01:36:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp/7i3KjUTtzd+ZZ+aHqjG3Dym6X0tGZPrOxCNbAgRJ78/h33o6ieYM8S9M7r9mNJwkMrI X-Received: by 2002:a65:624b:: with SMTP id q11mr3228228pgv.232.1634200614703; Thu, 14 Oct 2021 01:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634200614; cv=none; d=google.com; s=arc-20160816; b=VZNVkexJ7Lg2FUFKogGNhLHx1rtJeaZ2jx1x4escXFnk+bFgLvGJl4KTLYWMart5WB 4EClWh6WKGXpzzkzkkLXqVGjJ0FEjbTQVX94pNxwsIJDhm53QyZ8igwYnI64EoxcKxrB bifkY32hlRd9ofvliLhU+mhYzwmNizhSExSwKYrHlEHZR9vmLlG3Qb6hOBTTIg9YzaM5 PV+CbbokghmMcj1DJqNbXcpdSL4EyVSZWJdu3sFJSxRpn3A2F4JBoOIhv1FQK2bz2fGR 20FB6Gb01d3Q4K3qtar/UjaNMsIsTNAYOcg9aLEpIrTuQQ6v7Itv0ds98e8KtR7Mn8fq RRKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cfakvhen/wxw5fHdRu0DEuLT5DMfJlXe2a/johLjqxo=; b=l9Z1+Hvo1OYI8+/vy0tpZ9wJ0RvaIXKxWymp8jFipztg1VXT+cAP5JcYIDO5XkoOmM tiyUm3wvTd/4/gyr1ykDY6Li8yvYAPufdzEi7VGGX2gii6QXe+gRva9pDIxvXIVnfCuZ KtNfiHO05/G0eEjhl3eNV6VWqUdQlo0gaR/QBQbL2WUEyWPYYWD9RlDvKVORhHxrTf23 JzLP26mC7ZlNk2eOAwTQ2836zCQh6vfNnKlTMHDu3FgBpdDMi4lUVs2KM1T2RXT4bjVN /gFDX8h4HsgKwqmlYHG7c4Kj9Qn0vnIxJ9jQjTqlPQ2xNRXa4Nq8z9w30LYc5M0BohhJ L84Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h40uJnzR; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rm10si16964701pjb.92.2021.10.14.01.36.40; Thu, 14 Oct 2021 01:36:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h40uJnzR; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230240AbhJNIik (ORCPT + 63 others); Thu, 14 Oct 2021 04:38:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbhJNIij (ORCPT ); Thu, 14 Oct 2021 04:38:39 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9870DC061760 for ; Thu, 14 Oct 2021 01:36:34 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id y3so17024908wrl.1 for ; Thu, 14 Oct 2021 01:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=cfakvhen/wxw5fHdRu0DEuLT5DMfJlXe2a/johLjqxo=; b=h40uJnzRy4bIKfqfvwm3i/kik60+Kgx2sfXbHxmv0MsZax7HkeDmryc9yctryM7xlU 37bg2VuoZWdH4kTXGosC95Fa3QYJayYirIbI/UeFVNH/Nzn2/7/VodB6g1hiMuG9zp+p egl0Br7pM5vnKxSuUDa7BUq17cmPH9MsIYOosVtDeEDQMUaCZ6h+AWD2esXOH1LRk+zZ X2uV1Nn3ulaudun/4f5AT6jS5oilV0myDq9ozSQAqUnytF1YgcEInQmj+cCLjl5OgT5o 004n5bwSXge4iP3a4skCS8avlQccw5QvPN8BVpAjam8zZmlkvShcDVpQvgmxjplGDMKz pkRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=cfakvhen/wxw5fHdRu0DEuLT5DMfJlXe2a/johLjqxo=; b=UEtCx41/EsJNjqnq8Ppf8RwJjQpbD5QKo43hpuVUSsiZCtLMfvSMQHhmenfPq3emIx H00Alx7A45gAdcyjG7ymEu2mw1UYSggd4ib0haFvrXs/+96RJIt47p4LZ0p14B2VjALD V7J0KZTENCb4KIf11vTohqnFwLAzOrnU4T9N5T1BvJkgiGuoaChf6OoV4RlezOelujKD 8FuGdnJ7Cp70MIeaI9gwMhkCfFlVcVmx+fQrhfnA41YxbNr7gl8mChDO08COhuRlJCps ONxPN+J1BaU15k+yUBfrapAAIuO7lCteQwYYZ1yYDPjibFXQ842refxqgQsPMfNvKZmj N5xQ== X-Gm-Message-State: AOAM5320dAwYGKzq9In5i0Rrvch2D3YLx7QIUjHQ+VXwGAD1tON+8i0P AwjmMLWw5HlK3dPAsVlCpeEXYw== X-Received: by 2002:a5d:59a9:: with SMTP id p9mr5151873wrr.386.1634200593067; Thu, 14 Oct 2021 01:36:33 -0700 (PDT) Received: from myrica (cpc92880-cmbg19-2-0-cust679.5-4.cable.virginm.net. [82.27.106.168]) by smtp.gmail.com with ESMTPSA id r4sm2299114wrz.58.2021.10.14.01.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 01:36:32 -0700 (PDT) Date: Thu, 14 Oct 2021 09:36:09 +0100 From: Jean-Philippe Brucker To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, Jeff Dike , Richard Weinberger , Anton Ivanov , Jason Wang , Paolo Bonzini , Stefan Hajnoczi , Jens Axboe , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Matt Mackall , Herbert Xu , Amit Shah , Arnd Bergmann , Greg Kroah-Hartman , Gonglei , "David S. Miller" , Sudeep Holla , Cristian Marussi , "Enrico Weigelt, metux IT consult" , Viresh Kumar , Linus Walleij , Bartosz Golaszewski , David Airlie , Gerd Hoffmann , Daniel Vetter , Jie Deng , Joerg Roedel , Will Deacon , Jakub Kicinski , Johannes Berg , Kalle Valo , Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , Ohad Ben-Cohen , Bjorn Andersson , Mathieu Poirier , "James E.J. Bottomley" , "Martin K. Petersen" , David Hildenbrand , Vivek Goyal , Miklos Szeredi , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Stefano Garzarella , Anton Yakovlev , Jaroslav Kysela , Takashi Iwai , linux-um@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-block@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-i2c@vger.kernel.org, iommu@lists.linux-foundation.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, nvdimm@lists.linux.dev, linux-remoteproc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fsdevel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, kvm@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH RFC] virtio: wrap config->reset calls Message-ID: References: <20211013105226.20225-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013105226.20225-1-mst@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Oct 13, 2021 at 06:55:31AM -0400, Michael S. Tsirkin wrote: > This will enable cleanups down the road. > The idea is to disable cbs, then add "flush_queued_cbs" callback > as a parameter, this way drivers can flush any work > queued after callbacks have been disabled. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/iommu/virtio-iommu.c | 2 +- Reviewed-by: Jean-Philippe Brucker