Re: [PATCH V13] mm/debug: Add tests validating architecture page table helpers

2020-02-11 Thread Russell King - ARM Linux admin
On Tue, Feb 11, 2020 at 06:33:47AM +0100, Christophe Leroy wrote: > > > Le 11/02/2020 à 03:25, Anshuman Khandual a écrit : > > > > > > On 02/10/2020 04:36 PM, Russell King - ARM Linux admin wrote: > > > There are good reasons for the way ARM does stuff. The generic crap was > > > written witho

Re: [PATCH v2 4/6] linux: Use long time_t __getitimer/__setitimer

2020-02-11 Thread Vineet Gupta
Hi Alistair, On 2/10/20 9:43 AM, Alistair Francis wrote: > The Linux kernel expects itimerval to use a 32-bit time_t, even on archs > with a 64-bit time_t (like RV32). To address this let's convert > itimerval to/from 32-bit and 64-bit to ensure the kernel always gets > a 32-bit time_t. > > While

Re: [PATCH v2 4/6] linux: Use long time_t __getitimer/__setitimer

2020-02-11 Thread Alistair Francis
On Tue, Feb 11, 2020 at 12:02 PM Vineet Gupta wrote: > > Hi Alistair, > > On 2/10/20 9:43 AM, Alistair Francis wrote: > > The Linux kernel expects itimerval to use a 32-bit time_t, even on archs > > with a 64-bit time_t (like RV32). To address this let's convert > > itimerval to/from 32-bit and 64

Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64

2020-02-11 Thread Vineet Gupta
Hi Alistair, On 1/12/20 2:33 AM, Alistair Francis wrote: > Using the original glibc headers under bits/ let's make small > modifications to use 64-bit time_t and off_t for both RV32 and RV64. > > For the typesizes.h, here are justifications for the changes from the > generic version (based on Arn

Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64

2020-02-11 Thread Alistair Francis
On Tue, Feb 11, 2020 at 4:14 PM Vineet Gupta wrote: > > Hi Alistair, Hi Vineet, > > On 1/12/20 2:33 AM, Alistair Francis wrote: > > Using the original glibc headers under bits/ let's make small > > modifications to use 64-bit time_t and off_t for both RV32 and RV64. > > > > For the typesizes.h,

Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64

2020-02-11 Thread Joseph Myers
On Tue, 11 Feb 2020, Alistair Francis wrote: > > > diff --git a/sysdeps/unix/sysv/linux/riscv/bits/typesizes.h > > > b/sysdeps/unix/sysv/linux/riscv/bits/typesizes.h > > > new file mode 100644 > > > index 00..0da3bdeb5d > > > --- /dev/null > > > +++ b/sysdeps/unix/sysv/linux/riscv/bits/ty

Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64

2020-02-11 Thread Vineet Gupta
On 2/11/20 4:14 PM, Alistair Francis wrote: > On Tue, Feb 11, 2020 at 4:14 PM Vineet Gupta wrote: >>> diff --git a/sysdeps/unix/sysv/linux/riscv/bits/typesizes.h >>> b/sysdeps/unix/sysv/linux/riscv/bits/typesizes.h >>> new file mode 100644 >>> index 00..0da3bdeb5d >>> --- /dev/null >>> +