All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] x86/time: prefer CMOS over EFI_GET_TIME
@ 2024-08-30  9:52 Roger Pau Monne
  2024-08-30  9:52 ` [PATCH v2 1/2] x86/time: split CMOS time fetching into wrapper Roger Pau Monne
  2024-08-30  9:52 ` [PATCH v2 2/2] x86/time: prefer CMOS over EFI_GET_TIME Roger Pau Monne
  0 siblings, 2 replies; 12+ messages in thread
From: Roger Pau Monne @ 2024-08-30  9:52 UTC (permalink / raw)
  To: xen-devel
  Cc: Daniel P. Smith, Marek Marczykowski-Górecki, Roger Pau Monne,
	Jan Beulich, Andrew Cooper

Hello,

Workaround a common issue with x86 EFI implementations having broken
EFI_GET_TIME methods, and only resort to EFI_GET_TIME if CMOS is not
available.

First patch splits some of the CMOS probe and fetch logic into a
separate helper, so that patch 2 that actually performs the ordering
change is cleaner.

Thanks, Roger.

Roger Pau Monne (2):
  x86/time: split CMOS time fetching into wrapper
  x86/time: prefer CMOS over EFI_GET_TIME

 xen/arch/x86/time.c | 88 +++++++++++++++++++++++++++------------------
 1 file changed, 54 insertions(+), 34 deletions(-)

-- 
2.46.0



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-09-03  8:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30  9:52 [PATCH v2 0/2] x86/time: prefer CMOS over EFI_GET_TIME Roger Pau Monne
2024-08-30  9:52 ` [PATCH v2 1/2] x86/time: split CMOS time fetching into wrapper Roger Pau Monne
2024-08-30 15:47   ` Andrew Cooper
2024-09-03  6:24   ` Jan Beulich
2024-09-03  7:35     ` Roger Pau Monné
2024-09-03  7:53       ` Jan Beulich
2024-09-03  8:38         ` Roger Pau Monné
2024-08-30  9:52 ` [PATCH v2 2/2] x86/time: prefer CMOS over EFI_GET_TIME Roger Pau Monne
2024-08-30 16:31   ` Andrew Cooper
2024-09-02  8:13     ` Jan Beulich
2024-09-02  8:45     ` Roger Pau Monné
2024-09-02  8:56       ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.