Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3657873pxk; Tue, 29 Sep 2020 02:52:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbnRN23+uW+RXK0OjsCM1Xer3J2ukYvnDd+5NS0ELB2WPvwhKrUUgWhWWPou2souFUn6W/ X-Received: by 2002:a17:906:344e:: with SMTP id d14mr3140013ejb.42.1601373161722; Tue, 29 Sep 2020 02:52:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601373161; cv=none; d=google.com; s=arc-20160816; b=JJpvdQeM6IJo8dyulktu7XAeSvOgn35HB3IruwNSogXPPGWAAFTAYfnrXAr5ag6ckt OIQgXUKnIDYAiy4XMb79Y2U5I+L1n2L0/faRoac04HqiKAAiPZg0V6/wrJUmTDvk9miZ LhV0aGNaxS95eXiGorbEBWzBdLRQpcosHoI9875SHEU5qbczQKBOlV65QP4r7AYcqUni LI8lP3dnRKbVeE5J5ysASrpP3QUaAHmkvVAips7JL2vpzrGyNudNBIikR7E8U5ZqZM03 ac76ravMX/B7Tv4nEvIbiWG7eAjSKgtWYVcolT7NB3kxLAF8jWjy3Mnyh2sCcyhEngVD RbWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=g//3YKslqEEjdWy4bFstcnviEz8Yjtvb1bJDuqH9QfE=; b=Qt0gmxOxK1Y/+nvlqJayHXjSQqpU3rsPmHjSstoP4w7d6Gg/xTRwLHvC2d3KwbN+OY GWlkKA6sShVc444CIZWujfYwwqRvuu9roB7Og8328oeO8NWgj44KjQjv5ULH0owUk11y 7XNldmC2/YolOLOPp6I38TYtQARiGpTYsiGO0LhXH0/wF6LOspEbj6hnCylBxL3ZNOyl ykwbKu0WApP527HyTqJ8Up2931cn92csPBgGHekiR2T8HNiMOtCTZSfufzmgrKO3TseF nxbe+MzKX14egJT5TiUrATA3Wm+my4K+0qweCOCC9tAALelRwdL98sz6L6E/ue+TO95A Bfgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KM7/B/44"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n12si2461528ejr.182.2020.09.29.02.52.18; Tue, 29 Sep 2020 02:52:41 -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=@linaro.org header.s=google header.b="KM7/B/44"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725776AbgI2JvK (ORCPT + 99 others); Tue, 29 Sep 2020 05:51:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbgI2JvK (ORCPT ); Tue, 29 Sep 2020 05:51:10 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20811C061755 for ; Tue, 29 Sep 2020 02:51:10 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id d4so3959647wmd.5 for ; Tue, 29 Sep 2020 02:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=g//3YKslqEEjdWy4bFstcnviEz8Yjtvb1bJDuqH9QfE=; b=KM7/B/44Z4zZq5f25gu+hF+LJFGIUg+P2fUBeUj31s75he1XhFefiaqsnnrlYkEFQ1 qJF4E8TJvsIRWLsP1Ra7PniO2iEO3rnrIHT8/KB3j6xPXEiuEtTbKIX9KvB1WP2mMfTc t5kgcG+AFHBgATTCK9oQ2AWJ7Ca424ekWbBz5tkuVdZ/UowL0pD7jdR8kTp9dICsvXuX pn2K7X7tX3UeHUw3smf+XFRXrGtOaB8tyjOmeDw+nCqqEMPpWqX6kv8ash9LWYI9cZmz 3f/O2uzLqSrhixsOZJJM76YcK0eiOLfENJnMrowexKiRY5DtI0xob7XM7JeCPgt38Mwn 7l7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=g//3YKslqEEjdWy4bFstcnviEz8Yjtvb1bJDuqH9QfE=; b=RaOK+9j9XS/ZJf0bm6JxjO871i2GxJzGjAIQmwTNoYm6h62Seg/8MB0kjFCqLyJ9Ue BVJ/+LzpRs12T87HjezgbxLI+B59mwoINtipOasONMsFJWCvAdolEkJHzettwSbPrr7T +9wOsScHjr+5QVkBNdIn0Bt/anP1KdheyCFSPyLKjQfZBySHeFlLYxFP7jNWr1s3OazM n8L8pyONmDPck4QAGI5VkXpQKvzUfGZQils71Si1wSBsfuEwWbARUmGXIXy5Q3cea73v oh6pedlqNWtdntcnXRXhpoFQ87OsPPCVRSFGsHWzYMSNfV8w/imsPracXsli6GDkaLLq jfoA== X-Gm-Message-State: AOAM531XS34TeQRLSGmG0FUjjjizEg4nHctJy6dSWCv8KDdPBMZmuLRr 2vGEGJuLACYRZe66K5vITLf+1Q== X-Received: by 2002:a1c:ed19:: with SMTP id l25mr3654659wmh.49.1601373068677; Tue, 29 Sep 2020 02:51:08 -0700 (PDT) Received: from dell ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id r21sm6040568wrc.70.2020.09.29.02.51.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 02:51:07 -0700 (PDT) Date: Tue, 29 Sep 2020 10:51:06 +0100 From: Lee Jones To: "David E. Box" Cc: dvhart@infradead.org, andy@infradead.org, alexander.h.duyck@linux.intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH 1/3] mfd: intel_pmt: Add OOBMSM device ID Message-ID: <20200929095106.GG6148@dell> References: <20200911194549.12780-1-david.e.box@linux.intel.com> <20200911194549.12780-2-david.e.box@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200911194549.12780-2-david.e.box@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Sep 2020, David E. Box wrote: > Add Out of Band Management Services Module device ID to Intel PMT driver. > > Signed-off-by: Alexander Duyck > Signed-off-by: David E. Box > --- > drivers/mfd/intel_pmt.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mfd/intel_pmt.c b/drivers/mfd/intel_pmt.c > index 0e572b105101..8f9970ab3026 100644 > --- a/drivers/mfd/intel_pmt.c > +++ b/drivers/mfd/intel_pmt.c > @@ -55,6 +55,8 @@ struct pmt_platform_info { > unsigned long quirks; > }; > > +static const struct pmt_platform_info pmt_info; > + > static const struct pmt_platform_info tgl_info = { > .quirks = PMT_QUIRK_NO_WATCHER | PMT_QUIRK_NO_CRASHLOG | > PMT_QUIRK_TABLE_SHIFT, > @@ -200,8 +202,10 @@ static void pmt_pci_remove(struct pci_dev *pdev) > pm_runtime_get_sync(&pdev->dev); > } > > +#define PCI_DEVICE_ID_INTEL_PMT_OOBMSM 0x09a7 > #define PCI_DEVICE_ID_INTEL_PMT_TGL 0x9a0d > static const struct pci_device_id pmt_pci_ids[] = { > + { PCI_DEVICE_DATA(INTEL, PMT_OOBMSM, &pmt_info) }, Why are you supplying an empty struct? > { PCI_DEVICE_DATA(INTEL, PMT_TGL, &tgl_info) }, > { } > }; -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog