Skip to content

kunit,um: Fix kunit.py build --alltests

David Gow amd-gfx dri-devel linux-kselftest linux-rdma linux-um lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amdgpu: Fix compilation under UMLdrivers/gpu/drm/amd/amdkfd/kfd_crat.c drivers/gpu/drm/amd/amdkfd/kfd_topology.c+4 -43 replies
2/4drm/amdgpu: Make smu7_hwmgr build on UMLdrivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c+1 -10 replies
3/4IB/qib: Compile under User-Mode Linuxdrivers/infiniband/hw/qib/qib_wc_x86_64.c+4 -00 replies
4/4kunit: tool: Disable broken options for --allteststools/testing/kunit/configs/broken_on_uml.config+5 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] kunit,um: Fix kunit.py build --alltests

kunit_tool's --alltests option uses UML and make allyesconfig to produce a configuration which enables as many tests as possible. However, make ARCH=um allyesconfig is broken for a number of reasons.

Fix a few different UML build breakages, and disable a few config options in kunit_tool in order to get this kernel compiling again.

Note that the resulting kernel still doesn't run, but having it compile is the first step to fixing that.

David Gow (3):
drm/amdgpu: Make smu7_hwmgr build on UML IB/qib: Compile under User-Mode Linux
kunit: tool: Disable broken options for --alltests

Randy Dunlap (1):
drm/amdgpu: Fix compilation under UML

 drivers/gpu/drm/amd/amdkfd/kfd_crat.c               | 6 +++---
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c           | 2 +-
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 2 +-
 drivers/infiniband/hw/qib/qib_wc_x86_64.c           | 4 ++++
 tools/testing/kunit/configs/broken_on_uml.config    | 5 +++++
 5 files changed, 14 insertions(+), 5 deletions(-)
Signature · 1 line
2.35.1.265.g69c8d7142f-goog