aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBenjamin Gray <[email protected]>2024-05-15 12:44:43 +1000
committerMichael Ellerman <[email protected]>2024-08-21 20:15:13 +1000
commit90d4fed5b273155c378b1d37595f2209f0a92bed (patch)
treeeef4d69af5d08aa72b797f37dee3686de00223e8 /tools/perf/scripts/python
parentdbf828aab466c6534711d1f1454c409ea68d18d0 (diff)
powerpc/64: Convert patch_instruction() to patch_u32()
This use of patch_instruction() is working on 32 bit data, and can fail if the data looks like a prefixed instruction and the extra write crosses a page boundary. Use patch_u32() to fix the write size. Fixes: 8734b41b3efe ("powerpc/module_64: Fix livepatching for RO modules") Link: https://lore.kernel.org/all/20230203004649.1f59dbd4@yea/ Signed-off-by: Benjamin Gray <[email protected]> Tested-by: Hari Bathini <[email protected]> Acked-by: Naveen N Rao <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions