Hi wanghaibin,
On 05/09/14 04:28, wanghaibin wrote:
On 2014/8/21 21:06, Andre Przywara wrote:
+void vgic_v3_dispatch_sgi(struct kvm_vcpu *vcpu, u64 reg)
+{
+struct kvm *kvm = vcpu-kvm;
+struct kvm_vcpu *c_vcpu;
+struct vgic_dist *dist = kvm-arch.vgic;
+u16 target_cpus;
On 2014/8/21 21:06, Andre Przywara wrote:
+void vgic_v3_dispatch_sgi(struct kvm_vcpu *vcpu, u64 reg)
+{
+ struct kvm *kvm = vcpu-kvm;
+ struct kvm_vcpu *c_vcpu;
+ struct vgic_dist *dist = kvm-arch.vgic;
+ u16 target_cpus;
+ u64 mpidr, mpidr_h, mpidr_l;
+ int sgi,
With everything separated and prepared, we implement a model of a
GICv3 distributor and redistributors by using the existing framework
to provide handler functions for each register group.
Currently we limit the emulation to a model enforcing a single
security state, with SRE==1 (forcing system