Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp382000pxb; Thu, 23 Sep 2021 02:06:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyc97QGNV/tPmZdFRM2rwnw3nqIf1hu5jfdGGLXw/sRGdjPglE5pZ/RVljC9aVWNYFcY2BU X-Received: by 2002:a5d:959a:: with SMTP id a26mr2905162ioo.154.1632387997812; Thu, 23 Sep 2021 02:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632387997; cv=none; d=google.com; s=arc-20160816; b=uXHh7QsqYMcz3dpJBhSG3HZ928hyQkErOZahJbkCAaQ/ApLx+9ecpu2ixJVxHgdYOj nT4EIFcm6OsgBDUDhYT7UYvzHWGXvzSnf5yWl91VpomxXJkP3a2ZpQL/owNJ6gseJ/E/ DPl+7XGOPAeFQjk5duUXvQgEodZ4HCpOPFEkkKjLKfCsGrFzdF+mXdti8JLjR6wQrS/5 3mB2cjrcdof6f9FvhE7oluT/9wlNXiWqJak96ENTF/7NNUgMcL2CQQlNnU/fXnwpdIEk 0dZ2/qmWmLmqTSjUgS8lnwlYtNw0oR+OODOOnqgw4WzpPFIgcyV2Dwd+Jz4F5yo7PTeS fEMw== 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=POvmQFHwQedCHQCS5FtuCZbcIW6Qr+1gI9/W1ZBdgLg=; b=k3L6cVu14Zb5s8fbLJUcUGrxDq4UrlVri2BiBptYWaXVxiZ3/aeeb7aarDdtBzQV2c EZg/JhqObeMKiW+fD9bqLIw8HNUAqy2B6Au5zC4ky976BT9PQvBG9fUeyEOgOgZ1PVIC RyV0IUf67EoKt6crJfGU6uUbciGpJzmtngDo/rlEi7KF0ahTGGkpWyvNnqY689yjZ+1e qgJd/0htuv47sYCN2vIQMVxcgOQcXXsNXWnKYvxHIm8WPL73B7WIekj8nAIYzlNr1irU 2vd3UjT03/z/Dy2c0tjB+YwpSWYwJfvmUaDvO4sC88CJCBcMPv926xG1yt1z96EvRmj/ 57/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fBVdsWsO; 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 d16si224816ilu.98.2021.09.23.02.06.03; Thu, 23 Sep 2021 02:06:37 -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=fBVdsWsO; 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 S240116AbhIWJG0 (ORCPT + 99 others); Thu, 23 Sep 2021 05:06:26 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21207 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240063AbhIWJGZ (ORCPT ); Thu, 23 Sep 2021 05:06:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632387894; 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=POvmQFHwQedCHQCS5FtuCZbcIW6Qr+1gI9/W1ZBdgLg=; b=fBVdsWsON2J9RWOXd3+OIFz6AjJi3x81DQCNSogbNATeD8Mtya20j9/8w6W/hn9q1nG5a3 leZqsX6VJtRctfnFkw52SpBgdYVPZVVhf/ABReSx1KdmekWBEqIcdTSw1u07qR/EuulAcM UqoMQAVfqZFZxwvG2DKFHSmzKoJhrfA= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-255-p1btwL7bPbi_gvl4-IGQOA-1; Thu, 23 Sep 2021 05:04:52 -0400 X-MC-Unique: p1btwL7bPbi_gvl4-IGQOA-1 Received: by mail-ed1-f72.google.com with SMTP id b7-20020a50e787000000b003d59cb1a923so6159191edn.5 for ; Thu, 23 Sep 2021 02:04:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=POvmQFHwQedCHQCS5FtuCZbcIW6Qr+1gI9/W1ZBdgLg=; b=gNDFv3rsoOSEBAr9qX2cajTfYrzBrTjISleqi+Qthc7m7KTACeHSm9kd6i6TBc4LmJ RiGchIJOWoa1heYgoUGLmEYcI9NqiD5UyVSneY1MKBGMN0yHpzC3dJybstDfSnW0Kk85 8YiW6YJUtoihvbfnjOfeTmrLCcF3hZbxMshLRtRjix5bhILKNA8wEcFrc9hRya9ZdPg+ A7DcuaukMOQ5Lj5FihPz7ykdHJq2joJr7/BPh+ANM1Oa+ExTSfXBoKVZP9xyXNMXyvPQ mxx461R9SMulyUK6S+7D3J6ULD+AKUiczEJQ4DNoTjIEHOslwXB0IsM17oK0E89VSAmd rNsQ== X-Gm-Message-State: AOAM5320cgi/H2jk8tYwHHFUKtjQH33B1SojnLuBBR4Gtri9VrHL5iTJ 673qUi8fO1ebiblJinY3xJnpER5DSyVu1vox7yFPMHUwC+G1sWr1/2bCvV1vZdeW7HHvyanvBKT F99eVU8EP1s+J1vUCZ0CHmRWF X-Received: by 2002:a17:906:6a21:: with SMTP id qw33mr3949028ejc.326.1632387891521; Thu, 23 Sep 2021 02:04:51 -0700 (PDT) X-Received: by 2002:a17:906:6a21:: with SMTP id qw33mr3949010ejc.326.1632387891320; Thu, 23 Sep 2021 02:04:51 -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 t19sm2601334ejb.115.2021.09.23.02.04.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Sep 2021 02:04:50 -0700 (PDT) Subject: Re: [PATCH v3 0/5] Add general DVSEC/VSEC support To: "David E. Box" , lee.jones@linaro.org, bhelgaas@google.com, andy.shevchenko@gmail.com Cc: mgross@linux.intel.com, srinivas.pandruvada@intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-pci@vger.kernel.org References: <20210922213007.2738388-1-david.e.box@linux.intel.com> From: Hans de Goede Message-ID: Date: Thu, 23 Sep 2021 11:04:50 +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: <20210922213007.2738388-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 9/22/21 11:30 PM, 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. > > V3 is mostly a resend of V2. It drops a platform/x86 patch that was picked > up separately by Hans in the last cycle. It also adds a new patch to > support an upcoming capability. > > 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 > MFD: intel_pmt: Add DG2 support > MFD: intel_extended_cap: Add support for Intel SDSi Since this mostly touches drivers/mfd/intel_pmt.c, I assume this is going to get merged through the MFD trees. For the few small drivers/platform/x86 changes: Acked-by: Hans de Goede Regards, Hans > > drivers/mfd/intel_pmt.c | 258 +++++++++++++++------ > drivers/platform/x86/intel/pmt/class.c | 2 + > drivers/platform/x86/intel/pmt/crashlog.c | 2 +- > drivers/platform/x86/intel/pmt/telemetry.c | 2 +- > include/uapi/linux/pci_regs.h | 4 + > 5 files changed, 191 insertions(+), 77 deletions(-) >