Re: [PATCH] platform/x86/intel/pmc: initialize empty PMT read result

From: Ilpo Järvinen

Date: Tue Jul 21 2026 - 14:41:27 EST


On Tue, 30 Jun 2026 12:51:01 +0200, Yousef Alhouseen wrote:

> pmc_core_pmt_get_lpm_req() returns the last telemetry read status. When
> firmware exposes no enabled low-power modes, the loop does not run
> and the function returns an uninitialized stack value.
>
> Initialize the status to success so an empty mode set is handled
> deterministically.
>
> [...]

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/1] platform/x86/intel/pmc: initialize empty PMT read result
commit: 408b87a481e3ab33cba00292e4c80a30ba97f995

--
i.