qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [Qemu-devel] [PATCH] sam460ex: Fix PCI interrupt connecti


From: Sebastian Bauer
Subject: Re: [Qemu-ppc] [Qemu-devel] [PATCH] sam460ex: Fix PCI interrupt connections
Date: Tue, 31 Jul 2018 07:09:43 +0200
User-agent: Roundcube Webmail/1.3.6

Am 2018-07-31 01:15, schrieb Peter Maydell:
It would work. But creating an OR gate is half a dozen lines or so of
code, so it's not much more work than changing the PCI controller.
So we should prefer whichever is closest to what the real hardware
does, assuming we can determine that.

The real way is not known. The only source of information is UBoot which sets the interrupt line to 32 for all PCI devices. At least AmigaOS doesn't overwrite this setting. But UBoot could be wrong of course, as the hardware provides only one PCI slot (I think the sm502 is also connected to that bus in a direct fashion, but it doesn't have an PCI IRQ). Technically, we could also modify UBoot to chose other lines, at least AmigaOS would continue to work (if this maps the QEMU wiring) but this UBoot would be incompatible to the original hardware.

Bye
Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]