x86 fixes
Subsystems (2)
Linus,
Please pull the latest x86/urgent git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2023-02-11
# HEAD: f545e8831e70065e127f903fc7aca09aa50422c7 x86/cpu: Add Lunar Lake M
Fix a kprobes bug, plus add a new Intel model number to the upstream <asm/intel-family.h> header for drivers to use.
Thanks,
Ingo
------------------>
Kan Liang (1):
x86/cpu: Add Lunar Lake M
Nadav Amit (1):
x86/kprobes: Fix 1 byte conditional jump target
arch/x86/include/asm/intel-family.h | 2 ++ arch/x86/kernel/kprobes/core.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
arch/x86/include/asm/intel-family.h +2 -0
@@ -123,6 +123,8 @@#define INTEL_FAM6_METEORLAKE 0xAC#define INTEL_FAM6_METEORLAKE_L 0xAA +#define INTEL_FAM6_LUNARLAKE_M 0xBD +/* "Small Core" Processors (Atom/E-Core) */ #define INTEL_FAM6_ATOM_BONNELL 0x1C/* Diamondville, Pineview */
arch/x86/kernel/kprobes/core.c +1 -1
@@ -625,7 +625,7 @@ static int prepare_emulation(struct kprobe *p, struct insn *insn)/* 1 byte conditional jump */ p->ainsn.emulate_op = kprobe_emulate_jcc; p->ainsn.jcc.type = opcode &0xf ; - p->ainsn.rel32 = *(char *)insn->immediate.bytes; + p->ainsn.rel32 = insn->immediate.value;break ;case 0x0f : opcode = insn->opcode.bytes[1 ];
The pull request you sent on Sat, 11 Feb 2023 09:59:20 +0100:
The pull request you sent on Sat, 11 Feb 2023 09:59:20 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.gitx86-urgent-2023-02-11
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/47e9aa14ce5abca70d6584a8d8213707d197c38e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html