diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-12-09 13:09:50 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-12-09 13:09:50 +1100 |
commit | 5bd73e1fe16ab847b97a34e3235509f610658902 (patch) | |
tree | e4f093ecd9b79b06d794e60d3370b36a4816a63c /include/skiboot.h | |
parent | 3484a186e5542813fc0c356d28c17e6afe0e81c6 (diff) | |
download | skiboot-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/skiboot.h')
0 files changed, 0 insertions, 0 deletions