Re: [PATCH] ARCv2: Add explcit unaligned access support (and ability to disable too)

2019-03-04 Thread Vineet Gupta
On 2/28/19 11:24 AM, Vineet Gupta wrote: > On 2/28/19 10:59 AM, Guenter Roeck wrote: >>> Once the patch hits mainline you could use that. In the mean time I'll back >>> out >>> the "detector" as it might trip other people too. >>> >> Can you possibly use $(cc-option,-mno-unaligned-access), or woul

Re: [PATCH] ARCv2: Add explcit unaligned access support (and ability to disable too)

2019-02-28 Thread Vineet Gupta
On 2/28/19 10:59 AM, Guenter Roeck wrote: >> Once the patch hits mainline you could use that. In the mean time I'll back >> out >> the "detector" as it might trip other people too. >> > Can you possibly use $(cc-option,-mno-unaligned-access), or would that > defeat the purpose ? > Indeed I was lo

Re: [PATCH] ARCv2: Add explcit unaligned access support (and ability to disable too)

2019-02-28 Thread Guenter Roeck
On Wed, Jan 30, 2019 at 07:32:41PM +0300, Eugeniy Paltsev wrote: > As of today we enable unaligned access unconditionally on ARCv2. > Do this under a Kconfig option to allow disable it for test, benchmarking > etc. Also while at it > > - Select HAVE_EFFICIENT_UNALIGNED_ACCESS > - Although gcc

Re: [PATCH] ARCv2: Add explcit unaligned access support (and ability to disable too)

2019-02-28 Thread Guenter Roeck
On Thu, Feb 28, 2019 at 06:12:33PM +, Vineet Gupta wrote: > On 2/28/19 9:47 AM, Guenter Roeck wrote: > > On Wed, Jan 30, 2019 at 07:32:41PM +0300, Eugeniy Paltsev wrote: > >> As of today we enable unaligned access unconditionally on ARCv2. > >> Do this under a Kconfig option to allow disable it

Re: [PATCH] ARCv2: Add explcit unaligned access support (and ability to disable too)

2019-02-28 Thread Vineet Gupta
On 2/28/19 9:47 AM, Guenter Roeck wrote: > On Wed, Jan 30, 2019 at 07:32:41PM +0300, Eugeniy Paltsev wrote: >> As of today we enable unaligned access unconditionally on ARCv2. >> Do this under a Kconfig option to allow disable it for test, benchmarking >> etc. Also while at it >> >> - Select HAVE