aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTamar Mashiah <[email protected]>2021-04-11 17:15:32 +0300
committerHans de Goede <[email protected]>2021-04-13 09:26:40 +0200
commitee7abc105e2b30378187e520be458a127d1d3762 (patch)
tree70e57d2d1459c9190223079d91cbd9aed0bd07f1 /tools/perf/scripts/python/exported-sql-viewer.py
parent6759e18e5cd8745a5dfc5726e4a3db5281ec1639 (diff)
platform/x86: intel_pmc_core: export platform global reset bits via etr3 sysfs file
During PCH (platform/board) manufacturing process a global platform reset has to be induced in order for the configuration changes take the effect upon following platform reset. This is an internal platform state and is not intended to be used in the regular platform resets. The setting is exposed via ETR3 (Extended Test Mode Register 3). After the manufacturing process is completed the register cannot be written anymore and is hardware locked. This setting was commonly done by accessing PMC registers via /dev/mem but due to security concerns /dev/mem access is much more restricted, hence the reason for exposing this setting via the dedicated sysfs interface. To prevent post manufacturing abuse the register is protected by hardware locking and the file is set to read-only mode via is_visible handler. The register in MMIO space is defined for Cannon Lake and newer PCHs. Cc: Hans de Goede <[email protected]> Cc: David E Box <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Tamar Mashiah <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions