Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4336626pxv; Tue, 29 Jun 2021 04:50:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwrYwnHfdsAQys8xxFuI6/g+81VblyZY+YWXXNesRnX9fiVNZcXCMvMo1GOE807AohAFGg X-Received: by 2002:a05:6e02:1047:: with SMTP id p7mr21571186ilj.171.1624967426837; Tue, 29 Jun 2021 04:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624967426; cv=none; d=google.com; s=arc-20160816; b=kf2agR4ayAN3+ZgX3sseJBf99tJoKWJE2CH6uwzwMWuQS9hc4QmQ+lbXB6e1PFjqeQ 46HI1dV9qLKEsyOg7xyIzzeIcPBCa0h5ai+6CVmSykdGOTqmxhKfW5VYQ1eluDEwKyvU 70LgtlOIr5VWPdNDEmq47JTgQ1Y8B6VaoJTTynZXfV+h2GzLwbK0EgxFAYZEt54mC7sX +9MU20vaEMn4qv/fGsaqXAkejRsNt99cM809Lv68xjgtGSpSverJ2UWufXHGn/Gfesi+ dgD0/r2y+WBAbaRGTbwLQzAObZ4TSa/P2tw3oirQsCFwh/K5JrZ9fYXpvEdwW8rXHomG VjfQ== 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:to:from:date :dkim-signature; bh=AplI6UhQ/G6u2g2DkIgG3XJVtDuTtMAV8bpatC2NRMA=; b=zQgUsYxJPOcNa4mBqSUtmJbWg4aGNgwWLtkoGcZfhLgmXhAMAEowDBY9Y3ab8MgBXG 8v+p+Lh2EIWab9uHtB34IxRPxmIwR02QgmYjqDJFWBz9k+M6ChKEkrZYHoSZLURyzlRw BUcmybFoNKsMBl0KvxLpUorVlUz1q/WrTCPmSUr1J3lyZwWjX9Rvc4fia1xeAlSvX9bC wJF/8+mjbuVXOsmWp5oJZJ4eXVvB4ox/j4kBbnkxgFMuSxamJoXi+4geBVRlDwEQj3RB WH7wJvcDXQibwEhujuPtJ9LOgwVALeF4lsgNcBIS7A1Kdx6KIfo0V19T2n0BjGyZVko2 rzdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RGz3rS3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 d8si2594421ilg.61.2021.06.29.04.50.14; Tue, 29 Jun 2021 04:50:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=RGz3rS3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S233110AbhF2Kcp (ORCPT + 99 others); Tue, 29 Jun 2021 06:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232772AbhF2Kcn (ORCPT ); Tue, 29 Jun 2021 06:32:43 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C501C061760 for ; Tue, 29 Jun 2021 03:30:17 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id x22so10631734pll.11 for ; Tue, 29 Jun 2021 03:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=AplI6UhQ/G6u2g2DkIgG3XJVtDuTtMAV8bpatC2NRMA=; b=RGz3rS3mFY+gNujWuQHWeD28pyLAd3A55cSGjgbJwhUrTj/QpoWa3tQFzVqw+LpF93 93s/6VZGbo4RDnbUPsweWP5/kBmHJT3EK7D66wBeI9pNIPJFxAJpB2eY9k6dbNyLXUBH TxY3g+8o0TEJMkXc0A6KAFUEGvuobzkDRW4f878knKwuyjqJ7Od9tFYiyPcHO9IBuZci i+enWmvZ4ZrmDL3m3AyB8q8HesgPyUr2jxeEmbwX58n59URqVszwZc+118HDiXvgWClE twrMj+H4MEUIRw61GiBtp0/VQGPqUn6vGEIN0OVWAYO8yBxoSuFrsOqqV+R7QOZVc4RD 8SAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AplI6UhQ/G6u2g2DkIgG3XJVtDuTtMAV8bpatC2NRMA=; b=p9ospRoZDBZT17oGwvROt5XJX3Q98VqS+NKFVxyzD75xqu/tDC2hFfc6xvl0yVZghQ EGoNnf9vQmww5mqSh1lD4nFP8MrI7JX0tIkfmtgab3ngKSC0gDkTKh81v54m1G35anc3 nJAdBY5X4GEGIALN3kLY7ee1QHSIGHJj9HLyBSMXZJKNv/ViQveQHNTtrAPePNfZ+Yvd /da3xu0oCuQIXvZxhJ7D21XIJaT8LYR6Ekl95zY6VCciOxg5TvzEAO3rgyq9cmocWlXq 4fw3rlHm8xRNlST0Mp9Kjx1DML2llkEAKwFsEY9UzJC/YMlGj7q4osMYv+kqL1h3u6Fi 66wA== X-Gm-Message-State: AOAM53353Oz/gclvITimm/JMpyi1JvGMcNYdkKKyZWKGxvbUjk41WPZa SCEp/wI3ZjvsVWoXh3inXd9T7Q== X-Received: by 2002:a17:90b:4d81:: with SMTP id oj1mr24694030pjb.153.1624962616536; Tue, 29 Jun 2021 03:30:16 -0700 (PDT) Received: from localhost ([136.185.134.182]) by smtp.gmail.com with ESMTPSA id n69sm18024140pfd.132.2021.06.29.03.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 03:30:16 -0700 (PDT) Date: Tue, 29 Jun 2021 16:00:14 +0530 From: Viresh Kumar To: Wolfram Sang , Jie Deng , linux-i2c@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, mst@redhat.com, jasowang@redhat.com, andriy.shevchenko@linux.intel.com, conghui.chen@intel.com, arnd@arndb.de, kblaiech@mellanox.com, jarkko.nikula@linux.intel.com, Sergey.Semin@baikalelectronics.ru, rppt@kernel.org, loic.poulain@linaro.org, tali.perry1@gmail.com, u.kleine-koenig@pengutronix.de, bjorn.andersson@linaro.org, yu1.wang@intel.com, shuo.a.liu@intel.com, stefanha@redhat.com, pbonzini@redhat.com Subject: Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver Message-ID: <20210629103014.nlk3mpetydc4mi6l@vireshk-i7> References: <226a8d5663b7bb6f5d06ede7701eedb18d1bafa1.1616493817.git.jie.deng@intel.com> <20210629101627.kwc2rszborc3kvjs@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29-06-21, 12:23, Wolfram Sang wrote: > > > > You are not emulating I2C_FUNC_SMBUS_QUICK, so you need to mask it out. > > > > What is it that we need to have to emulate it ? I did use it in my > > qemu and rust backends, not sure if this was ever sent by device I > > used for testing SMBUS though. > > The biggest use is to scan busses for devices, i.e. use 'i2cdetect' > without the -r parameter. Okay. But what is missing in the driver because of which it should mask out I2C_FUNC_SMBUS_QUICK. -- viresh