[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH for-4.6 0/4] Find automatically a PPI for the DOM0 even channel IRQ
Hello, This patch series replaces the per-platform hardcoded event channel interrupt to a generic solution. It will make the port to a new platform more easier and may avoid to introduce per-platform code with the new upcoming ACPI support. This could be done by keeping track of vIRQ (emulated and assigned) used by a domain. Parth: I provided a branch on my personal repo [1]. It's based on the latest upstream branch. You can use vgic_allocate_virq(d, 0) to allocate the event channel PPI. Sincerely yours, [1] git://xenbits.xen.org/people/julieng/xen-unstable.git branch find-evtchn Julien Grall (4): xen/arm: vgic: Rename nr_lines into nr_spis xen/arm: vgic: Keep track of vIRQ used by a domain xen/arm: vgic: notice if the vIRQ is not allocated when the guest enable it xen/arm: Find automatically a PPI for the DOM0 event channel interrupt xen/arch/arm/domain.c | 13 +++-- xen/arch/arm/domain_build.c | 16 ++++++ xen/arch/arm/gic-v2.c | 2 - xen/arch/arm/gic-v3.c | 2 +- xen/arch/arm/platform.c | 7 --- xen/arch/arm/platforms/xgene-storm.c | 5 +- xen/arch/arm/vgic-v2.c | 2 +- xen/arch/arm/vgic-v3.c | 2 +- xen/arch/arm/vgic.c | 95 ++++++++++++++++++++++++++++++++---- xen/arch/arm/vtimer.c | 15 ++++++ xen/include/asm-arm/domain.h | 3 +- xen/include/asm-arm/platform.h | 4 -- xen/include/asm-arm/vgic.h | 17 ++++++- 13 files changed, 152 insertions(+), 31 deletions(-) -- 2.1.3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |