diff options
author | Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com> | 2016-10-07 12:31:14 +0200 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-12-13 18:28:56 +0100 |
commit | 173943b3dae570d705e3f5237110a64a28c0bf74 (patch) | |
tree | fab9427af493f787ee71f7982886db709be70044 /scripts | |
parent | platform/x86: intel_pmc_core: Add PCH IP Power Gating Status (diff) | |
download | linux-173943b3dae570d705e3f5237110a64a28c0bf74.tar.xz linux-173943b3dae570d705e3f5237110a64a28c0bf74.zip |
platform/x86: intel_pmc_core: ModPhy core lanes pg status
The PCH implements a number of High Speed I/O (HSIO) lanes that are split
between PCIe*, USB 3.0, SATA, GbE, USB OTG and SSIC. This patch shows the
current power gating status of the available ModPhy Core lanes. This is
done by sending a message to the PMC (MTPMC) that contains the XRAM
register offset for the MPHY_CORE_STS_0 and MPHY_CORE_STS_1 and then by
reading the response sent by the PMC (MFPMC).
While enabling low power modes we often encounter situations when the
ModPhy lanes are not power gated and it becomes hard to debug which lane is
active and which is not in the absence of an external hardware debugger
(JTAG/ITP). This patch eliminates the dependency on an external hardware
debugger for reading the ModPhy Lanes power gating status.
This patch requires PMC_READ_DISABLE setting to be disabled in the platform
bios.
cat /sys/kernel/debug/pmc_core/mphy_lanes_power_gating_status
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions