Received: by 10.223.176.46 with SMTP id f43csp2257wra; Tue, 23 Jan 2018 14:59:29 -0800 (PST) X-Google-Smtp-Source: AH8x224xDW7poVMqjIkBdwyo+mrPt8pNWhCXBYATaQ4/rixLD3p6FRp+pALy0nPzl0Ht619ku9bo X-Received: by 10.107.19.9 with SMTP id b9mr6230409ioj.251.1516748369092; Tue, 23 Jan 2018 14:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516748369; cv=none; d=google.com; s=arc-20160816; b=DOMGxpbCZqvAupTI43tWVtsvAp0AgNR3MPXEu7X2uG2qiDicu/frZ4jIGRNQC2U81o uEbZ7f39roSTKr79WymLd6RfUA8aVdGl9llXM+QEupGCRnJEbb3eQn0vMc2Seu1yCuWJ i7p3oAZ4OY0IoCXrcdrgUCGUVA3rZbkqJsVlsLJbRzZ98OTZjEb4PqNc6MmWjahx+XTS DDed6K5vLP6m6w/IQb1x6vAmGFGXcA97SRk3520W9m0Lyx/9FXkIgII/lKFx1MQ3ZPlz ezuZiUT+eG8bSdNuhas6g3CNM4vYeictZwhl/JUcVkEwbmKu/7Yx5AAKLIkVGhXRZvqI Ca3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=WUV+iFSbC1bhvYTPSSVGpORNvOduLvFe6l+kKTtovG0=; b=Q2D74mIrC5lprRxmpQeAcL47T9gXI0S4jM7UnwM2uTHhbHXkqLh1CnndxZkcyZKHwL O0wi1Mx8levdwarW381r29ChZFVxki/IORbFtDnHPcLqxhY7cSYnjWApzraB3R9QHiGD LwKZfqFnmy3w1sfaSlvg/417zjj2GYdpwmgANKgFbD/ADkPIPVwOZRmHRnG/L6puyWE8 Az5H4eQqAgNQrb0FXjEpz3AQhTZIla8O9uFBYaWEsl5X0WHQvtOapyr8DqyxF80ZwZqq Brhshkg+B4Msgs61GHQbOfOUv6ivLZpRmyiu2YTASP6e/LuCIetae3ZWXz9igHExDyZl sMRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OGKNLsPQ; 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 l191si9231764itb.95.2018.01.23.14.59.16; Tue, 23 Jan 2018 14:59:29 -0800 (PST) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OGKNLsPQ; 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 S932438AbeAWW6W (ORCPT + 99 others); Tue, 23 Jan 2018 17:58:22 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:38171 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932334AbeAWW6V (ORCPT ); Tue, 23 Jan 2018 17:58:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WUV+iFSbC1bhvYTPSSVGpORNvOduLvFe6l+kKTtovG0=; b=OGKNLsPQHDUA+sjPkKzkxxHF8 KT46Qccfkix9q4EeHXik2SYvfnlL7r+W+jRIvfJHOP8L/BARdVfDHFSWQM+p9O03BuuPDCydFiZ43 BI1B/DPqJnIm4a8z4bAy4bPjtZGdA6vUHIEloyWGg+X31P5gkFWCS1rowWRVPenqJWoe9iDuyK2a9 rEqIH/pa+QVAEMuONpQ6Dr0MOy7jh4pTNI8AN/7zkpy1qivZZNKS9wtNX+vCtBJxciP2Fgc68P1nL fG6cE/Z0pFPcmDxWYpv0HWaFKqlf+YF3js40K3E48JutVMA0KqNv13qgSTb0ucoRkUstWxkCjVchQ ByhPGTAzw==; Received: from dvhart by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1ee7WE-0003vt-Ky; Tue, 23 Jan 2018 22:58:18 +0000 Date: Tue, 23 Jan 2018 14:58:17 -0800 From: Darren Hart To: Vadim Pasternak Cc: andy.shevchenko@gmail.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, jiri@resnulli.us Subject: Re: [patch v10 4/6] platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface Message-ID: <20180123225817.GB16464@fury> References: <1516739665-132304-1-git-send-email-vadimp@mellanox.com> <1516739665-132304-4-git-send-email-vadimp@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516739665-132304-4-git-send-email-vadimp@mellanox.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 23, 2018 at 08:34:23PM +0000, Vadim Pasternak wrote: > Restructure mlxreg header for unification of hotplug item definitions. > > Unify hotplug items to allow any kind of item (power controller, fan > eeprom, psu eeprom, asic health) in common way. > > Use a hardware independent regmap interface, enabling the support of > hotplug events over programmable devices attached to different bus > types, such as I2C, LPC, or SPI. Add a device node to the > mlxreg_core_data structure. > > Signed-off-by: Vadim Pasternak > Acked-by: Andy Shevchenko > --- > v10->v9: > Fixes provided by Vadim: > - add missed description of pdev_hotplug for struct mlxplat_priv; I didn't see this in the diff from my version to this one. > - remove struct mlxplat_mlxcpld_regmap_context, which contains only > the field with base address. Instead obtain locally defined base > address by devm_ioport_map in mlxplat_init and pass it to > devm_regmap_init; > - modify mlxplat_mlxcpld_reg_read/write to use directly pointer to > context; Also adds incorrect conversion of tabs to spaces in at least 3 locations ... I had also corrected various typos and the copyright statement, as well as reworked the commit messages. So at this point, I'd rather see these as changes on top of what I have cleaned up. Please compare what you have here with: https://github.com/dvhart/linux-pdx86/tree/review-dvhart-mellanox-v10 And send me any changes strictly on top of that. Are you anticipating any additional changes beyond those in this version? -- Darren Hart VMware Open Source Technology Center