From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D62C237707 for ; Fri, 20 Feb 2026 06:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771567598; cv=none; b=SDzSwTf03KTJvIBd0uLWWvOMcTkyA1n3x1qLIeJYWsPgnVBwdQ2u6jJMTyhXtXoXntXFo0RyPLlQjw4Jrs+RpJgqaiRbYGEGoIqyqTm5LCxfSEXfkgadEwYXhpAtB07xyQKtKBs0XIEh6zj8PJvh0qdUw6UOcz6nHp4U5TSARRo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771567598; c=relaxed/simple; bh=BcVh7QoITwEkqqlbvdhlz2tR9z11qLDn4GSoqYaFwDE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eyA/CfYE20LVCm0LgOcf4ikvjHL5SGLHw2QBhZpr728lBmmyvuQG99/0dyfpCwPYV3ktX3ffi6vw5d4RZqtghVjAlgARvy3s/UEnmAIN4NNSd/3r1PMLuhrZR6hYyHIt9zWcIDrrki/qDVTbmupaERi6kVrKhJW6ay1ipBEqSwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fipWH8sZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="fipWH8sZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A889C116D0; Fri, 20 Feb 2026 06:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771567597; bh=BcVh7QoITwEkqqlbvdhlz2tR9z11qLDn4GSoqYaFwDE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fipWH8sZRf3blBBr14Z0J1HDAQvkwKKq+SbkPTI7laBCmWqEm2A+KdFMqtLeQGGw1 zvGLwjxWJQyhrHM1GXnQc28s0t6e0WDY+3vLeTyEaNYPimI87222dHAPsdnec3CkDi C7TqEGbNP5T2mroszFFx1dmc7dKFiMCI48FFNW/Q= Date: Fri, 20 Feb 2026 07:06:34 +0100 From: Greg KH To: Koen Koning Cc: dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, Joel Fernandes , Matthew Auld , Danilo Krummrich , Dave Airlie , Peter Senna Tschudin , stable@vger.kernel.org Subject: Re: [PATCH v3 1/3] gpu/buddy: fix module_init() usage Message-ID: <2026022016-creole-limpness-6ae7@gregkh> References: <20260216111902.110286-1-koen.koning@linux.intel.com> <20260219213858.370675-1-koen.koning@linux.intel.com> <20260219213858.370675-2-koen.koning@linux.intel.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260219213858.370675-2-koen.koning@linux.intel.com> On Thu, Feb 19, 2026 at 10:38:56PM +0100, Koen Koning wrote: > Use subsys_initcall() instead of module_init() (which compiles to > device_initcall() for built-ins) for buddy, so its initialization code > always runs before any (built-in) drivers. > This happened to work correctly so far due to the order of linking in > the Makefiles, but this should not be relied upon. Same here, Makefile order can always be relied on. thanks, greg k-h