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: <20150526141239.GB21573@kroah.com>
Date:	Tue, 26 May 2015 07:12:39 -0700
From:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:	"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	xinhuix.pan@...el.com, Alan Cox <alan@...ux.intel.com>
Subject: Re: [PATCH 1/3] usb: add function usb_autopm_get_interface_upgrade

On Tue, May 26, 2015 at 10:19:57AM +0800, Zhang, Yanmin wrote:
> Some usb driver has a specific requirement. Their critical functions
> 
> might be called under both atomic environment and non-atomic environment.
> 
> If it's under atomic environment, the driver can wake up the device
> 
> by calling pm_runtime_get_sync directly.
> 
> If it's under non-atomic environment, the function's caller need wake
> 
> up the device before the function accesses the device.
> 
> The patch adds usb_autopm_get_interface_upgrade, a new function to
> 
> support above capability.
> 
> Signed-off-by: Zhang Yanmin <yanmin.zhang@...el.com>
> 
> ---
> 
>  drivers/usb/core/driver.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++
> 
>  include/linux/usb.h       |  3 +++
> 
>  2 files changed, 56 insertions(+)
> 
> diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
> 
> index 818369a..d07fd8d 100644
> 
> --- a/drivers/usb/core/driver.c
> 
> +++ b/drivers/usb/core/driver.c
> 
> @@ -1684,6 +1684,59 @@ int usb_autopm_get_interface(struct usb_interface *intf)
> 
>  EXPORT_SYMBOL_GPL(usb_autopm_get_interface);
> 
> 
>  /**
> 
> + * usb_autopm_get_interface_retry - increment a USB interface's PM-usage counter
> 
> + * @intf: the usb_interface whose counter should be incremented

Your emails are obviously corrupted and can't be applied..  Please fix
up and resend all of them.

thanks,

greg k-h
--
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