Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xdpdk-0000GU-3i for mharc-grub-devel@gnu.org; Mon, 13 Oct 2014 20:07:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdpdZ-0000Ae-4U for grub-devel@gnu.org; Mon, 13 Oct 2014 20:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdpdP-0007ol-Hm for grub-devel@gnu.org; Mon, 13 Oct 2014 20:06:49 -0400 Received: from nm6-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.166]:59440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdpdP-0007oZ-9g for grub-devel@gnu.org; Mon, 13 Oct 2014 20:06:39 -0400 Received: from [98.138.101.131] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2014 00:06:38 -0000 Received: from [98.138.88.232] by tm19.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2014 00:06:38 -0000 Received: from [127.0.0.1] by omp1032.mail.ne1.yahoo.com with NNFMP; 14 Oct 2014 00:06:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 678873.27112.bm@omp1032.mail.ne1.yahoo.com Received: (qmail 2002 invoked by uid 60001); 14 Oct 2014 00:06:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1413245198; bh=vH02Qf7TspclRSKLAPcsLGa+ceKoybqXjIM8RAOtymc=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=g7POg61bw8a2JXyPtC1+P6ViTaOTZECJYUuqcdRdKY9ZRZg2kcZYvFr9faTshdVkkwvH5aGnsT99ft0XID1Ypdq5yKmKH61dCuc7qCodjibBibexFelN9N+kuXO9I4F6GqWzJ8Mwpf5wwbWvvyXC6IaynRP0Hp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iVGhlIGRldmVsb3BtZW50IG8BMAEBAQE- X-Mailer: YahooMailClassic/799 YahooMailWebService/0.8.203.696 Message-ID: <1413245198.15966.YahooMailBasic@web120202.mail.ne1.yahoo.com> Date: Mon, 13 Oct 2014 17:06:38 -0700 From: Rigoberto Corujo Subject: Re: How can I submit patch for bug #42944 ? To: Andrei Borzenkov , The development of GNU GRUB In-Reply-To: <1413218144.62125.YahooMailBasic@web120204.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 98.138.91.166 Cc: The development of GNU GRUB , phcoder@gmail.com 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: Tue, 14 Oct 2014 00:06:56 -0000 -------------------------------------------- On Mon, 10/13/14, Rigoberto Corujo wrote: Subject: Re: How can I submit patch for bug #42944 ? To: "Andrei Borzenkov" , "The development of GNU GRUB= " Cc: "The development of GNU GRUB" , phcoder@gmail.com Date: Monday, October 13, 2014, 12:35 PM =20 =20 -------------------------------------------- On Sun, 10/12/14, Andrei Borzenkov wrote: =20 Subject: Re: How can I submit patch for bug #42944 ? To: "Andrei Borzenkov" Cc: "The development of GNU GRUB" , phcoder@gmail.com Date: Sunday, October 12, 2014, 12:24 PM =20 =D0=92 Sat, 11 Oct 2014 12:58:29 +0400 Andrei Borzenkov =D0=BF=D0=B8=D1=88=D0=B5=D1=82: =20 =20 > =D0=92 Sat, 11 Oct 2014 10:44:20 +0200 > Vladimir =20 '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 > > On 10.10.2014 23:23, Colin Watson wrote: > > > On Fri, Oct 10, 2014 at 04:44:39PM +0000, Rigoberto Corujo wrote: > > >> I attached a patch to bug #42944 and would like to know how I would go about getting =20 it committed to the source tree? > > >> https://savannah.gnu.org/bugs/?42944 > > >=20 > > > I'd suggest attaching the patch to a mail here (not encased in a zip > > > file).=C2=A0 =20 It's usually easier to get public review that way. > > >=20 > > I don't like to use EFI timers if we can avoid them, they've been known > > to hang. Attached is a patch to use pmtimer for calibration =20 >=20 > What about systems without ACPI? Does it explicitly exclude them? =20 OK, I stay corrected. Still, this patch adds over 1K to kernel on i386-pc and about 0.5K to common core.img with ext2: =20 =20 -rw-r--r-- 1 bor bor 26848 Oct 12 20:09 /tmp/core.img-pmtimer -rw-r--r-- 1 bor bor 26320 Oct 12 18:50 /tmp/core.img-vanilla =20 -rwxr-xr-x 1 bor bor 29224 Oct 12 20:08 =20 /tmp/kernel.img-pmtimer -rwxr-xr-x 1 bor bor 28060 Oct 12 10:12 /tmp/kernel.img-vanilla =20 I think it's too much for something that so far is needed only on very specific platform. May be we could restrict it to EFI only where size does not matter that much? =20 =20 Attached rebased patch (I briefly checked and it still boots on i386-pc and apparently correctly handles timeouts, but =20 I cannot check other platforms). -----Inline Attachment Follows----- =20 =20 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel =20 =20 Thank you very much for the patch.=C2=A0 I will test it on Hyper-V Generation 2 and other physical UEFI servers and let you know the results.=C2=A0 Regarding the concern that was expressed about SetTimer() sometimes hanging on UEFI systems, the following two files are already using SetTimer(). =20 ./grub-core/kern/arm/efi/init.c ./grub-core/kern/ia64/efi/init.c =20 Is it less likely that the hang occurs on those processors? =20 Thank you, =20 Rigoberto Corujo -------------------------------------------------------------------------- I tried the pmtimer patch on Microsoft Hyper-V Generation 2, as well as a p= hysical UEFI server, and it worked well. Please let me know if this patch is going to be submitted. Thank you, Rigoberto Corujo