Re: [PATCH 2/5] ARCv2: introduce unaligned access under a Kconfig option

2019-01-30 Thread Vineet Gupta
On 1/30/19 8:44 AM, Eugeniy Paltsev wrote: >> I'd prefer to change the define of STATUS_AD_MASK itself and keep all of this >> unchanged ! >> > Actually I'd prefer to leave STATUS_AD_MASK untouched. Otherwise we will > implicitly assign > wrong value to STATUS_AD_MASK which is quite misleading. >

Re: [PATCH 2/5] ARCv2: introduce unaligned access under a Kconfig option

2019-01-30 Thread Eugeniy Paltsev
On Tue, 2019-01-29 at 21:44 +, Vineet Gupta wrote: > On 1/29/19 2:49 AM, Eugeniy Paltsev wrote: > > As of today we enable unaligned access unconditionally on ARCv2. > > Lets move it under Kconfig option so we can disable it in case of > > using HW configuration which lacks of it. > > > > Signe

Re: [PATCH 2/5] ARCv2: introduce unaligned access under a Kconfig option

2019-01-29 Thread Vineet Gupta
On 1/29/19 2:49 AM, Eugeniy Paltsev wrote: > As of today we enable unaligned access unconditionally on ARCv2. > Lets move it under Kconfig option so we can disable it in case of > using HW configuration which lacks of it. > > Signed-off-by: Eugeniy Paltsev > --- > arch/arc/Kconfig

[PATCH 2/5] ARCv2: introduce unaligned access under a Kconfig option

2019-01-29 Thread Eugeniy Paltsev
As of today we enable unaligned access unconditionally on ARCv2. Lets move it under Kconfig option so we can disable it in case of using HW configuration which lacks of it. Signed-off-by: Eugeniy Paltsev --- arch/arc/Kconfig | 8 arch/arc/include/asm/irqflags-arcv2.