Re: [RFC] Bridging the gap between the Linux Kernel Memory Consistency Model (LKMM) and C11/C++11 atomics

2023-07-04 Thread Alan Stern
On Tue, Jul 04, 2023 at 01:19:23PM -0400, Olivier Dion wrote: > On Mon, 03 Jul 2023, Alan Stern wrote: > > On Mon, Jul 03, 2023 at 03:20:31PM -0400, Olivier Dion wrote: > >> This is a request for comments on extending the atomic builtins API to > >> help avoidin

Re: [RFC] Bridging the gap between the Linux Kernel Memory Consistency Model (LKMM) and C11/C++11 atomics

2023-07-03 Thread Alan Stern
erally need not appear after an initialization, and you might want to add a special API to force the generation of such a fence. Alan Stern

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

2011-04-28 Thread Alan Stern
On Wed, 27 Apr 2011, Arnd Bergmann wrote: > On Wednesday 27 April 2011 18:25:40 Alan Stern wrote: > > On Wed, 27 Apr 2011, Rabin Vincent wrote: > > > > > On Wed, Apr 27, 2011 at 00:21, Alan Stern > > > wrote: > > > > On Tue, 26 Apr 2011, Rabin

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

2011-04-27 Thread Alan Stern
On Wed, 27 Apr 2011, Rabin Vincent wrote: > 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: > >> > >> � � � /* forc

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

2011-04-26 Thread Alan Stern
| PORT_RESET), > status_reg); Why would that get messed up? The status_reg variable doesn't have any __atribute__((packed)) associated with it. Alan Stern