Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-12-08 Thread Christoffer Dall
On Fri, Dec 05, 2014 at 02:10:26PM +0200, Nikolay Nikolaev wrote: > On Sat, Nov 29, 2014 at 3:54 PM, Nikolay Nikolaev > wrote: > > On Sat, Nov 29, 2014 at 1:29 PM, Christoffer Dall > > wrote: > >> On Mon, Nov 24, 2014 at 11:26:58PM +0200, Nikolay Nikolaev wrote: > >>> In io_mem_abort remove the c

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-12-05 Thread Nikolay Nikolaev
On Sat, Nov 29, 2014 at 3:54 PM, Nikolay Nikolaev wrote: > On Sat, Nov 29, 2014 at 1:29 PM, Christoffer Dall > wrote: >> On Mon, Nov 24, 2014 at 11:26:58PM +0200, Nikolay Nikolaev wrote: >>> In io_mem_abort remove the call to vgic_handle_mmio. The target is to have >>> a single MMIO handling path

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-29 Thread Nikolay Nikolaev
On Sat, Nov 29, 2014 at 9:14 AM, Shannon Zhao wrote: > On 2014/11/25 5:26, Nikolay Nikolaev wrote: >> In io_mem_abort remove the call to vgic_handle_mmio. The target is to have >> a single MMIO handling path - that is through the kvm_io_bus_ API. >> >> Register a kvm_io_device in kvm_vgic_init on

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-29 Thread Nikolay Nikolaev
On Sat, Nov 29, 2014 at 1:29 PM, Christoffer Dall wrote: > On Mon, Nov 24, 2014 at 11:26:58PM +0200, Nikolay Nikolaev wrote: >> In io_mem_abort remove the call to vgic_handle_mmio. The target is to have >> a single MMIO handling path - that is through the kvm_io_bus_ API. >> >> Register a kvm_io_d

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-29 Thread Christoffer Dall
On Mon, Nov 24, 2014 at 11:26:58PM +0200, Nikolay Nikolaev wrote: > In io_mem_abort remove the call to vgic_handle_mmio. The target is to have > a single MMIO handling path - that is through the kvm_io_bus_ API. > > Register a kvm_io_device in kvm_vgic_init on the whole vGIC MMIO region. > Both re

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-29 Thread Christoffer Dall
On Mon, Nov 24, 2014 at 11:26:58PM +0200, Nikolay Nikolaev wrote: > In io_mem_abort remove the call to vgic_handle_mmio. The target is to have > a single MMIO handling path - that is through the kvm_io_bus_ API. > > Register a kvm_io_device in kvm_vgic_init on the whole vGIC MMIO region. > Both re

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-29 Thread Christoffer Dall
On Mon, Nov 24, 2014 at 11:26:58PM +0200, Nikolay Nikolaev wrote: > In io_mem_abort remove the call to vgic_handle_mmio. The target is to have > a single MMIO handling path - that is through the kvm_io_bus_ API. > > Register a kvm_io_device in kvm_vgic_init on the whole vGIC MMIO region. > Both re

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-28 Thread Shannon Zhao
On 2014/11/25 5:26, Nikolay Nikolaev wrote: > In io_mem_abort remove the call to vgic_handle_mmio. The target is to have > a single MMIO handling path - that is through the kvm_io_bus_ API. > > Register a kvm_io_device in kvm_vgic_init on the whole vGIC MMIO region. > Both read and write calls are

Re: [RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-27 Thread Eric Auger
On 11/24/2014 10:26 PM, Nikolay Nikolaev wrote: > In io_mem_abort remove the call to vgic_handle_mmio. The target is to have > a single MMIO handling path - that is through the kvm_io_bus_ API. > > Register a kvm_io_device in kvm_vgic_init on the whole vGIC MMIO region. > Both read and write calls

[RFC PATCH 3/5] KVM: ARM VGIC add kvm_io_bus_ frontend

2014-11-24 Thread Nikolay Nikolaev
In io_mem_abort remove the call to vgic_handle_mmio. The target is to have a single MMIO handling path - that is through the kvm_io_bus_ API. Register a kvm_io_device in kvm_vgic_init on the whole vGIC MMIO region. Both read and write calls are redirected to vgic_io_dev_access where kvm_exit_mmio