diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2014-07-24 11:46:52 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-25 14:10:51 +1000 |
commit | 99608f2074d4c8877c8445e20a1275dc1257079c (patch) | |
tree | c36f2d5e90dffdadcae521836f091b49cf4e8166 /hw/psi.c | |
parent | 39addc6a0f1fb803fc79223c6bd4afadfd9351e6 (diff) | |
download | skiboot-99608f2074d4c8877c8445e20a1275dc1257079c.zip skiboot-99608f2074d4c8877c8445e20a1275dc1257079c.tar.gz skiboot-99608f2074d4c8877c8445e20a1275dc1257079c.tar.bz2 |
FSP/PSI: Start/stop PSI link polling in psi.c
Currently this is done in the FSP code...
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw/psi.c')
-rw-r--r-- | hw/psi.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -90,6 +90,7 @@ void psi_disable_link(struct psi *psi) out_be64(psi->regs + PSIHB_CR, reg); printf("PSI: PSIHB_CR (error bits) set to %llx\n", in_be64(psi->regs + PSIHB_CR)); + psi_set_link_polling(true); } unlock(&psi_lock); @@ -156,6 +157,7 @@ static void psi_link_poll(void *data __unused) psi_link_timeout = 0; psi->active = true; psi_activate_phb(psi); + psi_set_link_polling(false); unlock(&psi_lock); fsp_reinit_fsp(); return; |