linux-sg2042/arch/xtensa
Max Filippov 75289cdbe1 xtensa: fix KASAN report for show_stack
commit 1d3b7a788c upstream.

show_stack dumps raw stack contents which may trigger an unnecessary
KASAN report. Fix it by copying stack contents to a temporary buffer
with __memcpy and then printing that buffer instead of passing stack
pointer directly to the print_hex_dump.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-06 12:10:54 +02:00
..
boot xtensa: enable ARCH_HAS_GCOV_PROFILE_ALL 2022-07-14 00:54:47 -07:00
configs treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
include - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
kernel xtensa: fix KASAN report for show_stack 2023-04-06 12:10:54 +02:00
lib xtensa: add __umulsidi3 helper 2023-01-07 11:11:46 +01:00
mm xtensa/mm: enable ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:39 -07:00
platforms Xtensa updates for v5.20 2022-08-04 15:35:58 -07:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kbuild xtensa: move core-y in arch/xtensa/Makefile to arch/xtensa/Kbuild 2021-08-11 11:37:13 -07:00
Kconfig arch: mm: rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER 2022-09-11 20:25:56 -07:00
Kconfig.debug xtensa: make stack dump size configurable 2019-11-26 11:33:39 -08:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00