Received: by 10.223.164.221 with SMTP id h29csp140991wrb; Fri, 3 Nov 2017 06:54:09 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RV4hGKYap2eT6vuuZcChYlUh6BsA0nvBXSFioNI31mJ8PvvQXbs5YUmOAqWmZvWflSSR02 X-Received: by 10.98.9.207 with SMTP id 76mr7872966pfj.70.1509717249518; Fri, 03 Nov 2017 06:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509717249; cv=none; d=google.com; s=arc-20160816; b=st7c+TDxAvHGUPV8ePErqOUSifJeR6rnRVRTsfAn7b3cRlp2u6m6Pi5TmSn9iPm16J SfxzWToxLMfnI+R9IhgkSGeVGcsxKZh1XuPHHdUYCQlaeEdqWJqmDGemx5blcr+KzFRp 2icZZ6g/ogdwuew1S8qE1NWh+J9wA1ybyzhBp4F9AIQpZe5LUXIeFOXlgD7CYhfJ1ewE X+7UnleAz1HbRrKyKgfUdXwEZqmdDTrssqVcB93kANEv3eannv2cDoFOz52r3vSysJh/ cH5k/CYkTrjZCAh9Ii3DJWPWbfbXUbTM52fJ6ohe84zv9Oi4UEbFaHY0XMkQF+RqOH53 znGQ== 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:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-authentication-results; bh=TOFc/fWDI8JagFR4vVJX0xgdgrnAZAEejNTGgrz8Rts=; b=wGeZyG+AaUf6OEbOl/XNVkTfxwlOFtAG2m00C9ywvaM6Xf809a7ENdFreFTlbe26dz idyKtUqFVJGIjZ7WajgBE7zQrICwfj+642vMZMatg0UcesMFQy+FpnT8fq70XCeGKJvn V+KiTSFVOmaN3lS5DRMhSI+We4FBFx86R8XJC/fMnj79Y+wZTSsNI2j08rSE1klna6mh Mdy0EVaKvMS3+vXIcb7yhVTANomIThz55X55tKwKDlBre6frMrSJ/3CZ5n1b7P8LUpEz mOVaYr4n9JRbW9XY7QGycdzgj3V0cUQzSis7boVEbsjdoEABn1HYQIrRLxxwGlJi38VP lbAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=urCoO2aR; 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=NONE 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 e23si4039729plj.47.2017.11.03.06.53.55; Fri, 03 Nov 2017 06:54:09 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=urCoO2aR; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756588AbdKCNwy (ORCPT + 95 others); Fri, 3 Nov 2017 09:52:54 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:56804 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756318AbdKCNwt (ORCPT ); Fri, 3 Nov 2017 09:52:49 -0400 Received: by mail-wr0-f194.google.com with SMTP id r79so2556147wrb.13; Fri, 03 Nov 2017 06:52:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=TOFc/fWDI8JagFR4vVJX0xgdgrnAZAEejNTGgrz8Rts=; b=urCoO2aRzDDwq7AqpP45j+U2AMXSHuhZJhVDI/nf6+CuQsK7FJE+nEampGj9pTYgRI 3pxaY8aBg/LWwrHJFhYgA0OokIlNz/aLF/7+XSVJM9qLoCuo4GFnCJSKn6HNzN4jas8r oRualX2LGfF/+jOyKtYnEaw8H9o0Syo3jMsiWFrTd7986Kxy9mS+/6IZ9+qVs3GrpAsk /txBsWAYyaFycD6uyDjwSgrkFBleeeT9TEKFeJUKocHbxnMkBo9ttKkqzFwvK/1z1ShO zLIpsMfgpjHmSosgJ9C8BcM9nK+xTKmOZwTuN058a5NgILJaxu6ujk/oupvP67wirsu5 5Tng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TOFc/fWDI8JagFR4vVJX0xgdgrnAZAEejNTGgrz8Rts=; b=IGbL4ZfkMuZRPqxE2XDUemqMpn1VruszBaCVpqJJgGv51y5napd6XZFVHaSOs1ILqk 1Ix51amLSWVxthwsu6qUntbjFv9k7R67eyCOe6jhXECvuijYtfN83eEILOMjh8E1DqGP RqYpqyqlF3oI3vtDAPD0Yv+x5XfzZQjSPSgqbG4CBgSjhChpweGz01UkMWMz6bfSrxq+ S3Q+IXMPsZ4wXXSiouDzKVb24P3hg2r9Emy/sOTpeeDnfMCFX42uhwqOsyjKpVfGdg73 8sRavOkO1bzT9QgvDMxveFY8n8zUlxeAlDjIXdne9NCdFZQSjYAAleiiu3CFaMNy1iqQ brlg== X-Gm-Message-State: AMCzsaUm7B8TCMQ8GeccqTgT76C8WeimsqmxmOaA88CKgNa7RYJg4vIi 4acw9qzlOIfOeAczN3QYoiBH/w== X-Received: by 10.223.131.226 with SMTP id 89mr6272391wre.227.1509717167818; Fri, 03 Nov 2017 06:52:47 -0700 (PDT) Received: from localhost.localdomain ([2a02:908:1251:7981:44a4:4f3c:4c8:d3f0]) by smtp.gmail.com with ESMTPSA id z17sm4109562wrb.67.2017.11.03.06.52.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 06:52:47 -0700 (PDT) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, helgaas@kernel.org Subject: [PATCH 2/4] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 10h-1fh) Processors Date: Fri, 3 Nov 2017 14:52:42 +0100 Message-Id: <1509717164-1946-2-git-send-email-christian.koenig@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509717164-1946-1-git-send-email-christian.koenig@amd.com> References: <1509717164-1946-1-git-send-email-christian.koenig@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just add the extra PCI-ID to the existing fixup. Signed-off-by: Christian König --- arch/x86/pci/fixup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c index 1d2238d..aa8b20e 100644 --- a/arch/x86/pci/fixup.c +++ b/arch/x86/pci/fixup.c @@ -639,7 +639,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x8c10, quirk_apple_mbp_poweroff); * configuring host bridge windows using the _PRS and _SRS methods. * * But this is rarely implemented, so we manually enable a large 64bit BAR for - * PCIe device on AMD Family 15h (Models 00h-0fh, 30h-3fh) Processors here. + * PCIe device on AMD Family 15h (Models 00h-1fh, 30h-3fh) Processors here. */ static void pci_amd_enable_64bit_bar(struct pci_dev *dev) { @@ -695,6 +695,7 @@ static void pci_amd_enable_64bit_bar(struct pci_dev *dev) pci_bus_add_resource(dev->bus, res, 0); } +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x1401, pci_amd_enable_64bit_bar); DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x141b, pci_amd_enable_64bit_bar); DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x1601, pci_amd_enable_64bit_bar); -- 2.7.4 From 1583201365178093306@xxx Sun Nov 05 05:07:59 +0000 2017 X-GM-THRID: 1583201365178093306 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread