SBE: Account cancelled timer request
Currently we are not accounting cancelled timer request. So in some
corner cases we may schedule new timer request with
new-timer-value > inflight-timer-value.
Lets explicit check new_target value with inflight timer value.
@@ -800,6 +800,9 @@ static void p9_sbe_timer_schedule(void)
u64 tb_cnt, now = mftb();
if (sbe_timer_in_progress) {
+ if (sbe_timer_target >= sbe_last_gen_stamp)
+ return;
+
if (now >= sbe_last_gen_stamp)
return;
