summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-02-13 10:37:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-06 15:09:42 +0000
commiteb0d1b7cfb4cb33efc0d993bdf2cf6c8aa40af2a (patch)
treea8eee4f771a7b63c7d357fdc9ae071aedc47497b /scripts/lib/scriptutils.py
parentb5aa5fc52af8655f499ed0a98d7fc9d7075a2d4a (diff)
downloadpoky-eb0d1b7cfb4cb33efc0d993bdf2cf6c8aa40af2a.tar.gz
libjpeg-turbo: upgrade 2.1.5 -> 2.1.5.1
Changelog: ========== 1. The SIMD dispatchers in libjpeg-turbo 2.1.4 and prior stored the list of supported SIMD instruction sets in a global variable, which caused an innocuous race condition whereby the variable could have been initialized multiple times if 'jpeg_start_*compress()' was called simultaneously in multiple threads. libjpeg-turbo 2.1.5 included an undocumented attempt to fix this race condition by making the SIMD support variable thread-local. However, that caused another issue whereby, if 'jpeg_start_*compress()' was called in one thread and 'jpeg_read_*()' or 'jpeg_write_*()' was called in a second thread, the SIMD support variable was never initialized in the second thread. On x86 systems, this led the second thread to incorrectly assume that AVX2 instructions were always available, and when it attempted to use those instructions on older x86 CPUs that do not support them, an illegal instruction error occurred. The SIMD dispatchers now ensure that the SIMD support variable is initialized before dispatching based on its value. (From OE-Core rev: d57de2a7169de369105ed9bce19a43dad68f350a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 009a1b0390d791d614b8d4a1407e7479c261f60d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions