qemu-patch-raspberry4/hw/pci-host
Mark Cave-Ayland f40b83a4e3 40p: use OR gate to wire up raven PCI interrupts
According to the PReP specification section 6.1.6 "System Interrupt
Assignments", all PCI interrupts are routed via IRQ 15.

Instead of mapping each PCI IRQ separately, we introduce an OR gate within the
raven PCI host bridge and then wire the single output of the OR gate to the
interrupt controller.

Note that whilst the (now deprecated) PReP machine still exists we still need
to preserve the old IRQ routing. This is done by adding a new "is-legacy-prep"
property to the raven PCI host bridge which is set to true for the PReP
machine.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Tested-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-09-25 11:12:25 +10:00
..
bonito.c hw/pci-host/bonito: Move away from old_mmio accessors 2018-08-21 09:52:22 +02:00
designware.c pci: Add support for Designware IP block 2018-03-09 17:09:43 +00:00
gpex.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
grackle.c grackle: set device fw_name and address for correct fw path generation 2018-08-30 10:42:18 +10:00
Makefile.objs pci: Add support for Designware IP block 2018-03-09 17:09:43 +00:00
pam.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
piix.c hw/pci-host/piix: QOM'ify the IGD Passthrough host bridge 2017-12-21 22:36:33 +02:00
ppce500.c Merge remote-tracking branch 'origin/master' into HEAD 2018-01-11 22:03:50 +02:00
prep.c 40p: use OR gate to wire up raven PCI interrupts 2018-09-25 11:12:25 +10:00
q35.c hw/pci-host/q35: Replace hardcoded value with macro 2018-05-23 03:14:40 +03:00
sabre.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
trace-events uninorth: create new uninorth device 2018-05-04 15:00:37 +10:00
uninorth.c uninorth: add ofw-addr property to allow correct fw path generation 2018-08-30 10:42:18 +10:00
versatile.c hw: Do not include "exec/address-spaces.h" if it is not necessary 2018-06-01 14:15:10 +02:00
xilinx-pcie.c hw/mips: Use the IEC binary prefix definitions 2018-07-02 15:41:16 +02:00