lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMFSARf1Mp5ewJsig5Pv_0n-kEsLq73Nio0i4r8A9YxTCHrJ8A@mail.gmail.com>
Date: Tue, 21 Oct 2025 17:07:36 -0700
From: Jameson Thies <jthies@...gle.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: heikki.krogerus@...ux.intel.com, linux-usb@...r.kernel.org, 
	linux-kernel@...r.kernel.org, dmitry.baryshkov@....qualcomm.com, 
	bleung@...omium.org, akuchynski@...omium.org, abhishekpandit@...omium.org, 
	sebastian.reichel@...labora.com, kenny@...ix.com, linux-pm@...r.kernel.org, 
	stable@...r.kernel.org
Subject: Re: [PATCH v2] usb: typec: ucsi: psy: Set max current to zero when disconnected

Sorry for the incorrect commit message formatting. I'll resolve this
in a v3 update.

> What prevents this from changing right after checking it?

There is nothing that prevents the connection status from changing
just after this is checked, but that is true of most of the values we
are using to set power supply properties. If there is a connection
change, ucsi_port_psy_changed() will be called from
ucsi_handle_connector_change() in ucsi.c. This then calls
power_supply_changed() which should signal to userspace or other
drivers that this value needs to be reevaluated based on the updated
connector status.

-Jameson

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ