mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 8/9] efi: clocksoure: add EFI event timer
Date: Tue, 7 Mar 2017 08:41:12 +0100	[thread overview]
Message-ID: <20170307074112.j6mz6i7ffttmcja4@pengutronix.de> (raw)
In-Reply-To: <1488544445-20105-8-git-send-email-plagnioj@jcrosoft.com>

On Fri, Mar 03, 2017 at 01:34:04PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> with this we can be hw generic
> 
> If the EFI implement timestamp protocol we could use instead of event
> but even EDK2 Never Ever compile it for any target.
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
> +	freq = 1000 * 1000;
> +	if (ticks_freq() < 800 * 1000) {
> +		uint64_t nb_100ns;
> +
> +		freq = ticks_freq_x86();
> +		nb_100ns = 10 * 1000 * 1000 / freq;
> +		pr_warn("EFI Event timer too slow freq = %llu Hz\n", freq);

Applied this series for now. I weakened this message somewhat:

		pr_warn("EFI Event timer slow, freq = %lluHz\n", freq);

As this is not really an error, only an information one might want to
know.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2017-03-07  7:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-03 12:32 [PATCH 0/9] add generic EFI timer Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:33 ` [PATCH 1/9] efi: add prototype and definition for creating and closing event Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:33   ` [PATCH 2/9] efi: add prototype and definition for setting timer Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:33   ` [PATCH 3/9] efi: move LoaderTimeInitUSec and LoaderDevicePartUUID to postcore initcall Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:34   ` [PATCH 4/9] efi: move x86 clocksource init at core initcall level Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:34   ` [PATCH 5/9] clocksource: allow to have multiple device from clock source Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:34   ` [PATCH 6/9] clocksource: move dummy clock source to init_clock Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:34   ` [PATCH 7/9] efi: move x86 clocksource to device/driver Jean-Christophe PLAGNIOL-VILLARD
2017-03-03 12:34   ` [PATCH 8/9] efi: clocksoure: add EFI event timer Jean-Christophe PLAGNIOL-VILLARD
2017-03-07  7:41     ` Sascha Hauer [this message]
2017-03-03 12:34   ` [PATCH 9/9] efi: add veriable to report secure boot support and status Jean-Christophe PLAGNIOL-VILLARD

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=20170307074112.j6mz6i7ffttmcja4@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox