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.web11.9003.1675426261005921954 for ; Fri, 03 Feb 2023 04:11:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pvPJOFGU; 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 7004B61F09; Fri, 3 Feb 2023 12:11:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BD3DC433EF; Fri, 3 Feb 2023 12:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675426259; bh=kGxe96TLtRb2oUwHdS+ozNx5HiClEzuMfTLdx2SC+uk=; h=From:To:Cc:Subject:Date:From; b=pvPJOFGUcBvK710BUSR4WjSuVhMYaT7pExgK8/IoErUcoU5vhxy0ucTbEtvKtUrie pLn5Hy/OtPnbu85fkrqm9dFNDMggVxnvy+zIsy2+EHiJSY9x6rGeE6dZNzIVojXzfj KClcyTEaX8I54Zbr740rxFovYvCTf9Ba57fNohUptM6+wmGGD5OIn/BxizAUGuH3kH kUmX0eKbc5eFTujHHEkKhv2Gl74Qn0aViH14loVMSzqPbjeTSD2owd/nU8ugP3danA sk+gKx/MFTdh10DzMj9pZJuvj+iRUlDA7vD4mccWF0B4q/3mAv9CWha5pLr91SnY0V iLZsew+Ri7fuQ== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Michael Kinney , Liming Gao , Jiewen Yao , Michael Kubacki , Sean Brogan , Rebecca Cran , Leif Lindholm , Sami Mujawar , Taylor Beebe , =?UTF-8?q?Marvin=20H=C3=A4user?= Subject: [RFC PATCH v2 0/7] enable IBT/BTI codegen and reporting to the OS Date: Fri, 3 Feb 2023 13:10:22 +0100 Message-Id: <20230203121029.2451394-1-ardb@kernel.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable v2:=0D - check instruction opcode at image entry point to decide whether the=0D image was built with forward edge control flow guards=0D - add some cleanup patches for BasePeCoffLib while at it=0D =0D Cc: Michael Kinney =0D Cc: Liming Gao =0D Cc: Jiewen Yao =0D Cc: Michael Kubacki =0D Cc: Sean Brogan =0D Cc: Rebecca Cran =0D Cc: Leif Lindholm =0D Cc: Sami Mujawar =0D Cc: Taylor Beebe =0D Cc: Marvin H=C3=A4user =0D =0D Ard Biesheuvel (7):=0D MdePkg: Update MemoryAttributesTable to v2.10=0D MdePkg/BasePeCoffLib: Move RISC-V definitions out of generic header=0D MdePkg/BasePeCoffLib: Clean up stale Itanium references in comments=0D MdePkg/BasePeCoffLib: Add generic plumbing to detect IBT/BTI support=0D MdePkg/BasePeCoffLib AARCH64: Implement fwd control flow guard=0D detection=0D MdeModulePkg: Enable forward edge CFI in mem attributes table=0D ArmVirtPkg: Implement BTI for runtime regions=0D =0D ArmVirtPkg/ArmVirt.dsc.inc | 6 ++++=0D MdeModulePkg/Core/Dxe/DxeMain.h | 2 ++=0D MdeModulePkg/Core/Dxe/Image/Image.c | 9 +++++=0D MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c | 8 ++++-=0D MdePkg/Include/Guid/MemoryAttributesTable.h | 8 +++--=0D MdePkg/Include/Library/PeCoffLib.h | 5 +++=0D MdePkg/Library/BasePeCoffLib/{ =3D> AArch64}/PeCoffLoaderEx.c | 36 +++++++= ++++++++-----=0D MdePkg/Library/BasePeCoffLib/Arm/PeCoffLoaderEx.c | 16 +++++++++= =0D MdePkg/Library/BasePeCoffLib/BasePeCoff.c | 9 +++--=0D MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | 5 ++-=0D MdePkg/Library/BasePeCoffLib/BasePeCoffLibInternals.h | 30 ++++++++-= -------=0D MdePkg/Library/BasePeCoffLib/LoongArch/PeCoffLoaderEx.c | 16 +++++++++= =0D MdePkg/Library/BasePeCoffLib/PeCoffLoaderEx.c | 27 +++++++++= ++----=0D MdePkg/Library/BasePeCoffLib/RiscV/PeCoffLoaderEx.c | 25 +++++++++= +++++=0D 14 files changed, 167 insertions(+), 35 deletions(-)=0D copy MdePkg/Library/BasePeCoffLib/{ =3D> AArch64}/PeCoffLoaderEx.c (64%)=0D =0D -- =0D 2.39.1=0D =0D