From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1e4rkU-0001RP-Ow for mharc-grub-devel@gnu.org; Wed, 18 Oct 2017 13:03:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4rkS-0001PH-H5 for grub-devel@gnu.org; Wed, 18 Oct 2017 13:03:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4rkR-0005an-Kc for grub-devel@gnu.org; Wed, 18 Oct 2017 13:03:16 -0400 Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]:46209) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4rkR-0005Yn-GY for grub-devel@gnu.org; Wed, 18 Oct 2017 13:03:15 -0400 Received: by mail-vk0-x231.google.com with SMTP id k123so3745052vkb.3 for ; Wed, 18 Oct 2017 10:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tQRUXNdnlGkm2LLRQhny/pD9L6BSlTQm8EjgBCgMPoY=; b=m/pSa772Qqe/HRoMTvT2+uJ9hBzlpuRhQc4mY9gFb0eF2s/gvuL8lIWimxY1NK9D7V VPRcb2phIslYsn78Od5qpZI5B1k4xX3HZntzq2NVu/VrJHsT0GAmej9N8PQ7HVte1A66 FYFcH0d3nfAyrEJggyROcuNmKDjXrZgIYLZk6TpSQUWkPbubgOVKZ9OFG/M9tTJwtAfp NAU+jDe9c/QJdXW8qib2kcQ/QZ8OBfybv8iyIPfSsTBN3HcMfM66KnDdicd4RVnQiJNG ludsLbp9AlXqwVH2vX4M4DMvkAENWG0sn9L/2gQiLFmmKbdSx3SbuEb0h0mDei/IY59Z tyzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tQRUXNdnlGkm2LLRQhny/pD9L6BSlTQm8EjgBCgMPoY=; b=d9KamzAX6igr39AoTCtO93iJmS+O/gP+mZC18YDbt9QvOXL0Esn4ezN+r2prYKuFaZ JUXASqFyHAFpNRYpSQED/I1cihUIfMC11H9WD6Ya7T63pulnkDHchfpUmkX41euPe9bZ XnI4gZz7cgzOu5N9tS8lsJAZgGGNEnGMUEGjGRhdRnoR2IdcSUjgj9JSMbr9kqBqbi2d vSlxWxI30X8fM5WVFt7/IpeckDV4schw/Le23QE1jRzy5hmyQLkeYGvPy7W7T5nFR1UB FAM6FdR8G95XxqFk6GPW6oZvIdFi1/BVwx1433vV+XCqeYMeYEl+ysuz9OfpY2jM59rN OqhA== X-Gm-Message-State: AMCzsaV7fYxrVUpGx5q052ihVB7JkOdr97I4S9b4yxN45KwfyAv23FdT XBGI/knYvtWsfX/7wW/Zv1Z3RZjp+sTR591f0lg= X-Google-Smtp-Source: ABhQp+QmvSUVa6OXmPtsQoR2mf+Fmvmx+zOVXWsNgyDemSRK4x9f0RPldVHA9FGRMbquOvXi8+cmkSKBcT8q5U9j6Dk= X-Received: by 10.31.219.194 with SMTP id s185mr5953350vkg.12.1508346194830; Wed, 18 Oct 2017 10:03:14 -0700 (PDT) MIME-Version: 1.0 References: <1508184672-164532-1-git-send-email-eric.snowberg@oracle.com> In-Reply-To: From: "Vladimir 'phcoder' Serbinenko" Date: Wed, 18 Oct 2017 17:03:04 +0000 Message-ID: Subject: Re: [PATCH] ls: prevent double open To: Eric Snowberg Cc: Daniel Kiper , The development of GNU GRUB Content-Type: multipart/alternative; boundary="94eb2c07ad8a242bc5055bd53729" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c05::231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2017 17:03:17 -0000 --94eb2c07ad8a242bc5055bd53729 Content-Type: text/plain; charset="UTF-8" On Wed, Oct 18, 2017, 19:02 Eric Snowberg wrote: > > > On Oct 18, 2017, at 10:32 AM, Vladimir 'phcoder' Serbinenko < > phcoder@gmail.com> wrote: > > > > > > > > On Mon, Oct 16, 2017, 22:11 Eric Snowberg > wrote: > > Prevent a double open. This can cause problems with some ieee1275 > > devices, causing the system to hang. The double open can occur > > as follows: > > Why does it? Underlying firmware device should not be aware of how many > times grub device is open. If it is and it causes bugs, then it's a bug in > device driver > > Which device driver are you referring to? The one in GRUB or Open > Firmware? > In GRUB > > > --94eb2c07ad8a242bc5055bd53729 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Oct 18, 2017, 1= 9:02 Eric Snowberg <eric.sno= wberg@oracle.com> wrote:
> On Oct 18, 2017, at 10:32 AM, Vladimir 'phcoder' Serbinenko &l= t;phcoder@gmail.com<= /a>> wrote:
>
>
>
> On Mon, Oct 16, 2017, 22:11 Eric Snowberg <
eric.snowberg@oracle.com> wrot= e:
> Prevent a double open.=C2=A0 This can cause problems with some ieee127= 5
> devices, causing the system to hang.=C2=A0 The double open can occur > as follows:
> Why does it? Underlying firmware device should not be aware of how man= y times grub device is open. If it is and it causes bugs, then it's a b= ug in device driver

Which device driver are you referring to?=C2=A0 The one in GRUB or Open Fir= mware?
In GRUB
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">

--94eb2c07ad8a242bc5055bd53729--