grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* ARM*-EFI timers
@ 2016-01-07 18:08 Vladimir 'φ-coder/phcoder' Serbinenko
  2016-01-07 18:59 ` Andrei Borzenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2016-01-07 18:08 UTC (permalink / raw)
  To: The development of GRUB 2


[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]

Hello, all. In my automated tests I found out that on ARM64-EFI sleep 10
actually sleeps for 100s. The culprit is that EFI doesn't call our timer
every 1ms but every 10ms. I propose time1.diff to correct: request EFI
to call us every 10ms and increment timer variable by 10.
For arm64 I propose to use CPU timer instead time2.diff. Can any of ARM
guys comment on this?

[-- Attachment #1.2: time1.diff --]
[-- Type: application/x-ext-patch, Size: 747 bytes --]

[-- Attachment #1.3: time2.diff --]
[-- Type: application/x-ext-patch, Size: 2208 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

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

end of thread, other threads:[~2016-01-07 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-07 18:08 ARM*-EFI timers Vladimir 'φ-coder/phcoder' Serbinenko
2016-01-07 18:59 ` Andrei Borzenkov
2016-01-07 19:55   ` Vladimir 'φ-coder/phcoder' Serbinenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).