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

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

Merge "lpm-levels: Fix irqsoff tracing with {stop,start}_critical_timings()"

parents 4e4b1935 122ba8eb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -789,7 +789,9 @@ bool psci_enter_sleep(struct lpm_cluster *cluster, int idx, bool from_idle)
	 * idx = 0 is the default LPM state
	 */
	if (!idx) {
		stop_critical_timings();
		wfi();
		start_critical_timings();
		return 1;
	} else {
		int affinity_level = 0;
@@ -804,7 +806,9 @@ bool psci_enter_sleep(struct lpm_cluster *cluster, int idx, bool from_idle)

		update_debug_pc_event(CPU_ENTER, state_id,
						0xdeaffeed, 0xdeaffeed, true);
		stop_critical_timings();
		success = !cpu_suspend(state_id);
		start_critical_timings();
		update_debug_pc_event(CPU_EXIT, state_id,
						success, 0xdeaffeed, true);
		return success;