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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id CA7AFCF65D3 for ; Mon, 26 Jan 2026 10:25:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 392CA10E3F3; Mon, 26 Jan 2026 10:25:15 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Wmcy2gK3"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id C9ADB10E3F3 for ; Mon, 26 Jan 2026 10:25:14 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id AB7954040B; Mon, 26 Jan 2026 10:25:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC2DAC19421; Mon, 26 Jan 2026 10:25:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769423114; bh=1Rl/NJhMTYCsDeKJhDknpfhqitogEoQQWuJfyg+0UsM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Wmcy2gK3gzl5rqmDjmIUi1KlqXc9G5SvIix+BvfRQuiZWPCm8dzQ7qoOmDD7u/dt2 qb9GCHkoZmLfNH7E9jcv6dytfIpW9+6ELA5UC/+APDrV2vitourfMnYepwn+Bb5VsE 8y78zia0ZXtWBtsyTp0Q99v9pIv/EXSu1A5Cwpr3QRXUgYY97Ebo5gXoXRgiTJyq6O CN2feiXdgvdpTcYuUZrVAmpm5m88o6TrvbaqWtbzsMEn1eVwEPMq/MBuslE1/L70wr YlEARsn+8DmRx7VaaOCu6YRyQqVnBEPoA0/imxGyXLqGFnoxti76/OPyC1QTUl7Jwi vTZe1pllR2Sbw== Date: Mon, 26 Jan 2026 10:25:11 +0000 From: Tzung-Bi Shih To: Thomas Zimmermann Cc: briannorris@chromium.org, jwerner@chromium.org, javierm@redhat.com, samuel@sholland.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, airlied@gmail.com, simona@ffwll.ch, chrome-platform@lists.linux.dev, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 06/12] firmware: google: Init coreboot bus with subsys_initcall() Message-ID: References: <20260115082128.12460-1-tzimmermann@suse.de> <20260115082128.12460-7-tzimmermann@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260115082128.12460-7-tzimmermann@suse.de> 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Jan 15, 2026 at 08:57:16AM +0100, Thomas Zimmermann wrote: > Using module_init()/device_initcall() is too late to initialize > the coreboot bus, as there might already be drivers that depend > on it. > > So far this hasn't been a problem, as coreboot controls all device > creation. Initializing the coreboot bus earlier in subsys_initcall() > will allow for external coreboot drivers to register themselves > with device_initcall(). Prepares coreboot to support additional > coreboot drivers from other subsystems. > > Signed-off-by: Thomas Zimmermann > Reviewed-by: Javier Martinez Canillas Acked-by: Tzung-Bi Shih