Re: [PATCH 3/7] openrisc: restore call-saved regs on sigreturn

2016-09-27 Thread Stafford Horne
On Mon, 19 Sep 2016, Stafford Horne wrote: On Mon, 19 Sep 2016, Jonas Bonn wrote: On 09/16/2016 04:43 PM, Stafford Horne wrote: > From: Jonas Bonn > > Return to userspace via _resume_userspace instead of via syscall return > path for the rt_sigreturn syscall. > > I'll rework t

Re: [PATCH 3/7] openrisc: restore call-saved regs on sigreturn

2016-09-19 Thread Stafford Horne
On Mon, 19 Sep 2016, Jonas Bonn wrote: On 09/16/2016 04:43 PM, Stafford Horne wrote: From: Jonas Bonn Return to userspace via _resume_userspace instead of via syscall return path for the rt_sigreturn syscall. I'll rework this comment more later, but this patch needs testing. This who

Re: [PATCH 3/7] openrisc: restore call-saved regs on sigreturn

2016-09-19 Thread Jonas Bonn
On 09/16/2016 04:43 PM, Stafford Horne wrote: From: Jonas Bonn Return to userspace via _resume_userspace instead of via syscall return path for the rt_sigreturn syscall. I'll rework this comment more later, but this patch needs testing. This whole patch was reworked later... what happened to

[PATCH 3/7] openrisc: restore call-saved regs on sigreturn

2016-09-16 Thread Stafford Horne
From: Jonas Bonn Return to userspace via _resume_userspace instead of via syscall return path for the rt_sigreturn syscall. I'll rework this comment more later, but this patch needs testing. Old comment from previous patch: The sigreturn syscall is more like a context switch than a function ca