public inbox for linux-kselftest@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] kunit,um: Fix kunit.py build --alltests
@ 2022-02-18  7:57 David Gow
  2022-02-18  7:57 ` [PATCH 1/4] drm/amdgpu: Fix compilation under UML David Gow
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: David Gow @ 2022-02-18  7:57 UTC (permalink / raw)
  To: Jeff Dike, Richard Weinberger, Anton Ivanov, Shuah Khan,
	Brendan Higgins, Randy Dunlap
  Cc: David Gow, linux-um, amd-gfx, dri-devel, kunit-dev,
	linux-kselftest, linux-rdma, x86, felix.kuehling, linux-kernel

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(-)

-- 
2.35.1.265.g69c8d7142f-goog


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-02-19 15:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-18  7:57 [PATCH 0/4] kunit,um: Fix kunit.py build --alltests David Gow
2022-02-18  7:57 ` [PATCH 1/4] drm/amdgpu: Fix compilation under UML David Gow
2022-02-18 16:39   ` Felix Kuehling
2022-02-18 16:40     ` Alex Deucher
2022-02-19  8:00     ` David Gow
2022-02-18  7:57 ` [PATCH 2/4] drm/amdgpu: Make smu7_hwmgr build on UML David Gow
2022-02-18  7:57 ` [PATCH 3/4] IB/qib: Compile under User-Mode Linux David Gow
2022-02-18  7:57 ` [PATCH 4/4] kunit: tool: Disable broken options for --alltests David Gow
2022-02-18 12:26   ` Johannes Berg
2022-02-19  8:00     ` David Gow
2022-02-19 15:43       ` Johannes Berg
2022-02-18 15:01   ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox