WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: 4.0/4.1 requests - IO-APIC EOI v4 [RFC]

>>> On 12.09.11 at 12:15, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
> On 12/09/11 07:50, Jan Beulich wrote:
>>>>> On 09.09.11 at 18:47, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
>>> +                     * Xen code doesn't actually prevent multiple IO-APIC
>>> +                     * entries being assigned the same vector, so EOI all
>>> +                     * pins which have the correct vector.
>>> +                     *
>>> +                     * Remove the following code when the above assertion
>>> +                     * is fulfilled. */
>>> +
>> Why don't you just call __io_apic_eoi() recursively here?
>>
>> Jan
> 
> If I call the function recursively, it will loop forever.  Anyway, the

Why would it loop forever? You get in here only with pin == -1, and
for the recursive call you'd pass the pin number you determined.

> need to clear multiple pins is only temorary until George finishes his
> per-device AMD interrupt remap patch which will enforce vector
> uniqueness in each IO-APIC.  My expectation is that this issue will be
> fixed in the next few weeks.

Sure.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel