From patchwork Fri Feb 18 07:57:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gow X-Patchwork-Id: 12751041 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DC0FC433FE for ; Fri, 18 Feb 2022 07:57:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232226AbiBRH6N (ORCPT ); Fri, 18 Feb 2022 02:58:13 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232223AbiBRH6L (ORCPT ); Fri, 18 Feb 2022 02:58:11 -0500 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7B9615DDF2 for ; Thu, 17 Feb 2022 23:57:55 -0800 (PST) Received: by mail-pj1-x1049.google.com with SMTP id b9-20020a17090aa58900b001b8b14b4aabso4963308pjq.9 for ; Thu, 17 Feb 2022 23:57:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=pzssXhX8riGRjAd4+3metqANF5chmN7DhU3KIG19plk=; b=BXYHGO/apr1trZ7ANJF1Lt6pYKglG4Ybyk1oIZRHZKKVSqoKSXgrBXlJ+1OM+32L9t MU8n7K+r76s0oXflCxISCV1ICc0UvMWkHQwSTytgu8Evx0a2e982roAPsTJGWM6fb62G 4xiTSYukPeiMTehnCZ8Ef6urhW9UdAhyCH8qBQH/Z3umLv0xdGv2JPdSLHgNuZnc3YDQ m26WTBm81XDNmFpY/glb5MBqUkdfdOBU4PUPqt6iZ2jAhWr3J7itrrkNCi44IwFV8KeU S94sCD0t8mfXDphKvuDMvw2otQeqJUpd7l5aT+oeKWADzDv5u6Czmms69AvfX5QGDeUK NAmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=pzssXhX8riGRjAd4+3metqANF5chmN7DhU3KIG19plk=; b=NEd4aMYtwC14no62WdN72g3cwx6xJRXnP2GgWf63HNN0YhGUQjrM1p5fCJTjTVVbX6 kjo+OrOrGSWNXSPun7nN/rX57WV8gfbmiappz8ply2xWoMD887q1eWzYwXvIvKay6keJ veZ/GFn437ScdAYutGsaXqPAy0posH9mow5JbnMHeNtJjKdgIWC+7FgaprcRcTmUbep0 H8dYXGZelKFn24zkOXZLkzNrD0VacK7EJINsK3VFAnpO4j4X0dXye/7zUb2PO3QE/375 qW78Wjkq02qqlqMPdwUZBLy0Exv5j7fYjzu5fVj4UfG6Zd+wfJQaF6XIME9R3sIG6p6U 2R7w== X-Gm-Message-State: AOAM531XCe+7zjbhMyYRdsjIIGPyS226Cg/e3BCEWdnJxPVDLuqNPaJq s/T9Dn7tLTmEF5RkY94oeSSrwmtOonQdDA== X-Google-Smtp-Source: ABdhPJw0UMsgszZC5yB3naBv5jFWjYWF4uP6hg8QghCa4W6xT10Nwxg2nhu4SD1k1Vghgej18o9lOhbEem5LzA== X-Received: from slicestar.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:20a1]) (user=davidgow job=sendgmr) by 2002:a17:90a:a50f:b0:1b8:e6ad:f63c with SMTP id a15-20020a17090aa50f00b001b8e6adf63cmr333880pjq.1.1645171074073; Thu, 17 Feb 2022 23:57:54 -0800 (PST) Date: Fri, 18 Feb 2022 15:57:23 +0800 Message-Id: <20220218075727.2737623-1-davidgow@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.35.1.265.g69c8d7142f-goog Subject: [PATCH 0/4] kunit,um: Fix kunit.py build --alltests From: David Gow To: Jeff Dike , Richard Weinberger , Anton Ivanov , Shuah Khan , Brendan Higgins , Randy Dunlap Cc: David Gow , linux-um@lists.infradead.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-rdma@vger.kernel.org, x86@kernel.org, felix.kuehling@amd.com, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org 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(-)