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 15D19CA0EED for ; Thu, 28 Aug 2025 21:54:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CBE4B10EAE4; Thu, 28 Aug 2025 21:54:07 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="d9fWpClX"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 362E810EAE4; Thu, 28 Aug 2025 21:54:07 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 3882660139; Thu, 28 Aug 2025 21:54:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAB9EC4CEEB; Thu, 28 Aug 2025 21:54:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756418045; bh=YuCjMILfFRDLM9IotFFtm6J1AMM1IlbXrF51dAP7i0s=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=d9fWpClXkIn3791ahnWtbU3Dncfz81HQZJkoxg+K0z/a808pgEzp+HVr7/D08tYgU gmOuKmc2d9FeeQS2v5IYju+mbG7uCOo8uJoogmuQ72wj9N6Nl1fGapjBaWug2Q6ZR1 gGrChHg1Kgx2EEdgXbW21JEHfRX4Qlk1SVvnY1drE9qvGLeMDELLxXOW07noIi20Bn e5Sp37iRI29nuNHTZlZ+otTDiRuc8eZ+bY9ddneX7ilFdPsV2XOjOwcZwkS75DboBD AKXA4cCL7vMjpmoRlhGjtgzVPZHHVVIm2p09n840RyRkVVFjJ7ufoZXBinB/d3bWkI id+7W2+tbU9Vg== Message-ID: <76064a67-206d-411e-87b0-651c338cf204@kernel.org> Date: Thu, 28 Aug 2025 23:54:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: gpu: nova-core: arm32 build errors To: John Hubbard Cc: Miguel Ojeda , Miguel Ojeda , Alexandre Courbot , David Airlie , Simona Vetter , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250828160247.37492-1-ojeda@kernel.org> From: Danilo Krummrich Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On 8/28/25 11:45 PM, John Hubbard wrote: > So Nova should definitely depend upon 64-bit configs. Yeah, I fully agree. But I think it would have been good to have a consumer for the generic APIs that has to deal with it, which I think was also Miguel's point. I will send a patch for Nova to depend on 64-bit. Independent of that, I think the code requires a few cleanups (e.g. avoiding `as` casts or using the DMA type). I will also further look into how we can help other drivers from the perspective of the DMA layer to deal with this, e.g. in the context of a DmaRage type, etc. - Danilo