From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aHFn4-0001bY-Jc for mharc-grub-devel@gnu.org; Thu, 07 Jan 2016 14:00:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHFn2-0001bQ-4f for grub-devel@gnu.org; Thu, 07 Jan 2016 14:00:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHFmy-0003R8-4p for grub-devel@gnu.org; Thu, 07 Jan 2016 14:00:04 -0500 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:35712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHFmx-0003Qt-T7 for grub-devel@gnu.org; Thu, 07 Jan 2016 14:00:00 -0500 Received: by mail-lf0-x231.google.com with SMTP id c192so161969790lfe.2 for ; Thu, 07 Jan 2016 10:59:59 -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=xbV6UegAjjsCSz5lYo3OeTseQfQTTeuWPPXss0K1cFw=; b=w4eDnU6ihdfwkTd3Yh3gG4+lsnGfysDWOZ2q3dZ778BAJbHktHsbor0pd9QfwTPsup X4t8w3R4L9TFCWhX1EnGPUOHKEt0cQM3zZno+S/cTCwMeSotc+kG+3UsHtzSLaEwQVt7 UqqcvWS9VekNiLQueTbJDD0BrtSR3q41QC9Loq/G/Kg/GWqX2B9jVuadZJU1J+L+fvqG HuO5NrsFezFl7WeQmG6QCnlo/PJpD4xAQfHn2hn5K96c0zcamy2sMPH90X12M5caJfRZ 5yEuFpTk8Bb3U0GljC70jsymMc9Wh6I9hbnbbWV6rk71M2Wbkm6K9HW0V+IF9fYMG+g+ Dn6g== X-Received: by 10.25.90.83 with SMTP id o80mr3206650lfb.23.1452193198839; Thu, 07 Jan 2016 10:59:58 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id d10sm11705444lfd.11.2016.01.07.10.59.57 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jan 2016 10:59:57 -0800 (PST) Subject: Re: ARM*-EFI timers To: grub-devel@gnu.org References: <568EA98B.8050405@gmail.com> From: Andrei Borzenkov Message-ID: <568EB5A8.7080704@gmail.com> Date: Thu, 7 Jan 2016 21:59:52 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <568EA98B.8050405@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HmACp43dT0Ltm59ilC0VgM6LFBKip9Dhd" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::231 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:00:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HmACp43dT0Ltm59ilC0VgM6LFBKip9Dhd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 1= 0 > actually sleeps for 100s. The culprit is that EFI doesn't call our time= r > every 1ms but every 10ms. I propose time1.diff to correct: request EFI > to call us every 10ms and increment timer variable by 10. openSUSE carries similar patch for quite some time. Patch is authored by RH. So it can be considered tested in real life. https://build.opensuse.org/package/view_file/Base:System/grub2/grub2-arm6= 4-Reduce-timer-event-frequency-by-10.patch?expand=3D1 > For arm64 I propose to use CPU timer instead time2.diff. Can any of ARM= > guys comment on this? >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --HmACp43dT0Ltm59ilC0VgM6LFBKip9Dhd 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.0.22 (GNU/Linux) iEYEARECAAYFAlaOtawACgkQR6LMutpd94xOIwCeIH5o7LQUOlIcwYBuiYrGFDP7 FGIAoKWZ29RjLdx2Dr8R6B/vxuXEPhpi =MVdT -----END PGP SIGNATURE----- --HmACp43dT0Ltm59ilC0VgM6LFBKip9Dhd--