From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aHGeU-0003Ei-Je for mharc-grub-devel@gnu.org; Thu, 07 Jan 2016 14:55:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHGeS-0003DX-3d for grub-devel@gnu.org; Thu, 07 Jan 2016 14:55:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHGeQ-0005QC-Og for grub-devel@gnu.org; Thu, 07 Jan 2016 14:55:16 -0500 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:37728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHGeQ-0005Pz-IH for grub-devel@gnu.org; Thu, 07 Jan 2016 14:55:14 -0500 Received: by mail-wm0-x233.google.com with SMTP id f206so140677728wmf.0 for ; Thu, 07 Jan 2016 11:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=B646nvhxhu0ekZHhzDI4XKqypB43yHE7zHj3yNFJRoo=; b=o9g41g5fvCml5l2tShwfSJfBtY2q9gi9kSA2Ab6wj66JhA7PwgYlpON2kqcURUSYrP fNVpgatEaCjAnGOkMlp1+B/gXvJCOyX1777xuLtU7CD97+FFHpxCnlqmmpHiT2BekV5f R2dCldQS5kpioG0Y+BA+ehwZ24tQZjK68iTLkF6S9I0hT1hRQuTDgh0NdphvuhYh+QBi dC61FnbQKPy1/zNQbQg1FC53TDfIDKnKJbKCy6V5VdVEGo46vHR8np5AYOi9usAp0XxX Q+Z4T0qC5nsT73waWgM6oTkd/NvcymCQ/BqcvkGkIz8dOnLH75M4pm+bIZhHqS4cF9AA pM5Q== X-Received: by 10.194.185.42 with SMTP id ez10mr135132224wjc.82.1452196511569; Thu, 07 Jan 2016 11:55:11 -0800 (PST) Received: from ?IPv6:2a02:1205:34c8:dc00:a2a8:cdff:fe64:b3b5? ([2a02:1205:34c8:dc00:a2a8:cdff:fe64:b3b5]) by smtp.gmail.com with ESMTPSA id uo9sm8445419wjc.49.2016.01.07.11.55.09 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jan 2016 11:55:10 -0800 (PST) Subject: Re: ARM*-EFI timers To: The development of GNU GRUB References: <568EA98B.8050405@gmail.com> <568EB5A8.7080704@gmail.com> From: =?UTF-8?Q?Vladimir_'=cf=86-coder/phcoder'_Serbinenko?= Message-ID: <568EC296.9080606@gmail.com> Date: Thu, 7 Jan 2016 20:55:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <568EB5A8.7080704@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="D92QGaDmtIUtH6RqC2ua58O9QOV8EtMU4" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::233 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 19:55:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D92QGaDmtIUtH6RqC2ua58O9QOV8EtMU4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07.01.2016 19:59, Andrei Borzenkov wrote: > 07.01.2016 21:08, Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: >> 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 tim= er >> every 1ms but every 10ms. I propose time1.diff to correct: request EFI= >> to call us every 10ms and increment timer variable by 10. >=20 > openSUSE carries similar patch for quite some time. Patch is authored b= y > RH. So it can be considered tested in real life. >=20 > https://build.opensuse.org/package/view_file/Base:System/grub2/grub2-ar= m64-Reduce-timer-event-frequency-by-10.patch?expand=3D1 >=20 Ok, I took RH patch. Now question is about the second patch >> For arm64 I propose to use CPU timer instead time2.diff. Can any of AR= M >> guys comment on this? >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >> >=20 >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --D92QGaDmtIUtH6RqC2ua58O9QOV8EtMU4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREKAAYFAlaOwpcACgkQmBXlbbo5nOs8jgD/XmFGye/hMaPup6beTqq6Dn2D N6BieoUItsKXH59yW9YA+QE0G5Gcz8/DyUQ44N8KNdrg7oYirYE18ZncgHliLmQC =Mrkf -----END PGP SIGNATURE----- --D92QGaDmtIUtH6RqC2ua58O9QOV8EtMU4--