Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp806363imm; Mon, 21 May 2018 14:51:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqERm9sPHE9q8ScmwahTOuyIFgzBfsssrRhbiHXJ75L4Af8IZgkvcoJfo3z4YWXRTHsE3JT X-Received: by 2002:a65:6604:: with SMTP id w4-v6mr17091717pgv.102.1526939487009; Mon, 21 May 2018 14:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526939486; cv=none; d=google.com; s=arc-20160816; b=UN42OVRfgH7y4kQvm/kSpllS66MeaAuq+fANJ3kpkMf1nsAdePP4RFEHlRSM25SHWi Pg5a8GFGd0Lndi6kjOwRN1u9TrvlS33f7ZX7GlDg4GyRrsQNlUFWf7B8hLDl6L4mqLSG mglmrlmCfswa2Vh9zh6EvRv5MElO2L7fYZ5FvaCdpog3RAitGB9bB5xrD6TBWy/wLVr1 tlao0/dz34dBxm9+Vgp5VNFBzcsM2dNN96ZVbGlrmd/oNovRKYqiOHVC5T5TymFcU11K 8+Odlyw4Yan3pSjsQ9wsv1TkULfUIoLlo3oSw2UaZ3KrdfQfjL40rW7ibzdo3Fl5IzP+ 0BKw== 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:dkim-signature :arc-authentication-results; bh=coJBfaVCbKzDQ0BWK6T8cByStiL7hkbuBOg0T+75NoI=; b=rUXabkIacXkOmCu1YZ3ypdlFUtKb4g/crI3sGWWrEdpecY+Y0OtC74ESk51lm607l/ 4eVPnTXpavWC8aFZ8OsXofCtWNav5kvjYbP4bQP36qJQISS3U4GDp4Vk6/6sGKmVpLeH zZyodkN8bEgVDseGCQ7SrWysfWY9bjpW0lAKWF00rpLe/CYpHL4h9uWDNGMGqnSKT7sy T0cZgS3xc8G2V2zjizOoCV3fbD3wbH2MEi9IoVsacP5pxgSx2rBy3y26tuKu0yA3LV3i STngOHmogsrWlALFVwwgVZIWC7ce1wtc75U7sEI/KLLDuWvFnSB2vDYEfMUYcwVqrgSm TJ9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mkaLKv2o; 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 61-v6si14700921plz.290.2018.05.21.14.51.12; Mon, 21 May 2018 14:51: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; dkim=pass header.i=@kernel.org header.s=default header.b=mkaLKv2o; 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 S932355AbeEUVuY (ORCPT + 99 others); Mon, 21 May 2018 17:50:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:37910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932105AbeEUVXE (ORCPT ); Mon, 21 May 2018 17:23:04 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A09342075C; Mon, 21 May 2018 21:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526937784; bh=4BRGETkQlq1EzSM5L2kwZeZEPZTynS53eGJ8qk+V57M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mkaLKv2oBuO+Y/CDm/xIkPlqlaEW3yK+5JGbDUHWJ6lIbPHuSvS7bZuW6bdbDI0hh DSScWDypthroVCahjLUNGkrV0uwso/oLEqNKb5C56S4Z5lTEUTbPa7xNUrVdItGyuq SFITorLlninJVypDi8Ria1TWZHyZhDPH9zhN1Ois= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Gabriel Craciunescu , Thomas Gleixner , Guenter Roeck Subject: [PATCH 4.16 024/110] x86/amd_nb: Add support for Raven Ridge CPUs Date: Mon, 21 May 2018 23:11:21 +0200 Message-Id: <20180521210506.000026717@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180521210503.823249477@linuxfoundation.org> References: <20180521210503.823249477@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.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Guenter Roeck commit f9bc6b2dd9cf025f827f471769e1d88b527bfb91 upstream. Add Raven Ridge root bridge and data fabric PCI IDs. This is required for amd_pci_dev_to_node_id() and amd_smn_read(). Cc: stable@vger.kernel.org # v4.16+ Tested-by: Gabriel Craciunescu Acked-by: Thomas Gleixner Signed-off-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- arch/x86/kernel/amd_nb.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/arch/x86/kernel/amd_nb.c +++ b/arch/x86/kernel/amd_nb.c @@ -14,8 +14,11 @@ #include #define PCI_DEVICE_ID_AMD_17H_ROOT 0x1450 +#define PCI_DEVICE_ID_AMD_17H_M10H_ROOT 0x15d0 #define PCI_DEVICE_ID_AMD_17H_DF_F3 0x1463 #define PCI_DEVICE_ID_AMD_17H_DF_F4 0x1464 +#define PCI_DEVICE_ID_AMD_17H_M10H_DF_F3 0x15eb +#define PCI_DEVICE_ID_AMD_17H_M10H_DF_F4 0x15ec /* Protect the PCI config register pairs used for SMN and DF indirect access. */ static DEFINE_MUTEX(smn_mutex); @@ -24,6 +27,7 @@ static u32 *flush_words; static const struct pci_device_id amd_root_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_ROOT) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_ROOT) }, {} }; @@ -39,6 +43,7 @@ const struct pci_device_id amd_nb_misc_i { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_16H_NB_F3) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_DF_F3) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F3) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F3) }, {} }; @@ -51,6 +56,7 @@ static const struct pci_device_id amd_nb { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_16H_NB_F4) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F4) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_DF_F4) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F4) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F4) }, {} };