]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "powerpc/code-patching: Improve verification of patchability"
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Nov 2021 06:41:52 +0000 (17:41 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Nov 2021 06:41:52 +0000 (17:41 +1100)
commit5b2ba520acca1cbbf71633be11979fcc0501e246
tree1807637ca2308d4edf08ea0a5750ab8f914b4303
parent021c0f6cd4664a71cd3c02e5db9510760cd6e1e9
Revert "powerpc/code-patching: Improve verification of patchability"

This reverts commit 639e563dc84f3a50cb4376326a203ba2815f55e0.

As reported[1] by Sachin this causes problems with ftrace, and it also
causes the code patching selftests to fail as reported[2] by Stephen.

So revert it for now.

1: https://lore.kernel.org/linuxppc-dev/3668743C-09DF-4673-B15C-2FFE2A57F7D7@linux.vnet.ibm.com/
2: https://lore.kernel.org/linuxppc-dev/20211126161747.1f7795b0@canb.auug.org.au/

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/setup.h
arch/powerpc/lib/code-patching.c
arch/powerpc/mm/mem.c