Re: [PATCH] devres: Really align data field to unsigned long long

2018-07-06 Thread Thomas Gleixner
On Fri, 6 Jul 2018, Alexey Brodkin wrote: > It looks like on most of architectures "data" member of devres struture > gets aligned to 8-byte "unsigned long long" boundary as one may expect: > if we don't explicitly pack a structure then natural alignment > (which matches each member data type) is

[PATCH] devres: Really align data field to unsigned long long

2018-07-06 Thread Alexey Brodkin
It looks like on most of architectures "data" member of devres struture gets aligned to 8-byte "unsigned long long" boundary as one may expect: if we don't explicitly pack a structure then natural alignment (which matches each member data type) is used. But at least on 32-bit ARC architecture ABI

Re: [PATCH v2] ARC: Configure APB GPIO controller on ARC HSDK platform

2018-07-06 Thread Alexey Brodkin
Hi Gustavo, On Fri, 2018-07-06 at 11:32 +0100, Gustavo Pimentel wrote: > In case of HSDK we have intermediate INTC in for of DW APB GPIO controller > which is used as a de-bounce logic for interrupt wires that come from > outside the board. > > We cannot use existing "irq-dw-apb-ictl" driver here

Re: [PATCH] ARC: Remove CONFIG_INITRAMFS_SOURCE from defconfigs

2018-07-06 Thread Alexey Brodkin
Hi Vineet, On Wed, 2018-06-06 at 09:32 -0700, Kevin Hilman wrote: > On Wed, Jun 6, 2018 at 5:59 AM, Alexey Brodkin > wrote: > > We used to have pre-set CONFIG_INITRAMFS_SOURCE with local path > > to intramfs in ARC defconfigs. This was quite convenient for > > in-house development but not that co

Re: [PATCH] ARC: prevent showing irrelevant exception info in signal message

2018-07-06 Thread Eugeniy Paltsev
Hi Vineet, On Thu, 2018-07-05 at 14:26 -0700, Vineet Gupta wrote: > On 07/03/2018 03:57 AM, Eugeniy Paltsev wrote: > > On Mon, 2018-07-02 at 10:57 -0700, Vineet Gupta wrote: > > > +CC Al > > > > > > On 06/29/2018 12:39 PM, Eugeniy Paltsev wrote: > > > > We process signals in the end of syscall/ex

[PATCH v2] ARC: Configure APB GPIO controller on ARC HSDK platform

2018-07-06 Thread Gustavo Pimentel
In case of HSDK we have intermediate INTC in for of DW APB GPIO controller which is used as a de-bounce logic for interrupt wires that come from outside the board. We cannot use existing "irq-dw-apb-ictl" driver here because all input lines are routed to corresponding output lines but not muxed in