Received: by 10.223.164.221 with SMTP id h29csp141277wrb; Fri, 3 Nov 2017 06:54:26 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SdWvQMyNMQtImxPJirw6A2T/ebRvtlJRoOyLw7UnRbFeCweOTd63l6+5pPLYEsZJUPxq5Z X-Received: by 10.99.180.73 with SMTP id n9mr7114509pgu.373.1509717266018; Fri, 03 Nov 2017 06:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509717265; cv=none; d=google.com; s=arc-20160816; b=KX/uUmUnhcvUPZdt0/HHf/SafEo2M63EtZju70HJ34Lhjp2QPJHeiEEBLMhykFuJ8I z2RJ0RDY05S4gMOw1DpKq4SUovZsZHciE0MfKn6CLyweiYyHxBqbh6Wya4MMOXHTxGTG WVWaU/+OQP2wsVrmkyR1wZbbExPPj8x/iityXhAXLqewfPEpvx5bpN5mks2yaRMs5WQu hUwclTN/7uDkal0rNOJ7pALhoS2nqS47o5WD2dfAamKn6iGpBY254X60vSeUwnzkxAJ5 otOOEDFG6Dy+UT5Fu7qACbUGeNuIkdR79PMkl1DKO2Y/WBDIxDbCozkd9EUotYy4uwJL jmbQ== 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 :message-id:date:subject:to:from:dkim-signature :arc-authentication-results; bh=2LXTENh/C2Fpran9XCO7Qza0Jhm01V9khZzi5V/XzHk=; b=ower57PWx2p7MckQct1O1nM/tiNWZaCjSnr/cxBu1hUxRVcLPmRPg50QgabZRP2uZ7 vgjt8D4pQyZ7LnFc3oPuNFqoZw7KWInCae3SZ2dlXqku4d1V52NkraLpyiAMBIfpVwKK jiqH7xRs77zLA76nbn4rUDrQTO/FPkaX0hVVCd2T3BFkUyHZ08Tt0cysabmFvbBx8yzv +nWrsEXdmlqaNvk4JjFRHwLTX1x/tWehWfZsjvHB/VW/pkQzyVR6S7I4lBLKa+EVzCiA 5NY+FVDCOkweqeWYo7Rdn47TIy3ymMEf3l0X1u5Va/N3GdNe3N1i9pNWXK+0dc7x6ROZ IpVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=upO8XNP3; 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 f16si6088276pgt.658.2017.11.03.06.54.12; Fri, 03 Nov 2017 06:54:25 -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=upO8XNP3; 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 S1756572AbdKCNww (ORCPT + 95 others); Fri, 3 Nov 2017 09:52:52 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:56799 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756242AbdKCNws (ORCPT ); Fri, 3 Nov 2017 09:52:48 -0400 Received: by mail-wr0-f193.google.com with SMTP id r79so2556088wrb.13; Fri, 03 Nov 2017 06:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=2LXTENh/C2Fpran9XCO7Qza0Jhm01V9khZzi5V/XzHk=; b=upO8XNP3XGqa8H/8H6gpubUu2I6Vq+R26E+ddMYG9zvg7VlHUC/bJm289GWZkxfWe4 prBz2D4gHUz63hGMarISnB63Nk9jEDyWXj0F1l6OkUxydCtmlOPhMpusZmjJBXRrnV2D BTq6gmlKZpGlxCi59iT/u015BPf3f7zeTEJNkHaF59mREIiTeLY8IecQMjm9ij3uWbV5 +Rk7DYg1iGoQCC/Kry42JaHK9/rmZGJNRsmBL9E+EmT+BDN4ZiSPSqNfVq9IVxOQEsJ4 W3jXADZhhiLiueqMNurUXWLze77Zg2c+dZ3PWD+1y257lwpK3ZfbHcwpZCwtOuDK7azI 6d4g== 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:mime-version :content-transfer-encoding; bh=2LXTENh/C2Fpran9XCO7Qza0Jhm01V9khZzi5V/XzHk=; b=KGnQaURpRGognneBT0WbXhF2D+YEjb9tZZRHDtXYz6LcsB5LtR5p51ONbFggjiTA4l +X+Mr2zkS2P4RKb9eXdRCAC1Jh9cPu0qmwHvYZjSXYdLzGNFRyiwZ+47eMsdMtZ/3Mc4 Rm/ofv2wR4roKMe58+LVN5dXcKGwlklomnqWdFpFNvaia+oX+A2XBIicA1ovSobeSTYM bVam4A0P7s95B+RZhugHhHz5SJ83iSHx1qDOr78F4wNM4T3uem+wkXJcyHSCwyDkT6mx c7KrMJyVofGuzstISwLfJXNWDRpvHqUcp+RxC2VDtjqlCuMn0oggkSs17wXmrQZ+qd1R iqBA== X-Gm-Message-State: AMCzsaW32UGDDwqP3rg1i+kJPaWpXpctV0TW8i9hO1/t2VFfQzVgQMvy GiX5VwUQnJkooDf09NRgV4CVqQ== X-Received: by 10.223.197.65 with SMTP id s1mr6065608wrf.147.1509717166959; Fri, 03 Nov 2017 06:52:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 06:52:45 -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 1/4] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 00h-0fh) Processors Date: Fri, 3 Nov 2017 14:52:41 +0100 Message-Id: <1509717164-1946-1-git-send-email-christian.koenig@amd.com> X-Mailer: git-send-email 2.7.4 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 7b6bd76..1d2238d 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 30h-3fh) Processors here. + * PCIe device on AMD Family 15h (Models 00h-0fh, 30h-3fh) Processors here. */ static void pci_amd_enable_64bit_bar(struct pci_dev *dev) { @@ -696,5 +696,6 @@ 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, 0x141b, pci_amd_enable_64bit_bar); +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x1601, pci_amd_enable_64bit_bar); #endif -- 2.7.4 From 1583493351203554013@xxx Wed Nov 08 10:28:59 +0000 2017 X-GM-THRID: 1583493351203554013 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread