XD (bit 63) is only for the first level, and SNP (bit 11) is only for second level, right? IOops, I made a mistake here. Please forget SNP bit, there is no way to control SNP
think we need to always set XD bit for IOVA over FL case. thoughts?
with first level page table.:-)
Actually, it is execute (bit 1) of second level page table which I wanted to say.
If software sets R/W/X permission to an IOVA, with IOVA over second level
page table, it will set bit 1. However, if IOVA is over first level page table, it
may need to clear XD bit. This is what I want to say here. If IOVA doesnât allow
execute permission, it's ok to always set XD bit for IOVA over FL case. But I
would like to do it just as what we did for R/W permission. R/W permission
relies on the permission configured by the page map caller. right?