diff options
| author | Rene Sapiens <rene.sapiens@linux.intel.com> | 2026-02-06 16:25:56 -0800 |
|---|---|---|
| committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2026-03-02 07:51:58 +0100 |
| commit | 4573add760b8dd52a215fd134effb76da10ebcf5 (patch) | |
| tree | 5a6d2ed90a680aa143a4ad4389212316d49ff9ba /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 11439c4635edd669ae435eec308f4ab8a0804808 (diff) | |
thunderbolt: Read router NVM version before applying quirks
The router NVM version is currently only available after the NVMem devices
have been registered. This is too late for firmware-dependent quirks that
are evaluated during tb_switch_add() before device registration.
Split router NVM handling into two phases:
- tb_switch_nvm_init() allocates the NVM object and reads the version
- tb_switch_nvm_add() registers the NVMem devices using the pre-read NVM
This makes the NVM major/minor version available before tb_check_quirks()
without changing when the NVMem devices are registered.
Signed-off-by: Rene Sapiens <rene.sapiens@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
