aboutsummaryrefslogtreecommitdiff
path: root/hw/psi.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-09-10 07:35:42 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-09-11 15:41:48 +1000
commit7d29629bd980cbeceba357be044200657d065136 (patch)
tree6a92e0d43dba81113c08d2e32ed87e239074675e /hw/psi.c
parent2eed1b081643dedc6df06051a7f396dff4593258 (diff)
downloadskiboot-7d29629bd980cbeceba357be044200657d065136.zip
skiboot-7d29629bd980cbeceba357be044200657d065136.tar.gz
skiboot-7d29629bd980cbeceba357be044200657d065136.tar.bz2
psi: Fix a few typos
Nothing critical, no functional changes. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/psi.c')
-rw-r--r--hw/psi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/psi.c b/hw/psi.c
index 982d674..cb0dbab 100644
--- a/hw/psi.c
+++ b/hw/psi.c
@@ -669,11 +669,11 @@ static void psi_register_interrupts(struct psi *psi)
/* On P8 we get a block of 8, set up the base/mask
* and mask all the sources for now
*/
- out_be64(psi->regs + PSIHB_ISRN,
- SETFIELD(PSIHB_ISRN_COMP, 0ul, psi->interrupt) |
- SETFIELD(PSIHB_ISRN_MASK, 0ul, 0x7fff8ul) |
- PSIHB_ISRN_DOWNSTREAM_EN |
- PSIHB_ISRN_UPSTREAM_EN);
+ out_be64(psi->regs + PSIHB_IRSN,
+ SETFIELD(PSIHB_IRSN_COMP, 0ul, psi->interrupt) |
+ SETFIELD(PSIHB_IRSN_MASK, 0ul, 0x7fff8ul) |
+ PSIHB_IRSN_DOWNSTREAM_EN |
+ PSIHB_IRSN_UPSTREAM_EN);
out_be64(psi->regs + PSIHB_XIVR_FSP,
(0xffull << 32) | (P8_IRQ_PSI_FSP << 29));
out_be64(psi->regs + PSIHB_XIVR_OCC,
@@ -843,7 +843,7 @@ static struct psi *psi_probe_p8(struct proc_chip *chip, u64 base)
psi->working = true;
psi->regs = (void *)(val & ~PSIHB_XSCOM_P8_HBBAR_EN);
} else
- printf("PSI[0x%03x]: Working link not found\n", chip->id);
+ printf("PSI[0x%03x]: Working chip not found\n", chip->id);
return psi;
}