[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210319104045.GE6251@zn.tnic>
Date: Fri, 19 Mar 2021 11:40:45 +0100
From: Borislav Petkov <bp@...en8.de>
To: Peter Zijlstra <peterz@...radead.org>
Cc: x86@...nel.org, jpoimboe@...hat.com, jgross@...e.com,
mbenes@...e.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 01/14] x86: Add insn_decode_kernel()
On Thu, Mar 18, 2021 at 06:11:04PM +0100, Peter Zijlstra wrote:
> Add a helper to decode kernel instructions; there's no point in
> endlessly repeating those last two arguments.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
> ---
> arch/x86/include/asm/insn.h | 2 ++
> arch/x86/kernel/alternative.c | 2 +-
> arch/x86/kernel/cpu/mce/severity.c | 2 +-
> arch/x86/kernel/kprobes/core.c | 4 ++--
> arch/x86/kernel/kprobes/opt.c | 2 +-
> arch/x86/kernel/traps.c | 2 +-
> tools/arch/x86/include/asm/insn.h | 4 +++-
> 7 files changed, 11 insertions(+), 7 deletions(-)
Reviewed-by: Borislav Petkov <bp@...e.de>
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists