Received: by 10.213.65.68 with SMTP id h4csp459896imn; Wed, 4 Apr 2018 01:18:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4943SXdovz+0bvyuS0jevDyh3sCL1Pf7W3jsRHG5XwbM1vxcP8m277mq17PTs5g8p2cNpJH X-Received: by 10.101.97.1 with SMTP id z1mr9046661pgu.134.1522829897120; Wed, 04 Apr 2018 01:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522829897; cv=none; d=google.com; s=arc-20160816; b=GlbiR5hH67Tbdl+sHCw7WtjR+q4EkHoaT79LYRkmF/wkO7v4+sz20HAd61JRYuxiWZ YkawtTJTuoFyetkkfPsBM4bLvE8BrKHpw5dYU+Z1lHLchWGuPcVS5LWJ0NWraBWEJryk WGaNBiVShjo2rHXe+HbdjOJvfLuAOpD3GtCscHNrna8KipHgi4K3z+k6SOBDoL48kpkU nCltWegRlqdMDDoXWbZlDvyIcMA1dySanw/emAjcsMDA5U/3KhoEnea4zlgcM9iU0cpP tfSSiFeTwKnatGwnP+iLSTiv3cIJN1K4qyPiojK5tDJr/RzDqzuMSYYRKcl/mHRt1ZEN +P+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=uycy02OucPRPZ5bN34/Pu0bSQuPvIT3Mi2MTiFWiRN0=; b=TRoLvRxtvHnAfItP1jO8nmo5Y3Zk3hauyGAnJvIQ8svtAZC5PSfKNcNnymRLtoWsna 5FQMl3i7IveHoXpG4JQUxyqReutJC5q+ik3cjcEphINB9S0+jV81o1MxH5yMWi35oLMf JEyc7TBLUX2F6ESH0lIxpXjyMYSlJpOsmD7rA6DdbgJ8+G2l1a4i4pS/BFKwenij5J5b Zd1s7zTwuGVwf75bTLI3o/6jWHIUjrishehFQo2P62eTDv5OiV5kXrohUY/SYJP8ntzG o2egF0rcnMKDjhw0hUsFuK7Hl88HCpaoRRSASUc3cd0LkrONG5NaMJ6vmas/b6Wx/BvM WYng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si3318491pgq.315.2018.04.04.01.18.03; Wed, 04 Apr 2018 01:18:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751401AbeDDIQq (ORCPT + 99 others); Wed, 4 Apr 2018 04:16:46 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:33815 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751356AbeDDIQm (ORCPT ); Wed, 4 Apr 2018 04:16:42 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w34893Kg007415; Wed, 4 Apr 2018 10:16:23 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2h3gushn8p-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 04 Apr 2018 10:16:22 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7289D31; Wed, 4 Apr 2018 08:16:22 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4CD9114D0; Wed, 4 Apr 2018 08:16:22 +0000 (GMT) Received: from [10.201.23.236] (10.75.127.48) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 4 Apr 2018 10:16:21 +0200 Subject: Re: [PATCH v2 3/6] i2c: i2c-stm32f7: Add initial SMBus protocols support To: Wolfram Sang CC: Maxime Coquelin , Alexandre Torgue , , , References: <1521650940-11651-1-git-send-email-pierre-yves.mordret@st.com> <1521650940-11651-4-git-send-email-pierre-yves.mordret@st.com> <20180324224911.xz3fz2jojcdrovb4@ninjato> <2fadcd7f-3bfc-997e-a30e-808f6d854f2c@st.com> <20180403153122.ux6hnnmexwmq3soz@ninjato> From: Pierre Yves MORDRET Message-ID: <79784d30-0a88-9aab-081f-ee14c214288b@st.com> Date: Wed, 4 Apr 2018 10:16:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180403153122.ux6hnnmexwmq3soz@ninjato> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-04-04_02:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/03/2018 05:31 PM, Wolfram Sang wrote: > >>>> All SMBus protocols are implemented except SMBus-specific protocols. >>> >>> What does that mean? >> >> It miss SMBus Host Notification and SMBBus Alert. They are almost ready but I'm >> struggling to put them back to operational state after recent changes related to >> SMBust Host Notification. A more "classic" interrupt base solution has been put >> in place but I fail to use implement it in my side. >> Another patch set is going to be delivered for these 2 commands. > > This is totally fine to implement it incrementally. Please just update the > commit message with the more detailed explanation above. > Ok. I get. >>> That is quite some complexity considering we have I2C_FUNC_SMBUS_EMUL. I >>> don't mind, but you really want that? >>> >> >> All SMBBus commands are implemented as such. I never try to emulation commands. >> Should we use emulation SMBus commands or real commands... Don't know. > > You won't see any difference on the wire. I don't know your HW. It might > be that SMBus mode is more "automatic" and uses less interrupts. Or > stuff like Alert or HostNotification only works in this mode. If you and > the driver maintainers think it is worth the added complexity, I am > fine, too. > Ok. I see. I am the maintainer. So yes I keep it as such ... with this complexity ;)