Skip to content

microblaze: KUnit support

Thomas Weißschuh linux-kselftest lkml 2 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected] change-id 20260802-kunit-microblaze-7a3f6ac88b4d

Versions newest first

  1. v2 Latest5 patches 1 replyApplied
  2. v14 patches 15 repliesSuperseded

Changes in v2 from the cover letter

- 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]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5microblaze: uaccess: Zero out destination on failed get_user()arch/microblaze/include/asm/uaccess.h+2 -10 replies
2/5microblaze: Pass -m{big,little}-endian through KBUILD_CPPFLAGSarch/microblaze/Makefile+2 -40 replies
3/5microblaze: reset: Call POWER_OFF handlersarch/microblaze/kernel/reset.c+1 -00 replies
4/5microblaze: reset: Provide a power off handler through an unaligned PCarch/microblaze/Kconfig arch/microblaze/kernel/reset.c+30 -00 replies
5/5kunit: qemu_configs: Add microblaze configurationstools/testing/kunit/qemu_configs/microblazebe.py tools/testing/kunit/qemu_configs/microblazeel.py+52 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchDavid Gow
1/5R-b
2/5
3/5A-b
4/5T-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] microblaze: KUnit support

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.

---
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,

Signature · 1 line
Thomas Weißschuh <[email protected]>