public inbox for linux-efi@vger.kernel.org
 help / color / mirror / Atom feed
* Why efi_set_rtc_mmss() is never used?
@ 2014-06-09 11:08 Daniel Kiper
       [not found] ` <20140609110800.GJ15989-fJNZiO034lp9pOct4yEdx/3oZC3j2Omk@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Kiper @ 2014-06-09 11:08 UTC (permalink / raw)
  To: linux-efi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, x86-DgEjT+Ai2ygdnm+yROfE0A,
	xen-devel-GuqFBffKawtpuQazS67q72D2FQJk+8+b
  Cc: boris.ostrovsky-QHcLZuEGTsvQT0dZR+AlfA,
	david.vrabel-Sxgqhf6Nn4DQT0dZR+AlfA, hpa-YMNOUZJC4hwAvxtiuMwx3w,
	jbeulich-IBi9RG/b67k, konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA,
	matt.fleming-ral2JQCrhuEAvxtiuMwx3w, mingo-H+wXaHxf7aLQT0dZR+AlfA,
	tglx-hfZtesqFncYOwBW4kG4KsQ

Hi,

As I can see efi_set_rtc_mmss() is never used to set RTC.
Even on EFI platform mach_set_rtc_mmss() is called and does
that thing. Why it is done in that way? It is a bug or it was
done intentionally. Am I missing something?

Daniel

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

* Re: Why efi_set_rtc_mmss() is never used?
       [not found] ` <20140609110800.GJ15989-fJNZiO034lp9pOct4yEdx/3oZC3j2Omk@public.gmane.org>
@ 2014-06-09 12:46   ` One Thousand Gnomes
       [not found]     ` <20140609134635.26abc019-mUKnrFFms3BCCTY1wZZT65JpZx93mCW/@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: One Thousand Gnomes @ 2014-06-09 12:46 UTC (permalink / raw)
  To: Daniel Kiper
  Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, x86-DgEjT+Ai2ygdnm+yROfE0A,
	xen-devel-GuqFBffKawtpuQazS67q72D2FQJk+8+b,
	boris.ostrovsky-QHcLZuEGTsvQT0dZR+AlfA,
	david.vrabel-Sxgqhf6Nn4DQT0dZR+AlfA, hpa-YMNOUZJC4hwAvxtiuMwx3w,
	jbeulich-IBi9RG/b67k, konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA,
	matt.fleming-ral2JQCrhuEAvxtiuMwx3w, mingo-H+wXaHxf7aLQT0dZR+AlfA,
	tglx-hfZtesqFncYOwBW4kG4KsQ

On Mon, 9 Jun 2014 13:08:00 +0200
Daniel Kiper <daniel.kiper-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:

> Hi,
> 
> As I can see efi_set_rtc_mmss() is never used to set RTC.
> Even on EFI platform mach_set_rtc_mmss() is called and does
> that thing. Why it is done in that way? It is a bug or it was
> done intentionally. Am I missing something?

EFI services generally don't work properly. The less they are used the
better. We can realistically only make an EFI call with the same
parameters windows does under the same kind of circumstances because the
firmware on many motherboards is complete sh*te.

Alan

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

* Re: Why efi_set_rtc_mmss() is never used?
       [not found]     ` <20140609134635.26abc019-mUKnrFFms3BCCTY1wZZT65JpZx93mCW/@public.gmane.org>
@ 2014-06-14 17:32       ` Daniel Kiper
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kiper @ 2014-06-14 17:32 UTC (permalink / raw)
  To: One Thousand Gnomes
  Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, x86-DgEjT+Ai2ygdnm+yROfE0A,
	xen-devel-GuqFBffKawtpuQazS67q72D2FQJk+8+b,
	boris.ostrovsky-QHcLZuEGTsvQT0dZR+AlfA,
	david.vrabel-Sxgqhf6Nn4DQT0dZR+AlfA, hpa-YMNOUZJC4hwAvxtiuMwx3w,
	jbeulich-IBi9RG/b67k, konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA,
	matt.fleming-ral2JQCrhuEAvxtiuMwx3w, mingo-H+wXaHxf7aLQT0dZR+AlfA,
	tglx-hfZtesqFncYOwBW4kG4KsQ

On Mon, Jun 09, 2014 at 01:46:35PM +0100, One Thousand Gnomes wrote:
> On Mon, 9 Jun 2014 13:08:00 +0200
> Daniel Kiper <daniel.kiper-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:
>
> > Hi,
> >
> > As I can see efi_set_rtc_mmss() is never used to set RTC.
> > Even on EFI platform mach_set_rtc_mmss() is called and does
> > that thing. Why it is done in that way? It is a bug or it was
> > done intentionally. Am I missing something?
>
> EFI services generally don't work properly. The less they are used the
> better. We can realistically only make an EFI call with the same
> parameters windows does under the same kind of circumstances because the
> firmware on many motherboards is complete sh*te.

Thanks. Sadly it makes sens.

Daniel

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

end of thread, other threads:[~2014-06-14 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 11:08 Why efi_set_rtc_mmss() is never used? Daniel Kiper
     [not found] ` <20140609110800.GJ15989-fJNZiO034lp9pOct4yEdx/3oZC3j2Omk@public.gmane.org>
2014-06-09 12:46   ` One Thousand Gnomes
     [not found]     ` <20140609134635.26abc019-mUKnrFFms3BCCTY1wZZT65JpZx93mCW/@public.gmane.org>
2014-06-14 17:32       ` Daniel Kiper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox