Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2671823pxb; Sun, 31 Oct 2021 22:26:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiww1b0WkudfvWZNS6QV8xSOgLpjmRGRzu/BYoLNO8hjpwaWIzFsqiXA5I5aP7OG2O8q0X X-Received: by 2002:a17:907:7703:: with SMTP id kw3mr33942447ejc.34.1635744366231; Sun, 31 Oct 2021 22:26:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635744366; cv=none; d=google.com; s=arc-20160816; b=hywSik3RL8nwDqkgontblydlfGK3fMBu7Jmc1nH5L/jmpXl5Qe9hwA2Dh7DdvWdaTV HJ4FeQXwLRNPrTXNIAJ7FY4wNa3ISrFf9BKPIw298nYtGNYNs+SV9m2StzjzL4YK+XVa 5iL1oVx71uasLC3I71qURa1J3VAfRs1SseGz8VcgJHqvz57lV7eddAwavgZe1sV51y34 AL4VlOERTs/6fPwqGJcAklD9RmOP4rnKS2///zDQk/YQiNRnSENOhOYrfcbjMf5vnQ/S TrlmfWnv+EEVxhLQ5BWxm4x4YUia+cYlEFebCVKCRi37IKdCph4Y6nQ3R/hZ9YylcS5c Q++g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=oh/ApKKI8xmXonODNt1fPjhME7xT85s5nHScbci574k=; b=vtGPGovlMMyC5q+xzyNktIsC7pJ+FNQgd4uDDRF+RlQZbGp70FPJ8XRtOSSkl1INQC NwYWjhad5214RSylAtuIwzcO2AcMQFTVUPL7c/dEZEky1jV6QgMlPdIDgY9WDrf7z39F ZBVk5/Xkwbh7sHSAxQHsMVLxkoJKSh2Z7VKhq1Y8GmgMqQqjwD0bKhsSaE8i4eRqFY56 ky4XDRdgQwpRujGAoN0vLSpNtYi4gIf1HMwBJ060ccybifypgJ1vzgoccHfNbzfqrYXi tNzNC9fXO0TVLG/LnVou2P1zRVSByx01HNgL+NP0px/Tp+O8slJ9Pmp9AoP2KMYDIAjo dIqw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si25658780ejt.525.2021.10.31.22.25.42; Sun, 31 Oct 2021 22:26:06 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbhKAF0b (ORCPT + 99 others); Mon, 1 Nov 2021 01:26:31 -0400 Received: from mga17.intel.com ([192.55.52.151]:10897 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbhKAF0b (ORCPT ); Mon, 1 Nov 2021 01:26:31 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="211715451" X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208";a="211715451" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2021 22:23:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208";a="449138280" Received: from unknown (HELO [10.239.154.43]) ([10.239.154.43]) by orsmga003.jf.intel.com with ESMTP; 31 Oct 2021 22:23:55 -0700 Message-ID: <8592a48d-0131-86bf-586a-d33e7989e523@intel.com> Date: Mon, 1 Nov 2021 13:23:54 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH 1/2] i2c: virtio: disable timeout handling Content-Language: en-US To: Vincent Whitchurch Cc: Viresh Kumar , Greg KH , Wolfram Sang , "virtualization@lists.linux-foundation.org" , "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" , kernel , Conghui Chen References: <20211019143748.wrpqopj2hmpvblh4@vireshk-i7> <94aa39ab-4ed6-daee-0402-f58bfed0cadd@intel.com> <8e182ea8-5016-fa78-3d77-eefba7d58612@intel.com> <20211020064128.y2bjsbdmpojn7pjo@vireshk-i7> <01d9c992-28cc-6644-1e82-929fc46f91b4@intel.com> <20211020105554.GB9985@axis.com> <20211020110316.4x7tnxonswjuuoiw@vireshk-i7> <20211029122450.GB24060@axis.com> From: Jie Deng In-Reply-To: <20211029122450.GB24060@axis.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/10/29 20:24, Vincent Whitchurch wrote: > On Thu, Oct 21, 2021 at 05:30:28AM +0200, Jie Deng wrote: >> For this moment, we can solve the problem by using a hardcoded big >> value or disabling the timeout. > Is that an Acked-by on this patch which does the latter? Yes, you can add my Acked-by. Let's see if other people still have different opinions. > >> Over the long term, I think the backend should provide that timeout >> value and guarantee that its processing time should not exceed that >> value. > If you mean that the spec should be changed to allow the virtio driver > to be able to program a certain timeout for I2C transactions in the > virtio device, yes, that does sound reasonable. Due to changes in my work, I will pass my virtio-i2c maintenance to Conghui. She may work on this in the future.