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: <CAJ1gpc33-BH1e=VpJ0ocjNRJk6CGswCuQ8UYrO=Pkanqhv+xLg@mail.gmail.com>
Date:	Wed, 21 Jan 2015 16:55:47 +0800
From:	Sneeker Yeh <sneeker.yeh@...il.com>
To:	Felipe Balbi <balbi@...com>
Cc:	Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Mathias Nyman <mathias.nyman@...el.com>,
	Grant Likely <grant.likely@...aro.org>,
	Huang Rui <ray.huang@....com>,
	Kishon Vijay Abraham I <kishon@...com>,
	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-usb@...r.kernel.org, linux-omap@...r.kernel.org,
	Andy Green <andy.green@...aro.org>,
	Jassi Brar <jaswinder.singh@...aro.org>,
	Sneeker Yeh <Sneeker.Yeh@...fujitsu.com>
Subject: Re: [PATCH v2 4/5] xhci: Platform: Set Synopsis device disconnection
 quirk based on platform data

hi,

2015-01-19 22:51 GMT+08:00 Felipe Balbi <balbi@...com>:
>
> On Mon, Jan 19, 2015 at 03:56:48PM +0800, Sneeker Yeh wrote:
> > If an xhci platform has Synopsis device disconnection errata then enable
> > XHCI_DISCONNECT_QUIRK quirk flag.
> >
> > Signed-off-by: Sneeker Yeh <Sneeker.Yeh@...fujitsu.com>
> > ---
> >  drivers/usb/host/xhci-plat.c     |    3 +++
> >  include/linux/usb/xhci_pdriver.h |    4 ++++
> >  2 files changed, 7 insertions(+)
> >
> > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> > index 08d402b..40beb95 100644
> > --- a/drivers/usb/host/xhci-plat.c
> > +++ b/drivers/usb/host/xhci-plat.c
> > @@ -147,6 +147,9 @@ static int xhci_plat_probe(struct platform_device *pdev)
> >       if ((node && of_property_read_bool(node, "usb3-lpm-capable")) ||
> >                       (pdata && pdata->usb3_lpm_capable))
> >               xhci->quirks |= XHCI_LPM_SUPPORT;
> > +
> > +     if (pdata && pdata->delay_portcsc_clear)
> > +             xhci->quirks |= XHCI_DISCONNECT_QUIRK;
> >       /*
> >        * Set the xHCI pointer before xhci_plat_setup() (aka hcd_driver.reset)
> >        * is called by usb_add_hcd().
> > diff --git a/include/linux/usb/xhci_pdriver.h b/include/linux/usb/xhci_pdriver.h
> > index 376654b..a37a3a5 100644
> > --- a/include/linux/usb/xhci_pdriver.h
> > +++ b/include/linux/usb/xhci_pdriver.h
> > @@ -18,10 +18,14 @@
> >   *
> >   * @usb3_lpm_capable:        determines if this xhci platform supports USB3
> >   *                   LPM capability
> > + * @delay_portcsc_clear:     determines if Synopsis USB3 core has errata in
> > + *                           "DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1" hardware
> > + *                           configuration.
> >   *
> >   */
> >  struct usb_xhci_pdata {
> >       unsigned        usb3_lpm_capable:1;
> > +     unsigned        delay_portcsc_clear:1;
>
> previous patch won't build before this is applied. That's a problem.
> Please shuffle things around so that each and every patch builds and
> works on its own.
>
> We cannot break bisectability ;-)

Ah...sorry I seem to make a mess here,
i'll re-arrange all patches next round.

Much appreciate,
Sneeker

>
> --
> balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ