Re: [PATCH 1/2] ARCv2: Enable unaligned access in early ASM code

2019-01-29 Thread Eugeniy Paltsev
On Tue, 2019-01-29 at 09:28 -0800, Vineet Gupta wrote: > On 1/29/19 9:26 AM, Eugeniy Paltsev wrote: > > > I presume there is no specific reason to include this conditionally. > > > irqflags.h already includes the right version. > > > > Agree. > > I've just forgotten about common irqflags.h > > No

Re: [PATCH 1/2] ARCv2: Enable unaligned access in early ASM code

2019-01-29 Thread Vineet Gupta
On 1/29/19 9:26 AM, Eugeniy Paltsev wrote: >> I presume there is no specific reason to include this conditionally. >> irqflags.h already includes the right version. > Agree. > I've just forgotten about common irqflags.h No need for this series. Given Alexey's request, I've pushed the minimal patch

Re: [PATCH 1/2] ARCv2: Enable unaligned access in early ASM code

2019-01-29 Thread Eugeniy Paltsev
On Tue, 2019-01-29 at 09:21 -0800, Vineet Gupta wrote: > On 1/16/19 3:29 AM, Eugeniy Paltsev wrote: > > Even though we do enable AD bit in arc_init_IRQ() we need to do > > it in early ASM code otherwise we may face unaligned data until > > we reach arc_init_IRQ() because GCC starting from v8.1.0 ac

Re: [PATCH 1/2] ARCv2: Enable unaligned access in early ASM code

2019-01-29 Thread Vineet Gupta
On 1/16/19 3:29 AM, Eugeniy Paltsev wrote: > Even though we do enable AD bit in arc_init_IRQ() we need to do > it in early ASM code otherwise we may face unaligned data until > we reach arc_init_IRQ() because GCC starting from v8.1.0 actively > generates unaligned data as it assumes that: > * ARCv

Re: [PATCH 1/2] ARCv2: Enable unaligned access in early ASM code

2019-01-29 Thread Vineet Gupta
On 1/28/19 11:27 PM, Alexey Brodkin wrote: > Hi Vineet, > >> -Original Message- >> From: Eugeniy Paltsev >> Sent: Wednesday, January 16, 2019 2:30 PM >> To: linux-snps-arc@lists.infradead.org; Vineet Gupta >> Cc: linux-ker...@vger.kernel.org; Alexey Brodkin ; >> Eugeniy Paltsev >> >> Su