From patchwork Mon Jan 6 22:41:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sushma Kalakota X-Patchwork-Id: 11320219 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 50D94930 for ; Mon, 6 Jan 2020 22:37:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2FBDA21744 for ; Mon, 6 Jan 2020 22:37:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726858AbgAFWhZ (ORCPT ); Mon, 6 Jan 2020 17:37:25 -0500 Received: from mga01.intel.com ([192.55.52.88]:28167 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbgAFWhZ (ORCPT ); Mon, 6 Jan 2020 17:37:25 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jan 2020 14:37:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,403,1571727600"; d="scan'208";a="210925896" Received: from unknown (HELO skalakox.lm.intel.com) ([10.232.116.60]) by orsmga007.jf.intel.com with ESMTP; 06 Jan 2020 14:37:24 -0800 From: Sushma Kalakota To: Lorenzo Pieralisi Cc: Jonathan Derrick , Bjorn Helgaas , linux-pci@vger.kernel.org, Sushma Kalakota Subject: [PATCH 2/2] PCI: vmd: Add device id for VMD device 8086:467F Date: Mon, 6 Jan 2020 15:41:22 -0700 Message-Id: <20200106224122.3231-3-sushmax.kalakota@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200106224122.3231-1-sushmax.kalakota@intel.com> References: <20200106224122.3231-1-sushmax.kalakota@intel.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This patch adds support for this VMD device which supports the bus restriction mode. Signed-off-by: Jon Derrick Signed-off-by: Sushma Kalakota --- drivers/pci/controller/vmd.c | 2 ++ include/linux/pci_ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c index 2b192e72f550..9433bd387fdd 100644 --- a/drivers/pci/controller/vmd.c +++ b/drivers/pci/controller/vmd.c @@ -868,6 +868,8 @@ static const struct pci_device_id vmd_ids[] = { {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_28C0), .driver_data = VMD_FEAT_HAS_MEMBAR_SHADOW | VMD_FEAT_HAS_BUS_RESTRICTIONS,}, + {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_467F), + .driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_4C3D), .driver_data = VMD_FEAT_HAS_BUS_RESTRICTIONS,}, {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VMD_9A0B), diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 8b3bc4b545b9..aac007c60f87 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2957,6 +2957,7 @@ #define PCI_DEVICE_ID_INTEL_SBRIDGE_BR 0x3cf5 /* 13.6 */ #define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD1 0x3cf6 /* 12.7 */ #define PCI_DEVICE_ID_INTEL_IOAT_SNB 0x402f +#define PCI_DEVICE_ID_INTEL_VMD_467F 0x467f #define PCI_DEVICE_ID_INTEL_VMD_4C3D 0x4c3d #define PCI_DEVICE_ID_INTEL_5100_16 0x65f0 #define PCI_DEVICE_ID_INTEL_5100_19 0x65f3