Commit fac7d118 authored by David E. Box's avatar David E. Box Committed by Jun Tian
Browse files

mfd: intel_pmt: Fix nuisance messages and handling of disabled capabilities

mainline inclusion
from mainline-v5.13-rc1
commit a1a5c1c3
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596K9


CVE: NA

Intel-SIG: commit a1a5c1c3 mfd: intel_pmt: Fix nuisance messages and
handling of disabled capabilities.
Backport for intel PMT (Platform Monitoring Technology) support

--------------------------------

Some products will be available that have PMT capabilities that are not
supported. Remove the warnings in this instance to avoid nuisance messages
and confusion.

Also return an error code for capabilities that are disabled by quirk to
prevent them from keeping the driver loaded if only disabled capabilities
are found.

Fixes: 4f8217d5 ("mfd: Intel Platform Monitoring Technology support")
Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avataryingbao jia <yingbao.jia@intel.com>
Signed-off-by: default avatarJun Tian <jun.j.tian@intel.com>
parent e44c89b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment