summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-02-17 17:45:59 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-18 11:52:41 +1100
commitc48f1a3d7df2dec1c157f1b12b4925bfd666b710 (patch)
tree4feef4e9eadedf31ccefb95d19083a96c9b8f783 /include
parentf2c3e5186178d5e91970a4e8c9ff2a99e6ea9f72 (diff)
downloadblackbird-skiboot-c48f1a3d7df2dec1c157f1b12b4925bfd666b710.tar.gz
blackbird-skiboot-c48f1a3d7df2dec1c157f1b12b4925bfd666b710.zip
occ: Fix potential race when clearing occ interrupt status
Currently, the occ_interrupt handler will clear the interrupt bit along with the interrupt reason. If an irq has occurred between the read and the clear, we'll mask out interrupt bit for that new event This change checks the reason bits after clearing the interrupt bit. If any are set, we re-set the interrupt bit to trigger another interrupt. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud