arm64: KVM: enable initialization of a 32bit vcpu
Wire the init of a 32bit vcpu by allowing 32bit modes in pstate, and providing sensible defaults out of reset state. This feature is of course conditioned by the presence of 32bit capability on the physical CPU, and is checked by the KVM_CAP_ARM_EL1_32BIT capability. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
		
					parent
					
						
							
								e82e030556
							
						
					
				
			
			
				commit
				
					
						0d854a60b1
					
				
			
		
					 5 changed files with 34 additions and 2 deletions
				
			
		|  | @ -666,6 +666,7 @@ struct kvm_ppc_smmu_info { | |||
| #define KVM_CAP_IRQ_MPIC 90 | ||||
| #define KVM_CAP_PPC_RTAS 91 | ||||
| #define KVM_CAP_IRQ_XICS 92 | ||||
| #define KVM_CAP_ARM_EL1_32BIT 93 | ||||
| 
 | ||||
| #ifdef KVM_CAP_IRQ_ROUTING | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Marc Zyngier
				Marc Zyngier