Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3335976pxb; Wed, 13 Oct 2021 04:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzkG0smaeKZVxn1rnyXj0nXiqo7JRfylSHi1rE/p/mxpHYfMk/b5NlvYpF8BnxjOzEfxix X-Received: by 2002:a17:906:9601:: with SMTP id s1mr40948292ejx.68.1634122905235; Wed, 13 Oct 2021 04:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634122905; cv=none; d=google.com; s=arc-20160816; b=oicC0QdbVyt9tqdRibSMlTJjDmfDno7a3hz6BZpNZPY1mbWH1QYMMaVYpfTvccvu2I 1AxPHa+f6sPB7tTIFipzi6mdeQQAZVjGgxQ5mW06wBeJktHWwr6YvT9jKXb0WdiX2CzT CJWSGB8Gn8mWVrhS4lz9lQkxk0OwacAWzEiIaiZfeCyclY3AxiiImgJg2b5CynCaAQvz mm6vHiYris16ii0I6+17FKzlYBjHnjXEuJEHpe/konTCq6VerzczHK3qhW/5QMkz9iAW V0bTM3YCFxXum/8+cLdy9l+myIDKHeZNdUO3ByfnA1aErKVkn9l/c1JvSa5iYUQ/wa+s oGVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nQQWQUgxuW6Tu+PRvCtkwuIVHgAhZ7y427FiGzCqW1I=; b=E3uLtb/xrT2+4cUSgvd5CO2SNAN/kTVcrnLwOl69p6mB/7nCryJ2O+FxN7XzHVLQQq gRuFTDqr9/6WwQCXWxLuYyyQnG5pp+N968FgQAP7zqG+TPd07ncGjYbqq/1mVoiD4XC3 q3T9dJS0ISz5kNpnjgG3cSH0m2r6dEVzwNU89fODnqvrVGvTMz//+bDRhY11j+pLZAau zpl86IUEsHONjT0BxunHIq2z7UqooYmtmKy7IKZmRhmcyW9rrIOHhm0ReebahSPz/KOb J1XKkiarjcmYPEl+qLzIN7IIpLZhZqsI6TswmT8DYcCcqE88vWJOGbpnR3vzO+BbieuE owyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zuDceFqP; 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 gk1si29435863ejc.31.2021.10.13.04.01.30; Wed, 13 Oct 2021 04:01:45 -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=zuDceFqP; 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 S230359AbhJMLD1 (ORCPT + 63 others); Wed, 13 Oct 2021 07:03:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231495AbhJMLDS (ORCPT ); Wed, 13 Oct 2021 07:03:18 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A44C7C0612EC for ; Wed, 13 Oct 2021 04:00:15 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id r201so1964470pgr.4 for ; Wed, 13 Oct 2021 04:00:15 -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:user-agent; bh=nQQWQUgxuW6Tu+PRvCtkwuIVHgAhZ7y427FiGzCqW1I=; b=zuDceFqPkzhsXg/5Ra0cCOC1bU0nBHOgMC+yisKtXJINh/T8f5KQ5Xk3tN1hEQWy1f fF/5Ti7SlnxHTZ8CRdyv6Jl7qV6+yL697U37ZNkhKajiI+l/0MJiVPCdQ2f0nPB60e3l deL9dfPtSkXLUF1i0K5lBK/jrlNzSLsedO4pErBw8lcHrmTQsFpVw/Kq9PVvZIU+2X3S BjO3inmiQSb4KC3RcJr5s4SFs01LRfMOjiO3Y4IdS3Rj0CRwh+XHIqdFiSxlkBam0yxV rxKuYNPGd/pLOsHpTEsqWBSUGsQm4kgH2TClaSNsf9ya4bJIDlxKTpNOca2+BLM7jp/t D1tA== 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:user-agent; bh=nQQWQUgxuW6Tu+PRvCtkwuIVHgAhZ7y427FiGzCqW1I=; b=sMd10GT7MGeVruOWpTE/tgPES6rMWhAWh4bgceOGt4rsk2PxNG4uCLypDTi5g/pBI4 ODd26hJ24bwNHEwnYfKEWHrAptagJxp+vtVELTqgJf4NZHgimIO+rmx7v50pqpYDLbCZ xrvVvslfDWArp5CSaREGr50IjGj/5yoqtZq26bKjGLuGJMpnNbQSIfgNhdBLDU3mdz37 7P1SAmVIpCx8i4czw9ejGEAQ0mbxL6Jys9MyDJYK7cnPvkLucGdvNFjvGcXbAB7JwAyT F6972k4DfelD+uDnsFrMp+ZQx1TUklfvk3ZfvqUiUFr2pTrHPBag6h7MIBwm0gKg+P7E vq/A== X-Gm-Message-State: AOAM531yPqJa0+AlztRxVUlvvjXAeUjigieWJbBQnPgFTO15Gy2T8OGY T99aeTcgAOrsKH16iaJZBg/yTw== X-Received: by 2002:a63:2dc7:: with SMTP id t190mr27705777pgt.455.1634122814960; Wed, 13 Oct 2021 04:00:14 -0700 (PDT) Received: from localhost ([106.201.113.61]) by smtp.gmail.com with ESMTPSA id g189sm5284657pfb.75.2021.10.13.04.00.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 04:00:14 -0700 (PDT) Date: Wed, 13 Oct 2021 16:30:12 +0530 From: Viresh Kumar 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 , Jean-Philippe Brucker , 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: <20211013110012.3exppbls2wggqfhb@vireshk-i7> 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> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 13-10-21, 06:55, 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/gpio/gpio-virtio.c | 2 +- > drivers/i2c/busses/i2c-virtio.c | 2 +- Reviewed-by: Viresh Kumar -- viresh