From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
platform-driver-x86@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] platform/x86: ISST: Use only TPMI interface when present
Date: Mon, 27 May 2024 13:03:20 +0300 (EEST) [thread overview]
Message-ID: <d3e92568-3440-cb45-e6b0-90133aa8a9b1@linux.intel.com> (raw)
In-Reply-To: <20240509230236.1494326-3-srinivas.pandruvada@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]
On Thu, 9 May 2024, Srinivas Pandruvada wrote:
> When the TPMI interface is present, use this interface instead of legacy.
> On some systems legacy IO device is also present. Using both interfaces
> together is confusing and may set the hardware in inconsistent state.
>
> When TPMI interface is present, don't load legacy drivers.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Reviewed-by: Zhang Rui <rui.zhang@intel.com
> ---
> drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
> index f886f9369fad..6283af37e73b 100644
> --- a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
> +++ b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
> @@ -775,6 +775,9 @@ int isst_if_cdev_register(int device_type, struct isst_if_cmd_cb *cb)
> if (device_type >= ISST_IF_DEV_MAX)
> return -EINVAL;
>
> + if (device_type < ISST_IF_DEV_TPMI && isst_hpm_support)
> + return -ENODEV;
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
--
i.
prev parent reply other threads:[~2024-05-27 10:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 23:02 [PATCH 0/2] SST improvements with TPMI Srinivas Pandruvada
2024-05-09 23:02 ` [PATCH 1/2] platform/x86: ISST: Add model specific loading for common module Srinivas Pandruvada
2024-05-27 10:01 ` Ilpo Järvinen
2024-05-09 23:02 ` [PATCH 2/2] platform/x86: ISST: Use only TPMI interface when present Srinivas Pandruvada
2024-05-27 10:03 ` Ilpo Järvinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3e92568-3440-cb45-e6b0-90133aa8a9b1@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.