Re: [PATCH RFC v2 0/2] Handle UEFI NX-restricted page tables

From: baskov
Date: Thu Mar 17 2022 - 09:26:45 EST


On 2022-03-03 23:47, Matthew Garrett wrote:

Ok. I think this should really go through the UEFI spec process - I
agree that from a strict interpretation of the spec, what this firmware
is doing is legitimate, but I don't like having a situation where we
have to depend on the DXE spec.

How does Windows handle this? Just update the page tables itself for any
regions it needs during boot?

Sorry for delay.

Windows is closed source, so we cannot give guarantees on its
behavior, but this is our belief regarding its behavior.
Added Bret Barkelew (bret.barkelew@xxxxxxxxxxxxx)
to the CC-list in case he can add something.

Regarding the spec changes, we agree it is reasonable,
but whether the spec changes or not it will take some time
to update the edk2.

Our first solution was safer in regards to the use of the services,
yet as Ard suggested, using DXE services is much cleaner
as long as it works.

We can post it to edk2-devel, but our opinion
is that these issues are independent.

Thanks,
Baskov Evgeniy