Re: ARM unaligned MMIO access with attribute((packed))

2011-04-27 Thread Rabin Vincent
On Wed, Apr 27, 2011 at 00:21, Alan Stern wrote: > On Tue, 26 Apr 2011, Rabin Vincent wrote: >> In my case it's this writel() in ehci-hub.c that gets chopped into >> strbs: >> >>       /* force reset to complete */ >>       ehci_writel(ehc

Re: ARM unaligned MMIO access with attribute((packed))

2011-04-26 Thread Rabin Vincent
On Wed, Feb 2, 2011 at 21:30, Arnd Bergmann wrote: > As noticed by Peter Maydell, the EHCI device driver in Linux gets > miscompiled by some versions of arm-gcc (still need to find out which) > due to a combination of problems: > > 1. In include/linux/usb/ehci_def.h, struct ehci_caps is defined >