lkml.org 
[lkml]   [2003]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: RFC Proposal to enable MSI support in Linux kernel
Date
From
> -----Original Message-----
> From: Zwane Mwaikambo [mailto:zwane@linuxpower.ca]
> Sent: Thursday, May 29, 2003 2:55 PM
> To: Nguyen, Tom L
> Cc: Jeff Garzik; Nakajima, Jun;
> Subject: RE: RFC Proposal to enable MSI support in Linux kernel
>
> On Thu, 29 May 2003, Nguyen, Tom L wrote:
>
> > I am working on an updated patch to 2.5.70 to incorporate the comments
> > from you and Jeff Garzik. Regarding the variable renaming of irq, I am
> > open to any suggestions. Please make a recommendation and I will
> > incorporate it into the next update.
>
> Well essentially, if the function is being passed a vector, lets call the
> parameter 'vector', right now you have to look at the code paths careful
> to determine wether it's an irq number or a vector masquerading as an irq
> number.
Agree.

>
> > Regarding platform_legacy_irq, I have not seen an edge-triggered
> > interrupt failure caused by platform_legacy_irq.
>
> So we can go with Jeff's suggestion there and remove the unecessary check
> for wether to assign level or edge?

Not so fast. This part is #ifdef CONFIG_ACPI_PCI and legacy IRQs can be overridden by Interrupt Source Overrides. Since they can change polarity (as far as the spec is concerned), I think we should fix the code. Hint: Look at the mp_override_legacy_irq().

Jun

>
> Zwane
> --
> function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.219 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site