From patchwork Fri Nov 3 13:52:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_K=C3=B6nig?= X-Patchwork-Id: 10040225 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BB6FE6032D for ; Fri, 3 Nov 2017 13:53:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACA302964B for ; Fri, 3 Nov 2017 13:53:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1B5729653; Fri, 3 Nov 2017 13:53:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65E1F2964B for ; Fri, 3 Nov 2017 13:53:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756470AbdKCNxe (ORCPT ); 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-Google-Smtp-Source: ABhQp+Tkx6wqb34893vd2AQZ1cJ8qmiGfnmGMEjb18T4vW89BA6TUjMNaGfgS1kksyg3zhdiaJXA4A== 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 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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