From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web11.3969.1572516891211750777 for ; Thu, 31 Oct 2019 03:14:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cwhGNI+b; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572516890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LTaS/5It3waGKXjY0wMS67rhunoI61ma+212y8Ekz+w=; b=cwhGNI+bK3iYwTwYVxr+xA00mYsy21Bl1kIFkYhFgrN02fK9TJqltg3rnzk0g/CAurOczX lPJlOj4U4FUFY9jG67NM1f+tEvROKaX1KhiutiolwLquNMOtG89ics6PrBFOV6D0ZzTGCk tSnDaa2rkZqq5ONSz6v+S4foiUA4k/k= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-362-ZHRI3sHQPxKiiC2UkQxuxw-1; Thu, 31 Oct 2019 06:14:48 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 785A71800D56; Thu, 31 Oct 2019 10:14:47 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-117-6.ams2.redhat.com [10.36.117.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0DE666683C; Thu, 31 Oct 2019 10:14:45 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH] Support skipping automatic BM enumeration To: devel@edk2.groups.io, ashishsingha@nvidia.com, jian.j.wang@intel.com, hao.a.wu@intel.com, Ray Ni , Zhichao Gao References: From: "Laszlo Ersek" Message-ID: <1b91c052-f64c-1dca-98ff-a2777afd7f77@redhat.com> Date: Thu, 31 Oct 2019 11:14:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: ZHRI3sHQPxKiiC2UkQxuxw-1 X-Mimecast-Spam-Score: 0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable +Ray, +Zhichao (although, the actual patch seems to be missing from the posting) Thanks Laszlo On 10/30/19 04:47, Ashish Singhal wrote: > Right now, any and every handle with a BlockIO or SimpleFileSystem or > LoadFile protocol installed on the system is used to enumerate BM > automatically. There may be cases where on a platform, some of these > are not desirable to be enumerated automatically. This patch adds > support for skipping this automatic enumeration if on the same handle, > a new protocol defined as EdkiiSkipBmAutoEnumerate is found to be install= ed. >=20 > Ashish Singhal (1): > MdeModulePkg/UefiBootManagerLib: Support skipping BM enumeration >=20 > .../Include/Protocol/SkipBmAutoEnumerate.h | 25 ++++++++++++++ > MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 40 ++++++++++++++++= +++++- > .../Library/UefiBootManagerLib/InternalBm.h | 1 + > .../UefiBootManagerLib/UefiBootManagerLib.inf | 1 + > MdeModulePkg/MdeModulePkg.dec | 3 ++ > 5 files changed, 69 insertions(+), 1 deletion(-) > create mode 100644 MdeModulePkg/Include/Protocol/SkipBmAutoEnumerate.h >=20