Searched hist:"8 bafae20" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm/kernel/ |
H A D | entry-header.S | 8bafae20 Fri Nov 24 17:49:34 CST 2017 Russell King <rmk+kernel@armlinux.org.uk> ARM: BUG if jumping to usermode address in kernel mode
Detect if we are returning to usermode via the normal kernel exit paths but the saved PSR value indicates that we are in kernel mode. This could occur due to corrupted stack state, which has been observed with "ftracetest".
This ensures that we catch the problem case before we get to user code.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> 8bafae20 Fri Nov 24 17:49:34 CST 2017 Russell King <rmk+kernel@armlinux.org.uk> ARM: BUG if jumping to usermode address in kernel mode Detect if we are returning to usermode via the normal kernel exit paths but the saved PSR value indicates that we are in kernel mode. This could occur due to corrupted stack state, which has been observed with "ftracetest". This ensures that we catch the problem case before we get to user code. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | assembler.h | 8bafae20 Fri Nov 24 17:49:34 CST 2017 Russell King <rmk+kernel@armlinux.org.uk> ARM: BUG if jumping to usermode address in kernel mode
Detect if we are returning to usermode via the normal kernel exit paths but the saved PSR value indicates that we are in kernel mode. This could occur due to corrupted stack state, which has been observed with "ftracetest".
This ensures that we catch the problem case before we get to user code.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> 8bafae20 Fri Nov 24 17:49:34 CST 2017 Russell King <rmk+kernel@armlinux.org.uk> ARM: BUG if jumping to usermode address in kernel mode Detect if we are returning to usermode via the normal kernel exit paths but the saved PSR value indicates that we are in kernel mode. This could occur due to corrupted stack state, which has been observed with "ftracetest". This ensures that we catch the problem case before we get to user code. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
|