diff options
| author | Mika Westerberg <[email protected]> | 2017-06-06 15:25:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-09 11:42:43 +0200 |
| commit | 3e13676862f90dbf5b00d57d5599e57788289897 (patch) | |
| tree | e0dc4f8ab2798c10c404a1cf52f8fda62c5b9863 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2c3c4197c9dd878e39e249e1da64bcffceb8a5c4 (diff) | |
thunderbolt: Add support for DMA configuration based mailbox
The DMA (NHI) port of a switch provides access to the NVM of the host
controller (and devices starting from Intel Alpine Ridge). The NVM
contains also more complete DROM for the root switch including vendor
and device identification strings.
This will look for the DMA port capability for each switch and if found
populates sw->dma_port. We then teach tb_drom_read() to read the DROM
information from NVM if available for the root switch.
The DMA port capability also supports upgrading the NVM for both host
controller and devices which will be added in subsequent patches.
This code is based on the work done by Amir Levy and Michael Jamet.
Signed-off-by: Michael Jamet <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Reviewed-by: Yehezkel Bernat <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Andreas Noever <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions