From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC9C2C0650E for ; Mon, 1 Jul 2019 11:33:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C0DED208E4 for ; Mon, 1 Jul 2019 11:33:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="gTyP6v2/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727631AbfGALdN (ORCPT ); Mon, 1 Jul 2019 07:33:13 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:44939 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726967AbfGALdL (ORCPT ); Mon, 1 Jul 2019 07:33:11 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 45clc33R99z9sPM; Mon, 1 Jul 2019 21:33:07 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1561980789; bh=C8KL78jLCoDFJ1Bb+OIqrAImaLk0QK9iv7sc8TkvVx0=; h=Date:From:To:Cc:Subject:From; b=gTyP6v2/8pcb2Dz3UJFcp7ZuSvKfY+fzxNdReNZr6bfbHRMlvSjTRIkwx1XFIRVpk kdonvaUwJZaimvau5BLDhDCMFRYQhqQyMMfZGc9hT2fHIBhJTwQaeF0dG0zMPkxlb/ 8/99N7Ex8jVNArXN+/ZVweaYPJoC5yAAqzQmxFfX7Yccta/5ZpyJlRwlW5SXa78Vvz uFXzwmqJcJ0MMFeogb4gPhFarPCLQSNY37MLnLZzdj592v9DBedYIYhUqSkLDtQJfG QY6i218xlHBAgaH1z675EG8Hih4GTLBj+zIEzfjUNthZPK+woBDQ4pEspbE96SK7SD 2Np5CgOksel/g== Date: Mon, 1 Jul 2019 21:33:04 +1000 From: Stephen Rothwell To: Jason Gunthorpe , Dave Airlie , DRI Cc: Linux Next Mailing List , Linux Kernel Mailing List , Philip Yang , Alex Deucher Subject: linux-next: build failure after merge of the hmm tree Message-ID: <20190701213304.34eeaef8@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/.ggz7+WEN9pPwWsG36IPyVN"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/.ggz7+WEN9pPwWsG36IPyVN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the hmm tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/hmm.c: In function 'hmm_get_or_create': mm/hmm.c:50:2: error: implicit declaration of function 'lockdep_assert_held= _exclusive'; did you mean 'lockdep_assert_held_once'? [-Werror=3Dimplicit-f= unction-declaration] lockdep_assert_held_exclusive(&mm->mmap_sem); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockdep_assert_held_once drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c: In function 'amdgpu_ttm_tt_get_use= r_pages': drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:778:28: error: passing argument 2 o= f 'hmm_range_register' from incompatible pointer type [-Werror=3Dincompatib= le-pointer-types] hmm_range_register(range, mm, start, ^~ In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:35: include/linux/hmm.h:464:29: note: expected 'struct hmm_mirror *' but argume= nt is of type 'struct mm_struct *' struct hmm_mirror *mirror, ~~~~~~~~~~~~~~~~~~~^~~~~~ Caused by commit e36acfe6c86d ("mm/hmm: Use hmm_mirror not mm as an argument for hmm_range= _register") interacting with commit 66c45500bfdc ("drm/amdgpu: use new HMM APIs and helpers") from the drm tree. All I could do for now was to mark the AMDGPU driver broken. Please submit a merge for for me (and later Linus) to use. --=20 Cheers, Stephen Rothwell --Sig_/.ggz7+WEN9pPwWsG36IPyVN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl0Z73AACgkQAVBC80lX 0GxpLQf+LMHL2mWfHS5YvdE3KHF60hv56K27v0dIs3yDycw9f5yhztFHHogleIUr xpVg9DRfLoUlPtCRzP05CWFSGp24bbDsTl+EQrk+sfNbmRmDkWo7zeFd4DUdhe2e MgT9FqipJnbFqXSwpyZzstUa8CdnxlRUOZdlJIwqgdRX4u4g+hlE+45YjmE009pV lRES1OjZED4t4QcfxQjCNFuLlUoZm+CgppPcp4x+KovYEYSl1iHThGlVYMkbqb1C o6LY8LdBK+D1PHpVr23ODTpFL4n25jI8YgQwk/1a8B063GhNz362+oyG3oWY9y7G LZC8K+Xam6sbTcaDrUrNrh7ydo5Zww== =hKxP -----END PGP SIGNATURE----- --Sig_/.ggz7+WEN9pPwWsG36IPyVN--