All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: Colin D Bennett <colin@gibibit.com>
Cc: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: TSC on coreboot (Re: [PATCH] High resolution time/TSC patch v3)
Date: Mon, 4 Aug 2008 11:09:59 +0200	[thread overview]
Message-ID: <20080804090959.GD32106@thorin> (raw)
In-Reply-To: <20080803191429.46c7d34e@gibibit.com>

On Sun, Aug 03, 2008 at 07:14:29PM -0700, Colin D Bennett wrote:
> > 
> > Note:  AFAICT we can't calculate the epoch without RTC.  But then
> > again, this epoch is just as defined by the time BIOS enables RTC
> > interrupts, so why not define it ourselves?  I propose that we define
> > epoch as the time in which our TSC code is initialized.
> > 
> > If knowing the time in which BIOS was started is really useful, maybe
> > we could #ifdef it instead.  Though if it's not I'd prefer the
> > simplicity.
> 
> So far we never use the value returned by ``grub_get_time_ms()`` as an
> absolute time.  It is currently only used in relative terms, so only
> the rate at which it changes is important, not the definition of the
> zero point.  Perhaps that simplifies things?  I think it's fine to go
> with that definition for now -- if we need to use absolute time at some
> point, we can deal with it then.

Hi Colin,

As far as I'm concerned the combined patch can be committed, even without
the cpuid harmonization I suggested (we can always arrange that later).

If there's no objection I'll check it in.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2008-08-04  9:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23 14:54 [RFC] High resolution time support using x86 TSC Colin D Bennett
2008-07-03 18:52 ` Marco Gerards
2008-07-04 15:58   ` Colin D Bennett
2008-07-04 16:10     ` Vesa Jääskeläinen
2008-07-04 17:26   ` Colin D Bennett
2008-07-20 18:21     ` Marco Gerards
2008-07-04 18:28   ` [RFC] TSC patch v2 Colin D Bennett
2008-07-04 19:49     ` Vesa Jääskeläinen
2008-07-04 20:38       ` Colin D Bennett
2008-07-04 20:48         ` Vesa Jääskeläinen
2008-07-20 18:45     ` Marco Gerards
2008-07-28 17:05       ` [PATCH] High resolution time/TSC patch v3 Colin D Bennett
2008-07-28 17:59         ` Robert Millan
2008-07-31 19:08         ` Marco Gerards
2008-07-31 19:24           ` Robert Millan
2008-07-31 20:07             ` Marco Gerards
2008-07-31 20:35               ` Robert Millan
2008-08-03 19:48         ` Robert Millan
2008-08-03 23:53           ` TSC on coreboot (Re: [PATCH] High resolution time/TSC patch v3) Robert Millan
2008-08-04  2:14             ` Colin D Bennett
2008-08-04  9:09               ` Robert Millan [this message]
2008-08-04 20:21             ` Marco Gerards
2008-08-05 11:59         ` [PATCH] High resolution time/TSC patch v3 Marco Gerards
2008-08-05 20:24           ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080804090959.GD32106@thorin \
    --to=rmh@aybabtu.com \
    --cc=colin@gibibit.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.