diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-02-27 17:11:06 +0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-03-04 13:06:11 +1100 |
commit | 39ad7e5986d3d86324db1ffaa2922a3541bc020b (patch) | |
tree | 421e6e522185a34b3b9ccea0478cafc230f6f521 /hw/occ.c | |
parent | e0b0971df339db785cbee4dd5ab0977aefece805 (diff) | |
download | blackbird-skiboot-39ad7e5986d3d86324db1ffaa2922a3541bc020b.tar.gz blackbird-skiboot-39ad7e5986d3d86324db1ffaa2922a3541bc020b.zip |
hw/prd: Handle OCC TMGT interrupts through PRD
This change hooks the OCC TMGT interrupt path into the PRD's
prd_tmgt_interrupt function.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/occ.c')
-rw-r--r-- | hw/occ.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -598,12 +598,6 @@ void occ_send_dummy_interrupt(void) OCB_OCI_OCIMISC_IRQ_OPAL_DUMMY); } -static void occ_tmgt_interrupt(void) -{ - /* Not currently expected */ - printf("OCC: TMGT interrupt !\n"); -} - void occ_interrupt(uint32_t chip_id) { uint64_t ireg; @@ -623,7 +617,7 @@ void occ_interrupt(uint32_t chip_id) /* Dispatch */ if (ireg & OCB_OCI_OCIMISC_IRQ_TMGT) - occ_tmgt_interrupt(); + prd_tmgt_interrupt(chip_id); /* We may have masked-out OCB_OCI_OCIMISC_IRQ in the previous * OCCMISC_AND write. Check if there are any new source bits set, |