qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] sam460ex: Improve logicial or'ed PCI-X interrupts
@ 2018-07-31  4:36 Sebastian Bauer
  2018-07-31  4:36 ` [Qemu-devel] [PATCH 1/2] ppc: Allow clients of the 440 pcix bus to specify the number of interrupts Sebastian Bauer
  2018-07-31  4:36 ` [Qemu-devel] [PATCH 2/2] sam460ex: Create the PCI-X bus with only one interrupt Sebastian Bauer
  0 siblings, 2 replies; 4+ messages in thread
From: Sebastian Bauer @ 2018-07-31  4:36 UTC (permalink / raw)
  To: mail; +Cc: qemu-devel, david, agraf, qemu-ppc, balaton

The previous change 70a8ff3fd0c27e69a598e7603112de9d0fec5380 fixed
the interrupt connection not properly as the IRQ levels would not
be logcical or'ed. While other PCI cards already have worked with
that change, it didn't model the expected hardware behaviour
close enough.

This patch series is an attempt to fix this remaining problem.
Firtsly, it introduces the num-irqs property to the pci-xbus class
and implements the one common IRQ as a special case. The PCI bus
implementation logic will handle the logical or for us then.

Secondly, it adjust the sam460ex code to take advantage of the
new property.

Tested on the SAM460ex machine (which admittely is the only user
so far).

Sebastian Bauer (2):
  ppc: Allow clients of the 440 pcix bus to specify the number of
    interrupts
  sam460ex: Create the PCI-X bus with only one interrupt

 hw/ppc/ppc440_pcix.c | 28 +++++++++++++++++++++++++---
 hw/ppc/sam460ex.c    | 14 ++++++++++----
 2 files changed, 35 insertions(+), 7 deletions(-)

-- 
2.18.0

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

end of thread, other threads:[~2018-07-31 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-31  4:36 [Qemu-devel] [PATCH 0/2] sam460ex: Improve logicial or'ed PCI-X interrupts Sebastian Bauer
2018-07-31  4:36 ` [Qemu-devel] [PATCH 1/2] ppc: Allow clients of the 440 pcix bus to specify the number of interrupts Sebastian Bauer
2018-07-31 14:28   ` [Qemu-devel] [Qemu-ppc] " Cédric Le Goater
2018-07-31  4:36 ` [Qemu-devel] [PATCH 2/2] sam460ex: Create the PCI-X bus with only one interrupt Sebastian Bauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).