From: "tip-bot2 for Thomas Gleixner" <tip-bot2@linutronix.de> To: linux-tip-commits@vger.kernel.org Cc: Thomas Gleixner <tglx@linutronix.de>, Frederic Weisbecker <frederic@kernel.org>, Alexandre Chartre <alexandre.chartre@oracle.com>, Andy Lutomirski <luto@kernel.org>, x86 <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org> Subject: [tip: x86/entry] x86/traps: Document do_spurious_interrupt_bug() Date: Thu, 27 Feb 2020 14:15:57 -0000 [thread overview] Message-ID: <158281295772.28353.8582733776925406910.tip-bot2@tip-bot2> (raw) In-Reply-To: <20200225220216.624165786@linutronix.de> The following commit has been merged into the x86/entry branch of tip: Commit-ID: d244d0e195bc12964bcf3b8eef45e715a7f203b0 Gitweb: https://git.kernel.org/tip/d244d0e195bc12964bcf3b8eef45e715a7f203b0 Author: Thomas Gleixner <tglx@linutronix.de> AuthorDate: Tue, 25 Feb 2020 22:36:41 +01:00 Committer: Thomas Gleixner <tglx@linutronix.de> CommitterDate: Thu, 27 Feb 2020 14:48:40 +01:00 x86/traps: Document do_spurious_interrupt_bug() Add a comment which explains why this empty handler for a reserved vector exists. Requested-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Reviewed-by: Andy Lutomirski <luto@kernel.org> Link: https://lkml.kernel.org/r/20200225220216.624165786@linutronix.de --- arch/x86/kernel/traps.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 474b8cb..7ffb6f4 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -862,6 +862,25 @@ do_simd_coprocessor_error(struct pt_regs *regs, long error_code) dotraplinkage void do_spurious_interrupt_bug(struct pt_regs *regs, long error_code) { + /* + * This addresses a Pentium Pro Erratum: + * + * PROBLEM: If the APIC subsystem is configured in mixed mode with + * Virtual Wire mode implemented through the local APIC, an + * interrupt vector of 0Fh (Intel reserved encoding) may be + * generated by the local APIC (Int 15). This vector may be + * generated upon receipt of a spurious interrupt (an interrupt + * which is removed before the system receives the INTA sequence) + * instead of the programmed 8259 spurious interrupt vector. + * + * IMPLICATION: The spurious interrupt vector programmed in the + * 8259 is normally handled by an operating system's spurious + * interrupt handler. However, a vector of 0Fh is unknown to some + * operating systems, which would crash if this erratum occurred. + * + * In theory this could be limited to 32bit, but the handler is not + * hurting and who knows which other CPUs suffer from this. + */ } dotraplinkage void
next prev parent reply other threads:[~2020-02-27 14:16 UTC|newest] Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-02-25 21:36 [patch 00/10] x86/entry: Consolidation - Part I Thomas Gleixner 2020-02-25 21:36 ` [patch 01/10] x86/entry/32: Add missing ASM_CLAC to general_protection entry Thomas Gleixner 2020-02-26 1:00 ` Frederic Weisbecker 2020-02-27 14:15 ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner 2020-02-25 21:36 ` [patch 02/10] x86/mce: Disable tracing and kprobes on do_machine_check() Thomas Gleixner 2020-02-26 1:13 ` Frederic Weisbecker 2020-02-26 5:29 ` Andy Lutomirski 2020-02-26 13:28 ` Peter Zijlstra 2020-02-26 15:10 ` Andy Lutomirski 2020-02-26 16:08 ` Peter Zijlstra 2020-02-26 17:28 ` Andy Lutomirski 2020-02-26 18:42 ` Borislav Petkov 2020-02-26 18:59 ` Peter Zijlstra 2020-02-26 19:09 ` Andy Lutomirski 2020-02-26 20:59 ` Steven Rostedt 2020-02-26 11:18 ` Borislav Petkov 2020-02-27 14:15 ` [tip: x86/entry] " tip-bot2 for Andy Lutomirski 2020-02-25 21:36 ` [patch 03/10] x86/entry/32: Force MCE through do_mce() Thomas Gleixner 2020-02-26 1:11 ` Frederic Weisbecker 2020-02-27 14:15 ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner 2020-02-25 21:36 ` [patch 04/10] x86/traps: Remove pointless irq enable from do_spurious_interrupt_bug() Thomas Gleixner 2020-02-26 1:19 ` Frederic Weisbecker 2020-02-25 21:36 ` [patch 05/10] x86/traps: Document do_spurious_interrupt_bug() Thomas Gleixner 2020-02-26 17:08 ` Frederic Weisbecker 2020-02-27 14:15 ` tip-bot2 for Thomas Gleixner [this message] 2020-02-25 21:36 ` [patch 06/10] x86/traps: Remove redundant declaration of do_double_fault() Thomas Gleixner 2020-02-27 14:15 ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner 2020-02-25 21:36 ` [patch 07/10] x86/irq: Remove useless return value from do_IRQ() Thomas Gleixner 2020-02-27 14:15 ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner 2020-02-25 21:36 ` [patch 08/10] x86/entry/32: Remove the 0/-1 distinction from exception entries Thomas Gleixner 2020-02-26 5:34 ` Andy Lutomirski 2020-02-26 18:42 ` Thomas Gleixner 2020-02-26 18:57 ` Andy Lutomirski 2020-02-26 19:15 ` Thomas Gleixner 2020-02-27 14:24 ` [patch V2 " Thomas Gleixner 2020-02-29 11:49 ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner 2020-02-25 21:36 ` [patch 09/10] x86/entry/entry_32: Route int3 through common_exception Thomas Gleixner 2020-02-26 17:35 ` Frederic Weisbecker 2020-02-27 14:15 ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner 2020-02-25 21:36 ` [patch 10/10] x86/traps: Stop using ist_enter/exit() in do_int3() Thomas Gleixner 2020-02-27 14:15 ` [tip: x86/entry] " tip-bot2 for Thomas Gleixner 2020-02-27 14:33 ` tip-bot2 for Andy Lutomirski 2020-02-26 5:26 ` [patch 00/10] x86/entry: Consolidation - Part I Andy Lutomirski 2020-02-26 5:35 ` Andy Lutomirski 2020-02-27 11:01 ` Alexandre Chartre
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=158281295772.28353.8582733776925406910.tip-bot2@tip-bot2 \ --to=tip-bot2@linutronix.de \ --cc=alexandre.chartre@oracle.com \ --cc=frederic@kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-tip-commits@vger.kernel.org \ --cc=luto@kernel.org \ --cc=tglx@linutronix.de \ --cc=x86@kernel.org \ --subject='Re: [tip: x86/entry] x86/traps: Document do_spurious_interrupt_bug()' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.