Received: by 10.223.164.221 with SMTP id h29csp141652wrb; Fri, 3 Nov 2017 06:54:45 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TI+lgwRwYN1HfQN9Uu+JBkLBs/bqs4ibkJ9pWaI3Ee5PEv7U25qqaFUmEEZ3Ai8CedJVvG X-Received: by 10.99.95.216 with SMTP id t207mr7221847pgb.185.1509717285735; Fri, 03 Nov 2017 06:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509717285; cv=none; d=google.com; s=arc-20160816; b=J07PvY1U7Raiau8K3okP6iQvZ20kI9mvtSHyh6S62SNqyBTNThGYH5KZ1QTEBeFSLF o6TF0bD9bWeM5kdqjiTENpp1C2QO6zIMEJzIZq8sUjh94fKeHRIr3rmkKV7ncjP9gy9d 0JmJiwsKgKQb8yNtlGYWUN1mNaYLZc/4VALWVgFritc6eFA1IOFlU+qgd/0Yyg/oXOpa 9c5y/GH6UZzFA25smzBHYf5d2pLv8y4KukD/CMIxo6g6bn+JrrWbU1sqgva3iAQy0afV qYbkuapFSwZRzHqcs6RsAEnhRw5NWPkdXqkh3B6mfpWDX/S0zhaaJYUBBE10k/S4xsFS XTTQ== 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=8NJnBeyZeXA9lgj9lUSR2uUWko/fqhquEkvcYpRo1mA=; b=fsTLuOKR0Slr+5TZhFoKSn6ctTdnA9vFgPKc4alwvd3w9xW0xpHaCdy9l/gWzzCLgb 1+iMBbt49gpyP0s/Xnm/waRS/Qw2a4EIRCRn7I8WBKdZOSq/TsC9X9Icoxy67SH7SF6r gnKoM8b2gNP9PqYCno0xuiorph5tuwZk7xEhhTeHzMYZbRqxJSzoaCcz3rYuWl6jQ48R OXtcTAxRDch8q6AronqJ8U3TAE23XyhfgMvh2sP1AYbAvYNeFE6OKSD1b3C121fe2fFv GMXVf8/Es1wF9D90hAoOagsI6bW2NLwdig4YtmQ8HC0FAFhv7aUxQGo1ZvIKtwB+HkJh MjMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eGW8eRLj; 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 r1si4485697plb.531.2017.11.03.06.54.32; Fri, 03 Nov 2017 06:54:45 -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=eGW8eRLj; 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 S1756507AbdKCNxe (ORCPT + 95 others); Fri, 3 Nov 2017 09:53:34 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:48518 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756334AbdKCNwu (ORCPT ); Fri, 3 Nov 2017 09:52:50 -0400 Received: by mail-wr0-f193.google.com with SMTP id 15so2584633wrb.5; Fri, 03 Nov 2017 06:52:49 -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=8NJnBeyZeXA9lgj9lUSR2uUWko/fqhquEkvcYpRo1mA=; b=eGW8eRLjkggKWJgZWy23jyJArMlDZAmAeh/4FlOsxy7RSwvwih2f/aWfXOO8IKpctB KdVjP8OtbNvEFt3x6zk8o8JWXpJZvZ1oaHvl7fmJGMDaDZ7HWdbq7QPI99k+2GqcWCM1 RBy8j4FvpxcRDqBzLqE2eipPH1qk6iYSrCfmd/9pHNwDZA9g/oxbt+I0ihjvlPmAkTYr CbhyF9kCvTFvlPdPymH9/nAgqs+9V3WL9L6nPzNFgjoWE5LJrsYZqDmnI3zLCzmSCTmj vpyb8RXKLfa66WRO9kn9ncrQTdG1uYt2cF1wOKgUEqOMGM2qJJiKF3S55nez2aLZgeA0 66pA== 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=8NJnBeyZeXA9lgj9lUSR2uUWko/fqhquEkvcYpRo1mA=; b=rvNUYqDyrgWi7ohT6IODbueFlB9HdFm5vG9S1YvML2E3Ym1YZRp7z4uF2je9sJ6Eye sadMt/0aCxXOLm2P04JXV8K1R1ykkhSJmD9obqIMyUazcc/vUDwhcLU5sq6prM1z/cKT sT+V6enUI+lYVJyA8Hn9uIobRBgNVwC9O6it7mLuarLmGgqSwzQhwdGbwc0ovdTfJG0s 6UzVLexgRFIbqs1pcgGgKZbXQP+tFQdN63FPeIHtlYkEcer6lIzq+NqlnPztWQAo43cl OSxpnrNWsK14fz7jQvwDEU0p9Y635LigJ44pEOrL3Ru4YVWvXnyFu/OVZOvoxIW+HwdP IIQw== X-Gm-Message-State: AMCzsaVDRdYoGu3dJ/kO/VgHLQzhD8V0OD0da9XoycDZU36HLl0xrcjX 74zo1PvCsShIV5yQ/w20Lg2zbg== X-Received: by 10.223.176.214 with SMTP id j22mr6670541wra.24.1509717168741; Fri, 03 Nov 2017 06:52:48 -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.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 06:52:48 -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 3/4] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 60h-6fh) Processors Date: Fri, 3 Nov 2017 14:52:43 +0100 Message-Id: <1509717164-1946-3-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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c index aa8b20e..3eebb0e 100644 --- a/arch/x86/pci/fixup.c +++ b/arch/x86/pci/fixup.c @@ -639,7 +639,8 @@ 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-1fh, 30h-3fh) Processors here. + * PCIe device on AMD Family 15h (Models 00h-1fh, 30h-3fh, 60h-6fh) Processors + * here. */ static void pci_amd_enable_64bit_bar(struct pci_dev *dev) { @@ -697,6 +698,7 @@ static void pci_amd_enable_64bit_bar(struct pci_dev *dev) } 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, 0x1571, pci_amd_enable_64bit_bar); DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x1601, pci_amd_enable_64bit_bar); #endif -- 2.7.4 From 1583056937617101268@xxx Fri Nov 03 14:52:22 +0000 2017 X-GM-THRID: 1583056937617101268 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread