[PATCH v4 03/26] mm/arc: Use general page fault accounting

2020-06-30 Thread Peter Xu
Use the general page fault accounting by passing regs into handle_mm_fault(). It naturally solve the issue of multiple page fault accounting when page fault retry happened. Fix PERF_COUNT_SW_PAGE_FAULTS perf event manually for page fault retries, by moving it before taking mmap_sem. CC: Vineet Gu

Re: [PATCH V3 0/4] mm/debug_vm_pgtable: Add some more tests

2020-06-30 Thread Vineet Gupta
On 6/29/20 8:53 PM, Anshuman Khandual wrote: > > > On 06/24/2020 08:43 AM, Anshuman Khandual wrote: >> >> >> On 06/15/2020 09:07 AM, Anshuman Khandual wrote: >>> This series adds some more arch page table helper validation tests which >>> are related to core and advanced memory functions. This al

[PATCH v7.1 01/13] ARC: ABI Implementation

2020-06-30 Thread Vineet Gupta
This code deals with the ARC ABI. --- Changes since v7: - Used void * (iso int *) in tls-macros.h --- sysdeps/arc/__longjmp.S | 49 sysdeps/arc/abort-instr.h | 2 + sysdeps/arc/bits/endianness.h | 15 sysdeps/arc/bits/setjmp.h | 26 +

[PATCH v7.1 03/13] ARC: Thread Local Storage support

2020-06-30 Thread Vineet Gupta
This includes all 4 TLS addressing models --- Changes since v7: - Deleted unused asm macro THREAD_SELF which references r25 --- sysdeps/arc/dl-tls.h | 30 +++ sysdeps/arc/libc-tls.c | 27 ++ sysdeps/arc/nptl/tcb-offsets.sym | 11 +++ sysdeps/arc/nptl/tls.h

[PATCH v7.1 07/13] ARC: Linux Syscall Interface

2020-06-30 Thread Vineet Gupta
--- Changes since v7: - used long int (iso int) in sysdep.h/syscall_error for handling registers --- sysdeps/unix/sysv/linux/arc/arch-syscall.h| 303 ++ sysdeps/unix/sysv/linux/arc/bits/timesize.h | 21 ++ sysdeps/unix/sysv/linux/arc/clone.S | 93 ++ .

[PATCH v7.1 06/13] ARC: hardware floating point support

2020-06-30 Thread Vineet Gupta
--- Changes since v7: - Disintegrated math-use-builtins.h (deleted) and added math-use-builtins-{fma,sqrt}.h --- sysdeps/arc/fpu/fclrexcpt.c | 36 sysdeps/arc/fpu/fegetenv.c | 37 sysdeps/arc/fpu/fegetmode.c | 31 +++

[PATCH v7.1 10/13] ARC: ABI lists

2020-06-30 Thread Vineet Gupta
--- Changes since v7: - rebase artifact, some symbols got added to libc.abilist --- sysdeps/arc/fpu/libm-test-ulps| 1140 + sysdeps/arc/fpu/libm-test-ulps-name |1 + sysdeps/arc/nofpu/libm-test-ulps | 270 +++ sysdeps/arc/nofpu/libm-test-

Re: [PATCH v7 00/13] glibc port to ARC processors

2020-06-30 Thread Vineet Gupta
On 6/23/20 9:56 AM, Vineet Gupta via Libc-alpha wrote: > On 6/15/20 1:14 PM, Vineet Gupta wrote: >> Hi, >> >> This patchset implements glibc port to ARC HS48x processor from Synopsys. > > ping ! ping ^2 ! I've posted the incremental series (v7.1) as a followup to include rebase fixes since v7. T

Re: [PATCH v7 00/13] glibc port to ARC processors

2020-06-30 Thread Adhemerval Zanella
On 30/06/2020 21:11, Vineet Gupta wrote: > On 6/23/20 9:56 AM, Vineet Gupta via Libc-alpha wrote: >> On 6/15/20 1:14 PM, Vineet Gupta wrote: >>> Hi, >>> >>> This patchset implements glibc port to ARC HS48x processor from Synopsys. >> >> ping ! > > ping ^2 ! > > I've posted the incremental seri

Re: Repost: linux-snps-arc list msgs truncated ?

2020-06-30 Thread Vineet Gupta
Hi David, On 6/25/20 1:14 AM, David Woodhouse wrote: > On Thu, 2020-06-25 at 01:46 +, Vineet Gupta wrote: >> Hi, >> >> I'm the moderator for linux-snps-arc. >> Is there some database corruption or some such. The msgs for linux-snap-arc >> seem >> to have been truncated. Please see the main pa