diff options
| author | Mario Limonciello <[email protected]> | 2022-04-11 09:38:18 -0500 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2022-04-13 13:49:48 +0200 |
| commit | 0c211cecc6af608b5e3137d0d898b08fc7fc14ed (patch) | |
| tree | 086e0834489d99c05f9a0ef407f72a0a90a856cf /tools/perf/scripts/python/bin | |
| parent | 42d17fa78560303ed59176cf53e7a893ef3da518 (diff) | |
platform/x86: amd-pmc: Move SMU logging setup out of init
SMU logging is setup when the device is probed currently.
In analyzing boot performance it was observed that amd_pmc_probe is
taking ~116800us on startup on an OEM platform. This is longer than
expected, and is caused by enabling SMU logging at startup.
As the SMU logging is only needed for debugging, initialize it only upon
use. This decreases the time for amd_pmc_probe to ~28800us.
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions