From 38bb327d1ad3d5971dc7ddab4ad6d2386e5f6036 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 9 Feb 2015 13:40:32 +1100 Subject: 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 --- hw/occ.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/occ.c') diff --git a/hw/occ.c b/hw/occ.c index 99a1b1e..5d0e34d 100644 --- a/hw/occ.c +++ b/hw/occ.c @@ -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 | -- cgit v1.1