From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.5227.1625135981630044063 for ; Thu, 01 Jul 2021 03:39:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SmID+VzT; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625135980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g+7UGCqyhoun6FqHgUFK9IY+eEQrQTp14Cc4PBEX0V8=; b=SmID+VzThYKYg4a09+1isSssfepNXM7vJAr9mhGchj5U5ZvljGaAAJ4AXo5Kao0pIKnspc CBVKx/s3HSvhbIL7ey27CFx4C5ekUFWYdDUtED+JGXDNofDiIYGm9OVCt0P+jFATcGREFM fg78mbtC4y1+YBz9hWRZ3NDfMvXrtfw= 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-468-CymrCBTvOsCdbcAjgAt3yw-1; Thu, 01 Jul 2021 06:39:37 -0400 X-MC-Unique: CymrCBTvOsCdbcAjgAt3yw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 05FFD804140; Thu, 1 Jul 2021 10:39:34 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-113-190.ams2.redhat.com [10.36.113.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 25CFF5DA60; Thu, 1 Jul 2021 10:39:26 +0000 (UTC) Subject: Re: [PATCH v5 02/10] ArmVirtPkg: add SecureBootVariableLib class resolution To: Grzegorz Bernacki , devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, Samer.El-Haj-Mahmoud@arm.com, sunny.Wang@arm.com, mw@semihalf.com, upstream@semihalf.com, jiewen.yao@intel.com, jian.j.wang@intel.com, min.m.xu@intel.com, sami.mujawar@arm.com, afish@apple.com, ray.ni@intel.com, jordan.l.justen@intel.com, rebecca@bsdio.com, grehan@freebsd.org, thomas.abraham@arm.com, chasel.chiu@intel.com, nathaniel.l.desimone@intel.com, gaoliming@byosoft.com.cn, eric.dong@intel.com, michael.d.kinney@intel.com, zailiang.sun@intel.com, yi.qian@intel.com, graeme@nuviainc.com, rad@semihalf.com, pete@akeo.ie References: <20210701091758.1057485-1-gjb@semihalf.com> <20210701091758.1057485-3-gjb@semihalf.com> From: "Laszlo Ersek" Message-ID: Date: Thu, 1 Jul 2021 12:39:25 +0200 MIME-Version: 1.0 In-Reply-To: <20210701091758.1057485-3-gjb@semihalf.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 07/01/21 11:17, Grzegorz Bernacki wrote: > The edk2 patch > SecurityPkg: Create library for setting Secure Boot variables. > > moves generic functions from SecureBootConfigDxe and places > them into SecureBootVariableLib. This patch adds SecureBootVariableLib > mapping for ArmVirtPkg platform. > > Signed-off-by: Grzegorz Bernacki > --- > ArmVirtPkg/ArmVirt.dsc.inc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc > index d9abadbe70..11c1f53537 100644 > --- a/ArmVirtPkg/ArmVirt.dsc.inc > +++ b/ArmVirtPkg/ArmVirt.dsc.inc > @@ -168,6 +168,7 @@ > # > !if $(SECURE_BOOT_ENABLE) == TRUE > AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf > + SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf > > # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree > PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf > Reviewed-by: Laszlo Ersek