Re: [PATCH v2 0/5] microblaze: KUnit support

From: Michal Simek

Date: Mon Sep 14 2026 - 06:38:49 EST




On 9/14/26 01:50, Thomas Weißschuh wrote:
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 <linux@xxxxxxxxxxxxxx>
---
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/20260804-kunit-microblaze-v1-0-6dcdfe12eb40@xxxxxxxxxxxxxx

---
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 <linux@xxxxxxxxxxxxxx>


Applied.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP/Versal ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal/Versal NET SoCs
TF-A maintainer - Xilinx ZynqMP/Versal/Versal NET SoCs