Unverified Commit a0192c4a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!25 Intel SPR: Intel PMT support

Intel PMT support for SPR

Intel-kernel issue:
https://gitee.com/open_euler/dashboard?issue_id=I596K9

Intel Platform Monitoring Technology (PMT) is an architecture for
enumerating and accessing hardware monitoring capabilities on a device.
PMT defines several capabilities to support collecting monitoring data from
hardware. All are discoverable as separate instances of the PCIE Designated
Vendor extended capability (DVSEC) with the Intel vendor code. The DVSEC ID
field uniquely identifies the capability.
This patch set provides support for the PMT framework.
new ABI listed in below page:
https://www.kernel.org/doc/html/latest/admin-guide/abi-testing.html#file-srv-docbuild-lib-git-linux-testing-sysfs-class-intel-pmt



Test:
pmt driver initial successfully
pmt class interface is ready on /sys/class/intel_pmt/
pmt data can be read from /sys/class/intel_pmt/telem

Known issue:
crashlog is not supported due to BIOS update. Need update driver to support new BIOS.

Default config change:(these will submit another patch for changing x86 default configs based on kernel release team's decision)
if any recommended config change vs upstream default config, please list as git diff format:
Below configs changed from n to m
< CONFIG_MFD_INTEL_PMT=m
< CONFIG_INTEL_PMT_CLASS=m
< CONFIG_INTEL_PMT_TELEMETRY=m
< CONFIG_INTEL_PMT_CRASHLOG=m 

From: @juntianlinux 
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarJiao Fenfang <jiaofenfang@uniontech.com>
Signed-off-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parents 0314681b 21db19cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment