From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Francesco Orro <ncesco@interstellar.eu>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
Greg KH <gregkh@linuxfoundation.org>
Subject: Re: [RFC PATCH] usb: typec: ucsi: acpi: bootstrap PPM on HP systems with empty _DSM func 2
Date: Mon, 27 Apr 2026 11:39:08 +0300 [thread overview]
Message-ID: <ae8grG-g0PqsScEn@kuha> (raw)
In-Reply-To: <f3M_fpjtt8FxDqGKcA84vqXmRbKzCBfpCrIK4-jCWvIscER51zkD8qD8FYpz75qZw51rMDRSkUyYlrBvLvdM8CGRY2l8TFVvr4MC1LdTzbc=@interstellar.eu>
Hi,
On Mon, Apr 20, 2026 at 04:05:47PM +0000, Francesco Orro wrote:
> Hi,
>
> The attached RFC patch lets ucsi_acpi probe successfully on HP ZBook
> Fury G1i 16 inch (and likely other HP workstations shipping the same
> "UcsiAcpi" SSDT), where _DSM func 2 (READ) is a stub and UCSI_VERSION
> stays 0. Details in the commit message below.
Please report this to HP. We really need to know which version they
support.
> Main open question for the list: is there a known-good pattern for
> ucsi_acpi drivers to avoid disrupting alt-mode state already negotiated
> by BIOS? On cold boot with a Thunderbolt dock attached, the PPM_RESET
> issued by this patch - and later by Linux UCSI core in ucsi_init() -
> tears down the TBT alt-mode the BIOS had set up, and the DP tunnel to
> the dock dies until the user physically replugs. My local workaround
> is to late-load ucsi_acpi via a systemd service after the thunderbolt
> driver has adopted the tunnels, but that feels like papering over a
> design assumption I am missing.
I'm surprised that PPM_RESET has that effect on your system, because
it does not reset the connectors. If you want to reset the connectors
you are expected to explicitly reset each of them before the executing
PPM_RESET. I'm not sure the PPM on this platform is behaving correctly,
so I think you need to contact HP about this too.
> Tested on one machine only. Happy to refine the patch if the direction
> is acceptable.
>
> Regards,
> Francesco Orro
>
> ---
>
> From: Francesco Orro <ncesco@interstellar.eu>
> Date: Mon, 20 Apr 2026 16:40:00 +0200
> Subject: [PATCH v7] usb: typec: ucsi: acpi: bootstrap PPM on systems with empty _DSM func 2
Please avoid attaching the patch to the coverletter like this. It is
a bit confusing. Is this the same patch as the one you've sent
separately in this thread?
thanks,
--
heikki
prev parent reply other threads:[~2026-04-27 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 16:05 [RFC PATCH] usb: typec: ucsi: acpi: bootstrap PPM on HP systems with empty _DSM func 2 Francesco Orro
2026-04-20 17:23 ` [PATCH v7] usb: typec: ucsi: acpi: bootstrap PPM on " Francesco Orro
2026-04-27 9:02 ` Heikki Krogerus
2026-04-27 8:39 ` Heikki Krogerus [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=ae8grG-g0PqsScEn@kuha \
--to=heikki.krogerus@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=ncesco@interstellar.eu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox