• Mika Westerberg's avatar
    thunderbolt: Tear down existing tunnels when resuming from hibernate · 43bddb26
    Mika Westerberg authored
    If the boot firmware implements connection manager of its own it may not
    create the paths in the same way or order we do. For example it may
    create first PCIe tunnel and then USB3 tunnel. When we restore our
    tunnels (first de-activating them) we may be doing that over completely
    different tunnels and that leaves them possibly non-functional. For this
    reason we re-use the tunnel discovery functionality and find out all the
    existing tunnels, and tear them down. Once that is done we can restore
    our tunnels.
    Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
    43bddb26
tunnel.c 43.8 KB