qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] pci: Add pci_device_get_host_irq


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH 1/2] pci: Add pci_device_get_host_irq
Date: Wed, 30 May 2012 16:38:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2012-05-30 15:34, Michael S. Tsirkin wrote:
> Below's as far as I got - hopefully this
> explains what I had in mind: for deep hierarchies
> this will save a bus scan so I think this makes sense
> even in the absense of kvm irqchip.
> 
> Warning: completely untested and known to be incomplete.
> Please judge whether this is going in a direction that
> is helpful for your efforts. If you respond in the positive,
> I hope to be able to get back to this next week.

We need to
 - account for polarity changes along the route
 - get rid of irq_count as it is no longer updated in the fast path,
   thus useless on routing updates

So it's a bit more complicated and requires a some broader refactorings.
But there is likely some room for simplifications in the end, true.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux



reply via email to

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