Re: [PATCH 3/3] riscv/signal: Fixup additional syscall restarting

2019-04-25 Thread Palmer Dabbelt
On Tue, 09 Apr 2019 23:53:04 PDT (-0700), Christoph Hellwig wrote: Looks good, Reviewed-by: Christoph Hellwig Thanks! I've pulled just this patch into my for-next, as I'm assuming the c-sky patches will go in seperately. Given that it's been on the list for a while I think it's a good

Re: [PATCH 3/3] riscv/signal: Fixup additional syscall restarting

2019-04-10 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH 3/3] riscv/signal: Fixup additional syscall restarting

2019-04-02 Thread guoren
From: Guo Ren The function of do_notify_resume called by entry.S could be entered in loop when SIGPENDING was setted again before sret. So we must add prevent code to make syscall restart (regs->sepc -= 0x4) or it may re-execute unexpected instructions. Just like in_syscall & forget_syscall