Home
last modified time | relevance | path

Searched hist:"41 f5189ea9c08f7fc28340a7aefc93d0d2dcb769" (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/kvm/include/aarch64/
H A Dprocessor.hdiff 41f5189ea9c08f7fc28340a7aefc93d0d2dcb769 Mon Oct 17 21:58:24 CEST 2022 Ricardo Koller <ricarkol@google.com> KVM: selftests: aarch64: Construct DEFAULT_MAIR_EL1 using sysreg.h macros

Define macros for memory type indexes and construct DEFAULT_MAIR_EL1
with macros from asm/sysreg.h. The index macros can then be used when
constructing PTEs (instead of using raw numbers).

Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Ricardo Koller <ricarkol@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221017195834.2295901-5-ricarkol@google.com
/linux/tools/testing/selftests/kvm/lib/aarch64/
H A Dprocessor.cdiff 41f5189ea9c08f7fc28340a7aefc93d0d2dcb769 Mon Oct 17 21:58:24 CEST 2022 Ricardo Koller <ricarkol@google.com> KVM: selftests: aarch64: Construct DEFAULT_MAIR_EL1 using sysreg.h macros

Define macros for memory type indexes and construct DEFAULT_MAIR_EL1
with macros from asm/sysreg.h. The index macros can then be used when
constructing PTEs (instead of using raw numbers).

Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Ricardo Koller <ricarkol@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221017195834.2295901-5-ricarkol@google.com