From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web10.6536.1588078094557871707 for ; Tue, 28 Apr 2020 05:48:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fDaLPUCE; spf=pass (domain: redhat.com, ip: 207.211.31.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588078093; 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=04wqz3SHRJzIgz9l4cGtlGf59MiHr4rjzpu0IrceigI=; b=fDaLPUCEtR1AX97BGe9AIaEAk7YL/b38P/KN4bSEZEUSIykqQsH+ybFd1Q8VcZ+uCDwEnp 9mMTKnGcb6eeqRpRobUBmcN/od43qfyzPt+0ee2igF+seXgDxNxVQn78i71ia4qoSp736o 2dvcWoVLAhMUvqUHGFCwakFTtiLwyzU= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-319-rICqgRdAMWK5wByqK8CE1A-1; Tue, 28 Apr 2020 08:48:12 -0400 X-MC-Unique: rICqgRdAMWK5wByqK8CE1A-1 Received: by mail-wr1-f69.google.com with SMTP id r17so12258493wrg.19 for ; Tue, 28 Apr 2020 05:48:11 -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:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QaVefPd9CWVXsrpfWx5aiWIrRJsDjWj4cnEp/mTWMh8=; b=DuwsVhB3wt2WZA9NZE8oJmd61Dj6aKwsp9nHR/zoyBb+xEzuEz3Oebqbo0WgPlJgpu LKSKMRpRsSMXdy0RFk3q3I2OplPIWz2msfpW+rnKkGiLKpJmFidUa+Shailgcg2zYEwR TUQLewIbTOmkqaf40OJOiuoBfnIslxZTIxWJnXCE9j42PY8s56Zh6gQ55z4VJm1qz2Af ChFntIWWW+nHgC7a0SyDzLlKIQUPzH057m2FBU5fXUOCglzrzkEIa/pJEgi5v9VrdT3E YMvisroaysCFWEb1M6k1yJOxDrMygbaGVsjo9gtNs3LC3T0RjiaPvexvoRo3D/sSrfSB 15Xw== X-Gm-Message-State: AGi0PuZQFVjGEeRy8NwoDMSSLlsmTpWEpY3OFYeVuEgQ+9HfC1Urt6QD qPeYTJcwFzEOqxxNyuXTsQZ6yBy0KBiYlgGrUxhqJxz78CIK6BzJG2MalAW4LohM/8aopvD0Sfg xmCdf9h17A3amGA== X-Received: by 2002:a05:600c:210:: with SMTP id 16mr4249737wmi.57.1588078091072; Tue, 28 Apr 2020 05:48:11 -0700 (PDT) X-Google-Smtp-Source: APiQypJIJOQxrZ3lXzO6jrTywtAekBGDvKzIXhL1o1Y0hSMdMWZ0hnCTbF3aUlimVPXsYgV7/Ej4fw== X-Received: by 2002:a05:600c:210:: with SMTP id 16mr4249713wmi.57.1588078090868; Tue, 28 Apr 2020 05:48:10 -0700 (PDT) Return-Path: Received: from [192.168.1.39] (137.red-88-21-205.staticip.rima-tde.net. [88.21.205.137]) by smtp.gmail.com with ESMTPSA id w83sm3337903wmb.37.2020.04.28.05.48.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Apr 2020 05:48:10 -0700 (PDT) Subject: Re: [PATCH 6/7] ArmVirtPkg/QemuFwCfgLib: allow UEFI_DRIVER modules To: Laszlo Ersek , edk2-devel-groups-io Cc: Ard Biesheuvel , Leif Lindholm , Per Sundstrom References: <20200424075353.8489-1-lersek@redhat.com> <20200424075353.8489-7-lersek@redhat.com> From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Message-ID: Date: Tue, 28 Apr 2020 14:48:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200424075353.8489-7-lersek@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 4/24/20 9:53 AM, Laszlo Ersek wrote: > We don't distribute UEFI_DRIVER modules stand-alone that were built as > part of an ArmVirtQemu* platform. ArmVirtQemu* UEFI_DRIVERs are allowed t= o > inherit platform dependencies. >=20 > By enabling UEFI_DRIVERs to consume QemuFwCfgLib, we can hook fw_cfg-base= d > NULL class libraries into UEFI drivers, e.g. in order to set dynamic PCDs= . >=20 > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Cc: Per Sundstrom > Cc: Philippe Mathieu-Daud=C3=A9 > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2681 > Signed-off-by: Laszlo Ersek > --- > ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf b/ArmVirtPk= g/Library/QemuFwCfgLib/QemuFwCfgLib.inf > index 4d27d7d30bd3..feceed5f9341 100644 > --- a/ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf > +++ b/ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf > @@ -15,7 +15,7 @@ [Defines] > FILE_GUID =3D B271F41F-B841-48A9-BA8D-545B4BC2E2= BF > MODULE_TYPE =3D BASE > VERSION_STRING =3D 1.0 > - LIBRARY_CLASS =3D QemuFwCfgLib|DXE_DRIVER > + LIBRARY_CLASS =3D QemuFwCfgLib|DXE_DRIVER UEFI_DRIVER > =20 > CONSTRUCTOR =3D QemuFwCfgInitialize > =20 >=20 Reviewed-by: Philippe Mathieu-Daude