Thread (2 messages) 2 messages, 2 authors, 2021-03-24

Re: [PATCH] MIPS: fix local_irq_{disable,enable} in asmmacro.h

From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-03-24 10:09:27
Also in: linux-arch

On Tue, Mar 23, 2021 at 10:34:02AM +0800, Huang Pei wrote:
commit ba9196d2e005 ("MIPS: Make DIEI support as a config option")
use CPU_HAS_DIEI to indicate whether di/ei is implemented correctly,
without this patch, "local_irq_disable" from entry.S in 3A1000
(with buggy di/ei) lose protection of commit e97c5b609880 ("MIPS:
Make irqflags.h functions preempt-safe")

Fixes: ba9196d2e005 ("MIPS: Make DIEI support as a config option")
Signed-off-by: Huang Pei <redacted>
---
 arch/mips/include/asm/asmmacro.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help