aboutsummaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-crossbar.c
diff options
context:
space:
mode:
authorGravatar Oleg Nesterov <oleg@redhat.com> 2022-12-04 18:39:33 +0100
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2022-12-05 11:55:18 +0100
commitcefa72129e45313655d53a065b8055aaeb01a0c9 (patch)
tree8bcf7483e6a5f7874f5fe77782ff812fe337f8f0 /drivers/irqchip/irq-crossbar.c
parentx86/alternative: Remove noinline from __ibt_endbr_seal[_end]() stubs (diff)
downloadlinux-cefa72129e45313655d53a065b8055aaeb01a0c9.tar.gz
linux-cefa72129e45313655d53a065b8055aaeb01a0c9.tar.bz2
linux-cefa72129e45313655d53a065b8055aaeb01a0c9.zip
uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
Intel ICC -hotpatch inserts 2-byte "0x66 0x90" NOP at the start of each function to reserve extra space for hot-patching, and currently it is not possible to probe these functions because branch_setup_xol_ops() wrongly rejects NOP with REP prefix as it treats them like word-sized branch instructions. Fixes: 250bbd12c2fe ("uprobes/x86: Refuse to attach uprobe to "word-sized" branch insns") Reported-by: Seiji Nishikawa <snishika@redhat.com> Suggested-by: Denys Vlasenko <dvlasenk@redhat.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Link: https://lore.kernel.org/r/20221204173933.GA31544@redhat.com
Diffstat (limited to 'drivers/irqchip/irq-crossbar.c')
0 files changed, 0 insertions, 0 deletions