Re: [Stratos-dev] [PATCH V3 1/3] gpio: Add virtio-gpio driver

2021-06-13 Thread Viresh Kumar
On 11-06-21, 10:34, Arnd Bergmann wrote: > Extraneous __packed annotations do cause real problems: > > - On architectures without hardware unaligned accesses, the compiler is > forced to emit byte load/store instructions, which is slower and breaks > atomic updates to shared variables > > -

Re: [Stratos-dev] [PATCH V3 1/3] gpio: Add virtio-gpio driver

2021-06-10 Thread Jean-Philippe Brucker
On Thu, Jun 10, 2021 at 04:00:39PM +, Enrico Weigelt, metux IT consult via Stratos-dev wrote: > On 10.06.21 15:22, Arnd Bergmann wrote: > > > Can you give an example of how this would be hooked up to other drivers > > using those gpios. Can you give an example of how using the "gpio-keys" or