Re: Issue with BUG() in asm-gemeric/bug.h if CONFIG_BUG=n

2013-09-30 Thread Pinski, Andrew
> On Sep 30, 2013, at 9:20 AM, "David Daney" wrote: > >> On 09/30/2013 07:56 AM, Ralf Baechle wrote: >> Lately I received several patches for build issues that only strike if >> CONFIG_BUG is disabled. Here's a test case extracted from one of them: >> >> /* >> * Definition of BUG taken from a

Re: [PATCH v5 00/23] ILP32 for ARM64

2015-10-05 Thread Pinski, Andrew
> On Oct 5, 2015, at 8:59 AM, Catalin Marinas wrote: > >> On Sat, Oct 03, 2015 at 02:18:57AM +, Kapoor, Prasun wrote: >>> On 10/2/15, 2:37 AM, "Catalin Marinas" wrote: >>> So, at the time, following x32 discussions, we thought of using the >>> native ABI as much as possible. However, two i

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-01 Thread Pinski, Andrew
> On Sep 2, 2015, at 12:51 AM, "pins...@gmail.com" wrote: > > > > > >> On Sep 2, 2015, at 12:33 AM, Mark Rutland wrote: >> >> Hi, >> >>> On Sat, Aug 29, 2015 at 07:46:22PM +0100, Andrew Pinski wrote: >>> It is useful to pass down MIDR register down to userland if all of >>> the online

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-01 Thread Pinski, Andrew
> On Sep 2, 2015, at 1:19 AM, Mark Rutland wrote: > >> On Tue, Sep 01, 2015 at 05:51:44PM +0100, pins...@gmail.com wrote: >> >> >> >> >>> On Sep 2, 2015, at 12:33 AM, Mark Rutland wrote: >>> >>> Hi, >>> On Sat, Aug 29, 2015 at 07:46:22PM +0100, Andrew Pinski wrote: It is usef

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-01 Thread Pinski, Andrew
> On Sep 2, 2015, at 3:13 AM, Siarhei Siamashka > wrote: > > On Wed, 2 Sep 2015 01:58:56 +0800 > pins...@gmail.com wrote: > >>> On Sep 2, 2015, at 1:30 AM, Mark Rutland wrote: >>> >>> [...] >>> >>> On Sat, Aug 29, 2015 at 07:46:22PM +0100, Andrew Pinski wrote: >>> It is useful to

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-02 Thread Pinski, Andrew
> On Sep 3, 2015, at 1:12 AM, Catalin Marinas wrote: > >> On Wed, Sep 02, 2015 at 10:52:05PM +0800, Andrew Pinski wrote: >> On Wed, Sep 2, 2015 at 9:57 PM, Siarhei Siamashka >> wrote: > [...] > On Wed, 2 Sep 2015 01:58:56 +0800 pins...@gmail.com wrote: >> Yes but I guess you talk ab

Re: [PATCH v5 00/23] ILP32 for ARM64

2015-10-01 Thread Pinski, Andrew
> On Oct 1, 2015, at 2:29 PM, Arnd Bergmann wrote: > >> On Thursday 01 October 2015 22:15:20 Yury Norov wrote: >> >> Regarding time_t, it, of course, doesn't takes much time to make it >> 32-bit, but I think 64 bit is better because of Y2038. X32 and mips >> n32 has time_t 64-bit (and ppc, not

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-14 Thread Pinski, Andrew
> On Apr 14, 2015, at 4:15 AM, Arnd Bergmann wrote: > > On Tuesday 14 April 2015 10:45:43 Pinski, Andrew wrote: >>> On Apr 14, 2015, at 3:08 AM, Arnd Bergmann wrote: >>> >>>> On Tuesday 14 April 2015 11:33:13 Dr. Philipp Tomsich wrote: >>>

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-14 Thread Pinski, Andrew
> On Apr 14, 2015, at 3:08 AM, Arnd Bergmann wrote: > >> On Tuesday 14 April 2015 11:33:13 Dr. Philipp Tomsich wrote: >> Arnd, >> >> After getting a good night’s sleep, the “reuse the existing system call >> table” comment >> makes a little more sense as I construe it as having just one me

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-16 Thread Pinski, Andrew
> On Apr 16, 2015, at 4:19 AM, Dr. Philipp Tomsich > wrote: > > Just for the record (and to avoid anyone wasting their time on what’s > available > today): we are migrating this over to option (a) now, even though we would > prefer to see option (b) implemented. > > If we get a consensus o

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-23 Thread Pinski, Andrew
> On Apr 23, 2014, at 10:59 AM, "Chung-Lin Tang" > wrote: > >> On 2014/4/22 07:20 PM, Ley Foon Tan wrote: >> On Tue, Apr 22, 2014 at 6:56 PM, Arnd Bergmann wrote: On Tuesday 22 April 2014 18:37:11 Ley Foon Tan wrote: >> Hi Arnd and Peter Anvin, >> >> Other than 64-bit time_t

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-24 Thread Pinski, Andrew
> On Apr 24, 2014, at 11:37 AM, "Chung-Lin Tang" > wrote: > >> On 2014/4/24 11:28 PM, Catalin Marinas wrote: >>> On Thu, Apr 24, 2014 at 09:55:25AM +0100, Chung-Lin Tang wrote: >>>> On 2014/4/24 02:26 PM, Chung-Lin Tang wrote: >

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-25 Thread Pinski, Andrew
> On Apr 24, 2014, at 11:06 PM, "Chung-Lin Tang" > wrote: > >> On 2014/4/25 02:42 AM, Pinski, Andrew wrote: >> >> >>>> On Apr 24, 2014, at 11:37 AM, "Chung-Lin Tang" >>>> wrote: >>>> >>>>

Re: [PATCH 22/24] ARM64:ILP32: Use a seperate syscall table as a few syscalls need to be using the compat syscalls.

2014-07-01 Thread Pinski, Andrew
> On Jul 1, 2014, at 8:07 AM, "Catalin Marinas" wrote: > >> On Sat, May 24, 2014 at 12:02:17AM -0700, Andrew Pinski wrote: >> diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S >> index 1e1ebfc..8241ffe 100644 >> --- a/arch/arm64/kernel/entry.S >> +++ b/arch/arm64/kernel/entry.S

Re: [PATCHv2 00/24] ILP32 Support in ARM64

2014-06-16 Thread Pinski, Andrew
> On Jun 16, 2014, at 10:08 AM, "Catalin Marinas" > wrote: > > Andrew, > >> On Sat, May 24, 2014 at 12:01:55AM -0700, Andrew Pinski wrote: >> New version of the patches with documentation, signal changes are >> simplified, using less compat syscalls and splitting up the patches so >> it is ea

Re: [PATCHv2 00/24] ILP32 Support in ARM64

2014-06-17 Thread Pinski, Andrew
> On Jun 17, 2014, at 3:48 AM, "Catalin Marinas" > wrote: > > On Mon, Jun 16, 2014 at 05:19:32PM +, Pinski, Andrew wrote: >>>> On Jun 16, 2014, at 10:08 AM, "Catalin Marinas" >>>> wrote: >>>> On Sat, May 24, 2014 at 12

Re: [PATCH v4 22/24] arm64:ilp32: use compat for stack_t

2015-05-04 Thread Pinski, Andrew
> On Apr 13, 2015, at 1:18 PM, Philipp Tomsich > wrote: > > We use a 'natively sized' stack_t in glibc (i.e. having a 32bit pointer for > ss_sp), which requires the invocation of the compat layer for the following > functionality: > * sigaltstack > * saving and restoring uc_stack during signal

RE: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-05-31 Thread Pinski, Andrew
> -Original Message- > From: Will Deacon [mailto:will.dea...@arm.com] > Sent: Wednesday, May 31, 2017 5:45 AM > To: Pinski, Andrew > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > Norov, Yuri ; catalin.mari...@arm.com; > nathan_ly...@m

RE: [PATCH 2/2] arm64:vdso: Remove ISB from gettimeofday.

2017-05-06 Thread Pinski, Andrew
Sorry sending again as plain text (I did not notice that before). On 5/6/2017 9:29 AM, Jon Masters wrote: On 04/23/2017 07:47 PM, Andrew Pinski wrote: > ISB is normally required before mrs CNTVCT if we want the > mrs to completed after the loads. In this case it is not. > As we are taking the diff