Add the necessary prerequisites and configuration to run KUnit on microblaze.
Please note that various KUnit tests might fail depending on the kernel configuration as the memmove() implementation from arch/microblaze/lib/memmove.c seems to be broken. gpu_buddy.gpu_test_buddy_alloc_exceeds_max_order is currently also broken. Intended for the microblaze tree. Signed-off-by: Thomas Weißschuh <[email protected]> --- Changes in v2: - Rebase on v7.3-rc1. - Pick up review tags. - Move do_kernel_power_off() after the message printing. - Little endian support. - Link to v1: https://patch.msgid.link/[email protected] --- Thomas Weißschuh (5): microblaze: uaccess: Zero out destination on failed get_user() microblaze: Pass -m{big,little}-endian through KBUILD_CPPFLAGS microblaze: reset: Call POWER_OFF handlers microblaze: reset: Provide a power off handler through an unaligned PC kunit: qemu_configs: Add microblaze configurations arch/microblaze/Kconfig | 9 ++++++++ arch/microblaze/Makefile | 6 ++--- arch/microblaze/include/asm/uaccess.h | 3 ++- arch/microblaze/kernel/reset.c | 22 +++++++++++++++++++ tools/testing/kunit/qemu_configs/microblazebe.py | 24 ++++++++++++++++++++ tools/testing/kunit/qemu_configs/microblazeel.py | 28 ++++++++++++++++++++++++ 6 files changed, 87 insertions(+), 5 deletions(-) --- base-commit: cee9395acd8043be0644b25c34bfa86623f2b935 change-id: 20260802-kunit-microblaze-7a3f6ac88b4d Best regards, -- Thomas Weißschuh <[email protected]>

