diff options
| author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2026-04-30 08:11:01 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-05-07 16:06:25 +0300 |
| commit | ad3bff944c0f4f2e913298a9664391af32f87491 (patch) | |
| tree | d07cf1603a55545e12258d5c72b90d60cc01f499 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 90dc96c61be35a1f81b56dfc5dcb80d50debbf89 (diff) | |
| download | linux-ad3bff944c0f4f2e913298a9664391af32f87491.tar.gz linux-ad3bff944c0f4f2e913298a9664391af32f87491.zip | |
platform/x86: intel: Move debugfs register before creating devices
It is possible that the driver handling device is enumerated before
registering debugfs. If the driver wants to access debugfs by calling
tpmi_get_debugfs_dir(), this will return error in this case.
Hence register debugfs before creating devices.
Fixes: 811f67c51636 ("platform/x86/intel/tpmi: Add new auxiliary driver for performance limits")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Stable@vger.kernel.org
Link: https://patch.msgid.link/20260430151103.1549733-2-srinivas.pandruvada@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
