Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754730AbcKJLHJ (ORCPT ); Thu, 10 Nov 2016 06:07:09 -0500 Received: from mga04.intel.com ([192.55.52.120]:18975 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755197AbcKJLHH (ORCPT ); Thu, 10 Nov 2016 06:07:07 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,618,1473145200"; d="scan'208";a="1066634907" Subject: Re: [PATCH v4] i2c: designware: Implement support for SMBus block read and write To: tnhuynh@apm.com, Andy Shevchenko , Mika Westerberg , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <1478746593-10905-1-git-send-email-tnhuynh@apm.com> Cc: Loc Ho , Thang Nguyen , Phong Vo , patches@apm.com From: Jarkko Nikula Message-ID: <166a746e-2e7e-6c87-5c05-cc28dd06bc72@linux.intel.com> Date: Thu, 10 Nov 2016 13:07:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <1478746593-10905-1-git-send-email-tnhuynh@apm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 963 Lines: 28 On 11/10/2016 04:56 AM, tnhuynh@apm.com wrote: > From: Tin Huynh > > Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. > However, I2C Designware Core Driver doesn't handle the case at the moment. > The below patch supports this feature. > > Signed-off-by: Tin Huynh > --- > Change from V3: > - Correct coding conventions > - Make clean > Change from V2: > - Change subject of email > - Add a helper function to handle > length byte receiving > Change from V1: > - Remove empty lines > - Add flags variable to make clean code > - Change DW_DEFAULT_FUNCTIONALITY > in i2c-designware-pcidrv.c > --- > drivers/i2c/busses/i2c-designware-core.c | 46 +++++++++++++++++++++++++-- > drivers/i2c/busses/i2c-designware-pcidrv.c | 1 + > drivers/i2c/busses/i2c-designware-platdrv.c | 1 + > 3 files changed, 45 insertions(+), 3 deletions(-) > Acked-by: Jarkko Nikula