Re: [PATCH] pci: change msi-x vector to 32bit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Bottomley
Date: Saturday, August 16, 2008 - 7:50 am

On Fri, 2008-08-15 at 23:42 -0700, Yinghai Lu wrote:

Where exactly is this code in the kernel?  Most arches assume the irq is
an index to a compact table bounded by NR_IRQS, so something like this
would violate that assumption.

This is also the reason why it doesn't matter to assign a u32 irq to a
u16 vector.  The u32 irq is a historical thing; it used to be u16 but
then sparc used a vector mapping scheme for the irq number, which I
don't believe it does any more.


So the assumption underlying this is that the same bus/dev/function on
different domains would share irq space ... that sounds possible but a
bit strange.

James


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

Messages in current thread:
RE: [PATCH] pci: change msi-x vector to 32bit, H. Peter Anvin, (Fri Aug 15, 8:26 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Yinghai Lu, (Fri Aug 15, 11:42 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Eric W. Biederman, (Sat Aug 16, 1:17 am)
Re: [PATCH] pci: change msi-x vector to 32bit, Yinghai Lu, (Sat Aug 16, 2:00 am)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Sat Aug 16, 7:50 am)
Re: [PATCH] pci: change msi-x vector to 32bit, Alan Cox, (Sat Aug 16, 8:39 am)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Sat Aug 16, 9:13 am)
Re: [PATCH] pci: change msi-x vector to 32bit, Yinghai Lu, (Sat Aug 16, 11:56 am)
Re: [PATCH] pci: change msi-x vector to 32bit, Andrew Vasquez, (Sat Aug 16, 1:10 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Sat Aug 16, 1:25 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Yinghai Lu, (Sat Aug 16, 1:34 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Sat Aug 16, 1:45 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Yinghai Lu, (Sat Aug 16, 3:17 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Sat Aug 16, 4:09 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Yinghai Lu, (Sat Aug 16, 4:21 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Eric W. Biederman, (Mon Aug 18, 12:59 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Mon Aug 18, 1:59 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, H. Peter Anvin, (Mon Aug 18, 2:24 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Eric W. Biederman, (Mon Aug 18, 2:45 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, Alan Cox, (Mon Aug 18, 2:51 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Mon Aug 18, 3:04 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, H. Peter Anvin, (Mon Aug 18, 3:13 pm)
Re: [PATCH] pci: change msi-x vector to 32bit, James Bottomley, (Mon Aug 18, 3:27 pm)