OSDN Git Service

powerpc: Test prefixed code patching
authorJordan Niethe <jniethe5@gmail.com>
Wed, 6 May 2020 03:40:44 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:11:02 +0000 (00:11 +1000)
commitf77f8ff7f13e6411c2e0ba25bb7e012a5ae6c927
treeca1f04043b48492cef46e372f62a1a66bd66c8a3
parent650b55b707fdfa764e9f2b81314d3eb4216fb962
powerpc: Test prefixed code patching

Expand the code-patching self-tests to includes tests for patching
prefixed instructions.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
[mpe: Use CONFIG_PPC64 not __powerpc64__]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200506034050.24806-25-jniethe5@gmail.com
arch/powerpc/lib/Makefile
arch/powerpc/lib/code-patching.c
arch/powerpc/lib/test_code-patching.S [new file with mode: 0644]