Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XdibL-0000Ci-Vu for mharc-grub-devel@gnu.org; Mon, 13 Oct 2014 12:36:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdibC-0000BJ-DS for grub-devel@gnu.org; Mon, 13 Oct 2014 12:36:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xdib4-0007Ik-7X for grub-devel@gnu.org; Mon, 13 Oct 2014 12:35:54 -0400 Received: from nm16-vm1.bullet.mail.ne1.yahoo.com ([98.138.91.47]:59735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdib4-0007If-1Z for grub-devel@gnu.org; Mon, 13 Oct 2014 12:35:46 -0400 Received: from [98.138.100.117] by nm16.bullet.mail.ne1.yahoo.com with NNFMP; 13 Oct 2014 16:35:45 -0000 Received: from [98.138.89.164] by tm108.bullet.mail.ne1.yahoo.com with NNFMP; 13 Oct 2014 16:35:45 -0000 Received: from [127.0.0.1] by omp1020.mail.ne1.yahoo.com with NNFMP; 13 Oct 2014 16:35:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 999537.80874.bm@omp1020.mail.ne1.yahoo.com Received: (qmail 62351 invoked by uid 60001); 13 Oct 2014 16:35:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1413218144; bh=0MRQspW9KbguFVKlxErYSmb3vivvfKe12rE4gbN6fFs=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1q9WI+Kz52k3j6YlYJe7UvyuCvpoNYz7GVEBdMjPfUMi+I4vTMhLq7GKy+eqnw8XD2gCYdRNeU+DsLKIGFWXrCtTaS+HgxtD0idHkQs06ea4tvxvJ3mmh3FCvXUZ3VGqQi35O6QowsBWIdOgWx86md6HmPN6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4sIHBoY29kZXJAZ21haWwuY28BMAEBAQE- X-Mailer: YahooMailClassic/799 YahooMailWebService/0.8.203.696 Message-ID: <1413218144.62125.YahooMailBasic@web120204.mail.ne1.yahoo.com> Date: Mon, 13 Oct 2014 09:35:44 -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: <20141012202425.1f4673e0@opensuse.site> 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.47 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: Mon, 13 Oct 2014 16:36:01 -0000 -------------------------------------------- On Sun, 10/12/14, Andrei Borzenkov wrote: 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 > =D0=92 Sat, 11 Oct 2014 10:44:20 +0200 > Vladimir '=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 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 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 > 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 -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 -rwxr-xr-x 1 bor bor 29224 Oct 12 20:08 /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 Attached rebased patch (I briefly checked and it still boots on i386-pc and apparently correctly handles timeouts, but I cannot check other platforms). -----Inline Attachment Follows----- =20 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel =20 Thank you very much for the patch. I will test it on Hyper-V Generation 2 = and other physical UEFI servers and let you know the results. Regarding th= e concern that was expressed about SetTimer() sometimes hanging on UEFI sys= tems, the following two files are already using SetTimer(). ./grub-core/kern/arm/efi/init.c ./grub-core/kern/ia64/efi/init.c Is it less likely that the hang occurs on those processors? Thank you, Rigoberto Corujo