lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 19 Mar 2008 14:25:40 -0300 From: Glauber de Oliveira Costa <gcosta@...hat.com> To: linux-kernel@...r.kernel.org Cc: akpm@...ux-foundation.org, tglx@...utronix.de, mingo@...e.hu, ak@...e.de, Glauber Costa <gcosta@...hat.com> Subject: [PATCH 45/79] [PATCH] fix apic acking of irqs From: Glauber Costa <gcosta@...hat.com> EOI is a write-only register. Using write around will have the effect of reading it, which will make all subsequent reads of the ESR register to return an error code. It was unnotices for quite a while because main sources of reading the ESR register where done prior to apic interrupt enabling. Signed-off-by: Glauber Costa <gcosta@...hat.com> --- include/asm-x86/apic.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h index db5f750..0d6ea74 100644 --- a/include/asm-x86/apic.h +++ b/include/asm-x86/apic.h @@ -103,7 +103,7 @@ static inline void ack_APIC_irq(void) */ /* Docs say use 0 for future compatibility */ - apic_write_around(APIC_EOI, 0); + apic_write(APIC_EOI, 0); } extern int lapic_get_maxlvt(void); -- 1.5.0.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists