linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] usb: typec: ucsi: revert broken buffer management
@ 2025-12-22 15:22 Johan Hovold
  2025-12-22 15:22 ` [PATCH 1/4] Revert "usb: typec: ucsi: Add support for SET_PDOS command" Johan Hovold
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Johan Hovold @ 2025-12-22 15:22 UTC (permalink / raw)
  To: Heikki Krogerus, Greg Kroah-Hartman
  Cc: Pooja Katiyar, Dmitry Baryshkov, linux-usb, linux-kernel,
	Johan Hovold

The new buffer management code has not been tested or reviewed properly
and breaks boot of machines like the Lenovo ThinkPad X13s.

Fixing this will require designing a proper interface for managing these
transactions, something which most likely involves reverting most of the
offending commit anyway.
	    
Revert the broken code to fix the regression and let Intel come up with
a properly tested implementation for a later kernel.

Johan


Johan Hovold (4):
  Revert "usb: typec: ucsi: Add support for SET_PDOS command"
  Revert "usb: typec: ucsi: Enable debugfs for message_out data
    structure"
  Revert "usb: typec: ucsi: Add support for message out data structure"
  Revert "usb: typec: ucsi: Update UCSI structure to have message in and
    message out fields"

 drivers/usb/typec/ucsi/cros_ec_ucsi.c   |   5 +-
 drivers/usb/typec/ucsi/debugfs.c        |  36 +-------
 drivers/usb/typec/ucsi/displayport.c    |  11 +--
 drivers/usb/typec/ucsi/ucsi.c           | 118 ++++++++----------------
 drivers/usb/typec/ucsi/ucsi.h           |  22 ++---
 drivers/usb/typec/ucsi/ucsi_acpi.c      |  25 +----
 drivers/usb/typec/ucsi/ucsi_ccg.c       |  11 ++-
 drivers/usb/typec/ucsi/ucsi_yoga_c630.c |  15 +--
 8 files changed, 71 insertions(+), 172 deletions(-)

-- 
2.51.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-23 20:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-22 15:22 [PATCH 0/4] usb: typec: ucsi: revert broken buffer management Johan Hovold
2025-12-22 15:22 ` [PATCH 1/4] Revert "usb: typec: ucsi: Add support for SET_PDOS command" Johan Hovold
2025-12-22 15:22 ` [PATCH 2/4] Revert "usb: typec: ucsi: Enable debugfs for message_out data structure" Johan Hovold
2025-12-22 15:22 ` [PATCH 3/4] Revert "usb: typec: ucsi: Add support for message out " Johan Hovold
2025-12-22 15:22 ` [PATCH 4/4] Revert "usb: typec: ucsi: Update UCSI structure to have message in and message out fields" Johan Hovold
2025-12-22 22:15 ` [PATCH 0/4] usb: typec: ucsi: revert broken buffer management Katiyar, Pooja
2025-12-23 14:04   ` Johan Hovold
2025-12-23 14:24     ` Greg Kroah-Hartman
2025-12-23 20:21       ` Katiyar, Pooja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).