Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3518765pxu; Tue, 8 Dec 2020 14:23:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgFQ/hg0b2O8hM7fixmG/Rby25DLV+9UChCL+ArfAhDd3pJxbUpqzX4tvsjuiRlwoNIJ+K X-Received: by 2002:a17:906:3099:: with SMTP id 25mr24885902ejv.321.1607466223033; Tue, 08 Dec 2020 14:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607466223; cv=none; d=google.com; s=arc-20160816; b=kTdSQCWiCqhFoTM3sfBJLWbMhAsYForlXBp/UlVh1UuYXKjQ5TvcRzxr1STq7tMLNx KbqZstWKR79dvjovVIAwnQ6foIJCbGazM0ie31CS13Uy4KPKVOKVal3qnrAes/67/ale NYBXocCQCp6eTBlR1Z1Z7w3XhMdQyJXDwoCQrZeI7zMs8pyCCKQlubVDVi9prSaIhKaU 1MnSN3e/IXXjXFxbZSFvjxykK5s+uvnnOG+SnFPGNggJjV3iGOsnVPhWUlkpxcVj0IIi BuhFBAt9W4Zf3jGb0u8zfhdfizdWXL6flvwTlVCaLYseRUc4VwQctC/jWlhFX9kf99Ej 2FYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KFydaOfQt8EiekXfCiMTJQvU/VVuoNtUf7BnCi9Z7Dg=; b=EhQVBcoAutwe7fZfvdo3zSe+4X8m4IBHXmIFMskO1VYVqpZCGGgo1reoCY1DVwfTUD z+9CpY2cfv/LJ9PBAXM1pACf5QBUpbPtoskqWLHSkgCHktb7AStwZdvRrEhzKrAX/Kk/ zd9pPYmBW6F7XtAS2OqXEl8ySFybH6g0PiqOy0oyqg8yHwo4dPhEWykXVCtltXZkcULP Pq/qtPDn0Qprnhv3/DKzIaz+gkUlie3OpKhLjT6+SjskfK8VX4japUyr7/U4MNDNrQqa PiSBT73v55RkBirCPfjgmhPVV70GNIsfTGfroNbMnQkPWYxgfPVp9+7v/Cl9j6aDS6qO lTRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="D/Bamd5Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o24si8253354ejm.674.2020.12.08.14.23.15; Tue, 08 Dec 2020 14:23:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="D/Bamd5Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730517AbgLHWTL (ORCPT + 99 others); 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-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