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.68435.1675722069375912705 for ; Mon, 06 Feb 2023 14:21:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UT4exevV; 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 86DFA60F73; Mon, 6 Feb 2023 22:21:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA16FC433D2; Mon, 6 Feb 2023 22:21:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675722067; bh=zeAJTfqj+Gn/KbVOZ1N0evSNVzz0rZ1L7zi/RwXzeQE=; h=From:To:Cc:Subject:Date:From; b=UT4exevVSboKPYldO83f2Rji8xLaE+r6TIPI9EU3OJAtZWtqJAC2oYyh9pQ17WhCe RwfLciztyN3UGk6DM1UBysMzMPfEVbGdhdETsf2ns3IRCB0gr5CQ0hb3zMaZv07LxZ mWfZOr8qP2rDNx6Sxs43XgloAfaYePAt2Zs6DCK2iEOzLfXV1pFgQB2Kxebi90blfK w1b4HrRULARb6ax3pO7oKDB/4YA1B60z0TU8otojHJ0EY1S8p1vwdBWacgscPr21oT uRnXG52wVk/zvyT98CYFnQm5l77HPE0v5EmgIvFOlFVIcCmtHLmMlr+bbPMNva0HzO NfnTlklRgbQYQ== 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 Subject: [PATCH v3 0/5] ArmPkg: implement EFI memory attributes protocol Date: Mon, 6 Feb 2023 23:20:55 +0100 Message-Id: <20230206222100.411169-1-ardb@kernel.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable v3:=0D - fix ARM32 bug in attribute conversion=0D - add Liming's ack to patch #1=0D - include draft patch (NOT FOR MERGE) used to test the changes=0D =0D v2:=0D - drop patch to bump exposed UEFI revision to v2.10=0D - add missing permitted return values to protocol definition=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 =0D Ard Biesheuvel (5):=0D MdePkg: Add Memory Attribute Protocol definition=0D ArmPkg/CpuDxe ARM: Fix page-to-section attribute conversion=0D ArmPkg/CpuDxe: Expose unified region-to-EFI attribute conversion=0D ArmPkg/CpuDxe: Implement EFI memory attributes protocol=0D (NOT FOR MERGE) MdeModulePkg/DxeCore: add DEBUG code for memory attribute= handling=0D =0D ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c | 8 +=0D ArmPkg/Drivers/CpuDxe/Arm/Mmu.c | 16 ++=0D ArmPkg/Drivers/CpuDxe/CpuDxe.c | 2 +=0D ArmPkg/Drivers/CpuDxe/CpuDxe.h | 8 +=0D ArmPkg/Drivers/CpuDxe/CpuDxe.inf | 2 +=0D ArmPkg/Drivers/CpuDxe/MemoryAttribute.c | 252 ++++++++++++++++++++=0D ArmPkg/Include/Chipset/ArmV7Mmu.h | 2 +=0D MdeModulePkg/Core/Dxe/DxeMain.inf | 1 +=0D MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 79 +++++-=0D MdePkg/Include/Protocol/MemoryAttribute.h | 142 +++++++++++=0D MdePkg/MdePkg.dec | 3 +=0D 11 files changed, 512 insertions(+), 3 deletions(-)=0D create mode 100644 ArmPkg/Drivers/CpuDxe/MemoryAttribute.c=0D create mode 100644 MdePkg/Include/Protocol/MemoryAttribute.h=0D =0D -- =0D 2.39.1=0D =0D