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

2017-11-18 Thread Naveen N. Rao
Kamalesh would you mind testing again? Thanks. That looks good to me. Acked-by: Naveen N. Rao ----8<---- From: Josh Poimboeuf 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 error:

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

2017-11-17 Thread Kamalesh Babulal
r_is_branch_bform(instr)) && !(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 Subjec

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

2017-11-16 Thread Josh Poimboeuf
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 Subject: [PATCH v4.2] powerpc/modules: Don&#x