Re: [PATCH 1/2] pci: add misrouted interrupt error handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jesse Barnes
Date: Tuesday, August 5, 2008 - 10:03 am

On Sunday, August 03, 2008 11:02 am James Bottomley wrote:

This seems to be a function that just returns what type of IRQ you're using or 
how it's routed and it isn't necessarily "lost interrupt" specific.

This information is clearly useful to drivers both for informational purposes 
and for debugging problems, so on that front it looks good.  However, I think 
it should probably be called pci_interrupt_type(struct pci_dev *dev) or 
something instead, and just return an enum of either MSIX, MSI, or LINE 
(though I'm open to better names).  From that, the driver can infer what 
might be going wrong, though in the case of a LINE interrupt, all you can 
really do is report that there's probably a platform IRQ routing problem.

Jesse
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] pci: add misrouted interrupt error handling, James Bottomley, (Sun Aug 3, 11:02 am)
Re: [PATCH 1/2] pci: add misrouted interrupt error handling, Jesse Barnes, (Tue Aug 5, 10:03 am)
Re: [PATCH 1/2] pci: add misrouted interrupt error handling, James Bottomley, (Thu Aug 7, 10:36 am)