]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: micro-optimise __hard_irq_enable() for mtmsrd L=1 support
authorNicholas Piggin <npiggin@gmail.com>
Fri, 4 May 2018 17:19:28 +0000 (03:19 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:40:26 +0000 (20:40 +1000)
commitbfcb8adb5ece6b3c4721bf6fa2a5d9420845c989
treebee09315c63fd8bcdc5c14ec844b8fdbab06099d
parent0661b318f7bbf8c53f316725f6b196ea6acdcf78
powerpc/64s: micro-optimise __hard_irq_enable() for mtmsrd L=1 support

Book3S minimum supported ISA version now requires mtmsrd L=1. This
instruction does not require bits other than RI and EE to be supplied,
so __hard_irq_enable() and __hard_irq_disable() does not have to read
the kernel_msr from paca.

Interrupt entry code already relies on L=1 support.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hw_irq.h