Return-Path: Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 2F0D998640D for ; Wed, 13 Oct 2021 02:32:09 +0000 (UTC) References: <325276eec77c6ab3bd28382386055b821754396b.1634037711.git.viresh.kumar@linaro.org> From: Jie Deng Message-ID: <35f923a5-8437-52fd-4dcd-33856f5b2fac@intel.com> Date: Wed, 13 Oct 2021 10:32:03 +0800 MIME-Version: 1.0 In-Reply-To: Subject: Re: [virtio-dev] Re: [PATCH V5 2/2] virtio: i2c: Allow zero-length transactions Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US To: Arnd Bergmann , Viresh Kumar Cc: "Michael S. Tsirkin" , Cornelia Huck , Wolfram Sang , Paolo Bonzini , Vincent Guittot , Jason Wang , Bill Mills , =?UTF-8?Q?Alex_Benn=c3=a9e?= , virtio-dev@lists.oasis-open.org, Stratos Mailing List , Gerd Hoffmann List-ID: On 2021/10/12 22:09, Arnd Bergmann wrote: > >> @@ -124,13 +140,23 @@ \subsubsection{Device Operation: Operation Status}\label{sec:Device Types / I2C >> >> \drivernormative{\subsubsection}{Device Operation}{Device Types / I2C Adapter Device / Device Operation} >> >> +A driver SHOULD implement the VIRTIO_I2C_F_ZERO_LENGTH_REQUEST feature. > I don't think this needs to be "SHOULD", as a driver may be written to only > talk to certain i2c clients on the device side, and they do not need zero > length requests. Maybe this could be > > "A driver MAY assume that the VIRTIO_I2C_F_ZERO_LENGTH_REQUEST > feature is available". Agree. "MAY" is better. --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org