[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [RFC v4 5/6] hw/intc/arm_gicv3_its: Implement support for
From: |
Auger Eric |
Subject: |
Re: [Qemu-arm] [RFC v4 5/6] hw/intc/arm_gicv3_its: Implement support for in-kernel ITS emulation |
Date: |
Fri, 29 Jul 2016 16:13:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
Hi Peter,
On 29/07/2016 15:35, Peter Maydell wrote:
> On 6 July 2016 at 10:46, Eric Auger <address@hidden> wrote:
>> +/**
>> + *
>> + * We currently do not use kvm_arm_register_device to provide
>> + * the kernel with the vITS control frame base address since the
>> + * KVM_DEV_ARM_VGIC_CTRL_INIT init MUST be called after the
>> + * KVM_ARM_SET_DEVICE_ADDR and the kvm_arm_register_device
>> + * infra does not allow this.
>> + */
>
> So the conclusion on the kvm-arm mailing list was that the
> kernel ought to permit DEVICE_ADDR to be set after INIT,
> the same way it does for the GIC proper, right?
Yes this was indeed evoked but eventually what is in next, right now is
the same implementation where KVM_ARM_SET_DEVICE_ADDR is forbidden once
init is done:
see virt/kvm/arm/vgic/vgic-its.c
its->initialized set by vgic_its_init_its (KVM_DEV_ARM_VGIC_GRP_CTRL)
case KVM_DEV_ARM_VGIC_GRP_ADDR:
../..
if (its->initialized)
return -EBUSY;
Thanks
Eric
>
> thanks
> -- PMM
>
- [Qemu-arm] [RFC v4 0/6] vITS support, Eric Auger, 2016/07/06
- [Qemu-arm] [RFC v4 2/6] target-arm: move gicv3_class_name from machine to kvm_arm.h, Eric Auger, 2016/07/06
- [Qemu-arm] [RFC v4 1/6] hw/intc/arm_gicv3_its: Implement ITS base class, Eric Auger, 2016/07/06
- [Qemu-arm] [RFC v4 3/6] linux-headers: update to 4.7-rc6 + ITS emulation and GSI routing, Eric Auger, 2016/07/06
- [Qemu-arm] [RFC v4 4/6] target-arm/kvm: Pass requester ID to MSI routing functions, Eric Auger, 2016/07/06
- [Qemu-arm] [RFC v4 6/6] arm/virt: Add ITS to the virt board, Eric Auger, 2016/07/06
- [Qemu-arm] [RFC v4 5/6] hw/intc/arm_gicv3_its: Implement support for in-kernel ITS emulation, Eric Auger, 2016/07/06