[PATCH 0/4] microblaze: KUnit support
From: Thomas Weißschuh
Date: Tue Aug 04 2026 - 01:35:39 EST
Add the necessary prerequisites and configuration to run KUnit on
microblaze.
Please note that various KUnit tests will fail with the default
configuration as the memmove() implementation from
arch/microblaze/lib/memmove.c seems to be broken.
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (4):
microblaze: uaccess: Zero out destination on failed get_user()
microblaze: reset: Call POWER_OFF handlers
microblaze: reset: Provide a power off handler through an unaligned PC
kunit: qemu_configs: Add microblaze configuration
arch/microblaze/Kconfig | 9 +++++++++
arch/microblaze/include/asm/uaccess.h | 3 ++-
arch/microblaze/kernel/reset.c | 22 ++++++++++++++++++++++
tools/testing/kunit/qemu_configs/microblaze.py | 17 +++++++++++++++++
4 files changed, 50 insertions(+), 1 deletion(-)
---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260802-kunit-microblaze-7a3f6ac88b4d
Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>