Re: [PATCH v4 2/6] x86/time: move CMOS edge detection into read helper

2024-09-05 Thread Jan Beulich
On 04.09.2024 17:31, Roger Pau Monne wrote: > Move the logic that ensures the CMOS RTC data is read just after it's been > updated into the __get_cmos_time() function that does the register reads. > This > requires returning a boolean from __get_cmos_time() to signal whether the read > has been s

[PATCH v4 2/6] x86/time: move CMOS edge detection into read helper

2024-09-04 Thread Roger Pau Monne
Move the logic that ensures the CMOS RTC data is read just after it's been updated into the __get_cmos_time() function that does the register reads. This requires returning a boolean from __get_cmos_time() to signal whether the read has been successfully performed after an update. Note that while