On Mon, Jan 12, 2015 at 01:46:47PM +0100, Andrew Jones wrote: > Cleanup XN/PXN handling in get_phys_addr_lpae, and implement all but > EL2 support of the following ARMv8 sections > > D4.5.1 Memory access control: Access permissions for instruction > execution > G4.7.2 Execute-never restrictions on instruction fetching > > G4.7.2 matches the ARMv7 section B3.7.2 when long-descriptors are used. > > Signed-off-by: Andrew Jones <drjo...@redhat.com> >
While confirming the documentation wasn't wrong (it wasn't), I see I missed another issue with qemu's instruction execution control. For AArch64, EL0 can execute code even if it doesn't have R/W access, i.e. AP[1]=0. To make this fix more clear I've done it in a separate patch, and then rebased this patch on that. Thus, please drop this patch, as I'll send a 2-patch patch series now that replaces it. drew