Re: [PATCH fixes] powerpc/vdso32: Fallback on getres syscall when clock is unknown

2020-05-10 Thread Aurelien Jarno
onaly. > > Fixes: e33ffc956b08 ("powerpc/vdso32: implement clock_getres entirely") > Cc: sta...@vger.kernel.org > Reported-by: Aurelien Jarno > Signed-off-by: Christophe Leroy > --- > arch/powerpc/kernel/vdso32/gettimeofday.S | 6 +++--- > 1 file changed, 3

Re: [PATCH v4 7/8] powerpc/vdso32: implement clock_getres entirely

2020-05-05 Thread Aurelien Jarno
e) { | printf(" errno: %d, %s\n", errno, strerror(errno)); | } | | return e; | } Without this patch or with -m64, it returns: | clock_getres returned 0 With this patch with -m32 it returns: | clock_getres returned -1 | errno: 22, Invalid argument Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net

Re: [PATCH] libbpf: fix readelf output parsing on powerpc with recent binutils

2019-12-11 Thread Aurelien Jarno
gt; > > > > > > On Mon, Dec 02, 2019 at 04:53:26PM +1100, Michael Ellerman wrote: > > > > > Aurelien Jarno writes: > > > > > > On powerpc with recent versions of binutils, readelf outputs an > > > > > > extra > > > >

[PATCH] libbpf: fix readelf output parsing on powerpc with recent binutils

2019-12-01 Thread Aurelien Jarno
correctly and causes the checkabi target to fail. Fix that by looking for the symbol name in the last field instead of the 8th one. This way it should also cope with future extra fields. Signed-off-by: Aurelien Jarno --- tools/lib/bpf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] [PPC/POWERPC] i8259: Add disable method

2007-10-23 Thread Aurelien Jarno
Since commit 76d2160147f43f982dfe881404cfde9fd0a9da21, the NE2000 card is not working anymore on PPC and POWERPC and produces WATCHDOG timeouts. The patch below fixes that the same way it has been done on x86, x86_64 and MIPS. Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]> diff -