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]
Date:   Wed, 17 May 2017 15:08:07 -0500
From:   Bin Liu <b-liu@...com>
To:     Peter Ujfalusi <peter.ujfalusi@...com>
CC:     <tony@...mide.com>, <gregkh@...uxfoundation.org>,
        <vinod.koul@...el.com>, <linux-usb@...r.kernel.org>,
        <linux-omap@...r.kernel.org>, <balbi@...nel.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 3/9] usb: musb: tusb6010: Add MUSB_G_NO_SKB_RESERVE to
 quirks

On Fri, May 12, 2017 at 04:57:46PM +0300, Peter Ujfalusi wrote:
> When using the g_ncm for networking this flag will make sure that the
> buffer is alligned to 32bit so the DMA can be used to offload the data

s/alligned/aligned/

Regards,
-Bin.

> movement.
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
> Tested-by: Tony Lindgren <tony@...mide.com>
> ---
>  drivers/usb/musb/tusb6010.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
> index e85cc8e4e7a9..4253bfb22043 100644
> --- a/drivers/usb/musb/tusb6010.c
> +++ b/drivers/usb/musb/tusb6010.c
> @@ -1181,7 +1181,8 @@ static int tusb_musb_exit(struct musb *musb)
>  }
>  
>  static const struct musb_platform_ops tusb_ops = {
> -	.quirks		= MUSB_DMA_TUSB_OMAP | MUSB_IN_TUSB,
> +	.quirks		= MUSB_DMA_TUSB_OMAP | MUSB_IN_TUSB |
> +			  MUSB_G_NO_SKB_RESERVE,
>  	.init		= tusb_musb_init,
>  	.exit		= tusb_musb_exit,
>  
> -- 
> 2.13.0
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ