Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-14 Thread Piotr Wilczek
-Original Message- From: Vivek Gautam [mailto:gautam.vi...@samsung.com] Sent: Monday, May 13, 2013 12:24 PM To: u-boot@lists.denx.de Cc: gautam.vi...@samsung.com; Lukasz Majewski; Piotr Wilczek; Kyungmin Park; Lukasz Dalek; Marek Vasut Subject: [PATCH 2/2] usb: gadget: Use

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-14 Thread Marek Vasut
Dear Vivek Gautam, Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com

[U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Vivek Gautam
Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Lukasz Dalek

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Kyungmin Park
On Mon, May 13, 2013 at 7:23 PM, Vivek Gautam gautam.vi...@samsung.comwrote: Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. It's another story, can we get performance gain with unaligned access feature? In case of kernel, we got some gains. Anyway,

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Vivek Gautam
Hi, On Mon, May 13, 2013 at 4:20 PM, Kyungmin Park kmp...@infradead.org wrote: On Mon, May 13, 2013 at 7:23 PM, Vivek Gautam gautam.vi...@samsung.comwrote: Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. typo here s/voilating/violating It's

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Albert ARIBAUD
Hi Kyungmin, On Mon, 13 May 2013 19:50:28 +0900, Kyungmin Park kmp...@infradead.org wrote: On Mon, May 13, 2013 at 7:23 PM, Vivek Gautam gautam.vi...@samsung.comwrote: Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. It's another story, can we

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Łukasz Dałek
On 13.05.2013 12:23, Vivek Gautam wrote: Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Kyungmin Park