Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3055930imm; Sun, 1 Jul 2018 11:12:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdVhNFFWaENcBQ83gd5sTxbp3aKApzJ07tQdd2MNQSRxNN6e2JJero/29gcXy95OaXstWkl X-Received: by 2002:a62:8d7:: with SMTP id 84-v6mr1735486pfi.172.1530468746989; Sun, 01 Jul 2018 11:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530468746; cv=none; d=google.com; s=arc-20160816; b=Yks/R1FGnUfrQfEaGk7Z2tAkfHk3DYSVAVVam1RT+Q6fYQLe/bF8BawF3YKfLpzy4O 2aTIM8AOrYPifqj1CUZ/Bqcnpjh/e9vIJCgj6pdDuFOQ93DUkBTRffVc6b54u2g0JK2V MFQXrrXEkaCQ1uq4S+ODyyoNssGcK3gFvtFzC7yxEHoQLhEokRijEknd3tNeiCqgLkQf VlC1P61mer0RtHht3UYrytMwhJPv6T/kwDiD+MCYpLNRKocWhZfRDeva/6fNm0tNX47N PiXXK3iQjR2Snhzs1h+SWVjleu09hxGigN/NkaMzZP2OYMWt+VKkyMmeR2ykz7h5a5xA Kk/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=gGVaxr7ZchoAjG+KyNI22LJoHZfW+98hiipBeJnhZJU=; b=YYGkX2W//9/EuBFPgJemtNO52hhZ1UbgHgk4rrxR6XfC0BgmxCImm9A2n/o0MdjykW LU54sgEySxts2L02uEdyt84MqqdYGCYNRK0jaovBkVGD6vJeNDK7EUnX7hbVZZ7xs8wn qhEGNI4NFwKMaS0hZ0wojsXu9/owgkzrrtcErusoJuFJWdtYQmmizyZsgfhRuWcAuVPo r34MHo/+wUN0+Lc3IjOwzs70fmkkYLqhEhhiq31uPoPBy6Ajr8YYq3V4uRbJ/Gue87XX m86G2wMYqU6CZhwZKc4bRq7mYsR8cVdqfEo6mgWEbYdRBPc/Hio6Q4p41WkKLO7VGfXm JyNg== 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 n14-v6si1566503pgg.216.2018.07.01.11.12.12; Sun, 01 Jul 2018 11:12:26 -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 S1030254AbeGASJ4 (ORCPT + 99 others); Sun, 1 Jul 2018 14:09:56 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34234 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965343AbeGAQ17 (ORCPT ); Sun, 1 Jul 2018 12:27:59 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 98ABCACD; Sun, 1 Jul 2018 16:27:58 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alex Williamson , Bjorn Helgaas Subject: [PATCH 4.9 046/101] PCI: Add ACS quirk for Intel 7th & 8th Gen mobile Date: Sun, 1 Jul 2018 18:21:32 +0200 Message-Id: <20180701160758.995039117@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701160757.138608453@linuxfoundation.org> References: <20180701160757.138608453@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alex Williamson commit e8440f4bfedc623bee40c84797ac78d9303d0db6 upstream. The specification update indicates these have the same errata for implementing non-standard ACS capabilities. Signed-off-by: Alex Williamson Signed-off-by: Bjorn Helgaas CC: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/pci/quirks.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -4225,11 +4225,24 @@ static int pci_quirk_qcom_rp_acs(struct * 0xa290-0xa29f PCI Express Root port #{0-16} * 0xa2e7-0xa2ee PCI Express Root port #{17-24} * + * Mobile chipsets are also affected, 7th & 8th Generation + * Specification update confirms ACS errata 22, status no fix: (7th Generation + * Intel Processor Family I/O for U/Y Platforms and 8th Generation Intel + * Processor Family I/O for U Quad Core Platforms Specification Update, + * August 2017, Revision 002, Document#: 334660-002)[6] + * Device IDs from I/O datasheet: (7th Generation Intel Processor Family I/O + * for U/Y Platforms and 8th Generation Intel ® Processor Family I/O for U + * Quad Core Platforms, Vol 1 of 2, August 2017, Document#: 334658-003)[7] + * + * 0x9d10-0x9d1b PCI Express Root port #{1-12} + * * [1] http://www.intel.com/content/www/us/en/chipsets/100-series-chipset-datasheet-vol-2.html * [2] http://www.intel.com/content/www/us/en/chipsets/100-series-chipset-datasheet-vol-1.html * [3] http://www.intel.com/content/www/us/en/chipsets/100-series-chipset-spec-update.html * [4] http://www.intel.com/content/www/us/en/chipsets/200-series-chipset-pch-spec-update.html * [5] http://www.intel.com/content/www/us/en/chipsets/200-series-chipset-pch-datasheet-vol-1.html + * [6] https://www.intel.com/content/www/us/en/processors/core/7th-gen-core-family-mobile-u-y-processor-lines-i-o-spec-update.html + * [7] https://www.intel.com/content/www/us/en/processors/core/7th-gen-core-family-mobile-u-y-processor-lines-i-o-datasheet-vol-1.html */ static bool pci_quirk_intel_spt_pch_acs_match(struct pci_dev *dev) { @@ -4239,6 +4252,7 @@ static bool pci_quirk_intel_spt_pch_acs_ switch (dev->device) { case 0xa110 ... 0xa11f: case 0xa167 ... 0xa16a: /* Sunrise Point */ case 0xa290 ... 0xa29f: case 0xa2e7 ... 0xa2ee: /* Union Point */ + case 0x9d10 ... 0x9d1b: /* 7th & 8th Gen Mobile */ return true; }