shithub: riscv

Download patch

ref: a8f96b5343726f5f45110c1c8350e3db5a5a30ea
parent: 3d73ccc000c6869a3956701e3540bef6a225e42e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jul 8 07:02:12 EDT 2023

imx8, bcm64: touser() already called splhi()'d

--- a/sys/src/9/bcm64/l.s
+++ b/sys/src/9/bcm64/l.s
@@ -223,7 +223,6 @@
 	B	cacheiinv(SB)
 
 TEXT touser(SB), 1, $-4
-	MSR	$0x3, DAIFSet	// interrupts off
 	MOVWU	$0x10028, R1	// entry
 	MOVWU	$0, R2		// psr
 	MSR	R0, SP_EL0	// sp
--- a/sys/src/9/imx8/l.s
+++ b/sys/src/9/imx8/l.s
@@ -235,7 +235,6 @@
 	B	cacheiinv(SB)
 
 TEXT touser(SB), 1, $-4
-	MSR	$0x3, DAIFSet	// interrupts off
 	MOVWU	$0x10028, R1	// entry
 	MOVWU	$0, R2		// psr
 	MSR	R0, SP_EL0	// sp