Re: [edk2-devel] [PATCH v2 0/2] UEFI memmap workaround for hiding page-access caps from OSes hides SP and CRYPTO caps too

2020-10-02 Thread Malgorzata Kukiello
ent to describe this behavior? > > Thanks > Liming > > -邮件原件- > > 发件人: bounce+27952+65566+4905953+8761...@groups.io > > 代表 Malgorzata > Kukiello > > 发送时间: 2020年9月24日 18:22 > > 收件人: devel@edk2.groups.io > > 抄送: Malgorzata Kukiello ; Michael D Ki

Re: [edk2-devel] [PATCH v2 0/2] UEFI memmap workaround for hiding page-access caps from OSes hides SP and CRYPTO caps too

2020-09-28 Thread Malgorzata Kukiello
OS (Windows or Linux) behavior for SP and CRYPTO attribute? Is there the public document to describe this behavior? Thanks Liming > -邮件原件- > 发件人: bounce+27952+65566+4905953+8761...@groups.io > 代表 Malgorzata Kukiello > 发送时间: 2020年9月24日 18:22 > 收件人: devel@edk2.groups.io &

[edk2-devel] [PATCH v2 2/2] MdeModulePkg/Core/Dxe: expose SP and CRYPTO capabilities in UEFI memmap

2020-09-24 Thread Malgorzata Kukiello
in 3bd5c994c879f78e8e3d5346dc3b627f199291aa Signed-off-by: Malgorzata Kukiello Cc: Jian J Wang Cc: Hao A Wu Cc: Dandan Bi Cc: Liming Gao Cc: Oleksiy Yakovlev Cc: Ard Biesheuvel (ARM address) --- MdeModulePkg/Core/Dxe/Mem/Page.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[edk2-devel] [PATCH v2 1/2] MdePkg/UefiSpec: separate page access bitmask from SP and CRYPTO caps

2020-09-24 Thread Malgorzata Kukiello
that we use for hiding the page-access attributes. Common mask for ATTRIBUTES was introduced in 3bd5c994c879f78e8e3d5346dc3b627f199291aa Signed-off-by: Malgorzata Kukiello Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Oleksiy Yakovlev Cc: Ard Biesheuvel (ARM address) --- MdePkg

[edk2-devel] [PATCH v2 0/2] UEFI memmap workaround for hiding page-access caps from OSes hides SP and CRYPTO caps too

2020-09-24 Thread Malgorzata Kukiello
as capabilities, and not as currently set attributes (upon which the OSes should set their page tables). For this reason, the SP and CRYPTO bits should be separated from the bitmask that we use for hiding the page-access attributes, in the workaround Signed-off-by: Malgorzata Kukiello Cc: Michael D

[edk2-devel] [PATCH] MdeModulePkg/Mem: Memory paging related attributes must be separated from others

2020-09-23 Thread Malgorzata Kukiello
-by: Malgorzata Kukiello --- MdeModulePkg/Core/Dxe/Mem/Page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c index 2c2c9cd6c3..9254afb92b 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Page.c +++ b/MdeModulePkg/Core/Dxe/Mem/Page.c

[edk2-devel] [PATCH] MdeModulePkg/Mem: Memory paging related attributes must be separated from others

2020-09-23 Thread Malgorzata Kukiello
-by: Malgorzata Kukiello --- MdePkg/Include/Uefi/UefiSpec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 05b82e0be1..2b1b72d862 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h