From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from exprod5og111.obsmtp.com (exprod5og111.obsmtp.com [64.18.0.22]) by ozlabs.org (Postfix) with SMTP id 7A4D8B6EDF for ; Fri, 15 Oct 2010 09:59:47 +1100 (EST) Received: by vws11 with SMTP id 11so115613vws.4 for ; Thu, 14 Oct 2010 15:59:44 -0700 (PDT) From: Tirumala Marri MIME-Version: 1.0 Date: Thu, 14 Oct 2010 15:56:44 -0700 Message-ID: <6cfa2d1c7ecd946ea4acbd3077defa92@mail.gmail.com> Subject: msi_bitmap.c question To: linuxppc-dev@lists.ozlabs.org Content-Type: multipart/alternative; boundary=90e6ba53a0e272a27104929baa5f List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --90e6ba53a0e272a27104929baa5f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, I am trying to resubmit a patch for MSI support for ppc4xx devices. One of the review feedback was not to use the bit map as it is only for the device= s which don=92t have hard wired mapping between interrupt controller interrup= ts and MSI number. For example intr-ctrl0 interrupt 20 goes to MSI-0, interrup= t 21 goes to MSI-1 ..etc. But when I checked freescale SoCs and cell SoCs they have interrupts hard wired to MSI interrupts. Why do they have to use the bitmap and create irqhost, even though they are one-to-one mapped between interrupt controller numbers and MSI ? Thx, Marri --90e6ba53a0e272a27104929baa5f Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

Hi,

I am trying to resubmit a patch for MSI support for = ppc4xx devices. One of the review feedback was not to use the bit map as it is onl= y for the devices which don=92t have hard wired mapping between interrupt controller interrupts and MSI number. For example intr-ctrl0 interrupt 20 g= oes to MSI-0, interrupt 21 goes to MSI-1 ..etc. But when I checked=A0 freescale= SoCs and cell SoCs they have interrupts hard wired to MSI interrupts. =A0

=A0

Why do they have to use the bitmap and create irqhos= t, even though they are one-to-one mapped between interrupt controller numbers and = MSI ?

=A0

Thx,

Marri

--90e6ba53a0e272a27104929baa5f--