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 3F1B329D19; Sat, 31 May 2025 14:37:20 +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=1748702241; cv=none; b=jMRPHzf8G+aQZePVNdBciG34kiKbwPKY7dwcdlOOj9xKT6jeqyf+yRdnxsEPUkSfkWaz7EHqsyOLQR6A5CNGf6XWMTuUqtAIBsHepXrluwjxy91PGHI07a021K7FK8oIqzKT6iXiPvffuAWYgOm+qSU8hywG9fBBnZoPHYyx0yE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748702241; c=relaxed/simple; bh=fivt1Mk4Yw5WXYfrIwOJfSKG3z+m2LyIrjnukMMgFOg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JUVJhtt6ymHLHPbEZjeTKHlDTYeTV7GgLvOFrcGPNNkn4eSK90gJRceyJeKWvoZIXzwJtl+hl6VjBoxadJsmdhlbBPSEk0IRnBTVQd+ZI0VahBj/Agwlg9SzfoF6ax43qZB62PEYerxlpRWenaTIXSqDsuhr+hofD8NkhLXWi7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DSeMVG/F; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DSeMVG/F" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF4CFC4CEE3; Sat, 31 May 2025 14:37:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1748702240; bh=fivt1Mk4Yw5WXYfrIwOJfSKG3z+m2LyIrjnukMMgFOg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DSeMVG/Fbe4qRBejiZw0EyatWeyiWsE20b6NZA1wBfJWpepek0YCiHbxmDi/Mb0gA YvT1GDR0JgkrXPMEXnskuvgMpIxBIia/wv9AEZFvb8mJ9bKRGsuKfUfbHjQDaVTLqO tteVaN0kse0EAUXGjtVD3idwokMzsGoi9l23MVq/J8ZnRSxOgCM8pzbX9ZiroqYtAx tu+YSV3yG0bys0FsnbU5PPjpg1kkC4VGSF+612EPLKmNtGdAc49h5+AkeFtJUarRSk Vtm4GfcJfJkvP9fKwRXo1G2dwMCcQAmwalOWUIRRBZlHfqXr0aDbl+gmHjbCeJT7qF bimcc3X3iNdww== Date: Sat, 31 May 2025 16:37:12 +0200 From: Danilo Krummrich To: Miguel Ojeda Cc: Lyude Paul , Alexandre Courbot , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , John Hubbard , Ben Skeggs , Joel Fernandes , Timur Tabi , Alistair Popple , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v4 11/20] gpu: nova-core: wait for GFW_BOOT completion Message-ID: References: <20250521-nova-frts-v4-0-05dfd4f39479@nvidia.com> <20250521-nova-frts-v4-11-05dfd4f39479@nvidia.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sat, May 31, 2025 at 04:09:29PM +0200, Miguel Ojeda wrote: > On Fri, May 30, 2025 at 11:51 PM Lyude Paul wrote: > > TBH - we should really add some safe bindings for sleeps instead of calling > > this unsafely, I'd be happy to review them if you do > > In case it helps, there is: > > https://lore.kernel.org/rust-for-linux/20250423192857.199712-6-fujita.tomonori@gmail.com/ > > I think that is the last one -- we have been going back and forth a > bit on it (e.g. we had `coarse_sleep()` in the old `rust` pre-merge > branch), but, yeah, let's try to get the abstraction(s) in. We've already discussed this on previous versions of this patch series, where I also pointed to the patch series linked above. I agreed to take this code without waiting for those abstractions, but with a TODO to fix things up once they land. - Danilo