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 D3C8A530DED for ; Tue, 8 Sep 2026 17:50:50 +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=1788889852; cv=none; b=hJDRo3rX7YTuEfDyNIp1gL5UzWukDYvCuuAaS9lYM3lQds3rGmr7mlitvJJTzg+TPFA35fuv3U5lRCEhh9ZfqFbzn1Un2mB8tL+KDuHTl2PLox0CUfaUgyonTsixll1tbXISeoVTY2RVOPoMNC933guk6PRcaN9g6n1rWGrAHyU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788889852; c=relaxed/simple; bh=5fVqqdPTWUjqRNwOypnkQIbUTq+zpnxZIaYivJYLEes=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eqk/SSgZOwS/mOfC9ZKuxIYNDYV+fPCLYGZRbuwfrl00RfNi0BI/ewbcckoSo9bcyfoyM5of3Iz+5Lan2Ge0lbyVJYpD9CulWz7tloEPD++ZT0l9PF8O+rRLxmdU5ByOjyb9QRZecUvOUJumbzlBUTRVdsSHkMJmqSHOh5PmDOU= 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=TzKsEcf8; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=hlgAsNej; 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="TzKsEcf8"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="hlgAsNej" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788889849; 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=TXOnU8sIgJJ+Z2KqtqOzBqbOvUiDLN1HzyPE3TMJBew=; b=TzKsEcf8dbF2pGJODpl2M7+sVhz2tSkzMbYEmpuWhuJM2vutpsUylWnFJqrNL6H9waN5ea NYQyJgz+g8N4arBHMQc5CtE0W9CXfKy9h+kybdMVREJPH1qoTs+mE3IsJ2axmC5iXaCOuS trKwGok0wMLjXASd1XXlLidtenRhcU4= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-671-SXOhjoRAPyCta2Wn-ue6Ng-1; Tue, 08 Sep 2026 13:50:47 -0400 X-MC-Unique: SXOhjoRAPyCta2Wn-ue6Ng-1 X-Mimecast-MFC-AGG-ID: SXOhjoRAPyCta2Wn-ue6Ng_1788889847 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-52fc16ac179so89456851cf.0 for ; Tue, 08 Sep 2026 10:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1788889847; x=1789494647; 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=TXOnU8sIgJJ+Z2KqtqOzBqbOvUiDLN1HzyPE3TMJBew=; b=hlgAsNejEynDpHxFo58pqvl+FR1sgvy6DLuZcCcC4sUeU/wT1JqIYKKVvLXHEvcqyi 9z6amcnpSttndmvSX4u1/WoQnKDuw1Ka4DaOgjzEZ00FL6Z8LKNWi5eBXmiRmHfet2h0 2fbqk5nU2d0xvA/IelXHsk4QHS+Wk8Dz0wvyZJuzYr5xm0tOq/cVgGl+Sw5Ea/gpmmS4 duCjVm5+VWFRfqURULsA6mYXCEMwo25bUUpk0AeBEdj9TRTUUsZ8x7YyhZyb8s2fDv1D n3XuryrpNx5W1Y1uvTVYJWWpHcb3A/G2C7PBZMMaUuCIKk/TykSCQAZbK/vmYsoEGfHt 1uIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788889847; x=1789494647; 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=TXOnU8sIgJJ+Z2KqtqOzBqbOvUiDLN1HzyPE3TMJBew=; b=rcDrQPiUT1sv1rttCL0cRcLXnXfBcAvqMIqglkpHUzf05je0Iu/TKhihtQfF5zPqyI FdfyODXrXa8OGKThP/RAhxg5TeyBzj9g21tNcNCrblI1o3x2ivvvDos3aFWY0CGvZ2VE 0q6Tp4mhVpeEUsav0GdVxKf94ArRPAYYKEkxA4mVKeVrONOl6dGWYdFa+lNMul2nyoJt dgKOMEaN5oZK6iwZKL6hIWHgiFWMkFPJxYaJTcZX4RXbn/oxUkCggchqnL2KyMXe61mh iELY0Hh9Vn3XfLExmHqj2Gy25HrCY4Mc6Vxh7JKwoyT0y0720C4dGggfqKfWzwqCnKZz Q4MA== X-Forwarded-Encrypted: i=1; AKwUvByUBP2Q+8MpbJ99pywPcuYORytBm3oyb4y+i0E1iAT5ZBNPAP1lgTUU8d7CcG+dKQ2ozlOMNWZAP7k=@vger.kernel.org X-Gm-Message-State: AFuF++maFimTSGIs9ydcLyCJSJpgiASJYp2EEwO5BXZg5CH8esq5iYPX +sP3uy4FXRUYnl3jnGOmBrJy65hTUVtMH9xIALwGTm/i7lSWKDTQG6tjTx8rVAHbFCtgvCRmxXw 3zCNdre+XKJjoaYThujwDIuR1SvbeQR6VTFBdceo2oU5uTtSLp6Z83hnsQOWjZw== X-Gm-Gg: AYBFou2HoU6D00vivFjiwdYk1lly7ht/Y+dkbdWfXBq3Q0eVCQMb1Z1tnCLJRTUVvas 2+V8OO5yOUtqY75W8tBmyZtyeUGoi8OaYBDM98ZNKiqAewOLh9Qqt+5MvO2j4XgBUJXTvkG+lK1 y9jcpi3ipVvW+i9rN5tZ4q90LUw/VUy6YxGtpPKPg9EiSjxmgq6QaevpzH3IrM0jM89Driqy1S8 nd50QoATAZl5BcG1/L7IjPnbF7K4L2tGFQ9kGAvw7KjHuu0LfNW/iQhHY+xHf+NcHjJImjpE4pN T2eYgClpPQG8+dzhYUPayANGuWTt7zq7gbQHgpmuSRnD0QSpPw9DHa0rAlcO+gQvBwU8GEuG99Y KjsnkMlyZ0uoph4XOifOPhmlVQ5KiGeJA5u0= X-Received: by 2002:a05:622a:1791:b0:517:c582:9161 with SMTP id d75a77b69052e-530430a7f66mr339307641cf.7.1788889846834; Tue, 08 Sep 2026 10:50:46 -0700 (PDT) X-Received: by 2002:a05:622a:1791:b0:517:c582:9161 with SMTP id d75a77b69052e-530430a7f66mr339307191cf.7.1788889846385; Tue, 08 Sep 2026 10:50:46 -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 d75a77b69052e-530541ba2d2sm121111241cf.22.2026.09.08.10.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2026 10:50:45 -0700 (PDT) Date: Tue, 8 Sep 2026 13:50:44 -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> <178876250098.2581040.1337852022443550878.b4-reply@b4> Precedence: bulk X-Mailing-List: linux-clk@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: <178876250098.2581040.1337852022443550878.b4-reply@b4> User-Agent: Mutt/2.4.0 (2026-06-19) Hi Jia, On Mon, Sep 07, 2026 at 02:28:20PM +0800, Jia Wang wrote: > On 2026-08-24 12:37 -0400, Brian Masney wrote: > > 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. > > > > A gentle ping on this fix. > > Please let me know if any changes or a resend are needed. I just posted this series to reduce some boilerplate code across all of the clk drivers: https://lore.kernel.org/linux-clk/20260908-subsys_initcall-v1-0-cbccf4cd4288@redhat.com/T/#t Let's see what people think about this. Brian