All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] xen/arm: Automatically find a PPI for the DOM0 event IRQ
@ 2015-01-29 15:51 Julien Grall
  2015-01-29 15:51 ` [PATCH v3 1/2] xen/arm: vgic: Keep track of vIRQ used by a domain Julien Grall
  2015-01-29 15:51 ` [PATCH v3 2/2] xen/arm: Automatically find a PPI for the DOM0 event channel interrupt Julien Grall
  0 siblings, 2 replies; 8+ messages in thread
From: Julien Grall @ 2015-01-29 15:51 UTC (permalink / raw)
  To: xen-devel
  Cc: ian.campbell, Julien Grall, tim, stefano.stabellini, parth.dixit,
	christoffer.dall

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 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.

While the new set of function to keep track of vIRQ is only used for PPI in
this series, we will need them for IRQ routing very soon.

Parth: I provided an updated branch on my personal repo [1]. It's based
on the latest upstream branch. The way to allocate a new PPI has changed in
this version. Please use vgic_allocate_ppi(d) now.

Major changes in v3:
    - Add vgic_allocate_spi and vgic_allocate_ppi
    - Use a placeholder for the evtchn interrupt and fixup the property
    - Former patch #1 has been accepted

Major changes in v2:
    - Rework patch #2 to drop the lock
    - Rework vgic_free_virq whcih was completely buggy
    - Drop former patch #3 [2]. I will send a separate series to RAZ/WI
    register bits which are associated to unwired IRQ.

For all the changes see in each patch.

Sincerely yours,

[1] git://xenbits.xen.org/people/julieng/xen-unstable.git branch find-evtchn-v3
[2] https://patches.linaro.org/42184

Julien Grall (2):
  xen/arm: vgic: Keep track of vIRQ used by a domain
  xen/arm: Automatically find a PPI for the DOM0 event channel interrupt

 xen/arch/arm/domain.c                | 14 +++++++--
 xen/arch/arm/domain_build.c          | 57 ++++++++++++++++++++++++++++++------
 xen/arch/arm/platform.c              |  7 -----
 xen/arch/arm/platforms/xgene-storm.c |  5 +++-
 xen/arch/arm/vgic.c                  | 54 ++++++++++++++++++++++++++++++++++
 xen/arch/arm/vtimer.c                | 25 ++++++++++++++++
 xen/include/asm-arm/domain.h         |  1 +
 xen/include/asm-arm/platform.h       |  4 ---
 xen/include/asm-arm/vgic.h           | 23 +++++++++++++++
 9 files changed, 166 insertions(+), 24 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-02-19 17:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 15:51 [PATCH v3 0/2] xen/arm: Automatically find a PPI for the DOM0 event IRQ Julien Grall
2015-01-29 15:51 ` [PATCH v3 1/2] xen/arm: vgic: Keep track of vIRQ used by a domain Julien Grall
2015-02-02 15:09   ` Ian Campbell
2015-02-18 17:36     ` Julien Grall
2015-02-19 17:15       ` Ian Campbell
2015-02-19 17:19         ` Julien Grall
2015-01-29 15:51 ` [PATCH v3 2/2] xen/arm: Automatically find a PPI for the DOM0 event channel interrupt Julien Grall
2015-02-02 15:12   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.