Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp240047pxb; Wed, 18 Aug 2021 00:53:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9mzo1mnIQN/acXI6UIuYlFpGYJdy5jHSCqXnIIxCtwa+o5UPzQRP2ZB1L3bQLmCP4xYCl X-Received: by 2002:aa7:d547:: with SMTP id u7mr8530056edr.28.1629273237134; Wed, 18 Aug 2021 00:53:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629273237; cv=none; d=google.com; s=arc-20160816; b=d7YpDVtwv0xc5YZapaRhfYwENN2jy1SLC0daHBpB8vb4E49uJs0sE84tEkrsMumSuE WSCZEu2kxAQr/6L6rj/twvcGUtNqdbSWj6ZuwRm0mS9uP0QEWClkAJCwhN27nUU5Po/M LRuzH9ukT9gp0Vc3hJv2pL4BXFvLmyKOQkNrCXLvgIZsZ1baicnQyQEbmEcPkEGeTYJn W4A7iQD3a3nFCYMimLlbJwBb95HcN5AjaDu90h/e9kb2Lppl3jz/J0roBHP2rNfAJbp5 1AueY5R+fT1c/EJliyxbUOrvVjfKPAGGw5S2afH2trgb6xJ27J6Cf9kuqlHGNs5Bil2X AJlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=PsxIbByc4MeeA9mh65w0Ji9CgAEac75Emzhzuys71nU=; b=zv7c0yT4+HNp11SzEAZVR06zlVnSvlcDWfcfgfV0xD+ugfDlyY7+yZPDL4dYv/LfMQ jFbn5hEqejhIpL6Ig4EvYbBXFahTpQN5O6zAgwHaO0lsqMZM9Y3WnJ69TANBcxYUXlDD R83YYBXKZO6lK70vKJ8TxzSBeH7WZ1BluRP5dInddYNjAz8nKk/teVyQVES0A2NvE7mw oH9v/qHDEQpskOOOB7VEgWK/F2gQfzS+lpWZuAuD2FwkY4GnV5/FTeGN2DHC6Bf0o58m YtRtpoC+lLsawEgrBUC0mSr3Tm402Ab5fkgE29raa+mEix87TiCrNLXZyHbBE75q2I4m 2OcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EGr+bKQ3; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si4722178ejm.652.2021.08.18.00.53.33; Wed, 18 Aug 2021 00:53:57 -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=@redhat.com header.s=mimecast20190719 header.b=EGr+bKQ3; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239115AbhHRHwZ (ORCPT + 99 others); Wed, 18 Aug 2021 03:52:25 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:54595 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237962AbhHRHwY (ORCPT ); Wed, 18 Aug 2021 03:52:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629273110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PsxIbByc4MeeA9mh65w0Ji9CgAEac75Emzhzuys71nU=; b=EGr+bKQ3gMnODMk3faMARyrz27tfcuhW42G5W7KKa9SkOqlXoy/w8//avTX/2Y82rwWtH/ p1nvQfq0IajaTtPcYYTZBXF/eBaQGBCc3aflOQksv1EtY5p2kB//W07dk/NCSQbZswIOH8 cdVfRjIybUTdQYBw1TlM0AnsRFnxi14= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-2-EmMVN_POPfSL65vjt1Oc5Q-1; Wed, 18 Aug 2021 03:51:48 -0400 X-MC-Unique: EmMVN_POPfSL65vjt1Oc5Q-1 Received: by mail-ed1-f70.google.com with SMTP id e18-20020a0564020892b02903be9702d63eso600116edy.17 for ; Wed, 18 Aug 2021 00:51:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PsxIbByc4MeeA9mh65w0Ji9CgAEac75Emzhzuys71nU=; b=mqlJ+wK4JcQfmIpGstDmRYMM/umL0q5zVYANJyN7he5OzO3A3azULJonkmBM4+Z34Z TqbO5Wen50DoFv+sx21tUL/J1v420TqCocJl7TUh1Fjxb0Ej0ZuzpVGcg1YFVnlFpNvL N7pIOt7cGXzOnpc07ucArtMUGIcLhEpW4/sC2Xjm8XQ3nke/lfYMPPlYbDNdkj67XQAp cSvaabaUwZe77tHEoZIO7BlvRv3CKJP3f4hatpokzmMJ7whWwxVlwm4LDlFwvy4TcuH8 rC4MNcROIQcMWkonk9UAVjAxCm9zdY2+lAZ57GGRTVxKhKb/zvv5Q12he7dffbF6MK6/ LaEg== X-Gm-Message-State: AOAM533WMm75ZExm3AC8nsZzRcyowvT0ICdJfBZyzb7XRkZ/OuebRmUs /gSsVXIZ5priAWAgKLqKAnx5uOr2bHHKjV3+wc+5BVACZ9uj6g5MTOsDoLagxU3gZr3SPY/8Pdq JNe1ilf5M3yMoayvCuPepxt80 X-Received: by 2002:a50:d68e:: with SMTP id r14mr8766733edi.136.1629273106577; Wed, 18 Aug 2021 00:51:46 -0700 (PDT) X-Received: by 2002:a50:d68e:: with SMTP id r14mr8766723edi.136.1629273106446; Wed, 18 Aug 2021 00:51:46 -0700 (PDT) Received: from x1.localdomain (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id be23sm2154520edb.68.2021.08.18.00.51.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Aug 2021 00:51:46 -0700 (PDT) Subject: Re: [PATCH v2 0/5] MFD: intel_pmt: Add general DVSEC/VSEC support To: "David E. Box" , lee.jones@linaro.org, mgross@linux.intel.com, bhelgaas@google.com, srinivas.pandruvada@intel.com, andy.shevchenko@gmail.com Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-pci@vger.kernel.org References: <20210817224018.1013192-1-david.e.box@linux.intel.com> From: Hans de Goede Message-ID: <21f59d91-c9b9-2a7e-e5d9-a7697979b4bf@redhat.com> Date: Wed, 18 Aug 2021 09:51:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210817224018.1013192-1-david.e.box@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 8/18/21 12:40 AM, David E. Box wrote: > This patch enables general support for Intel defined PCIe VSEC and DVSEC > capabilities in the Intel Platform Monitoring Technology (PMT) driver. > Though the driver was written exclusively for PMT capabilities, newer DVSEC > and VSEC IDs for other capabilities can exist on the same device requiring > that the driver handle them. > > This 2nd revision drops the creation of a separate OOBMSM driver. Instead, > all cell drivers will have a dependency on CONFIG_MFD_INTEL_PMT, whether or > not they are PMT. Changes in this patchset to the current cell drivers > located in platform/x86 are based on Hans for-next branch where they have > been moved to the intel/pmt subfolder. > > David E. Box (5): > PCI: Add #defines for accessing PCIE DVSEC fields > MFD: intel_pmt: Support non-PMT capabilities > MFD: intel_pmt: Add support for PCIe VSEC structures > platform/x86: intel_pmt_telemetry: Ignore zero sized entries Since this patch is pretty much a stand alone patch I've picked this one (4/5) up now. The rest of the patches touch both MFD and pdx86 files, so these should be picked up by Lee. But they rely on the patch moving the pdx86 pmt code into the drivers/platform/x86/intel/pmt dir which is currently only available in my for-next branch. I think it is probably best to wait for 5.15-rc1 and then Lee can merge the rest. Here is my ack for Lee picking up the pdx86 bits: Acked-by: Hans de Goede Lee, alternatively you could also merge commit e184b1e589a7fbb80bfdd0364c11422999a17a26 from the pdx86 tree, that is only 1 commit ahead of my latest fixes pull-req to Linus for 5.14, so in essence that is 5.14-rc? (?=5 I think) + just the commit which you need as base, then you could still merge these this cycle. If you wish I can put a signed tag on that for you (I will treat it as immutable either way). Regards, Hans > MFD: intel_pmt: Add DG2 support > > drivers/mfd/intel_pmt.c | 256 +++++++++++++++------ > drivers/platform/x86/intel/pmt/class.c | 2 + > drivers/platform/x86/intel/pmt/crashlog.c | 2 +- > drivers/platform/x86/intel/pmt/telemetry.c | 10 +- > include/uapi/linux/pci_regs.h | 4 + > 5 files changed, 197 insertions(+), 77 deletions(-) > > > base-commit: ca42c119fc6746e65423257e7eddf5fc9e96edc2 >