Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2817185ybl; Thu, 29 Aug 2019 13:22:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIN5cUv+Amfrjb/ekK6p9N4ZbSX50AQnLSuyXHQO0QKtyoGQ4xB8Mw+YKr9qCXTHkBTHdJ X-Received: by 2002:a63:f304:: with SMTP id l4mr3417708pgh.66.1567110140892; Thu, 29 Aug 2019 13:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567110140; cv=none; d=google.com; s=arc-20160816; b=RCM6oha2hNM1hTRFifG5vN7dcbFM4WlbDllrAiAQSxb4G4dENejku4YF+mCVt4uHCt V5nfljOzJe4NJRaLhxHoUuq5YTRjtuTIpME7XHq8qhh66liDZuJrQaJwQGHwC1f8gUka UuUUtA1AQM0G+8bYr5I4Z/LWNEf8NcUDq/vnrhjULVVElNRCsr7WnMDNvz2c3Q+DVo3F t7l7v1bR5c/nrmlgUwPOvSNm6zUvsO/zUPwQlkrRlNzyh6zi2eFt1QE51nE7j+3iVHyB Ci5iGN5FwKw2VpZPRhGw5hMBAPBSBJkRds3gHMKhRSfVtSkjd4mnI2QHHbZiWlNBL0mf dEfw== 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; bh=1TPc+MXA3C/cQgovE/BsAn9mcRJKLUidPWPhowW67U0=; b=jY5EbF0cqPM7N8UxJmB8Jpq4kKLVTu/WB96ZcUGp5TLjcC6sCLfuXlc0lH+NZ9pwGw 1jNkeFmXh6ZVyFTrH7isyAMn4i06JGZgDZH+v2rEZgKM1/Hwxs9+I68ASg1GwQ7j6Umj 0dk4EcFG8+yDy7Th2ptyyMonh/frTViGypwFAcDHi693txDHa2ezItXUFG6Dtykgk8M9 hIEZCoifnNmGRmxecv3gC0SW+2UygJ+t75Dio/TF9fkZM1btAvIqaa69G9WO0tL69Av1 2PzXmNgCepIJKi6lITiwYQ7CmEYwbUzRDdyZezoB0/b+c+FHGBtkkGu3NcPGRbQHl8OB PzOw== 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 l62si2776581pge.590.2019.08.29.13.22.05; Thu, 29 Aug 2019 13:22:20 -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 S1727973AbfH2UTo (ORCPT + 99 others); Thu, 29 Aug 2019 16:19:44 -0400 Received: from sauhun.de ([88.99.104.3]:43196 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726935AbfH2UTo (ORCPT ); Thu, 29 Aug 2019 16:19:44 -0400 Received: from localhost (p54B33070.dip0.t-ipconnect.de [84.179.48.112]) by pokefinder.org (Postfix) with ESMTPSA id C2A0D2C001C; Thu, 29 Aug 2019 22:19:41 +0200 (CEST) Date: Thu, 29 Aug 2019 22:19:41 +0200 From: Wolfram Sang To: Jean Delvare Cc: Linux I2C , linux-kernel@vger.kernel.org, Andrew Cooks , linux-acpi@vger.kernel.org, platypus-sw@opengear.com, "Tobin C . Harding" , Guenter Roeck , Will Wagner Subject: Re: [PATCH v5 1/3] i2c: piix4: Fix port selection for AMD Family 16h Model 30h Message-ID: <20190829201941.GQ3740@ninjato> References: <20190802145109.38dd4045@endymion> <20190802145246.76c90f20@endymion> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NEaRsfQExFH3jWtg" Content-Disposition: inline In-Reply-To: <20190802145246.76c90f20@endymion> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --NEaRsfQExFH3jWtg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 02, 2019 at 02:52:46PM +0200, Jean Delvare wrote: > From: Andrew Cooks >=20 > Family 16h Model 30h SMBus controller needs the same port selection fix > as described and fixed in commit 0fe16195f891 ("i2c: piix4: Fix SMBus port > selection for AMD Family 17h chips") >=20 > commit 6befa3fde65f ("i2c: piix4: Support alternative port selection > register") also fixed the port selection for Hudson2, but unfortunately > this is not the exact same device and the AMD naming and PCI Device IDs > aren't particularly helpful here. >=20 > The SMBus port selection register is common to the following Families > and models, as documented in AMD's publicly available BIOS and Kernel > Developer Guides: >=20 > 50742 - Family 15h Model 60h-6Fh (PCI_DEVICE_ID_AMD_KERNCZ_SMBUS) > 55072 - Family 15h Model 70h-7Fh (PCI_DEVICE_ID_AMD_KERNCZ_SMBUS) > 52740 - Family 16h Model 30h-3Fh (PCI_DEVICE_ID_AMD_HUDSON2_SMBUS) >=20 > The Hudson2 PCI Device ID (PCI_DEVICE_ID_AMD_HUDSON2_SMBUS) is shared > between Bolton FCH and Family 16h Model 30h, but the location of the > SmBus0Sel port selection bits are different: >=20 > 51192 - Bolton Register Reference Guide >=20 > We distinguish between Bolton and Family 16h Model 30h using the PCI > Revision ID: >=20 > Bolton is device 0x780b, revision 0x15 > Family 16h Model 30h is device 0x780b, revision 0x1F > Family 15h Model 60h and 70h are both device 0x790b, revision 0x4A. >=20 > The following additional public AMD BKDG documents were checked and do > not share the same port selection register: >=20 > 42301 - Family 15h Model 00h-0Fh doesn't mention any > 42300 - Family 15h Model 10h-1Fh doesn't mention any > 49125 - Family 15h Model 30h-3Fh doesn't mention any >=20 > 48751 - Family 16h Model 00h-0Fh uses the previously supported > index register SB800_PIIX4_PORT_IDX_ALT at 0x2e >=20 > Signed-off-by: Andrew Cooks > Signed-off-by: Jean Delvare > Cc: stable@vger.kernel.org [v4.6+] Applied to for-current, thanks! --NEaRsfQExFH3jWtg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl1oM10ACgkQFA3kzBSg KbaAWQ//cejX5wNmq/86VgH0HBL8vaGsiIXXyk31ubybf2Cy+49BTQSoqEZzLksD Wt4lMuy5g82KrzHfv0EBhfFky3f+CepSj/+SVaMdA6qukenIV1KkwfXOX8r1eeaj gU4VXujIFpsul77gH0IhujLLFE6uJJbAaZxv1T0MGy1jv1rV32vFB/9iKrCBGrYo z2Oc3JWt1HKSU6gFVcU802W77tSxiJXi1YQawR5iR+elQuf6G0bZEeQxMOlrAX7G 2yIcnaJjg7ggHzjmcxddSLoXhEP91KctbNkMDTCJON4uxFE0uPcW/7kHl/3839bc WxTElRHBrJ82xjvNIuVqgvC0qjo2E4QWzY+dSpWWnac0pKCVeFbSRu4BPY5eY/zk vEjNRuuHXKTWlWCXtayprTQeC7NLyT3dW2jKzGw+ZoBkmgZYlwGm1MWR6vwHT+41 3AduNlYf0C9B8jbQUl28MbRr+YUaF1Mp0JiL3R1Fv9ab9m79iRzPUAqWgya7Bgqs 2nwOM28Fbh1fRGysNqOJcSLrVw5hPp/SG/m+mTyR05a5aZaTtEdPyKw7DGTJtjru V/usRVQMsmh9jEuUM35KDQT3wU50fogSlnYRShDpCvXA+qdqEHoTZ/xUr4ZYqitF peda7N2EH/j9BsHoVgbi9I14rbN9jkEa8T0kLB67zOHJCue2v2w= =nshq -----END PGP SIGNATURE----- --NEaRsfQExFH3jWtg--