aboutsummaryrefslogtreecommitdiff
path: root/include/chiptod.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-12-09 13:09:50 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-12-09 13:09:50 +1100
commit5bd73e1fe16ab847b97a34e3235509f610658902 (patch)
treee4f093ecd9b79b06d794e60d3370b36a4816a63c /include/chiptod.h
parent3484a186e5542813fc0c356d28c17e6afe0e81c6 (diff)
downloadskiboot-skiboot-2.1.1-fw810.20-3.zip
skiboot-skiboot-2.1.1-fw810.20-3.tar.gz
skiboot-skiboot-2.1.1-fw810.20-3.tar.bz2
fsp: Avoid NULL dereference in case of invalid class_resp bitsskiboot-2.1.1-fw810.20-3
When handling timeouts, we appear to do an occasional NULL dereference in fsp_timeout_poll() due to fsp_cmdclass_resp_bitmask being out of sync (bit set but class queue empty). The cause for the discrepancy will be sorted out separately but the code should be more robust. Additionally, add a lock to ensure we don't race on the timer calculations otherwise we might get spurrious dual detection of the timeout. Fixes SW288484 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/chiptod.h')
0 files changed, 0 insertions, 0 deletions