#include .text .type perf_regs_load,%function #define STR_REG(r) str x##r, [x0, 8 * r] #define LDR_REG(r) ldr x##r, [x0, 8 * r] #define SP (8 * 31) #define PC (8 * 32) ENTRY(perf_regs_load) STR_REG(0) STR_REG(1) STR_REG(2) STR_REG(3) STR_REG(4) STR_REG(5) STR_REG(6) STR_REG(7) STR_REG(8) STR_REG(9) STR_REG(10) STR_REG(11) STR_REG(12) STR_REG(13) STR_REG(14) STR_REG(15) STR_REG(16) STR_REG(17) STR_REG(18) STR_REG(19) STR_REG(20) STR_REG(21) STR_REG(22) STR_REG(23) STR_REG(24) STR_REG(25) STR_REG(26) STR_REG(27) STR_REG(28) STR_REG(29) STR_REG(30) mov x1, sp str x1, [x0, #SP] str x30, [x0, #PC] LDR_REG(1) ret ENDPROC(perf_regs_load) ='/cgit.cgi/'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/security/integrity/iint.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-01-31 19:03:21 +0100
committerThomas Gleixner <tglx@linutronix.de>2017-01-31 20:22:18 +0100
commitaaaec6fc755447a1d056765b11b24d8ff2b81366 (patch)
treea7f4167960ee1df86739905b6ccdeb95465bfe5f /security/integrity/iint.c
parent08d85f3ea99f1eeafc4e8507936190e86a16ee8c (diff)
x86/irq: Make irq activate operations symmetric
The recent commit which prevents double activation of interrupts unearthed interesting code in x86. The code (ab)uses irq_domain_activate_irq() to reconfigure an already activated interrupt. That trips over the prevention code now. Fix it by deactivating the interrupt before activating the new configuration. Fixes: 08d85f3ea99f1 "irqdomain: Avoid activating interrupts more than once" Reported-and-tested-by: Mike Galbraith <efault@gmx.de> Reported-and-tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701311901580.3457@nanos
Diffstat (limited to 'security/integrity/iint.c')