Re: [PATCH 08/12] KVM: arm/arm64: implement kvm_io_bus MMIO handling for the VGIC

2015-03-20 Thread Christoffer Dall
On Fri, Mar 20, 2015 at 12:40:02PM +, Andre Przywara wrote: > On 03/19/2015 03:44 PM, Andre Przywara wrote: > > Hej Christoffer, > > > > [ ... ] > > >>> +static int vgic_handle_mmio_access(struct kvm_vcpu *vcpu, > >>> +struct kvm_io_device *this, gpa_t addr, > >>>

Re: [PATCH 08/12] KVM: arm/arm64: implement kvm_io_bus MMIO handling for the VGIC

2015-03-20 Thread Christoffer Dall
On Thu, Mar 19, 2015 at 03:44:51PM +, Andre Przywara wrote: > Hej Christoffer, > > On 14/03/15 14:27, Christoffer Dall wrote: > > On Fri, Mar 13, 2015 at 04:10:08PM +, Andre Przywara wrote: > >> Currently we use a lot of VGIC specific code to do the MMIO > >> dispatching. > >> Use the prev

Re: [PATCH 08/12] KVM: arm/arm64: implement kvm_io_bus MMIO handling for the VGIC

2015-03-20 Thread Andre Przywara
On 03/19/2015 03:44 PM, Andre Przywara wrote: > Hej Christoffer, > [ ... ] >>> +static int vgic_handle_mmio_access(struct kvm_vcpu *vcpu, >>> + struct kvm_io_device *this, gpa_t addr, >>> + int len, void *val, bool is_write) >>> +{ >>> +

Re: [PATCH 08/12] KVM: arm/arm64: implement kvm_io_bus MMIO handling for the VGIC

2015-03-19 Thread Andre Przywara
Hej Christoffer, On 14/03/15 14:27, Christoffer Dall wrote: > On Fri, Mar 13, 2015 at 04:10:08PM +, Andre Przywara wrote: >> Currently we use a lot of VGIC specific code to do the MMIO >> dispatching. >> Use the previous reworks to add kvm_io_bus style MMIO handlers. >> >> Those are not yet ca

Re: [PATCH 08/12] KVM: arm/arm64: implement kvm_io_bus MMIO handling for the VGIC

2015-03-14 Thread Christoffer Dall
On Fri, Mar 13, 2015 at 04:10:08PM +, Andre Przywara wrote: > Currently we use a lot of VGIC specific code to do the MMIO > dispatching. > Use the previous reworks to add kvm_io_bus style MMIO handlers. > > Those are not yet called by the MMIO abort handler, also the actual > VGIC emulator fun

[PATCH 08/12] KVM: arm/arm64: implement kvm_io_bus MMIO handling for the VGIC

2015-03-13 Thread Andre Przywara
Currently we use a lot of VGIC specific code to do the MMIO dispatching. Use the previous reworks to add kvm_io_bus style MMIO handlers. Those are not yet called by the MMIO abort handler, also the actual VGIC emulator function do not make use of it yet, but will be enabled with the following patc