[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140826155418.GA3034@kroah.com>
Date: Tue, 26 Aug 2014 08:54:18 -0700
From: Greg KH <greg@...ah.com>
To: Andreas Noever <andreas.noever@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] thunderbolt: Clear hops before overwriting
On Tue, Aug 26, 2014 at 05:42:21PM +0200, Andreas Noever wrote:
> Zero hops in tb_path_activate before writing a new path.
>
> This fixes the following scenario:
> - Boot with a coldplugged device
> - Unplug device
> - Plug device back in
> - PCI hotplug fails
>
> The hotplug operation fails because our new path matches the (now
> defunct) path which was setup by the firmware for the coldplugged
> device. By writing zeros before writing our path configuration we can
> force thunderbolt to retrain the path.
>
> Signed-off-by: Andreas Noever <andreas.noever@...il.com>
> ---
> drivers/thunderbolt/path.c | 21 ++++++++++++++++++++-
> 1 file changed, 20 insertions(+), 1 deletion(-)
Should this get in for 3.17-final or can it wait for 3.18? I'm thinking
3.17, but want to make sure.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists