Received: by 10.213.65.68 with SMTP id h4csp498974imn; Wed, 4 Apr 2018 02:06:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx48WTNZsD8Yy031QF6/UXDaTVu4uSDsAAWDe7JprxVDDgB19AnUwtNFtBK8YtYRgnyV3mN9l X-Received: by 2002:a17:902:209:: with SMTP id 9-v6mr17371456plc.403.1522832812888; Wed, 04 Apr 2018 02:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522832812; cv=none; d=google.com; s=arc-20160816; b=LwXHqmkYTtBoiVa3Y43WcRZcopBvoRBF14HeHVNeb6DQd6r64i324hSX7IhKPE1nyO fjhFAKQHOQguzwk8IPvVGIceVqEQ3bhh0VyFfYugRooV8oehU1Or9VET3D24ihz1gd92 xlB/nPEKD+0UyOanRSwxOqQqONJeptiOUZ8MqLlNjSqdVO9+FSnTMw2DN2R6iRjKncgr yA1XojZuzXbOFFyHFUKGGBDphSqjlsFPIvqFApRPNpm+sq72US8fXLDqDV3yRPq+jEAy Mt1Qp/6BUP5ThNc7vIcXv0VOY3YizRTVML0RarD7CjOS3JT1/F0JzZLwNe9tG8kKhhhP 0BNQ== 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=gOebk8dSHM753ziLZK9XZAoaWu6AGYd8jvqbfgsxYJgFnIll5B7NWZ0UoKqX5oIul4 U8zYC9MnKYZp1rJsqZk7Hhhi2UX5lqt4tZr/N/HHtHJyMc4pGYWCU+2vz+1VMCkDpr3W edRml805ywhpAn2cV0REOMzJs38uVUuKNopTV5pQC31rb+bnFrYffhWDuDTehO7lm+JF CsTycnSfsep8kp8BcRPOonfG/pP3pfgQnCTvuooRUPdLGTfXiffNAmZrOLgdo/riVzLa IIYCwypKMfwPXZzDj7AVYy+/x8vYcR6r1jnpvwRfeAiknXL7Y+HQlUa7aZsMVRZuwUVG egZg== 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 n34-v6si2634031pld.331.2018.04.04.02.06.38; Wed, 04 Apr 2018 02:06:52 -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 S1751415AbeDDJEm (ORCPT + 99 others); Wed, 4 Apr 2018 05:04:42 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45083 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750950AbeDDJEk (ORCPT ); Wed, 4 Apr 2018 05:04:40 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w3493pjo023019; Wed, 4 Apr 2018 11:04:22 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2h1yf7a6xn-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 04 Apr 2018 11:04: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 B54C038; Wed, 4 Apr 2018 09:04:21 +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 93EEE161D; Wed, 4 Apr 2018 09:04:21 +0000 (GMT) Received: from [10.201.23.236] (10.75.127.50) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 4 Apr 2018 11:04: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: <07e24b50-0f6e-2960-8543-92d5a2668373@st.com> Date: Wed, 4 Apr 2018 11:04: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.50] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) 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 ;)