[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171122190631.jenszvvr2wvg2ijk@pd.tnic>
Date: Wed, 22 Nov 2017 20:06:31 +0100
From: Borislav Petkov <bp@...e.de>
To: Andy Lutomirski <luto@...nel.org>
Cc: X86 ML <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Brian Gerst <brgerst@...il.com>,
Dave Hansen <dave.hansen@...el.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [PATCH v2 07/18] x86/asm: Fix assumptions that the HW TSS is at
the beginning of cpu_tss
On Tue, Nov 21, 2017 at 08:44:02PM -0800, Andy Lutomirski wrote:
> I'm going to move SYSENTER_stack to the beginning of cpu_tss to help
> detect overflow. Before this can happen, I need to fix several code
> paths that hardcode assumptions about the old layout.
Please formulate that commit message in passive-impersonal: "Fix
hardcoded assumptions about ... before ..."
>
> Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
> Signed-off-by: Andy Lutomirski <luto@...nel.org>
> ---
> arch/x86/include/asm/desc.h | 2 +-
> arch/x86/include/asm/processor.h | 4 ++--
> arch/x86/kernel/cpu/common.c | 8 ++++----
> arch/x86/kernel/doublefault.c | 36 +++++++++++++++++-------------------
> arch/x86/power/cpu.c | 13 +++++++------
> 5 files changed, 31 insertions(+), 32 deletions(-)
With that:
Reviewed-by: Borislav Petkov <bp@...e.de>
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
Powered by blists - more mailing lists