Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3075329rdb; Wed, 13 Sep 2023 00:47:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGh+pVs5PnfZWw/38KFTmcFFN3KTwqbZTgOLV10sJT0chBlcYabaGZuVwSscDhp1yVgESTa X-Received: by 2002:a05:6358:5114:b0:139:fd45:5db5 with SMTP id 20-20020a056358511400b00139fd455db5mr1388236rwi.1.1694591252000; Wed, 13 Sep 2023 00:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694591251; cv=none; d=google.com; s=arc-20160816; b=0Rg8MczeIwR7ztp2u4VAfarQPd9mpQbd0De1JaKWT1QHQXpJ6cbgknxXvMX1BrtitB NPTVlKbBiqVisDR5d2/wVvIm2sDIdlRXFr09uAWHuqj24JC+jEp4ZhANMT3dfQT292iZ U1ZbE9kiNFNcGjZVIMugb3BXv1V1PfUjKEHEj6SXCHFSdK1aVbpFDa660rDxMQK1HlBi +qH+vo1xyxg5boHaC2P1G0SCHqFokbrJaHkpY669pU43hwfJKpthT+FDFGSCxy03GuEO e+Rdx/CQtF2p1MJjAal4nJJKWF8RYuvyXYQhhma1714+/3BUZ7ZkT3iDAd0iy0j8kTkN oMZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=hMw+EHIIuZCaUHXysWAaBm/VYKzBkzXqLptqFJBEf84=; fh=ElChhBxf+/A+dimiMJ8fN0YtS688nMpVjvtlKd6n4CE=; b=CcWAkNIRTgaQtGW0UBa9ahr7Qm6iFpBAyduYA0gkaySxJtkaqoNf30KoJNCOGxZSce et3qMUqa31hAb+OWI58i1PRiVisXjdDOfbylhL8AzrTZwDeg9Clq9VADzFjfaAeMUVUT ieOLI+1QmxT+w0vjdPYBIQl0ra/3TL6EOxzjJV/m06wbSCml2CIWvKrVzuwsW7JPIhIB QAA+U52o/0Y7jvF/idDvrCutBmj09yqokrMHDgTCvkB8jTyhux4bO1F2ajHHOrNp1LNU 4d6Evll54fcf35OVS9SVPagSRWWFQI0s13ikirpDxRq8y1r3v6BD6JOQiTX4Mrh4qN3g +9Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=3d7WTKkW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id s34-20020a056a0017a200b0068fcc67e73asi4589229pfg.18.2023.09.13.00.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 00:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=3d7WTKkW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id BDB58823CC61; Tue, 12 Sep 2023 20:14:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233304AbjIMDOJ (ORCPT + 99 others); Tue, 12 Sep 2023 23:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235792AbjIMDOH (ORCPT ); Tue, 12 Sep 2023 23:14:07 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A93B1719; Tue, 12 Sep 2023 20:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Cc:To:From:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=hMw+EHIIuZCaUHXysWAaBm/VYKzBkzXqLptqFJBEf84=; b=3d7WTKkW2p+sWEJhOfhuEstZ6O Qgkfw0sboYBpbY8FnunXsjNam0yOOG9z/HlNwkgfwwt6amKIjudHQqzNOt+t4e1Pqvw0s+W5COobG rFCkjGREbYa19iGuESOVqHkr8mVvMp/eSYXFFkXeeycxVAFkFo4yBsiLRdcGb8GASq+DwL8u6Nl2r uXcD6Px15tGtm212nDoQ0G3uAVtr1rnAlbOYqM6I7q4JopqukDMUeQ2tuSnkh3dIrmQryVAdMtjvI Gex3Ohon6Ni7BWsLh2U+QtOFIW+dDcvY4xPIi/plSFajcjnpaNfnUHg2FS6Dtp21ICH36fKdJDBGE aTJugQ4g==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qgGKG-004U8Q-1B; Wed, 13 Sep 2023 03:14:00 +0000 Message-ID: Date: Tue, 12 Sep 2023 20:13:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: Tree for Sep 11 (drivers/gpu/drm/i915/display/intel_backlight.o) Content-Language: en-US From: Randy Dunlap To: Jani Nikula , Stephen Rothwell , Linux Next Mailing List Cc: intel-gfx@lists.freedesktop.org, Linux Kernel Mailing List , "dri-devel@lists.freedesktop.org" References: <20230911121131.006d3fec@canb.auug.org.au> <87a5tresu8.fsf@intel.com> <4364d453-3560-c3c2-15b1-146f9578755b@infradead.org> In-Reply-To: <4364d453-3560-c3c2-15b1-146f9578755b@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 12 Sep 2023 20:14:09 -0700 (PDT) Hi Jani, On 9/12/23 07:52, Randy Dunlap wrote: > > > On 9/12/23 00:47, Jani Nikula wrote: >> On Mon, 11 Sep 2023, Randy Dunlap wrote: >>> On 9/10/23 19:11, Stephen Rothwell wrote: >>>> Hi all, >>>> >>>> Please do *not* include material destined for v6.7 in your linux-next >>>> included branches until *after* v6.6-rc1 has been released. Also, >>>> do *not* rebase your linu-next included branches onto v6.5. >>>> >>>> Changes since 20230908: >>>> >>>> Non-merge commits (relative to Linus' tree): 643 >>>> 614 files changed, 227990 insertions(+), 9502 deletions(-) >>>> >>>> ---------------------------------------------------------------------------- >>> >>> on x86_64: >>> >>> # CONFIG_ACPI is not set >>> CONFIG_DRM_I915=y >>> CONFIG_BACKLIGHT_CLASS_DEVICE=m >>> >>> I915 selects BACKLIGHT_CLASS_DEVICE if ACPI is set. >>> >>> ld: drivers/gpu/drm/i915/display/intel_backlight.o: in function `intel_backlight_device_register': >>> intel_backlight.c:(.text+0x4988): undefined reference to `backlight_device_get_by_name' >>> ld: intel_backlight.c:(.text+0x4a1b): undefined reference to `backlight_device_register' >>> ld: drivers/gpu/drm/i915/display/intel_backlight.o: in function `intel_backlight_device_unregister': >>> intel_backlight.c:(.text+0x4b56): undefined reference to `backlight_device_unregister' >> >> This comes up periodically. The fix is for i915 to depend on backlight, >> but it's not possible to fix just i915, as it'll lead to circular deps >> unless *all* select backlight is switched to depend on backlight. >> >> I've gone through it once [1], and not keen on doing it again unless >> there's buy-in. >> >> IS_REACHABLE() is often suggested as a workaround, but I think it's just >> plain wrong. i915=y backlight=m is not a configuration that makes >> sense. Kernel configuration is hard enough, there's no point in allowing >> dumb configs that just silently don't work. >> > > Yes, IS_REACHABLE() is just fugly nonsense. > > Thanks for the reminder of your attempt(s). > >> >> BR, >> Jani. >> >> >> [1] https://lore.kernel.org/r/1413580403-16225-1-git-send-email-jani.nikula@intel.com I did a partial patch series (eliminated the I915 problems with 9 patches, without build testing -- only kconfig testing -- so more changes may be needed), then I looked at your patch [1] above. I like it but even if Tomi and Daniel didn't have problems with it, I am concerned that it would cause problems with existing working .config files. Still, something should be done about the mixed usage of select and depends on for BACKLIGHT_CLASS_DEVICE (et al). thanks. -- ~Randy