platform/x86/intel/tpmi: Read feature control status
mainline inclusion from mainline-v6.6-rc1 commit 61457949 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8WOEC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=61457949686fc4472e6136c72c255b4ad003e084 ------------------------------------- Some of the PM features can be locked or disabled. In that case, write interface can be locked. This status is read via a mailbox. There is one TPMI ID which provides base address for interface and data register for mail box operation. The mailbox operations is defined in the TPMI specification. Refer to https://github.com/intel/tpmi_power_management/ for TPMI specifications. An API is exposed to feature drivers to read feature control status. Intel-SIG: commit 61457949 platform/x86/intel/tpmi: Read feature control status. Backport Intel_tpmi base driver. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230712225950.171326-2-srinivas.pandruvada@linux.intel.com Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>
Loading
Please sign in to comment