Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xf8X1-000098-Lh for mharc-grub-devel@gnu.org; Fri, 17 Oct 2014 10:29:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf8Ws-00007M-Um for grub-devel@gnu.org; Fri, 17 Oct 2014 10:29:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf8Wl-0007cC-Ac for grub-devel@gnu.org; Fri, 17 Oct 2014 10:29:18 -0400 Received: from nm17-vm6.bullet.mail.ne1.yahoo.com ([98.138.91.110]:57767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf8Wl-0007c4-2x for grub-devel@gnu.org; Fri, 17 Oct 2014 10:29:11 -0400 Received: from [98.138.100.115] by nm17.bullet.mail.ne1.yahoo.com with NNFMP; 17 Oct 2014 14:29:10 -0000 Received: from [98.138.226.163] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 17 Oct 2014 14:29:10 -0000 Received: from [127.0.0.1] by omp1064.mail.ne1.yahoo.com with NNFMP; 17 Oct 2014 14:29:10 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 83091.40635.bm@omp1064.mail.ne1.yahoo.com Received: (qmail 81852 invoked by uid 60001); 17 Oct 2014 14:29:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1413556150; bh=OESmYpfYNr1ADbNO5lVgIhVlPJPOKb2q4gO3XXVSAdc=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mSxK4o2Wu8YiNAA5RcWm9LEdBCjIOscSHOxh3f6rl9eT29+ZLEWWh6dwk+fvbWzkZD9U8a2pStNOKcwv/dZHEf7iXskMKu4STUrV6Gf8tB4N2Wf/p4hjtT/u5tj6hjTqXGw/d7u7YxZkiiR9/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dtYWlsLmNvbT4sICJUaGUgZGV2ZWxvcG1lbnQgb2YBMAEBAQE- X-Mailer: YahooMailClassic/810 YahooMailWebService/0.8.203.696 Message-ID: <1413556149.14196.YahooMailBasic@web120201.mail.ne1.yahoo.com> Date: Fri, 17 Oct 2014 07:29:09 -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: <1413245198.15966.YahooMailBasic@web120202.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.110 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: Fri, 17 Oct 2014 14:29:26 -0000 Hi, Any update on this? Thanks, Rigoberto -------------------------------------------- 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, 8:06 PM =20 =20 -------------------------------------------- On Mon, 10/13/14, Rigoberto Corujo wrote: =20 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 =20 -------------------------------------------- On Sun, 10/12/14, Andrei Borzenkov wrote: =20 =C2=A0 Subject: Re: How can I submit patch for bug #42944 ? =C2=A0 To: =20 "Andrei Borzenkov" =C2=A0 Cc: "The development of GNU GRUB" , phcoder@gmail.com =C2=A0 Date: Sunday, October 12, 2014, 12:24 PM =C2=A0=20 =C2=A0 =D0=92 Sat, 11 Oct 2014 =C2=A0 12:58:29 +0400 =C2=A0 Andrei Borzenkov =C2=A0 =D0=BF=D0=B8=D1=88=D0=B5=D1=82: =C2=A0=20 =20 > =D0=92 Sat, 11 =C2=A0 Oct 2014 10:44:20 +0200 =C2=A0 > Vladimir =20 =20 '=CF=86-coder/phcoder' Serbinenko =C2=A0 =D0=BF=D0=B8=D1=88=D0=B5=D1=82: =C2=A0 >=20 =C2=A0 > > =C2=A0 On 10.10.2014 23:23, Colin Watson wrote: =C2=A0 > > > On Fri, Oct 10, 2014 at =C2=A0 04:44:39PM +0000, Rigoberto Corujo wrote: =C2=A0 > > >> I attached a patch to bug =C2=A0 #42944 and would =20 like to know how I would go about getting =20 =20 it committed to the source tree? =C2=A0 > > =C2=A0 >> https://savannah.gnu.org/bugs/?42944 =C2=A0 > > >=20 =C2=A0 > > > =C2=A0 I'd suggest attaching the patch to a mail here (not =C2=A0 encased in a zip =C2=A0 > > > file).=C2=A0 =20 =20 It's usually easier to get public review that way. =C2=A0 > > >=20 =C2=A0 > > I =C2=A0 don't like to use EFI timers if we can avoid them, =C2=A0 they've been known =C2=A0 > > to hang. =C2=A0 Attached is a patch to use pmtimer for calibration =20 >=20 =C2=A0 > What about systems =C2=A0 without ACPI? Does it explicitly exclude them? =C2=A0=20 =C2=A0 OK, I stay corrected. Still, =C2=A0 this patch adds over 1K to kernel on =C2=A0 i386-pc =C2=A0 and about 0.5K to common core.img with ext2: =20 =20 =C2=A0 -rw-r--r-- 1 bor bor 26848 Oct =C2=A0 12 20:09 /tmp/core.img-pmtimer =C2=A0 -rw-r--r-- 1 =C2=A0 bor bor 26320 Oct 12 18:50 /tmp/core.img-vanilla =20 =20 -rwxr-xr-x 1 bor bor 29224 Oct 12 20:08 =20 /tmp/kernel.img-pmtimer =C2=A0 -rwxr-xr-x 1 bor bor =C2=A0 28060 Oct 12 10:12 =20 /tmp/kernel.img-vanilla =C2=A0=20 =C2=A0 I think it's too much for =C2=A0 something that so far is needed only on very =C2=A0 specific platform. May be we could restrict it =C2=A0 to EFI only where size =C2=A0 does not matter that =C2=A0 much? =C2=A0=20 =20 =20 Attached rebased =C2=A0 patch (I briefly checked and it still boots on i386-pc =C2=A0 and apparently correctly handles timeouts, but =20 I cannot check other =C2=A0 platforms). =C2=A0 -----Inline Attachment Follows----- =C2=A0=20 =20 =20 _______________________________________________ =C2=A0 Grub-devel mailing list =C2=A0 Grub-devel@gnu.org =C2=A0 https://lists.gnu.org/mailman/listinfo/grub-devel =C2=A0=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 =20 ./grub-core/kern/arm/efi/init.c =20 ./grub-core/kern/ia64/efi/init.c =20 Is it less likely that the =20 hang occurs on those processors? =20 Thank you, =20 =20 Rigoberto Corujo =20 -------------------------------------------------------------------------- =20 I tried the pmtimer patch on Microsoft Hyper-V Generation 2, as well as a physical UEFI server, and it worked well. =20 Please let me know if this patch is going to be submitted. =20 Thank you, =20 Rigoberto Corujo