AW: [PATCH] sppps01: Add test case for early returns of pps_event()

Sebastian Huber sebastian.huber at
Tue Jul 26 08:45:40 UTC 2022

Hello Gabriel,

On 26/07/2022 10:03, Gabriel.Moyano at wrote:
> The patch added a new test case (PPSEventEarlyReturns) for increasing the test coverage. The test case checks whether the function pps_event() (in file kern_tc.c) returns early. According to the result you shared, the test is failing in lines 115 and 119, which means that there is no early return of the function pps_event() due to saving the timecounter in the pps_state object (line 2225 of kern_tc.c). My guess is that saving the timecounter is happening in the previous call of pps_event() (in line 109 of the test case). Unfortunately I cannot understand why this is failing in intermittently manner (apparently just in QEMU).

the issue should be already fixed. It was an SMP-specific problem since 
here we have two timehands.

embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
email: sebastian.huber at
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:

More information about the devel mailing list