[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 07/11] versatile_pci: Implement the correct P
From: |
Arnd Bergmann |
Subject: |
Re: [Qemu-devel] [PATCH v2 07/11] versatile_pci: Implement the correct PCI IRQ mapping |
Date: |
Tue, 26 Mar 2013 11:08:50 +0000 |
User-agent: |
KMail/1.12.2 (Linux/3.8.0-13-generic; KDE/4.3.2; x86_64; ; ) |
On Tuesday 26 March 2013, Peter Maydell wrote:
>
> On 26 March 2013 10:54, Arnd Bergmann <address@hidden> wrote:
> > Yes, very good. We will probably introduce sparse irq support on
> > versatile in the near future, and then the value we write into the
> > PCI_INTERRUPT_LINE field will become arbitrary from qemu's point
> > of view, but I will make sure that we fix the interrupt mapping
> > in the kernel at the same time so we always fall into the
> > "s->broken_irq_mapping = false;" case.
>
> Yeah, as long as you avoid the number 27 you're ok :-)
Good point. I guess we'll have to keep using a legacy domain for
versatile then.
> > We also need to find a way to make the new kernel work with
> > an old qemu, and I think we can do that by using the versatile-dt
> > board type with a PCI device node that sets all four lines to
> > 27, while using the actual interrupt lines for the default
> > versatile device tree.
>
> Personally I'd be happy for you to just say "needs a new QEMU".
> The broken QEMU is missing so much (including working memory
> windows) that I think it would be a pain to get the kernel to
> cope with it.
But it was working earlier, so I'd definitely try not to break
if at all possible. A lot of people use the verstatile qemu
model to run kernels and I would not want to deal with the
complaints I'd get if we break those. Using a separate dts
file seems easy enough.
Arnd
- [Qemu-devel] [PATCH v2 00/11] Fix versatile_pci (now without breaking linux), Peter Maydell, 2013/03/26
- [Qemu-devel] [PATCH v2 11/11] hw/versatile_pci: Drop unnecessary vpb_pci_config_addr(), Peter Maydell, 2013/03/26
- [Qemu-devel] [PATCH v2 10/11] versatile_pci: Expose PCI memory space to system, Peter Maydell, 2013/03/26
- [Qemu-devel] [PATCH v2 09/11] arm/realview: Fix mapping of PCI regions, Peter Maydell, 2013/03/26
- [Qemu-devel] [PATCH v2 06/11] versatile_pci: Put the host bridge PCI device at slot 29, Peter Maydell, 2013/03/26
- [Qemu-devel] [PATCH v2 01/11] versatile_pci: Fix hardcoded tabs, Peter Maydell, 2013/03/26
- [Qemu-devel] [PATCH v2 02/11] versatile_pci: Expose PCI I/O region on Versatile PB, Peter Maydell, 2013/03/26
- [Qemu-devel] [PATCH v2 07/11] versatile_pci: Implement the correct PCI IRQ mapping, Peter Maydell, 2013/03/26
[Qemu-devel] [PATCH v2 05/11] versatile_pci: Use separate PCI I/O space rather than system I/O space, Peter Maydell, 2013/03/26
[Qemu-devel] [PATCH v2 03/11] versatile_pci: Update to realize and instance init functions, Peter Maydell, 2013/03/26
[Qemu-devel] [PATCH v2 04/11] versatile_pci: Change to subclassing TYPE_PCI_HOST_BRIDGE, Peter Maydell, 2013/03/26
[Qemu-devel] [PATCH v2 08/11] versatile_pci: Implement the PCI controller's control registers, Peter Maydell, 2013/03/26
Re: [Qemu-devel] [PATCH v2 00/11] Fix versatile_pci (now without breaking linux), Paul Brook, 2013/03/28