Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XgfJY-0003n8-9z for mharc-grub-devel@gnu.org; Tue, 21 Oct 2014 15:41:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgfJP-0003mt-OS for grub-devel@gnu.org; Tue, 21 Oct 2014 15:41:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgfJI-0008Gi-CW for grub-devel@gnu.org; Tue, 21 Oct 2014 15:41:43 -0400 Received: from nm21-vm3.bullet.mail.ne1.yahoo.com ([98.138.91.151]:52956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgfJI-0008GW-5s for grub-devel@gnu.org; Tue, 21 Oct 2014 15:41:36 -0400 Received: from [98.138.100.113] by nm21.bullet.mail.ne1.yahoo.com with NNFMP; 21 Oct 2014 19:41:35 -0000 Received: from [98.138.89.244] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 21 Oct 2014 19:41:35 -0000 Received: from [127.0.0.1] by omp1058.mail.ne1.yahoo.com with NNFMP; 21 Oct 2014 19:41:35 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 15917.96333.bm@omp1058.mail.ne1.yahoo.com Received: (qmail 58013 invoked by uid 60001); 21 Oct 2014 19:41:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1413920494; bh=IXSiUIkJuaJuHE9z4A2grvus3kaZp+ryoIc/NXoDXSk=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fSUz9TTiqv/wuCZZSakxrhiu/LDsbNTNq414fSJMCJX4KJbZIQu2aEYm7LOVCOKzH/DnYRRgazruSCb8MTPeUkSbuRrn+CTfP6mmkSdQNV25FLcY9+3gUzY9EVl1aseIVQiwrd1YHLJo0NuLMGbS4aY+oUJSx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S0tLS0tLS0tLS0tLS0tLS0tLS0tLS0BMAEBAQE- X-Mailer: YahooMailClassic/810 YahooMailWebService/0.8.203.733 Message-ID: <1413920493.69624.YahooMailBasic@web120205.mail.ne1.yahoo.com> Date: Tue, 21 Oct 2014 12:41:33 -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: <1413556149.14196.YahooMailBasic@web120201.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.151 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, 21 Oct 2014 19:41:51 -0000 Hi, Has a decision been made whether the GRUB2 project is going to go with my p= roposed patch that uses the UEFI SetTimer() function or whether the pmtimer= patch will be used for the Hyper-V Generation 2 PXE boot issue? Thank you, Rigoberto -------------------------------------------- On Fri, 10/17/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: Friday, October 17, 2014, 10:29 AM =20 Hi, =20 Any update on this? =20 Thanks, =20 Rigoberto =20 =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, 8:06 PM =20 =20 =20 -------------------------------------------- On Mon, 10/13/14, Rigoberto Corujo wrote: =20 =C2=A0 Subject: Re: How can I submit patch for bug #42944 ? =C2=A0 To: =20 "Andrei Borzenkov" , "The development of GNU GRUB" =C2=A0 Cc: "The development of GNU GRUB" , phcoder@gmail.com =C2=A0 Date: Monday, October 13, 2014, 12:35 PM =C2=A0=20 =C2=A0=20 =20 =20 -------------------------------------------- =C2=A0 On Sun, 10/12/14, Andrei Borzenkov =C2=A0 wrote: =C2=A0=20 =20 =C2=A0 Subject: Re: How =C2=A0 can I submit patch for bug #42944 ? =C2=A0 To: =20 =20 "Andrei Borzenkov" =C2=A0 Cc: "The development of GNU GRUB" =C2=A0 , =C2=A0 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 =C2=A0 Borzenkov =C2=A0 =D0=BF=D0=B8=D1=88=D0=B5=D1=82: =C2=A0=20 =C2=A0=20 =C2=A0 > =D0=92 Sat, 11 =C2=A0 Oct 2014 10:44:20 +0200 =20 =C2=A0 > Vladimir =C2=A0=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 =C2=A0 23:23, Colin Watson wrote: =C2=A0 > > > =C2=A0 On Fri, Oct 10, 2014 at =C2=A0 04:44:39PM +0000, =C2=A0 Rigoberto Corujo wrote: =C2=A0 =20 > > >> =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 =20 =C2=A0 it committed to the source tree? =C2=A0 > =C2=A0 > =C2=A0 >> https://savannah.gnu.org/bugs/?42944 =C2=A0 > > >=20 =C2=A0 > > =C2=A0 > =20 =C2=A0 I'd suggest attaching the patch to =C2=A0 a mail here (not =C2=A0 encased in a zip =C2=A0 > > > file).=C2=A0 =C2=A0=20 =20 It's usually easier to get public review that way. =C2=A0 > > >=20 =C2=A0 > > =C2=A0 I =C2=A0 don't like to use EFI timers if we =C2=A0 can avoid them, =C2=A0 they've been known =C2=A0 > > to hang. =C2=A0 Attached =C2=A0 is a patch to use pmtimer for calibration =C2=A0=20 =C2=A0 >=20 =C2=A0 =20 > What about systems =C2=A0 without ACPI? Does it explicitly exclude =C2=A0 them? =C2=A0=20 =C2=A0 OK, I stay =C2=A0 corrected. Still, =C2=A0 this patch adds over 1K =C2=A0 to kernel on =C2=A0 i386-pc =C2=A0 and =C2=A0 about 0.5K to common core.img with ext2: =C2=A0=20 =C2=A0=20 =C2=A0 -rw-r--r-- 1 bor bor 26848 Oct =C2=A0 12 20:09 =20 /tmp/core.img-pmtimer =C2=A0 -rw-r--r-- 1 =C2=A0 bor bor 26320 =C2=A0 Oct 12 18:50 /tmp/core.img-vanilla =C2=A0=20 =20 =20 -rwxr-xr-x 1 bor bor 29224 Oct 12 20:08 =C2=A0 =20 =C2=A0 /tmp/kernel.img-pmtimer =20 =C2=A0 -rwxr-xr-x 1 bor =C2=A0 bor =C2=A0 28060 Oct 12 10:12 =20 =20 /tmp/kernel.img-vanilla =C2=A0=20 =C2=A0 I =C2=A0 think it's too much for =C2=A0 something that =C2=A0 so far is needed only on very =C2=A0 specific =C2=A0 platform. May be we could restrict it =C2=A0 to =C2=A0 EFI only where size =20 =C2=A0 does not matter that =C2=A0 =20 much? =C2=A0=20 =C2=A0=20 =20 Attached rebased =C2=A0 patch (I briefly =20 checked =C2=A0 and it still boots on i386-pc =C2=A0 and =C2=A0 apparently correctly handles timeouts, but =C2=A0=20 =C2=A0 I =20 cannot check other =C2=A0 platforms). =C2=A0 -----Inline Attachment Follows----- =C2=A0=20 =C2=A0=20 =20 =20 _______________________________________________ =C2=A0 Grub-devel mailing list =20 =C2=A0 Grub-devel@gnu.org =C2=A0 https://lists.gnu.org/mailman/listinfo/grub-devel =C2=A0=20 =C2=A0=20 =C2=A0 Thank you =C2=A0 very much for the patch.=C2=A0 I will test it on Hyper-V =C2=A0 Generation 2 and other =20 physical UEFI servers and let you =C2=A0 know the results.=C2=A0 Regarding the concern that was expressed =C2=A0 about SetTimer() sometimes hanging on UEFI systems, the =C2=A0 following two files are =20 already using SetTimer(). =C2=A0=20 =20 =20 ./grub-core/kern/arm/efi/init.c =20 ./grub-core/kern/ia64/efi/init.c =C2=A0=20 =C2=A0 Is it less likely that the =20 hang occurs on those processors? =C2=A0=20 =C2=A0 Thank you, =C2=A0=20 =20 =20 Rigoberto Corujo =20 =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 =20 Rigoberto Corujo