linux/drivers/thunderbolt
Mika Westerberg 3e13676862 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 <michael.jamet@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-09 11:42:43 +02:00
..
cap.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
ctl.c thunderbolt: Rework control channel to be more reliable 2017-06-09 11:42:43 +02:00
ctl.h thunderbolt: Rework control channel to be more reliable 2017-06-09 11:42:43 +02:00
dma_port.c thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
dma_port.h thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
domain.c thunderbolt: Let the connection manager handle all notifications 2017-06-09 11:42:42 +02:00
eeprom.c thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
Kconfig thunderbolt: Compile on x86 only 2016-11-18 09:42:59 +01:00
Makefile thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
nhi_regs.h thunderbolt: Add support for NHI mailbox 2017-06-09 11:42:43 +02:00
nhi.c thunderbolt: Add support for NHI mailbox 2017-06-09 11:42:43 +02:00
nhi.h thunderbolt: Add support for NHI mailbox 2017-06-09 11:42:43 +02:00
path.c thunderbolt: Clear hops before overwriting 2014-08-26 14:54:48 -07:00
switch.c thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
tb_msgs.h thunderbolt: Move control channel messages to tb_msgs.h 2017-06-09 11:42:42 +02:00
tb_regs.h thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tb.c thunderbolt: Let the connection manager handle all notifications 2017-06-09 11:42:42 +02:00
tb.h thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
tunnel_pci.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
tunnel_pci.h thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00