powerpc/book3s64/kuep: Use Key 3 to implement KUEP with hash translation.
Radix use IAMR Key 0 and hash translation use IAMR key 3. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Reviewed-by: Sandipan Das <sandipan@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201127044424.40686-19-aneesh.kumar@linux.ibm.com
This commit is contained in:
Родитель
fa46c2fa6f
Коммит
292f86c4c6
|
@ -7,7 +7,7 @@
|
|||
|
||||
#define AMR_KUAP_BLOCK_READ UL(0x5455555555555555)
|
||||
#define AMR_KUAP_BLOCK_WRITE UL(0xa8aaaaaaaaaaaaaa)
|
||||
#define AMR_KUEP_BLOCKED (1UL << 62)
|
||||
#define AMR_KUEP_BLOCKED UL(0x5455555555555555)
|
||||
#define AMR_KUAP_BLOCKED (AMR_KUAP_BLOCK_READ | AMR_KUAP_BLOCK_WRITE)
|
||||
|
||||
#ifdef __ASSEMBLY__
|
||||
|
|
Загрузка…
Ссылка в новой задаче