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: <58AC1FAC.1000701@linux.intel.com>
Date:   Tue, 21 Feb 2017 13:08:28 +0200
From:   Mathias Nyman <mathias.nyman@...ux.intel.com>
To:     Robert Foss <robert.foss@...labora.com>, mathias.nyman@...el.com,
        gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
        linux-kernel@...r.kernel.org, Julius Werner <jwerner@...omium.org>,
        Andrew Bresticker <abrestic@...omium.org>,
        Felipe Balbi <felipe.balbi@...ux.intel.com>,
        Brian Norris <briannorris@...omium.org>,
        Baolin Wang <baolin.wang@...aro.org>
Subject: Re: [PATCH RESEND v8] usb: xhci: plat: Enable async suspend/resume

On 20.02.2017 17:48, Robert Foss wrote:
> From: Andrew Bresticker <abrestic@...omium.org>
>
> USB host controllers can take a significant amount of time to suspend
> and resume, adding several hundred miliseconds to the kernel resume
> time. Since the XHCI controller has no outside dependencies (other than
> clocks, which are suspended late/resumed early), allow it to suspend and
> resume asynchronously.
>
> Signed-off-by: Andrew Bresticker <abrestic@...omium.org>
> Tested-by: Andrew Bresticker <abrestic@...omium.org>
> Tested-by: Robert Foss <robert.foss@...labora.com>
> Signed-off-by: Robert Foss <robert.foss@...labora.com>
> Reviewed-by: Baolin Wang <baolin.wang@...aro.org>
> ---
>
> Changes since v8:
>   - Rebased on upstream/master
>   - Added r-b of Baolin Wang
>
>
>   drivers/usb/host/xhci-plat.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index e5834dd9bcde..8ef34fe4d5c0 100644
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -255,6 +255,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
>   	if (ret)
>   		goto dealloc_usb2_hcd;
>
> +	device_enable_async_suspend(&pdev->dev);
> +
>   	return 0;
>

Thanks, added to queue

-Mathias

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ