From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: platform-driver-x86@vger.kernel.org, David Arcari <darcari@redhat.com>
Cc: Hans de Goede <hansg@kernel.org>,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@kernel.org>,
Dan Carpenter <dan.carpenter@linaro.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Tero Kristo <tero.kristo@linux.intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] platform/x86/intel: power-domains: Use topology_logical_package_id() for package ID
Date: Fri, 29 Aug 2025 16:16:09 +0300 [thread overview]
Message-ID: <175647336910.2355.7252266115641924133.b4-ty@linux.intel.com> (raw)
In-Reply-To: <20250829113859.1772827-1-darcari@redhat.com>
On Fri, 29 Aug 2025 07:38:59 -0400, David Arcari wrote:
> Currently, tpmi_get_logical_id() calls topology_physical_package_id()
> to set the pkg_id of the info structure. Since some VM hosts assign non
> contiguous package IDs, topology_physical_package_id() can return a
> larger value than topology_max_packages(). This will result in an
> invalid reference into tpmi_power_domain_mask[] as that is allocatead
> based on topology_max_packages() as the maximum package ID.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86/intel: power-domains: Use topology_logical_package_id() for package ID
commit: aa28991fd5dc4c01a40caab2bd9af8c5e06f9899
--
i.
prev parent reply other threads:[~2025-08-29 13:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-26 16:43 [PATCH] platform/x86/intel: power-domains validate domain in tpmi_cpu_online() David Arcari
2025-08-26 19:20 ` Andy Shevchenko
2025-08-26 20:26 ` srinivas pandruvada
2025-08-27 1:39 ` David Arcari
2025-08-27 11:49 ` srinivas pandruvada
2025-08-28 11:27 ` David Arcari
2025-08-28 11:54 ` srinivas pandruvada
2025-08-29 11:38 ` [PATCH v2] platform/x86/intel: power-domains: Use topology_logical_package_id() for package ID David Arcari
2025-08-29 12:19 ` srinivas pandruvada
2025-08-29 13:16 ` 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=175647336910.2355.7252266115641924133.b4-ty@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dan.carpenter@linaro.org \
--cc=darcari@redhat.com \
--cc=hansg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
--cc=tero.kristo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®