All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Yehezkel Bernat <YehezkelShB@gmail.com>,
	Michael Jamet <michael.jamet@intel.com>,
	Lukas Wunner <lukas@wunner.de>,
	Andreas Noever <andreas.noever@gmail.com>
Cc: Gil Fine <gil.fine@linux.intel.com>, linux-usb@vger.kernel.org
Subject: Re: [PATCH 1/2] thunderbolt: Fix wake configurations after device unplug
Date: Wed, 10 Apr 2024 10:53:29 +0300	[thread overview]
Message-ID: <20240410075329.GY112498@black.fi.intel.com> (raw)
In-Reply-To: <20240408124803.12329-1-mika.westerberg@linux.intel.com>

On Mon, Apr 08, 2024 at 03:48:02PM +0300, Mika Westerberg wrote:
> From: Gil Fine <gil.fine@linux.intel.com>
> 
> Currently we don't configure correctly the wake events after unplug of device
> router. What can happen is that the downstream ports of host router will be
> configured to wake on: USB4-wake and wake-on-disconnect, but not on
> wake-on-connect. This may cause the later plugged device not to wake the
> domain and fail in enumeration. Fix this by clearing downstream port's "USB4
> Port is Configured" bit, after unplug of a device router.
> 
> Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
> Cc: stable@vger.kernel.org
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>

Both applied to thunderbolt.git/fixes.

      parent reply	other threads:[~2024-04-10  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 12:48 [PATCH 1/2] thunderbolt: Fix wake configurations after device unplug Mika Westerberg
2024-04-08 12:48 ` [PATCH 2/2] thunderbolt: Avoid notify PM core about runtime PM resume Mika Westerberg
2024-04-10  7:53 ` Mika Westerberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240410075329.GY112498@black.fi.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=YehezkelShB@gmail.com \
    --cc=andreas.noever@gmail.com \
    --cc=gil.fine@linux.intel.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=michael.jamet@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.