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

platform/x86: intel_pmt_telemetry: Ignore zero sized entries

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


CVE: NA

Intel-SIG: commit ef195e8a platform/x86: intel_pmt_telemetry: Ignore zero
sized entries.
Backport for intel PMT (Platform Monitoring Technology) support

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

Some devices may expose non-functioning entries that are reserved for
future use. These entries have zero size. Ignore them during probe.

Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20210817224018.1013192-5-david.e.box@linux.intel.com


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avataryingbao jia <yingbao.jia@intel.com>
Signed-off-by: default avatarJun Tian <jun.j.tian@intel.com>
parent e69b71e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment