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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200915121033.GB1139641@kuha.fi.intel.com>
Date:   Tue, 15 Sep 2020 15:10:33 +0300
From:   Heikki Krogerus <heikki.krogerus@...ux.intel.com>
To:     Badhri Jagan Sridharan <badhri@...gle.com>
Cc:     Guenter Roeck <linux@...ck-us.net>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 01/14] usb: typec: tcpci: Add register definitions to
 tcpci

On Mon, Aug 31, 2020 at 07:59:14PM -0700, Badhri Jagan Sridharan wrote:
> Add register definitions to trap extended alerts.
> 
> Signed-off-by: Badhri Jagan Sridharan <badhri@...gle.com>

Reviewed-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>

> ---
> Change history:
> - No code changes. Update version from v1 to v6 to avoid confusion
> ---
>  drivers/usb/typec/tcpm/tcpci.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/usb/typec/tcpm/tcpci.h b/drivers/usb/typec/tcpm/tcpci.h
> index 11c36d086c86..fd26ca35814c 100644
> --- a/drivers/usb/typec/tcpm/tcpci.h
> +++ b/drivers/usb/typec/tcpm/tcpci.h
> @@ -16,6 +16,7 @@
>  #define TCPC_PD_INT_REV			0xa
>  
>  #define TCPC_ALERT			0x10
> +#define TCPC_ALERT_EXTENDED_STATUS	BIT(13)
>  #define TCPC_ALERT_VBUS_DISCNCT		BIT(11)
>  #define TCPC_ALERT_RX_BUF_OVF		BIT(10)
>  #define TCPC_ALERT_FAULT		BIT(9)
> @@ -32,6 +33,10 @@
>  #define TCPC_ALERT_MASK			0x12
>  #define TCPC_POWER_STATUS_MASK		0x14
>  #define TCPC_FAULT_STATUS_MASK		0x15
> +
> +#define TCPC_EXTENDED_STATUS_MASK		0x16
> +#define TCPC_EXTENDED_STATUS_MASK_VSAFE0V	BIT(0)
> +
>  #define TCPC_CONFIG_STD_OUTPUT		0x18
>  
>  #define TCPC_TCPC_CTRL			0x19
> -- 
> 2.28.0.402.g5ffc5be6b7-goog

-- 
heikki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ