1*0d2eeef7SBibo Mao /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*0d2eeef7SBibo Mao #ifndef _ASM_KVM_PARA_H
3*0d2eeef7SBibo Mao #define _ASM_KVM_PARA_H
4*0d2eeef7SBibo Mao 
5*0d2eeef7SBibo Mao #include <linux/types.h>
6*0d2eeef7SBibo Mao 
7*0d2eeef7SBibo Mao /*
8*0d2eeef7SBibo Mao  * CPUCFG index area: 0x40000000 -- 0x400000ff
9*0d2eeef7SBibo Mao  * SW emulation for KVM hypervirsor
10*0d2eeef7SBibo Mao  */
11*0d2eeef7SBibo Mao #define CPUCFG_KVM_BASE			0x40000000
12*0d2eeef7SBibo Mao #define CPUCFG_KVM_SIZE			0x100
13*0d2eeef7SBibo Mao #define CPUCFG_KVM_SIG			(CPUCFG_KVM_BASE + 0)
14*0d2eeef7SBibo Mao #define  KVM_SIGNATURE			"KVM\0"
15*0d2eeef7SBibo Mao #define CPUCFG_KVM_FEATURE		(CPUCFG_KVM_BASE + 4)
16*0d2eeef7SBibo Mao #define  KVM_FEATURE_IPI		1
17*0d2eeef7SBibo Mao #define  KVM_FEATURE_STEAL_TIME		2
18*0d2eeef7SBibo Mao /* BIT 24 - 31 are features configurable by user space vmm */
19*0d2eeef7SBibo Mao #define  KVM_FEATURE_VIRT_EXTIOI	24
20*0d2eeef7SBibo Mao 
21*0d2eeef7SBibo Mao #endif /* _ASM_KVM_PARA_H */
22