Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Lukasz Majewski
On Mon, 6 Jul 2020 22:58:27 + Vineet Gupta wrote: > Hi Lukasz, > > On 2/17/20 5:17 AM, Lukasz Majewski wrote: > > This patch provides new __futimes64 explicit 64 bit function for > > setting file's 64 bit attributes for access and modification time > > (by specifying file descriptor number).

RE: Linux kernel commit "add phy-mode support for the KSZ9031 PHY" broke ETH for Synopsys HSDK board.

2020-07-07 Thread Evgeniy Didin
Hi Oleksij, Thanks a lot for a detailed explanation and advices! Changing phy-mode to "rgmii-id" solved the issue. Thank you for help! Best regards, Evgeniy Didin -Original Message- From: Oleksij Rempel Sent: Friday, July 3, 2020 8:18 AM To: Evgeniy Didin Cc: Alexey Brodkin ; Eugeni

[PATCH] ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id

2020-07-07 Thread Evgeniy Didin
HSDK board has Micrel KSZ9031, recent commit bcf3440c6dd ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") caused a breakdown of Ethernet. Using 'phy-mode = "rgmii"' is not correct because accodring RGMII specification it is necessary to have delay on RX (PHY to MAX) which is not gener

Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Vineet Gupta
On 7/7/20 12:21 AM, Lukasz Majewski wrote: >> ARC is 32-bit + TIMESIZE==64 but the new code is not getting built >> (instead generic variant is). How do I override the generic fiel to >> be built instead ? > The futimes.c from sysdeps/unix/sysv/linux/ shall be built. > > The futimes.c is defined

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

2020-07-07 Thread Adhemerval Zanella
On 06/07/2020 22:25, Vineet Gupta wrote: > On 7/6/20 6:20 AM, Adhemerval Zanella via Libc-alpha wrote: > diff --git a/sysdeps/unix/sysv/linux/arc/clone.S > b/sysdeps/unix/sysv/linux/arc/clone.S >>> > diff --git a/sysdeps/unix/sysv/linux/arc/fixup-asm-unistd.h > b/sysdeps/unix/s

Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Joseph Myers
On Tue, 7 Jul 2020, Vineet Gupta via Libc-alpha wrote: > The issue is generic/utimes.c > > Is that the right file to build. If yes then it needs fixing as it expects > __NR_utimensat (and thus require the aliasing hack in ARC sysdep.h) It was the right file to build, back when sysdeps/unix/sysv/

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

2020-07-07 Thread Vineet Gupta
--- Changes since v7.1: - Added a few more 32-bit time_t syscalls to fixup-asm-unistd.h and regen arch-syscall.h to remove them: __NR_timer{g,s}ettime, __NR_clock_{gettime,nanosleep,settime} - minimal/annotated list of 32-bit syscall aliases in ARC sysdeps.h for 64

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

2020-07-07 Thread Vineet Gupta
On 7/7/20 12:24 PM, Adhemerval Zanella via Libc-alpha wrote: > > > On 06/07/2020 22:25, Vineet Gupta wrote: >> On 7/6/20 6:20 AM, Adhemerval Zanella via Libc-alpha wrote: >> diff --git a/sysdeps/unix/sysv/linux/arc/clone.S >> b/sysdeps/unix/sysv/linux/arc/clone.S >> diff --git a

Re: [GIT PULL] ARC updates for 5.8-rc5

2020-07-07 Thread pr-tracker-bot
The pull request you sent on Tue, 7 Jul 2020 06:18:57 +: > git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-5.8-rc5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9e4d7696213f0231f7a54512da4b8514eb316edb Thank you! -- Deet-doot-dot, I am a

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

2020-07-07 Thread Joseph Myers
On Tue, 7 Jul 2020, Vineet Gupta via Libc-alpha wrote: > > Each implementation has it ows requirements so I can't really say if > > a helper function does make sense for all of them. For pause > > specifically we can even simplify to since all architectures have > > either ppoll or ppoll_time64:

[PATCH v5 03/25] mm/arc: Use general page fault accounting

2020-07-07 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 v7.1 07/13] ARC: Linux Syscall Interface

2020-07-07 Thread Vineet Gupta
On 7/7/20 2:32 PM, Joseph Myers wrote: > On Tue, 7 Jul 2020, Vineet Gupta via Libc-alpha wrote: > >>> Each implementation has it ows requirements so I can't really say if >>> a helper function does make sense for all of them. For pause >>> specifically we can even simplify to since all architectu

Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Lukasz Majewski
Hi Vineet, > On 7/7/20 12:21 AM, Lukasz Majewski wrote: > >> ARC is 32-bit + TIMESIZE==64 but the new code is not getting built > >> (instead generic variant is). How do I override the generic fiel to > >> be built instead ? > > The futimes.c from sysdeps/unix/sysv/linux/ shall be built. > > >