diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-02-09 13:40:32 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-02-09 13:40:32 +1100 |
commit | 38bb327d1ad3d5971dc7ddab4ad6d2386e5f6036 (patch) | |
tree | 14f8f44b6a5b491d4d984e14d7df88abb0721f2a /hw | |
parent | 4e60baa269007715c1ff81acf0fc1a94ee19a3f1 (diff) | |
download | skiboot-38bb327d1ad3d5971dc7ddab4ad6d2386e5f6036.zip skiboot-38bb327d1ad3d5971dc7ddab4ad6d2386e5f6036.tar.gz skiboot-38bb327d1ad3d5971dc7ddab4ad6d2386e5f6036.tar.bz2 |
occ: Don't do bad XSCOMs on P7
The OCC interrupt register only exists on P8, accessing it on P7 causes
not only error logs but also causes PRD to eventually gard chips.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/occ.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -536,8 +536,8 @@ static struct fsp_client fsp_occ_client = { void occ_send_dummy_interrupt(void) { - /* Mambo chip doesn't do this */ - if (is_mambo_chip) + /* Mambo chip and P7 don't do this */ + if (is_mambo_chip || proc_gen != proc_gen_p8) return; xscom_writeme(OCB_OCI_OCCMISC_OR, OCB_OCI_OCIMISC_IRQ | |