Re: [edk2] [PATCH] MdeModulePkg/DxeIplPeim: fix incorrect page table split during protecting

2017-12-14 Thread Zeng, Star
Reviewed-by: Star Zeng -Original Message- From: Wang, Jian J Sent: Friday, December 15, 2017 10:39 AM To: edk2-devel@lists.01.org Cc: Ni, Ruiyu ; Zeng, Star ; Dong, Eric Subject: [PATCH] MdeModulePkg/DxeIplPeim: fix incorrect page table split during protecting The root cause of this

[edk2] [PATCH] MdeModulePkg/DxeIplPeim: fix incorrect page table split during protecting

2017-12-14 Thread Jian J Wang
The root cause of this issue is that, during splitting page table, the page size should be the value of next level (smaller one) instead of current level. The wrong page size will then cause wrong page table introduced, which will break the normal boot. Validation works include booting to Windows