Received: from list by lists.gnu.org with archive (Exim 4.71) id 1f1Z35-0007ly-89 for mharc-grub-devel@gnu.org; Thu, 29 Mar 2018 11:01:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1Z32-0007j8-9B for grub-devel@gnu.org; Thu, 29 Mar 2018 11:01:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1Z2x-00034b-NV for grub-devel@gnu.org; Thu, 29 Mar 2018 11:01:04 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52218) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1Z2x-00032T-H5 for grub-devel@gnu.org; Thu, 29 Mar 2018 11:00:59 -0400 Received: by mail-wm0-f68.google.com with SMTP id v21so11402433wmc.1 for ; Thu, 29 Mar 2018 08:00:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NsyxWHiawpLLyASz8OolWVyZjR1kWarABF5owKpDKUA=; b=qfFF9K5uYDJbusmIdV198ap/j4wVf6aikzLBlgGlWTgIaw2Qr05AP/3kQgjNuOYg61 1niYeJtSUV6ecaUkeLxZVx/yK9HmfoOLibCNZVC8SIM2Gn1jRN3Et6HbPknpoM6K4vKO n7lshPKb0id1k70qtw2Q/0+RmAqm8jT8AdMO6UPidz2WY6uSywZQvAiCsvJtVPd9z+qd io2ycyz5uZUu+kWyz41XJ97QotDFoirhlou98qy6RNC98VRPizjCzKXTeT+hjHJBC0sC H4vqNGXRK7rEHl/bsWHFAfUvW3+cpVFPt4So5NXIJY1mTvzx0PHi0GKtFkONVj+vCzd6 fivQ== X-Gm-Message-State: AElRT7HBfVXgwjuWl+GrbtOA5qXTCYkhHT8RgYgo01EG0zxNal2KyCvm HaCky6bVbwI6h5L+elhh4ldX4w== X-Google-Smtp-Source: AIpwx4/wOJ+olgPu5KG/KWOLrcjnsQrTxXfj12WnuQhsZ0RvgEF998Z8h3hJCtFnd9Nu5Glk4440vQ== X-Received: by 10.28.149.71 with SMTP id x68mr6725291wmd.78.1522335658261; Thu, 29 Mar 2018 08:00:58 -0700 (PDT) Received: from shalem.localdomain (546A5441.cm-12-3b.dynamic.ziggo.nl. [84.106.84.65]) by smtp.gmail.com with ESMTPSA id a63sm7470467wrc.22.2018.03.29.08.00.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 08:00:57 -0700 (PDT) Subject: Re: [PATCH 1/1] Fix PCIe LER when GRUB2 accesses non-enabled MMIO data from VGA To: The development of GNU GRUB , Mike Travis , Daniel Kiper , Tony Ernst References: <20180328164217.055369533@stormcage.americas.sgi.com> <20180328164217.181868854@stormcage.americas.sgi.com> <20180329090251.GA8512@router-fw-old.local.net-space.pl> <20180329092901.4epfxvesctcwnizp@mazu> <20180329093657.GA8913@router-fw-old.local.net-space.pl> <980198ab-0245-ac25-31ee-41ffcfbf0f58@hpe.com> From: Hans de Goede Message-ID: <66da37fd-f861-1d2c-7de3-bde87fa2ae1d@redhat.com> Date: Thu, 29 Mar 2018 17:00:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <980198ab-0245-ac25-31ee-41ffcfbf0f58@hpe.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.68 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: Thu, 29 Mar 2018 15:01:05 -0000 Hi, On 29-03-18 16:27, Mike Travis wrote: > > > On 3/29/2018 2:36 AM, Daniel Kiper wrote: >> On Thu, Mar 29, 2018 at 05:29:01PM +0800, Michael Chang wrote: >>> On Thu, Mar 29, 2018 at 11:02:51AM +0200, Daniel Kiper wrote: >>>> On Wed, Mar 28, 2018 at 11:42:18AM -0500, mike.travis@hpe.com wrote: >>>>> A GPU inserted into a PCIe I/O slot disappears during system startup. >>>>> The problem centers around GRUB and a specific VGA init function in >>>>> efi_uga.c.  This causes an LER (link error recorvery) because the MMIO >>>>> memory has not been enabled before attempting access. >>>>> >>>>> The fix is to add the same coding used in other VGA drivers, specifically >>>>> to add a check to insure that it is indeed a VGA controller.  And then >>>>> enable the MMIO address space with the specific bits. >>>>> >>>>> Signed-off-by: Mike Travis >>>>> Reviewed-by: Michael Chang >>>>> Reviewed-by: Daniel Kiper >>>> >>>> Well, please do not add somebody RB tag if he/she did not explicitly >>>> asked you to do that. And even in that case I was not able to look at >>>> this patch in advance. So, my RB should not be here. Additionally, in >>>> this situation I would like to ask if Michael approved his RB? >>> >>> We did have discussion about the patch before it was submitted upstream but I >>> did not ask for RB as well. >>> >>>> Anyway, patch LGTM except one nitpick. I will apply the patch, in a week or >>>> so, with Michael's RB if I get confirmation that he approved it earlier. >>> >>> As I did not ask for it, it has to be removed. >> >> OK, I will commit this patch without your RB. >> >> Daniel >> > > Sorry, I was not aware of this custom.  I thought that if someone reviewed the code then that was an indication that it should be noted. I am aware of the more restrictive Acked-by which is normally sent by the "acker" to the submitter.  I will be more mindful of this in the future.  (This is my first posting to any of the GNU mail lists). Reviewed-by actually is stronger then Acked-by at least that is what I believe, I've always interpreted these 2 as: Acked-by: foo: Foo took a quick glance at the proposed changes and thinks this is a sensible change Reviewed-by: foo: Foo did a detailed review of the code and did not find any issues Regards, Hans