KVM_REG_SIZE_U32 172 arch/arm/include/uapi/asm/kvm.h #define ARM_CP15_REG32(...) (__ARM_CP15_REG(__VA_ARGS__) | KVM_REG_SIZE_U32) KVM_REG_SIZE_U32 724 arch/arm/kvm/coproc.c case KVM_REG_SIZE_U32: KVM_REG_SIZE_U32 1067 arch/arm/kvm/coproc.c const u64 u32reg = KVM_REG_ARM | KVM_REG_SIZE_U32 | KVM_REG_ARM_VFP; KVM_REG_SIZE_U32 1277 arch/arm/kvm/coproc.c u64 val = KVM_REG_ARM | KVM_REG_SIZE_U32 | KVM_REG_ARM_DEMUX; KVM_REG_SIZE_U32 1306 arch/arm/kvm/coproc.c val |= KVM_REG_SIZE_U32; KVM_REG_SIZE_U32 180 arch/arm/kvm/guest.c const u64 core_reg = KVM_REG_ARM | KVM_REG_SIZE_U32 | KVM_REG_ARM_CORE; KVM_REG_SIZE_U32 468 arch/arm64/kvm/guest.c reg |= KVM_REG_SIZE_U32; KVM_REG_SIZE_U32 2613 arch/arm64/kvm/sys_regs.c u64 val = KVM_REG_ARM64 | KVM_REG_SIZE_U32 | KVM_REG_ARM_DEMUX; KVM_REG_SIZE_U32 28 arch/mips/include/asm/kvm_host.h (KVM_REG_MIPS_CP0 | KVM_REG_SIZE_U32 | (8 * (_R) + (_S))) KVM_REG_SIZE_U32 184 arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_FPR_32(n) (KVM_REG_MIPS_FPR | KVM_REG_SIZE_U32 | (n)) KVM_REG_SIZE_U32 191 arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_FCR_IR (KVM_REG_MIPS_FCR | KVM_REG_SIZE_U32 | 0) KVM_REG_SIZE_U32 192 arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_FCR_CSR (KVM_REG_MIPS_FCR | KVM_REG_SIZE_U32 | 31) KVM_REG_SIZE_U32 197 arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_MSA_IR (KVM_REG_MIPS_MSACR | KVM_REG_SIZE_U32 | 0) KVM_REG_SIZE_U32 198 arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_MSA_CSR (KVM_REG_MIPS_MSACR | KVM_REG_SIZE_U32 | 1) KVM_REG_SIZE_U32 742 arch/mips/kvm/mips.c } else if ((reg->id & KVM_REG_SIZE_MASK) == KVM_REG_SIZE_U32) { KVM_REG_SIZE_U32 770 arch/mips/kvm/mips.c } else if ((reg->id & KVM_REG_SIZE_MASK) == KVM_REG_SIZE_U32) { KVM_REG_SIZE_U32 507 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DSISR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xd) KVM_REG_SIZE_U32 520 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC1 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x18) KVM_REG_SIZE_U32 521 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC2 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x19) KVM_REG_SIZE_U32 522 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC3 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1a) KVM_REG_SIZE_U32 523 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC4 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1b) KVM_REG_SIZE_U32 524 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC5 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1c) KVM_REG_SIZE_U32 525 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC6 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1d) KVM_REG_SIZE_U32 526 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC7 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1e) KVM_REG_SIZE_U32 527 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC8 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1f) KVM_REG_SIZE_U32 552 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_VSCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x81) KVM_REG_SIZE_U32 560 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_EPCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x85) KVM_REG_SIZE_U32 561 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_EPR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x86) KVM_REG_SIZE_U32 564 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_OR_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x87) KVM_REG_SIZE_U32 565 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_CLEAR_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x88) KVM_REG_SIZE_U32 566 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x89) KVM_REG_SIZE_U32 567 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8a) KVM_REG_SIZE_U32 570 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DEBUG_INST (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8b) KVM_REG_SIZE_U32 573 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS0 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8c) KVM_REG_SIZE_U32 574 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS1 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8d) KVM_REG_SIZE_U32 577 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS4 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x90) KVM_REG_SIZE_U32 578 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS6 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x91) KVM_REG_SIZE_U32 579 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MMUCFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x92) KVM_REG_SIZE_U32 584 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB0CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x93) KVM_REG_SIZE_U32 585 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB1CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x94) KVM_REG_SIZE_U32 586 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB2CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x95) KVM_REG_SIZE_U32 587 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB3CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x96) KVM_REG_SIZE_U32 588 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB0PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x97) KVM_REG_SIZE_U32 589 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB1PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x98) KVM_REG_SIZE_U32 590 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB2PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x99) KVM_REG_SIZE_U32 591 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB3PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9a) KVM_REG_SIZE_U32 592 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_EPTCFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9b) KVM_REG_SIZE_U32 598 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_SPMC1 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9d) KVM_REG_SIZE_U32 599 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_SPMC2 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9e) KVM_REG_SIZE_U32 605 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PSPB (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xa4) KVM_REG_SIZE_U32 622 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_VRSAVE (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb4) KVM_REG_SIZE_U32 623 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_LPCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb5) KVM_REG_SIZE_U32 628 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_ARCH_COMPAT (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb7) KVM_REG_SIZE_U32 630 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DABRX (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb8) KVM_REG_SIZE_U32 633 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DBSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xbb) KVM_REG_SIZE_U32 640 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_ONLINE (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xbf) KVM_REG_SIZE_U32 663 arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TM_VSCR (KVM_REG_PPC_TM | KVM_REG_SIZE_U32 | 0x67) KVM_REG_SIZE_U32 279 arch/s390/include/uapi/asm/kvm.h #define KVM_REG_S390_TODPR (KVM_REG_S390 | KVM_REG_SIZE_U32 | 0x1) KVM_REG_SIZE_U32 172 tools/arch/arm/include/uapi/asm/kvm.h #define ARM_CP15_REG32(...) (__ARM_CP15_REG(__VA_ARGS__) | KVM_REG_SIZE_U32) KVM_REG_SIZE_U32 166 tools/arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_FPR_32(n) (KVM_REG_MIPS_FPR | KVM_REG_SIZE_U32 | (n)) KVM_REG_SIZE_U32 173 tools/arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_FCR_IR (KVM_REG_MIPS_FCR | KVM_REG_SIZE_U32 | 0) KVM_REG_SIZE_U32 174 tools/arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_FCR_CSR (KVM_REG_MIPS_FCR | KVM_REG_SIZE_U32 | 31) KVM_REG_SIZE_U32 179 tools/arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_MSA_IR (KVM_REG_MIPS_MSACR | KVM_REG_SIZE_U32 | 0) KVM_REG_SIZE_U32 180 tools/arch/mips/include/uapi/asm/kvm.h #define KVM_REG_MIPS_MSA_CSR (KVM_REG_MIPS_MSACR | KVM_REG_SIZE_U32 | 1) KVM_REG_SIZE_U32 507 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DSISR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xd) KVM_REG_SIZE_U32 520 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC1 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x18) KVM_REG_SIZE_U32 521 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC2 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x19) KVM_REG_SIZE_U32 522 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC3 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1a) KVM_REG_SIZE_U32 523 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC4 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1b) KVM_REG_SIZE_U32 524 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC5 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1c) KVM_REG_SIZE_U32 525 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC6 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1d) KVM_REG_SIZE_U32 526 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC7 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1e) KVM_REG_SIZE_U32 527 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PMC8 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x1f) KVM_REG_SIZE_U32 552 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_VSCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x81) KVM_REG_SIZE_U32 560 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_EPCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x85) KVM_REG_SIZE_U32 561 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_EPR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x86) KVM_REG_SIZE_U32 564 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_OR_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x87) KVM_REG_SIZE_U32 565 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_CLEAR_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x88) KVM_REG_SIZE_U32 566 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x89) KVM_REG_SIZE_U32 567 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8a) KVM_REG_SIZE_U32 570 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DEBUG_INST (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8b) KVM_REG_SIZE_U32 573 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS0 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8c) KVM_REG_SIZE_U32 574 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS1 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8d) KVM_REG_SIZE_U32 577 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS4 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x90) KVM_REG_SIZE_U32 578 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MAS6 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x91) KVM_REG_SIZE_U32 579 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_MMUCFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x92) KVM_REG_SIZE_U32 584 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB0CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x93) KVM_REG_SIZE_U32 585 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB1CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x94) KVM_REG_SIZE_U32 586 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB2CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x95) KVM_REG_SIZE_U32 587 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB3CFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x96) KVM_REG_SIZE_U32 588 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB0PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x97) KVM_REG_SIZE_U32 589 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB1PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x98) KVM_REG_SIZE_U32 590 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB2PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x99) KVM_REG_SIZE_U32 591 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TLB3PS (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9a) KVM_REG_SIZE_U32 592 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_EPTCFG (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9b) KVM_REG_SIZE_U32 598 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_SPMC1 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9d) KVM_REG_SIZE_U32 599 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_SPMC2 (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x9e) KVM_REG_SIZE_U32 605 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_PSPB (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xa4) KVM_REG_SIZE_U32 622 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_VRSAVE (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb4) KVM_REG_SIZE_U32 623 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_LPCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb5) KVM_REG_SIZE_U32 628 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_ARCH_COMPAT (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb7) KVM_REG_SIZE_U32 630 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DABRX (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xb8) KVM_REG_SIZE_U32 633 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_DBSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xbb) KVM_REG_SIZE_U32 640 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_ONLINE (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0xbf) KVM_REG_SIZE_U32 663 tools/arch/powerpc/include/uapi/asm/kvm.h #define KVM_REG_PPC_TM_VSCR (KVM_REG_PPC_TM | KVM_REG_SIZE_U32 | 0x67) KVM_REG_SIZE_U32 279 tools/arch/s390/include/uapi/asm/kvm.h #define KVM_REG_S390_TODPR (KVM_REG_S390 | KVM_REG_SIZE_U32 | 0x1)