diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2013-06-21 12:59:14 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-08-08 01:38:05 +0200 |
commit | f31dd9443afd35696a833c2a32d584a9257abd40 (patch) | |
tree | 8ff21712b02cbd063c6bb88fe4359e036a0534dd /arch/powerpc/kernel/epapr_paravirt.c | |
parent | powerpc/dts: add MPIC v4.3 dts node (diff) | |
download | linux-f31dd9443afd35696a833c2a32d584a9257abd40.tar.xz linux-f31dd9443afd35696a833c2a32d584a9257abd40.zip |
powerpc/fsl_msi: add MSIIR1 support for MPIC v4.3
The original MPIC MSI bank contains 8 registers, MPIC v4.3 MSI bank
contains 16 registers, and this patch adds NR_MSI_REG_MAX and
NR_MSI_IRQS_MAX to describe the maximum capability of MSI bank.
MPIC v4.3 provides MSIIR1 to index these 16 MSI registers. MSIIR1
uses different bits definition than MSIIR. This patch adds
ibs_shift and srs_shift to indicate the bits definition of the
MSIIR and MSIIR1, so the same code can handle the MSIIR and MSIIR1
simultaneously.
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
[scottwood@freescale.com: reinstated static on all_avail]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/kernel/epapr_paravirt.c')
0 files changed, 0 insertions, 0 deletions