Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4878212pjb; Mon, 27 Jul 2020 07:25:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzM8VdWGFxGvVH0bmB0Es6mDirDTaMB36C7BkxIsVBJsT4TQ/anRgigp6GhCYq2oz3CMY3 X-Received: by 2002:a50:cbc3:: with SMTP id l3mr12909034edi.58.1595859945451; Mon, 27 Jul 2020 07:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595859945; cv=none; d=google.com; s=arc-20160816; b=DzXbCi3V9ehzx6JKXXpkDzu/xJBtgO0Ofw0YrjGndHJAZE2bvuJfs3GqBzk9Tfq2fl Y1CQKB/tEa7kclgFDUN5NFmm5kIDYcItLRZhupQxO1JbqboEJyzdifCSW7Or6T8HHIhH m508lylfgy0hFDwBs3lEPGrDwvRbQELGkM6FiMb4RFZhsxH1CiXfDphFMv4tLPcHh1mJ v0MHyzNDtjSL48y8J6b7G2eb8ffmcSUKzJTB7ktk5iCZtmyhAcsul1san4ng2J4bZLZL uoE/K2kMWscpFAUpCCYDTMMSs+6ZxS2KFnUcxNnkItjSu/wO2owv4HtbImF3gl29pBKH skvg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EEf4R/qLnEKe2wtdbRtj3YeM8a9YAUQ0t9PuUaLtuqs=; b=kcuGRTL2qz1rbQo7/TcTfbcKVhU2eu1Htxklq2AIQIyBM8OC66sNA8+oXbE/PwvFHH xLBtf1nQ1Q9utT/5oPVR6OG0KODD03vHf2P3iJ6IHwyd9Vngm2vpdnBkm6NA+TmXWCRX fwIcB3KPeTNo6d+etdUMj4mSx6zpQ66FWk+CC+8RX5WleP7eh0V/bNOgMJC91HcMksor 7BDlQycQo7I6M4NPG4ZTrEU9c0ANjy8PWTowLqmapW5SwtgqJVE/iAzi0UWeRpwwXjlN pWUjLR2XABgyD7fJvk39sFhq8mz5LofM5Yffbn4BhPzOiqG4DFl/GXJDPoF+0MbHF4GL zeYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ST2owT45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz3si6215937ejb.142.2020.07.27.07.25.22; Mon, 27 Jul 2020 07:25:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ST2owT45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732207AbgG0OYJ (ORCPT + 99 others); Mon, 27 Jul 2020 10:24:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:53458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732202AbgG0OYF (ORCPT ); Mon, 27 Jul 2020 10:24:05 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 6121A2083E; Mon, 27 Jul 2020 14:24:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859845; bh=2YIIIe82rhQonM8OSS7nLOwgi3BRrqAqK7yxquHChVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ST2owT45C+dQix8KM9WAigHXKmw3ws1CPemP4Ry9CD9uQ+mrvpjam/l93LMO2YtWS xiebWtn0yeAGH0n3Bzcb/9ujopdPy870RypWTQONN9OzHuR20fsb+sJuN9uceRW9ui NL4GWSOfpEUPYG2pNVy4GQwdfTYKtup3pdx9QBDE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Pandruvada , Andy Shevchenko , Sasha Levin Subject: [PATCH 5.7 128/179] platform/x86: ISST: Add new PCI device ids Date: Mon, 27 Jul 2020 16:05:03 +0200 Message-Id: <20200727134938.884415424@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Srinivas Pandruvada [ Upstream commit e1eea3f839f41368d7cb4eb2d872d5b288677e94 ] Added new PCI device ids for supporting mailbox and MMIO interface for Sapphire Rapids. Signed-off-by: Srinivas Pandruvada Signed-off-by: Andy Shevchenko Signed-off-by: Sasha Levin --- drivers/platform/x86/intel_speed_select_if/isst_if_common.h | 3 +++ drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c | 1 + drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 1 + 3 files changed, 5 insertions(+) diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_common.h b/drivers/platform/x86/intel_speed_select_if/isst_if_common.h index 1409a5bb55820..4f6f7f0761fc1 100644 --- a/drivers/platform/x86/intel_speed_select_if/isst_if_common.h +++ b/drivers/platform/x86/intel_speed_select_if/isst_if_common.h @@ -13,6 +13,9 @@ #define INTEL_RAPL_PRIO_DEVID_0 0x3451 #define INTEL_CFG_MBOX_DEVID_0 0x3459 +#define INTEL_RAPL_PRIO_DEVID_1 0x3251 +#define INTEL_CFG_MBOX_DEVID_1 0x3259 + /* * Validate maximum commands in a single request. * This is enough to handle command to every core in one ioctl, or all diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c b/drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c index de4169d0796bd..9a055fd54053f 100644 --- a/drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c +++ b/drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c @@ -148,6 +148,7 @@ static long isst_if_mbox_proc_cmd(u8 *cmd_ptr, int *write_only, int resume) static const struct pci_device_id isst_if_mbox_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_CFG_MBOX_DEVID_0)}, + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_CFG_MBOX_DEVID_1)}, { 0 }, }; MODULE_DEVICE_TABLE(pci, isst_if_mbox_ids); diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c b/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c index 3584859fcc421..aa17fd7817f8f 100644 --- a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +++ b/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c @@ -72,6 +72,7 @@ static long isst_if_mmio_rd_wr(u8 *cmd_ptr, int *write_only, int resume) static const struct pci_device_id isst_if_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_RAPL_PRIO_DEVID_0)}, + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_RAPL_PRIO_DEVID_1)}, { 0 }, }; MODULE_DEVICE_TABLE(pci, isst_if_ids); -- 2.25.1