|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups
[Keir Fraser]
> On 06/02/2009 11:24, "Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx> wrote:
>>>> Make setup_irq/request_irq/free_irq take vector param instead of
>>>> irq param
>>
>>> Do you really think that's an improvement?
>>
>> Yes. Some interrupts, e.g., for handling IOMMU faults, do not need
>> to be associated with a pirq. They just need to have a vector
>> allocated to them. The way this used to work, the caller would
>> have to invent a IRQ to go with the vector (typically irq :=
>> vector) befor calling the function.
> My reading of the patch was that you simply pushed irq_to_vector()
> out into every caller. I therefore just took the ->shutdown() fix
> for free_irq() and dropped the rest. I checked in the rest of your
> patches.
Hmmm... yeah. The patch probably didn't make this very clear since
some of the callers just invoke the function with the vector as the
parameter (and hence these callers were not included in the patch).
Anyhow, if you drop the vector parameter the IOMMU related interrupts
will most certainly not work since we no longer update the
irq_to_vector() array with those entries.
eSk
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, (continued)
- Re: [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, Keir Fraser
- Re: [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, Espen Skoglund
- Re: [Xen-devel] [PATCH] [RFC] MSI and interrupt mapping, Keir Fraser
- [Xen-devel] [PATCH 0/5] Mapping MSI vectors and other interrupt cleanups, Espen Skoglund
- [Xen-devel] [PATCH 1/5] Use per-domain irq-to-vector array when mapping GSIs, Espen Skoglund
- [Xen-devel] [PATCH 2/5] Cleanup IOMMU interrupt setup, Espen Skoglund
- [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups,
Espen Skoglund <=
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Espen Skoglund
- Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Keir Fraser
- [Xen-ia64-devel] Re: [Xen-devel] [PATCH 3/5] setup_irq/request_irq/free_irq fixups, Isaku Yamahata
- [Xen-devel] [PATCH 4/5] Move interrupt vector management from io_apic.c to irq.c, Espen Skoglund
- [Xen-devel] [PATCH 5/5] Better separation of IOAPIC management, Espen Skoglund
|
|
|
|
|