tools/power/x86/intel-speed-select: Introduce isst_is_punit_valid()
authorZhang Rui <rui.zhang@intel.com>
Wed, 17 Aug 2022 07:33:23 +0000 (15:33 +0800)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 22 Mar 2023 20:36:49 +0000 (13:36 -0700)
commit57ef2436a1759ae9d9b4d1536aed4701bfb4f737
tree8a9c86e861be14f2a78e8a91ea595f451b3d7d8a
parente157c8475e7c2d62d7b28983ea81167f3e6a5a57
tools/power/x86/intel-speed-select: Introduce isst_is_punit_valid()

Introduce isst_is_punit_valid() for checking a valid domain.

For current platforms, it requires a punit 0 in a valid Package/Die.

No functional changes are expected.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: changelog edits]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/isst-core.c
tools/power/x86/intel-speed-select/isst.h