Re: [v4.2] powerpc/modules: Don't try to restore r2 after a sibling call

2017-12-12 Thread Michael Ellerman
On Thu, 2017-11-16 at 17:45:37 UTC, Josh Poimboeuf wrote: > > From: Josh Poimboeuf <jpoim...@redhat.com> > Subject: [PATCH v4.2] powerpc/modules: Don't try to restore r2 after a > sibling call > > When attempting to load a livepatch module, I got the following

Re: [PATCH v4.2] powerpc/modules: Don't try to restore r2 after a sibling call

2017-11-18 Thread Naveen N. Rao
nks. That looks good to me. Acked-by: Naveen N. Rao <naveen.n@linux.vnet.ibm.com> 8< From: Josh Poimboeuf <jpoim...@redhat.com> Subject: [PATCH v4.2] powerpc/modules: Don't try to restore r2 after a sibling call When attempting to load a livepatch module, I got the f

Re: [PATCH v4.2] powerpc/modules: Don't try to restore r2 after a sibling call

2017-11-17 Thread Kamalesh Babulal
p;& !(instr & BRANCH_ABSOLUTE) && (instr & BRANCH_SET_LINK)); Yeah, makes sense to me. Here's another try (also untested). If this looks ok, Kamalesh would you mind testing again? 8< From: Josh Poimboeuf <jpoim...@redhat.com> Subject: [PAT

[PATCH v4.2] powerpc/modules: Don't try to restore r2 after a sibling call

2017-11-16 Thread Josh Poimboeuf
ANCH_ABSOLUTE) && (instr & BRANCH_SET_LINK)); Yeah, makes sense to me. Here's another try (also untested). If this looks ok, Kamalesh would you mind testing again? 8< From: Josh Poimboeuf <jpoim...@redhat.com> Subject: [PATCH v4.2] powerpc/modules: Don't try to r