public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Katiyar, Pooja" <pooja.katiyar@linux.intel.com>
To: Johan Hovold <johan@kernel.org>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Pooja Katiyar <pooja.katiyar@intel.com>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/4] usb: typec: ucsi: revert broken buffer management
Date: Mon, 22 Dec 2025 14:15:10 -0800	[thread overview]
Message-ID: <a6073f4f-edb3-470c-be63-4c3054d497a0@linux.intel.com> (raw)
In-Reply-To: <20251222152204.2846-1-johan@kernel.org>

Hello Jonah,

On Mon, Dec 22, 2025 at 07:22:00AM -0800, Johan Hovold wrote:
> 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.
> 

Thanks! A fix patch addressing the race condition has been identified and
is being tested right now. It will be submitted for review shortly.

Here’s the discussion on same - 
https://lore.kernel.org/all/349e1f70-7e40-4e3e-b078-6e001bbb5f1a@oss.qualcomm.com/

> 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(-)
> 

Regards,
Pooja

  parent reply	other threads:[~2025-12-22 22:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Katiyar, Pooja [this message]
2025-12-23 14:04   ` [PATCH 0/4] usb: typec: ucsi: revert broken buffer management Johan Hovold
2025-12-23 14:24     ` Greg Kroah-Hartman
2025-12-23 20:21       ` Katiyar, Pooja

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=a6073f4f-edb3-470c-be63-4c3054d497a0@linux.intel.com \
    --to=pooja.katiyar@linux.intel.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=pooja.katiyar@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox