Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4162260pxb; Mon, 27 Sep 2021 10:39:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx+FcZQ0ESs3pBuggp3pJvc3hX5C4M0X+utCIJTNFTwS9Cy6QXzFJYeU7iAC97ImtOmme+ X-Received: by 2002:a05:6a00:2410:b0:409:5fbd:cb40 with SMTP id z16-20020a056a00241000b004095fbdcb40mr1156753pfh.8.1632764372511; Mon, 27 Sep 2021 10:39:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632764372; cv=none; d=google.com; s=arc-20160816; b=zNvG2NhuyU1XFco4RtIVinnA1q4GnXVKci7GDSCxiKTbUKT6KW6jCGAvsiOv5N6ELg uM1ynioMQAq/Y22+boPg74MG6tkpgsDlAp/8kb+is0XY57S90TEY/8pgrDPEgeXGGVZ9 aKn7dF1FzWl4Gr7pJrRe/yw5kbxZvLWFAVAW0AY86JxCseU5yluosy/MZAHDa39PNEEX /dEuY8U0ZBehSpy2IleHOoZrUpmX/suB9gsg/CxsQ5cTE27zqvrpMM6s2HNTaaOQHq0i bZ6XF0/KuT8XAnlxpCo1a+6mIPShFLTsGpmYOlbuAVd++cIven4zfCZdk7QMPM1iqP8+ 3AWQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JDwui3M3D92oF6O4bWLDBAbyUMlKdnbevy26Zs7Luws=; b=N0OCR+t2gvw5tRHetUIBmEfAAsirGPLmzG0M5tv5nw+nG2kjXcOde+CxOMXwMWBXGQ DXmVdTOS/2Q2s/nwijj2T5LX+jNRjVSTCnBT7XUndHX24N5UctBqY+3pvruoiVnTmQr6 GpNbq6JYklXbTmtXW3ih9U4FpuPPs54/PIaESN2j56L9NC05H2NELcZER4BMV6J8xhA8 /A6egl6txEdFhjM4mFsUAmPZvB/OiMHGuOaBUrXhYrfuoViY3hCgozovjCvJs+C1cTK1 rLJJxrdo0oiVl9gZ6Oi4r+8UHkZ3BQY96uBu0r0VUrTgqNpFOgTX+RowqF4lMiI9hq2N ErAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MctZJzQg; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si26254752plh.200.2021.09.27.10.39.17; Mon, 27 Sep 2021 10:39:32 -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=@linuxfoundation.org header.s=korg header.b=MctZJzQg; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238387AbhI0Rj4 (ORCPT + 99 others); Mon, 27 Sep 2021 13:39:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:52726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238738AbhI0RiQ (ORCPT ); Mon, 27 Sep 2021 13:38:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6F66860F46; Mon, 27 Sep 2021 17:36:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632764198; bh=cP3s6aDUKuJ74VUE2WurSFHqrO+qVFHHxo5OhXp17R4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MctZJzQgcuxlGwAs8FLPaxQ7FBicQIe0pm6Rzbh5NhzW/KR3M13WYt6x8sT9zsuvS 1ri6rDbQ1SHtnYf8p1bJz1kypnaDlueV1kqm9zcSua8Qx3hN4WT6VMPDyngLtIEmT6 JskxNOb2ykkg8F9smUzKNFUqHG6c+0s8EEOCkk/w= Date: Mon, 27 Sep 2021 19:36:35 +0200 From: Greg KH To: "David E. Box" Cc: lee.jones@linaro.org, bhelgaas@google.com, andy.shevchenko@gmail.com, mgross@linux.intel.com, srinivas.pandruvada@intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v3 2/5] MFD: intel_pmt: Support non-PMT capabilities Message-ID: References: <20210922213007.2738388-1-david.e.box@linux.intel.com> <20210922213007.2738388-3-david.e.box@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210922213007.2738388-3-david.e.box@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 22, 2021 at 02:30:04PM -0700, David E. Box wrote: > Intel Platform Monitoring Technology (PMT) support is indicated by presence > of an Intel defined PCIe DVSEC structure with a PMT ID. However DVSEC > structures may also be used by Intel to indicate support for other > capabilities unrelated to PMT. OOBMSM is a device that can have both PMT > and non-PMT capabilities. In order to support these capabilities it is > necessary to modify the intel_pmt driver to handle the creation of platform > devices more generically. I said this on your other driver submission, but why are you turning a PCIe device into a set of platform devices and craming it into the MFD subsystem? PCIe devices are NOT platform devices. Why not use the auxiliary bus for this thing if you have individual drivers that need to "bind" to the different attributes that this single PCIe device is exporting. Or why not just fix the hardware to report individual PCIe devices, like a sane system would do? Has this shipped in any devices yet? If not, can that be fixed first? It's just a firmware change, right? thanks, greg k-h