iommu/io-pgtable-arm: Make data access permissions of stage1/2 compatible
virt inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I401IF CVE: NA ------------------------------ The data access permission bits of stage 2 (S2AP[1:0])are different from stage 1 (AP[2:1]). For stage 2, S2AP[1] controls write and S2AP[0] controls read. AP[1] selects between Application level(EL0) control and the higher Exception level control, and AP[2] selects between read-only and read/write access. These differences need to be eliminated. Signed-off-by:Kunkun Jiang <jiangkunkun@huawei.com> Reviewed-by:
Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment