From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.19949.1674578065682222187 for ; Tue, 24 Jan 2023 08:34:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FcUkLFJ9; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B05D8612AC; Tue, 24 Jan 2023 16:34:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C29BCC433EF; Tue, 24 Jan 2023 16:34:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674578064; bh=rAwlkXzT7VMsjdtmSBG1PzG23sBcYDz/1uXG+T4cTUY=; h=From:To:Cc:Subject:Date:From; b=FcUkLFJ9gLyfjBumrdkHBTx7en+iFuZ0lG4LyWm/bYTUn7c0tp6Y4p4JCMIKViE/u yykNN5HrxWddEHsfkFXIzEzbX8OM0+8/03UoLT1ngYafrYRcyIsbtYrkbaMTKEMg5I pGV8/bBCuvqOUo58NR5n6WFi5TkQ/Jc7LOSkhyqCkKT8oBLC9qWbq+FtSGWNvNrXVQ fMa9OGau2jF+6oADq7Nj7C7GP/2CktWzn22mdWva8ibalneNx2/0o/ByLRWSmx4T4J DXD5gEk3Fh1SyFPDzaPzjRWzKix3HwqlSqRJoNQav6lf8W0jUGhAtL1hWU7Sgba+7u HFp1xGsZad/uA== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Gerd Hoffmann , Michael Kubacki , Jiewen Yao , Oliver Steffen Subject: [PATCH v2 0/6] ArmVirtPkg: Increase PlatformCI coverage Date: Tue, 24 Jan 2023 17:34:11 +0100 Message-Id: <20230124163417.584727-1-ardb@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable We recently experienced some build breakage in one of the ArmVirtPkg=0D platforms that is not covered by PlatformCI, in the PrePi component=0D which replaces the entire PEI stage. This component is now also being=0D used in TDVF, and so any modifications to it may regress the existing=0D users.=0D =0D So add build and boot tests of ArmVirtQemuKernel (which is a version of=0D ArmVirtQemu which can be loaded as a loadable image instead of executing=0D from [emulated] NOR flash), and a build test of ArmVirtKvmTool, which is=0D also based on PrePi and runs under the kvmtool VMM. To further increase=0D coverage, enable secure boot, TPM support and HTTP(s) boot support when=0D building ArmVirtQemu for AARCH64.=0D =0D Changes since v1:=0D - factor out common pieces into PlatformBuildLib.py, as suggested by=0D Gerd=0D =0D Patches #1 and #2 fix existing boot regressions, which hadn't been=0D reported yet.=0D =0D Cc: Gerd Hoffmann =0D Cc: Michael Kubacki =0D Cc: Jiewen Yao =0D Cc: Oliver Steffen =0D =0D Ard Biesheuvel (6):=0D ArmVirtPkg/PrePi: Ensure timely execution of library constructors=0D ArmVirtPkg/ArmVirtQemu: enlarge initial flash mapping=0D ArmVirtPkg/PlatformCI: factor out reusable PlatformBuildLib.py=0D ArmVirtPkg/PlatformCI: Enable optional features on Qemu AARCH64 builds=0D ArmVirtPkg/PlatformCI: Add CI coverage for ArmVirtQemuKernel=0D ArmVirtPkg/PlatformCI: Perform build test of ArmVirtKvmTool=0D =0D ArmVirtPkg/Library/ArmPlatformLibQemu/IdMap.S | 4 +-=0D ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 86 +++++= +++++++++++++--=0D ArmVirtPkg/PlatformCI/KvmToolBuild.py | 32 +++++= +++=0D ArmVirtPkg/PlatformCI/{PlatformBuild.py =3D> PlatformBuildLib.py} | 23 +--= ---=0D ArmVirtPkg/PlatformCI/QemuBuild.py | 34 +++++= +++=0D ArmVirtPkg/PlatformCI/QemuKernelBuild.py | 35 +++++= +++=0D ArmVirtPkg/PrePi/PrePi.c | 6 +-=0D 7 files changed, 188 insertions(+), 32 deletions(-)=0D create mode 100644 ArmVirtPkg/PlatformCI/KvmToolBuild.py=0D rename ArmVirtPkg/PlatformCI/{PlatformBuild.py =3D> PlatformBuildLib.py} (= 89%)=0D create mode 100644 ArmVirtPkg/PlatformCI/QemuBuild.py=0D create mode 100644 ArmVirtPkg/PlatformCI/QemuKernelBuild.py=0D =0D -- =0D 2.39.0=0D =0D