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-next>] [day] [month] [year] [list]
Message-ID: <20231121203845.170234-4-rdbabiera@google.com>
Date:   Tue, 21 Nov 2023 20:38:46 +0000
From:   RD Babiera <rdbabiera@...gle.com>
To:     linux@...ck-us.net, heikki.krogerus@...ux.intel.com,
        gregkh@...uxfoundation.org
Cc:     linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
        badhri@...gle.com, RD Babiera <rdbabiera@...gle.com>
Subject: [PATCH v1 0/2] usb: typec: handle tcpc vconn oc fault by triggering
 tcpm error recovery

When a Vconn swap results in a Vconn over current fault, typec port
interoperability is affected and cannot be recovered unless the connection
is reset and restablished.

The tcpm currently does not have an export symbol to set the port to the
error recovery state in the event of tcpc faults. This patch set adds
tcpm_port_error_recovery for tcpci drivers to use when a fault should
result in a connection reset. Vconn over current fault handling is added
to the maxim tcpci driver.

RD Babiera (2):
  usb: typec: tcpm: add tcpm_port_error_recovery symbol
  usb: typec: tcpci: add vconn over current fault handling to maxim_core

 drivers/usb/typec/tcpm/tcpci_maxim_core.c | 20 +++++++++++++++++++-
 drivers/usb/typec/tcpm/tcpm.c             | 14 ++++++++++++++
 include/linux/usb/tcpci.h                 |  5 ++++-
 include/linux/usb/tcpm.h                  |  1 +
 4 files changed, 38 insertions(+), 2 deletions(-)

-- 
2.43.0.rc1.413.gea7ed67945-goog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ