[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49a8589f-de01-d08a-69f0-b98106e8b715@kernel.org>
Date: Tue, 25 Feb 2020 22:10:37 -0800
From: Andy Lutomirski <luto@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Cc: x86@...nel.org, Steven Rostedt <rostedt@...dmis.org>,
Brian Gerst <brgerst@...il.com>,
Juergen Gross <jgross@...e.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [patch 05/15] x86/entry: Provide IDTEnTRY_SYSVEC
On 2/25/20 2:47 PM, Thomas Gleixner wrote:
> Provide a IDTENTRY variant for system vectors to consolidate the differnt
> mechanisms to emit the ASM stubs for 32 an 64 bit.
$SUBJECT has an obvious typo.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> ---
> arch/x86/entry/entry_32.S | 4 ++++
> arch/x86/entry/entry_64.S | 19 +++++++++++++++----
> arch/x86/include/asm/idtentry.h | 25 +++++++++++++++++++++++++
> 3 files changed, 44 insertions(+), 4 deletions(-)
>
> --- a/arch/x86/entry/entry_32.S
> +++ b/arch/x86/entry/entry_32.S
> @@ -1261,6 +1261,10 @@ SYM_CODE_START_LOCAL(asm_\cfunc)
> SYM_CODE_END(asm_\cfunc)
> .endm
>
> +.macro idtentry_sysvec vector cfunc
> + idtentry \vector asm_\cfunc \cfunc has_error_code=0
> +.endm
irq_stack?
--Andy
Powered by blists - more mailing lists