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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 811EEC433FE for ; Tue, 8 Dec 2020 22:19:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4FCAE222B3 for ; Tue, 8 Dec 2020 22:19:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730630AbgLHWTL (ORCPT ); Tue, 8 Dec 2020 17:19:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:57316 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729323AbgLHWTL (ORCPT ); Tue, 8 Dec 2020 17:19:11 -0500 X-Gm-Message-State: AOAM531+9Cls0MVgIkfrrMtHtm1DU6D3jBgY3lFX4ba8X4GWOyV58RKY v66IA3Dtzk7qybABJkjefrWuREfVhwBMk5/uJO0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607465910; bh=xFL+aV7HaUPdoDsPGiwsEiOwK43aRbX8SLueE905Gog=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=D/Bamd5Zm/Kd8OEMMg2w/VlmfLHGs9ICY7QcY+ulPXlZt2szrG2ZLeNsmwtpJpA3F OEF6A9ZuX8PZ/rxBEvFjo9bi6wCAJqvae/KTCUsGvDpA36kAkKF0lyWPROLK8dGIOb aLwQ6Ednn2YONApUrgbt6VmxL4/FjRerh45a9+rivh4IYbYLpBEOiygbiOHHmdXaKe dM8ycWBysSL6XeuD0cLZZgmk4fclznMnuLQI3i9O+njHjUlpggRDjsBEgDVbft2jQj R1oypkXi2B/LIGWIJOcA5hHISH0pKx6kzerlU9IJR5EyUfHmmloIx8VPVtOUe4eioF fzCiKjjW4Kgnw== X-Google-Smtp-Source: ABdhPJzlwEf8pGc7wtGNJ4gFAo+LbUpeXPzo5xZwgMNh5ZzlPdm16Ibf3YJ2IYrQrfy1mcUxMOBbdUVl3HhSn1AHVZg= X-Received: by 2002:a4a:3b81:: with SMTP id s123mr110633oos.15.1607465909604; Tue, 08 Dec 2020 14:18:29 -0800 (PST) MIME-Version: 1.0 References: <20201204081349.1182302-1-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Tue, 8 Dec 2020 23:18:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again To: Nick Desaulniers Cc: =?UTF-8?Q?Christian_K=C3=B6nig?= , Alex Deucher , Harry Wentland , Leo Li , Alex Deucher , David Airlie , Daniel Vetter , Nathan Chancellor , Luben Tuikov , Arnd Bergmann , Mauro Rossi , Randy Dunlap , Roman Li , amd-gfx list , LKML , clang-built-linux , Maling list - DRI developers , Bhawanpreet Lakha , Daniel Kolesa , Timothy Pearson Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 8, 2020 at 7:21 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Tue, Dec 8, 2020 at 6:26 AM Arnd Bergmann wrote: > > > > On Mon, Dec 7, 2020 at 11:28 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > Hmm...no warnings for me with that config on next-20201208: > $ make LLVM=1 -j71 olddefconfig > $ make LLVM=1 -j71 > ... > $ clang --version > clang version 12.0.0 (git@github.com:llvm/llvm-project.git > 1c98f984105e552daa83ed8e92c61fba0e401410) > (ie. near ToT LLVM) > > I see CONFIG_KASAN=y in the .config, so that's a recurring theme with > clang; excessive stack usage. It does seem a shame to disable a > driver for a bunch of archs just due to KASAN stack usage. > $ grep KASAN=y 0x9077925C_defconfig > CONFIG_HAVE_ARCH_KASAN=y > CONFIG_KASAN=y > > Is there a different branch of a different tree that I should be > testing on instead? Otherwise, can you send the object file? I was on a slightly older linux-next, and the latest version contains the patch "ubsan: enable for all*config builds" in linux-next, which enables CONFIG_UBSAN_SANITIZE_ALL. It took me an hour to figure out, but after turning that option off, the warning is back. I'll send you the object for reference in a private mail, it's kind of large. Arnd 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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham 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 D928EC4361B for ; Tue, 8 Dec 2020 22:18:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A41D2388C for ; Tue, 8 Dec 2020 22:18:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A41D2388C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F1B886E071; Tue, 8 Dec 2020 22:18:31 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id BF9E76E06D; Tue, 8 Dec 2020 22:18:30 +0000 (UTC) X-Gm-Message-State: AOAM531ItolYtFSVvD3Yu4ZdqTSwmUDrhiO01YBtUX1ypjV4Wy/15odi B2hVHtpOGCCWURSySJQ53zEVf9RO6BPEt92aMME= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607465910; bh=xFL+aV7HaUPdoDsPGiwsEiOwK43aRbX8SLueE905Gog=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=D/Bamd5Zm/Kd8OEMMg2w/VlmfLHGs9ICY7QcY+ulPXlZt2szrG2ZLeNsmwtpJpA3F OEF6A9ZuX8PZ/rxBEvFjo9bi6wCAJqvae/KTCUsGvDpA36kAkKF0lyWPROLK8dGIOb aLwQ6Ednn2YONApUrgbt6VmxL4/FjRerh45a9+rivh4IYbYLpBEOiygbiOHHmdXaKe dM8ycWBysSL6XeuD0cLZZgmk4fclznMnuLQI3i9O+njHjUlpggRDjsBEgDVbft2jQj R1oypkXi2B/LIGWIJOcA5hHISH0pKx6kzerlU9IJR5EyUfHmmloIx8VPVtOUe4eioF fzCiKjjW4Kgnw== X-Google-Smtp-Source: ABdhPJzlwEf8pGc7wtGNJ4gFAo+LbUpeXPzo5xZwgMNh5ZzlPdm16Ibf3YJ2IYrQrfy1mcUxMOBbdUVl3HhSn1AHVZg= X-Received: by 2002:a4a:3b81:: with SMTP id s123mr110633oos.15.1607465909604; Tue, 08 Dec 2020 14:18:29 -0800 (PST) MIME-Version: 1.0 References: <20201204081349.1182302-1-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Tue, 8 Dec 2020 23:18:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again To: Nick Desaulniers X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Timothy Pearson , Arnd Bergmann , clang-built-linux , Leo Li , Bhawanpreet Lakha , David Airlie , Randy Dunlap , Roman Li , amd-gfx list , LKML , Alex Deucher , Mauro Rossi , Luben Tuikov , Maling list - DRI developers , Daniel Kolesa , Nathan Chancellor , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Dec 8, 2020 at 7:21 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Tue, Dec 8, 2020 at 6:26 AM Arnd Bergmann wrote: > > > > On Mon, Dec 7, 2020 at 11:28 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > Hmm...no warnings for me with that config on next-20201208: > $ make LLVM=1 -j71 olddefconfig > $ make LLVM=1 -j71 > ... > $ clang --version > clang version 12.0.0 (git@github.com:llvm/llvm-project.git > 1c98f984105e552daa83ed8e92c61fba0e401410) > (ie. near ToT LLVM) > > I see CONFIG_KASAN=y in the .config, so that's a recurring theme with > clang; excessive stack usage. It does seem a shame to disable a > driver for a bunch of archs just due to KASAN stack usage. > $ grep KASAN=y 0x9077925C_defconfig > CONFIG_HAVE_ARCH_KASAN=y > CONFIG_KASAN=y > > Is there a different branch of a different tree that I should be > testing on instead? Otherwise, can you send the object file? I was on a slightly older linux-next, and the latest version contains the patch "ubsan: enable for all*config builds" in linux-next, which enables CONFIG_UBSAN_SANITIZE_ALL. It took me an hour to figure out, but after turning that option off, the warning is back. I'll send you the object for reference in a private mail, it's kind of large. Arnd _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel 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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 62CEBC433FE for ; Tue, 8 Dec 2020 22:18:32 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1D64523A1D for ; Tue, 8 Dec 2020 22:18:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1D64523A1D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=amd-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 53AB86E06D; Tue, 8 Dec 2020 22:18:31 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id BF9E76E06D; Tue, 8 Dec 2020 22:18:30 +0000 (UTC) X-Gm-Message-State: AOAM531ItolYtFSVvD3Yu4ZdqTSwmUDrhiO01YBtUX1ypjV4Wy/15odi B2hVHtpOGCCWURSySJQ53zEVf9RO6BPEt92aMME= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607465910; bh=xFL+aV7HaUPdoDsPGiwsEiOwK43aRbX8SLueE905Gog=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=D/Bamd5Zm/Kd8OEMMg2w/VlmfLHGs9ICY7QcY+ulPXlZt2szrG2ZLeNsmwtpJpA3F OEF6A9ZuX8PZ/rxBEvFjo9bi6wCAJqvae/KTCUsGvDpA36kAkKF0lyWPROLK8dGIOb aLwQ6Ednn2YONApUrgbt6VmxL4/FjRerh45a9+rivh4IYbYLpBEOiygbiOHHmdXaKe dM8ycWBysSL6XeuD0cLZZgmk4fclznMnuLQI3i9O+njHjUlpggRDjsBEgDVbft2jQj R1oypkXi2B/LIGWIJOcA5hHISH0pKx6kzerlU9IJR5EyUfHmmloIx8VPVtOUe4eioF fzCiKjjW4Kgnw== X-Google-Smtp-Source: ABdhPJzlwEf8pGc7wtGNJ4gFAo+LbUpeXPzo5xZwgMNh5ZzlPdm16Ibf3YJ2IYrQrfy1mcUxMOBbdUVl3HhSn1AHVZg= X-Received: by 2002:a4a:3b81:: with SMTP id s123mr110633oos.15.1607465909604; Tue, 08 Dec 2020 14:18:29 -0800 (PST) MIME-Version: 1.0 References: <20201204081349.1182302-1-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Tue, 8 Dec 2020 23:18:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again To: Nick Desaulniers X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Timothy Pearson , Arnd Bergmann , clang-built-linux , Leo Li , Bhawanpreet Lakha , David Airlie , Randy Dunlap , Roman Li , amd-gfx list , LKML , Alex Deucher , Mauro Rossi , Luben Tuikov , Maling list - DRI developers , Daniel Vetter , Daniel Kolesa , Alex Deucher , Nathan Chancellor , Harry Wentland , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" On Tue, Dec 8, 2020 at 7:21 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Tue, Dec 8, 2020 at 6:26 AM Arnd Bergmann wrote: > > > > On Mon, Dec 7, 2020 at 11:28 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > Hmm...no warnings for me with that config on next-20201208: > $ make LLVM=1 -j71 olddefconfig > $ make LLVM=1 -j71 > ... > $ clang --version > clang version 12.0.0 (git@github.com:llvm/llvm-project.git > 1c98f984105e552daa83ed8e92c61fba0e401410) > (ie. near ToT LLVM) > > I see CONFIG_KASAN=y in the .config, so that's a recurring theme with > clang; excessive stack usage. It does seem a shame to disable a > driver for a bunch of archs just due to KASAN stack usage. > $ grep KASAN=y 0x9077925C_defconfig > CONFIG_HAVE_ARCH_KASAN=y > CONFIG_KASAN=y > > Is there a different branch of a different tree that I should be > testing on instead? Otherwise, can you send the object file? I was on a slightly older linux-next, and the latest version contains the patch "ubsan: enable for all*config builds" in linux-next, which enables CONFIG_UBSAN_SANITIZE_ALL. It took me an hour to figure out, but after turning that option off, the warning is back. I'll send you the object for reference in a private mail, it's kind of large. Arnd _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx