diff options
author | Ricardo Koller <[email protected]> | 2022-10-17 19:58:24 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-10 19:10:27 +0000 |
commit | 41f5189ea9c08f7fc28340a7aefc93d0d2dcb769 (patch) | |
tree | 1eaa5e90f2540c805ab921e4ddf0e8b17cd0bc76 /lib/mpi/mpi-sub-ui.c | |
parent | b6b03b86c0250a80b671313dbc0d7bcdbab78f41 (diff) |
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 <[email protected]>
Reviewed-by: Oliver Upton <[email protected]>
Signed-off-by: Ricardo Koller <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions