Thread (42 messages) 42 messages, 11 authors, 2021-05-24

Re: Linux powerpc new system call instruction and ABI

From: Florian Weimer <hidden>
Date: 2021-05-21 19:53:37
Also in: linuxppc-dev

* Matheus Castanho via Libc-alpha:
From: Nicholas Piggin <npiggin@gmail.com>
Subject: [PATCH 1/1] powerpc: Fix handling of scv return error codes

When using scv on templated ASM syscalls, current code interprets any
negative return value as error, but the only valid error codes are in
the range -4095..-1 according to the ABI.

Reviewed-by: Matheus Castanho <redacted>
Please reference bug 27892 in the commit message.  I'd also appreciate a
backport to the 2.33 release branch (where you need to add NEWS manually
to add the bug reference).

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help