Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16ac0fc5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "jtagv8: do not lock os double lock in debug save path"

parents d1099867 3850252c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -396,9 +396,6 @@ static inline void dbg_save_state(int cpu)
		dbg.state[i++] =  (uint32_t)dbg_readl(OSDTRRX_EL1);
		dbg.state[i++] =  (uint32_t)dbg_readl(OSDTRTX_EL1);

		/* Set the OS double lock */
		isb();
		dbg_write(0x1, OSDLR_EL1);
		isb();
		break;
	default:
@@ -418,6 +415,7 @@ static inline void dbg_restore_state(int cpu)
		/* Set OS lock. Lock will already be set after power collapse
		 * but this write is included to ensure it is set.
		 */
		isb();
		dbg_write(0x1, OSLAR_EL1);
		isb();