aboutsummaryrefslogtreecommitdiff
path: root/core/test
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-11-25 06:07:59 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-27 18:49:58 +1100
commit2df2407375963ab08bcb3c62eb7230c07e734687 (patch)
tree78cc41c08cefc5a815626c48c4141c4a38cd20cd /core/test
parent0aa749e6822aee816b4a9c3100eebabc2e74ee32 (diff)
downloadskiboot-2df2407375963ab08bcb3c62eb7230c07e734687.zip
skiboot-2df2407375963ab08bcb3c62eb7230c07e734687.tar.gz
skiboot-2df2407375963ab08bcb3c62eb7230c07e734687.tar.bz2
core/bitmap: fix bitmap iteration limit corruption
The bitmap iterators did not reduce the number of bits to scan when searching for the next bit, which would result in them overruning their bitmap. These are only used in one place, in xive reset, and the effect is that the xive reset code will keep zeroing memory until it reaches a block of memory of MAX_EQ_COUNT >> 3 bits in length, all zeroes. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/test')
0 files changed, 0 insertions, 0 deletions