Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2237894imu; Fri, 14 Dec 2018 07:55:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/WINj7QE13/OjRHZuVqcA/2FoBfwYjWF4AgJX0jlqOz/wd+9diW+JvPh3T13s/WEZvhELL7 X-Received: by 2002:a62:b9a:: with SMTP id 26mr3369971pfl.196.1544802957653; Fri, 14 Dec 2018 07:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544802957; cv=none; d=google.com; s=arc-20160816; b=xWSlLt7YAcQA/eV/Hw1CBrY6ideUyorEUAV0UjTaYcyXm6ByMStke13HqOEv+kBML0 2cZNNCMZHOTWiF4WSkFgyhkYCHmUtclrZ3jEKSYzzn0JAD2IonX9ZYZPHTrTXE9nClwV O1Wk/kv7p4MXBztDQG2N0bO/M9q94tGjvrvsJ8U1blTxalaGpCui3UbDToBEhwoRH05R Ek03ynsl9rUmP9ZYnCg099yLRaQL10ku/nuFBdQuepNpQNj8rNTxxSXVKcMVcDPn76CN SJTsy+ZG4tlWg+37VIQeD2jbXJHijk3Gd1j3790Wpv56+yQie8Bc+hHZqvjcOkKFzqjj 31Ug== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OyJ4RQ0X3eoqBPBE2jbg+TcjQOt/Jyg81FHlkEqZdT4=; b=OrzSA1tJqv9M56P2z0AjTKP/OCEvEqFJ0W/yqe2oS2qe6nEoTfnDRugp7MsjXVVfug wDbycILQGkp2ZjRYvQyRIrC4Vvv3HIRboB72TZQcBN+2vLvJUizktY3ywpqcPfiBEMkx +eb6hyGtWlHT6WbIvNFD8gF1rKLtcU+O9bNDUAZL5nAXclzp9e23abnxCIeazazzWIeg 1uyWbJ7/Sih92FUjLC+tOBrgFI+RhTCjWNXsoln6yBYc87rjkYNIusZaMd+215KIV25c OQjc/b9OH965o7yRg1PbLSbysJwS8QEvZNG5tq4BWrwhYF9EqH/deO5bUZqIIHZ2LEnt NDZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PFOzxJ+e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si4441748plh.274.2018.12.14.07.55.38; Fri, 14 Dec 2018 07:55:57 -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=pass header.i=@gmail.com header.s=20161025 header.b=PFOzxJ+e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729285AbeLNPx1 (ORCPT + 99 others); Fri, 14 Dec 2018 10:53:27 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35755 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729163AbeLNPx0 (ORCPT ); Fri, 14 Dec 2018 10:53:26 -0500 Received: by mail-lj1-f196.google.com with SMTP id x85-v6so5322884ljb.2; Fri, 14 Dec 2018 07:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OyJ4RQ0X3eoqBPBE2jbg+TcjQOt/Jyg81FHlkEqZdT4=; b=PFOzxJ+eDu9/r65ABdMqU7Q24SxdY4Bwpj7WBNLJtpguxlNhtWtt9osOjv2i1WfEii riMgDEvVU4DJbv61iX0REbLxtTtoYHsxHcPVEahmMk06xxT9+bZddaJm257FggIHZkhV 35TUjA1AflmXvRftJhb6zAEasHT0gTzt7vhHbZ3cCbEpFwJbwO4bfT6sq28cX3nSN5a4 UZHkx5HrnScNIZJ6fy1DhhYwLajr7I9CV1JIXxzNrwzQ0iQf/lAVm6rVit19NseUSNYa IlO6P3RPicI5YBEAkbtRmnJeDGAX8wSA8CZ0o5XmOnVQWPLJNkfkOg83QD/0kWYXuyjg TrEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OyJ4RQ0X3eoqBPBE2jbg+TcjQOt/Jyg81FHlkEqZdT4=; b=i76AMafE/AHsZGNBc6PgzG3TnBvZAjnoD1CSnzhjcblZwLFy5L3/qq67elfCXp/TQ8 czXK/WENTIZC3Afxj+XiD+XO9J9NcP2Kp3RNK82QiE9nmQOd6B9rsa0VVvHndMj3l0OF Vrt0hbKaTnQy46VUlUDCAWqJuOJ/02DgOIYGW14nGjxGdYUiSz0hyzmuSlzLK9rkbDBU JUfJ3RXCzk1dq5LgASRr3n2kv7SpAx1VXOgMZx704QHS4v/QzKXrA/QUEWls6sCXHB/h 1KBlCjiOHF32ybsr3bdMngLXziT0mIEW3RI6rplKq+0cKOJzd8o1BPjTziu6QZAGLtTV yC5Q== X-Gm-Message-State: AA+aEWbXx5jzv6sXiT48Jd7X1jouTTDf5+tIc9C1jm6KGgnrbb/yKlVS 99j61EX8UHIyuk7Ux0evX008DMagbUQBk4WXSPv+1PFzlEu4eg== X-Received: by 2002:a2e:3603:: with SMTP id d3-v6mr2173949lja.46.1544802804145; Fri, 14 Dec 2018 07:53:24 -0800 (PST) MIME-Version: 1.0 References: <20181209155602.GA8414@syn-yoga530> <20181211210159.to6okhbaqpymoax5@ninjato> In-Reply-To: <20181211210159.to6okhbaqpymoax5@ninjato> From: Elie Morisse Date: Fri, 14 Dec 2018 12:53:12 -0300 Message-ID: Subject: Re: [PATCH v13] i2c: Add drivers for the AMD PCIe MP2 I2C controller To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, helgaas@kernel.org, Nehal-bakulchandra.Shah@amd.com, Shyam-sundar.S-k@amd.com, sandeep.singh@amd.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Having the patch reviewed by Nehal Shah would be great. While waiting to hear from him, he voiced some concerns in the v10 thread: https://lkml.org/lkml/2018/11/27/62 The _DEP hint was removed in v12. Regarding AMD's intention of having two drivers, there are still two drivers, just within the same module. And the comment about where the DMA mapping code should be is minor and it's trivial to move it back if AMD plans to expand the platform driver. Noone reported any issue since v11, I'm done improving the drivers unless it's necessary in order to get it accepted upstream. Please let me know if I still have to change something to get it merged. Elie Morisse Le mar. 11 d=C3=A9c. 2018 =C3=A0 18:02, Wolfram Sang a = =C3=A9crit : > > On Sun, Dec 09, 2018 at 12:56:02PM -0300, Elie Morisse wrote: > > MP2 controllers have two separate busses, so may accommodate up to two = I2C > > adapters. Those adapters are listed in the ACPI namespace with the > > "AMDI0011" HID, and probed by a platform driver. > > > > Communication with the MP2 takes place through iomapped registers, or > > through DMA for more than 32 bytes transfers. > > > > This is major rework of the patch submitted by Nehal-bakulchandra Shah = from > > AMD (https://patchwork.kernel.org/patch/10597369/). > > > > Most of the event handling of v3 was rewritten to make it work with mor= e > > than one bus (e.g on Ryzen-based Lenovo Yoga 530), and this version > > contains many other improvements. > > > > Signed-off-by: Elie Morisse > > Nehal Shah, are you happy with this driver from your side? >