Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1292745pxb; Wed, 2 Feb 2022 01:16:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwFp7mLu6eg9wQfioTe/Zv0MVzfrFLUiTPCvCmOXM2v5h6HZ+xoR+UBrvS7gCMMLPySuW+Z X-Received: by 2002:a17:907:2ce3:: with SMTP id hz3mr23850692ejc.361.1643793381101; Wed, 02 Feb 2022 01:16:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643793381; cv=none; d=google.com; s=arc-20160816; b=YmMCc85NHTDCrhzP8+vhAfUK49V4IblgfYgnDIa8zqdfoVdUepjSsEERAKkM1aJx5X c09uRArEC6GbknJZOIgQ41+LIfoHhBNVKBfvJm8ENy9OKdmyoFGuX1cwGAzkNAEz/WdJ s1gBSEHZ9gdqRbfiHMHBpya3zP6sxraCzJ/s9NN1AfCj5B0f5xOJMq4MlD+2YSGYUiOT 5F8jmQZq4t5+oivV2o2Saq36XX6mJghT+73idHvSMKZAInXTdygsERB0ElPs9NhPPXj1 aTe3UoZo3G/ClyeXFGKU9MaqxplpuRj6Nw07g1fHT6OiOY+zl7DLD7tD5VAuCXsx9807 CdJw== 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=V3JZUesgcWlT0Bhkm/BdYchSqE9jSShlPo22P93IH6w=; b=xV7kr+WcJt8lIPH3C7XM5vZvzRZVOObeujKTkxlYa6jh8+5one9S5m7n3FWhprk75i HAIXS+hd/KVLiQy2cyBZKAGqW6OUFo8OqPMna0KIs+/RQEjH19NRvqeTQLPZxvgcKAOg 3y5C/HUt0wnvMTC6/7iTCEItG+qRLtBv9ChNUKCZWCv15/GGHKan+Je1yc0Vrea2UJaZ 9YHsOkpFrHie1pQsElSvQ87IegQxko/aJ66hgRiN9cFGG1G3hqzu8/OlqG6aHeSUtQs1 23LoUGqOdzB6AvBz/cCejoedG+OIJlWqrIDDcXmZ48f/pZaaPet4YZ8iB+1FflE2Dsyd 2h1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BuItHP8N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w28si10747832edi.496.2022.02.02.01.15.56; Wed, 02 Feb 2022 01:16:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BuItHP8N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S240489AbiBBHqU (ORCPT + 99 others); Wed, 2 Feb 2022 02:46:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234558AbiBBHqT (ORCPT ); Wed, 2 Feb 2022 02:46:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CA2FC061714 for ; Tue, 1 Feb 2022 23:46:18 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 0A4ED61791 for ; Wed, 2 Feb 2022 07:46:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70FDFC340F0 for ; Wed, 2 Feb 2022 07:46:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643787977; bh=EU8FY4hoqMKIUTQTA8fc+OQEccHtNTc7RoeXbnU6SfU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BuItHP8NJ3VXtkbWynb6fL58D8vI14aAtJOQqeabKt7MMEAa72AK+CFGNnQpytpqo zFiUgmkWRZwrf+q28zKBsQLk7jmQrzQM181d1WJP8fgVRSKWoI6WrXEWZWglrKZWOV RAMx+H0Gk2GcXw+CM1rNZ3vaWETts5L1TloD9L9nLWC78H2yPxqw+SNhznVBi4WqWd R+pDLwhuRMSKW4SIG4WerhpMJaNTxq3V2dTOdfavMqJr3SmPknXwzrTMeme+5L4Ubv d8oy6KhT/l9Usz/yfFoH4HdrAlEewUPvRtOpZ//S3/h2Lx5rp3Ti0GS5RfOEV494yi C4WY1WoRqkgwQ== Received: by mail-oi1-f170.google.com with SMTP id q186so38213710oih.8 for ; Tue, 01 Feb 2022 23:46:17 -0800 (PST) X-Gm-Message-State: AOAM531doDIRJSB7C+pML4T+65i1aUpG/2DP2YRv0L1zBYxwrIC3LUwK qXYSZOkisirwznbaVkiaYuNEdEG+pIRh+61p4sk= X-Received: by 2002:aca:f03:: with SMTP id 3mr3702970oip.102.1643787976652; Tue, 01 Feb 2022 23:46:16 -0800 (PST) MIME-Version: 1.0 References: <6fc4a81f-1a13-bff9-7b2e-d5bec382cb42@synopsys.com> <9bab4777-3034-b789-fdf6-ca8d7e6a8c35@infradead.org> In-Reply-To: From: Arnd Bergmann Date: Wed, 2 Feb 2022 08:46:00 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Kconfig CONFIG_FB dependency regression To: Thinh Nguyen Cc: Fabio Estevam , Randy Dunlap , Kees Cook , Daniel Vetter , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , John Youn , Bing Yuan , "linux-mediatek@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 2, 2022 at 1:14 AM Thinh Nguyen wrote: > Fabio Estevam wrote: > > On Tue, Feb 1, 2022 at 8:06 PM Randy Dunlap wrote: > >> > >> On 2/1/22 15:01, Thinh Nguyen wrote: > >>> Hi, > >>> > >>> One of our test setups is unable to boot (stuck at initramfs). Git > >>> bisection points to the commit below: > >>> > >>> f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB") > >>> > >>> Reverting this patch resolves the issue. This issue persists in mainline > >>> also. Unfortunately there isn't any meaningful log. Hopefully someone > >>> can give some insight as to what could be the issue and revert/fix this > >>> issue. > >> > >> Hi, > >> Did you enable DRM_FBDEV_EMULATION? > > I did not enable it. > > >> Please provide the failing .config file. > > > > Does selecting CONFIG_FB=y help? > > > > On the config that has the issue, this isn't set. After reverting the > commit above, this was set. Maybe this is what's needed? I need to test it. CONFIG_FB should not normally be needed for booting, so unless you have a graphical application in your initramfs that requires the /dev/fb0 device to work, it is not supposed to make a difference. Are there any other differences in your .config before and after the patch? It's possible that you use some other driver that in turn depends on CONFIG_FB. Does your machine have any graphical output device? If yes, which driver do you use? You may also want to make sure that you have 9d6366e743f3 ("drm: fb_helper: improve CONFIG_FB dependency") in your kernel, which fixes a minor problem with my original patch. Arnd