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 16663C6FD1D for ; Mon, 20 Mar 2023 19:04:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229540AbjCTTEc (ORCPT ); Mon, 20 Mar 2023 15:04:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbjCTTDp (ORCPT ); Mon, 20 Mar 2023 15:03:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE6F015168 for ; Mon, 20 Mar 2023 11:56:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DF3A4B8109E for ; Mon, 20 Mar 2023 18:56:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5613AC433D2; Mon, 20 Mar 2023 18:56:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679338564; bh=Dl2tc+KZJCj/AE5gJVzNM08To7rENxRVi1qXDVJVRWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Zb06RfCwao+iYy7hdE9caI5q/fN462wvn9CeIQRXoFbCnRnQadgPaFshJueOYzl1o Ejv4p8OPnZp4ZBc4D3JD92wTqyeZDpE/vr0MYI9Ngp4Fl8EpZajt91O0JDgCE/qnDW dE4yDPcwEM/TaNUeKTGzUCzHS+6JNvsBsuzyyQTzNXw2PhctI7Xp7YvVSe6OqMvMmE UB6T/+p4PoYAzKFtGObjvfsQgKvUWGL1ZssHWtKhdYa0B/kf/jMCjbjweOD2fV8wqm GeW2XIApMRwUYn1JQ5RAwxAx+Ev7p/FTgdoPAXQPQvtmpAq6tn+FKA0lsRfk7ep9O8 7252dqYdB7olg== Date: Mon, 20 Mar 2023 11:56:02 -0700 From: Nathan Chancellor To: Linus Torvalds Cc: Linux Kernel Mailing List , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: Re: Linux 6.3-rc3 Message-ID: <20230320185602.GB615556@dev-arch.thelio-3990X> References: <20230320180501.GA598084@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 20, 2023 at 11:49:55AM -0700, Linus Torvalds wrote: > On Mon, Mar 20, 2023 at 11:26 AM Linus Torvalds > wrote: > > > > Hmm. I do my arm64 allmodconfig builds with gcc, and I'm surprised > > that gcc doesn't warn about this. > > Side note: I'm also wondering why that TEGRA_HOST1X config has that > ARM dependency in > > depends on ARCH_TEGRA || (ARM && COMPILE_TEST) > > because it seems to build just fine at least on x86-64 if I change it to be just > > depends on ARCH_TEGRA || COMPILE_TEST > > ie there seems to be nothing ARM-specific in there. > > Limiting it to just the tegra platform by default makes 100% sense, > but that "only do compile-testing on ARM" seems a bit bogus. > > That limit goes back to forever (commit 6f44c2b5280f: "gpu: host1x: > Increase compile test coverage" back in Nov 2013), so maybe things > didn't use to work as well back in the dark ages? > > None of this explains why gcc didn't catch it, but at least allowing > the build on x86-64 would likely have made it easier for people to see > clang catching this. I did see a patch fly by to fix that: https://lore.kernel.org/20230316082035.567520-3-christian.koenig@amd.com/ It seems like the DRM_TEGRA half of it is broken though: https://lore.kernel.org/202303170635.A2RsQ1Wu-lkp@intel.com/ Cheers, Nathan