From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 399E1367F2F for ; Mon, 24 Aug 2026 16:37:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787589462; cv=none; b=CW4B6BE9rQQ4NAhy12EJa1D4GEVhydzv7zvJw5CatRyj+5QTHjY9cEYLt702AqHXhRs0LbOA9nKf+/L+yeJJq3drepBajKb5r/YqlVDWGjQyV0EBuIuaLEc8yrCGuSsCBCWhAVfTyySt3g5DOgzIztDChWXHPP9Ze6+CD+rpDBI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787589462; c=relaxed/simple; bh=hWENBImIPP+6lqHY2Toh7sBtjVGcFhFo/7k7z6+Z4SM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JzQvFlDSe8dP758NGCOgmpZiMXJMKlb08NwBERMcbs2I0mkUgN7xRf1F3/brMrIG2mz0XJzCLk/AAloWTu1yIevyZsEvvhxALYx3+iiShJ64gIiun4I7ToiOchcEg6yGfJ6NueXrIdeQE0ZI1ByIZZdK78UyKj0YGVwVJXv3gA8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=J8TzFRiK; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=EqL1Nxd8; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="J8TzFRiK"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="EqL1Nxd8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1787589459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EFsaFrYRTmZ8yaCBdCceEEFXMYdp9KxTljIHPL6reDo=; b=J8TzFRiKUnho+pbGnvw93+4V0NMcd92BkNbhRPEDIxjrNCusc6D9qPwC+8YTdwgqVre2Vx ShIxRaRFzyygA3BFlMX5ycIEqs/mLt1jWxVRdh/XSbRyhvNUDLceQ1f+lnYur5IGDpr8jM P1tEiOp2rrPYXGZZKaz/oobH8/8FeIY= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-321-ccGflZK_MKKbEdLU2P1wjA-1; Mon, 24 Aug 2026 12:37:37 -0400 X-MC-Unique: ccGflZK_MKKbEdLU2P1wjA-1 X-Mimecast-MFC-AGG-ID: ccGflZK_MKKbEdLU2P1wjA_1787589457 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-90c8da50fcfso21726516d6.1 for ; Mon, 24 Aug 2026 09:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1787589457; x=1788194257; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=EFsaFrYRTmZ8yaCBdCceEEFXMYdp9KxTljIHPL6reDo=; b=EqL1Nxd8r4K1uThVVSL6ds/W/5HeaWx92aZZbx7gY2ukYTSwL4fDe0O86XEnDUoTd2 ve+Wb/XwbE5gAEWG2NgrcMa+l6+OvnVuO9nn9bRdloXb4jKAuIh20fPl2rMKTiqp/Pmd KR0HteDrjhPepmwgufdXm3T6SJczMxxAB3JDeBwcC2zT2rntk+RYZS/Ebh5+sZtr2UR/ zGyUAvr7tL6rihp4pJbxY4SbcrMncc4g9CjCEkCSIqds09KY/qnoqQSj1s9SAO3rgBA5 5RZBgO6u2OFW/qTbdlKoOyxFmM3L3ybneJUIbGVVSh4Mn7cZPMCF5MWALrxzwIFZJ9DU TuTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787589457; x=1788194257; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=EFsaFrYRTmZ8yaCBdCceEEFXMYdp9KxTljIHPL6reDo=; b=NgIb19s27m85sBLWm4vXC2CHPRKrFnyiiTXYlelCcYw4tBM7JdReQE9GqtIsEMXSAI QH5jsp885FUrP+98AQmJGDnOs7dhP8KY9k2kUBbuBxc0/wWRRIC/PgQ1GRofcGShC5pY InUUjrqB1AeTOkrUgDNjRXi3d/e2/x7L1W9t2QA3L2wRhbEeZ3fQzHmdQ2ozkomLSP7k CRPNQK2NiFthSMDsNdPTm9OHbxZEalATTSYPAxVKkoSpErUD5JEGpEoiYHgF9agfbkfh wkgz8vd712eqK4PvT7cfFrIvdDDGKB/05OBkjhZNekiRYpr0fl36TvCoY1C2qliOl+ul CuBQ== X-Forwarded-Encrypted: i=1; AHgh+RqVGruTnOa8h98hVBqORg/qqsQciOKcBAnEJ3JT01Qe8ByR806suv+NRdxVBClcOV+17hMjwRlGEWIYw+k=@vger.kernel.org X-Gm-Message-State: AFuF++khgy+ZIL2RIEmXuXLbWXI1FL3QcQLy4vfDQI4pjj7FEuRrv5Es md3/YPGKNGfJyV4CKbjKYW9CDkuMgI6yP2Efto4ul/+vGpZh7AI+Rw2pboVrbpyj/OGD9D33MPj 091yw0qVJmIF6HZAgnoiOaefS50Jz3ey82JC26OLDmrl1JGrarzYgr+ZuDT8l9kafWQ== X-Gm-Gg: AR+sD10h26IQ11qJXKw2US6UxnA9YXoWzAwHQZJybAHJcsKY2Cn1dXVTtC85YKu2YUX x65yg6p7VXNhhhLK7NfC9m6b38sBDeXoZwYaEcmH8jdtQn55Ki1ZJHuTlUnK93BgEgN1cbmKIeT BPNngE5iBRRj3kmPFZkDul2RF95eCh4O5mSDdcozy6lfAYmcWJ7b2ZHP0+Sz4WSd32cD0tSaKqf tRsv48/vtx76DO3Yq5W3GvrObeeB5YAVIhUGSS4miPqs1H99e5aJQFXX3s9aWli1mC+/4WAvan7 Q+0kYLcHGGZV6dPSkdYX/hiBl/Gj8ErrjhaZlbUVK744F+m+srUkSB6Iog0O1mD2O5mQdMRZ/hy wy8i/O1bzxRAnavByhnr9r9EWY980wTmfjH4= X-Received: by 2002:ac8:5714:0:b0:51c:8432:1753 with SMTP id d75a77b69052e-52e09caf410mr169150441cf.30.1787589457134; Mon, 24 Aug 2026 09:37:37 -0700 (PDT) X-Received: by 2002:ac8:5714:0:b0:51c:8432:1753 with SMTP id d75a77b69052e-52e09caf410mr169149781cf.30.1787589456499; Mon, 24 Aug 2026 09:37:36 -0700 (PDT) Received: from redhat.com (c-73-183-53-213.hsd1.pa.comcast.net. [73.183.53.213]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-90c93614a3dsm65275916d6.19.2026.08.24.09.37.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2026 09:37:35 -0700 (PDT) Date: Mon, 24 Aug 2026 12:37:34 -0400 From: Brian Masney To: Jia Wang Cc: Stephen Boyd , Brian Masney , Jerome Brunet , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: ultrarisc: Register DP1000 clock provider earlier Message-ID: References: <20260820-ultrarisc-clock-fix-v1-1-f27c6a980b42@ultrarisc.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20260820-ultrarisc-clock-fix-v1-1-f27c6a980b42@ultrarisc.com> User-Agent: Mutt/2.4.0 (2026-06-19) On Thu, Aug 20, 2026 at 10:50:47AM +0800, Jia Wang wrote: > The DP1000 PCIe and clock drivers both register at the device initcall > level. Since the PCIe driver is linked first, its probe runs before the > clock provider is available and defers. > > sysfb_init() runs at the same initcall level before deferred probes are > retried. It claims the firmware framebuffer aperture, so the later PCIe > host probe cannot allocate the overlapping prefetchable window and the > GPU is not enumerated. > > Register the clock provider with subsys_initcall() when built in so PCIe > host probing completes before sysfb_init(). Keep module builds using the > normal module init and exit paths. > > Fixes: 3948a36be42b ("clk: ultrarisc: Add DP1000 clock driver") > Signed-off-by: Jia Wang Reviewed-by: Brian Masney I see this same pattern is also used by lots of qcom gcc drivers, 4 Renesas drivers, and a few other drivers. Brian