Re: [PATCH] x86/rtc: Avoid UIP flag being set for longer than expected

2024-04-23 Thread Jan Beulich
On 22.04.2024 18:38, Ross Lagerwall wrote: > On Thu, Apr 18, 2024 at 2:24 PM Jan Beulich wrote: >> On 08.04.2024 18:26, Ross Lagerwall wrote: >>> --- a/xen/arch/x86/hvm/rtc.c >>> +++ b/xen/arch/x86/hvm/rtc.c >>> @@ -202,6 +202,7 @@ static void check_update_timer(RTCState *s) >>> } >>>

Re: [PATCH] x86/rtc: Avoid UIP flag being set for longer than expected

2024-04-22 Thread Ross Lagerwall
On Thu, Apr 18, 2024 at 2:24 PM Jan Beulich wrote: > > On 08.04.2024 18:26, Ross Lagerwall wrote: > > In a test, OVMF reported an error initializing the RTC without > > indicating the precise nature of the error. The only plausible > > explanation I can find is as follows: > > > > As part of the

Re: [PATCH] x86/rtc: Avoid UIP flag being set for longer than expected

2024-04-18 Thread Jan Beulich
On 08.04.2024 18:26, Ross Lagerwall wrote: > In a test, OVMF reported an error initializing the RTC without > indicating the precise nature of the error. The only plausible > explanation I can find is as follows: > > As part of the initialization, OVMF reads register C and then reads > register A

[PATCH] x86/rtc: Avoid UIP flag being set for longer than expected

2024-04-08 Thread Ross Lagerwall
In a test, OVMF reported an error initializing the RTC without indicating the precise nature of the error. The only plausible explanation I can find is as follows: As part of the initialization, OVMF reads register C and then reads register A repatedly until the UIP flag is not set. If this takes