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 57247224B05 for ; Wed, 5 Nov 2025 22:51:14 +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=1762383074; cv=none; b=JW3b5daerxVBUryvI7N/CIi5dCVSmK6qMoBSQFzQJdJ/bi5oml/W85prH7CwhzJ3FZl3/E6PbI9xN2WUBxVwfakyORtwmlIqgKXTvtIKidW7UxLfeI3iYMf6HzLwLwTY8i27Q1M0Ibo3f4isISsIhI9Yc470o3yLSYNQyilhnBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762383074; c=relaxed/simple; bh=pVqiMffJ+/+3iCw/xeioPbEjfyBueyeofbkgdZ2WABQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Njslq9c85PwB5pEEDLTDMtco0lr+Ulp4rQ4AY9EFvT1qzw5ThKccbjWnJ4IT9r8KoikHN1ttFKW/I/LHM2sP6SmqMLgn/L//NEQHE47p/lwecBYr6OU6Gvt9S+MfJVg5ugmiKS9MrWkYDP1j43Bo1KD7zPO1APOlRvgNQdD0d7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TMBqAPzH; 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="TMBqAPzH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0737C4CEF5; Wed, 5 Nov 2025 22:51:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762383074; bh=pVqiMffJ+/+3iCw/xeioPbEjfyBueyeofbkgdZ2WABQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=TMBqAPzHGUcab+wR+R9Vg1polDI6xrnGmUGYgjNYqeA1W+/VoDgpDiY+mEkhK7PHq pGF0csZ6Izt3JUt7Y1WTE5jfVZObf9paLmHWKV3d5Z4h8H+cj6Gkd87mXqI6yTkLU1 4PUvVm9Px2kcnojCv+jEuPUWMGtezcd6b2GbLByNpn8aG0eYlwoXXl8GIdwslBQAiR 38rHxXrJpjkVFM/A/0DtJO8okerR9hvLWQyWI5roB+ZZMoLNiKbnqOXOcBBbyTPfHo 6FoQJs5MkJ8AP037qB1I5ZODQulbWDI/CFJhl+bxOukaWDrjdVCBvtX/57OieMIJWj LGAOnCMpKYR0g== Message-ID: Date: Wed, 5 Nov 2025 23:51:10 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/5] drm/nouveau/uvmm: Allow larger pages To: Mohamed Ahmed Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Mary Guillemard , Faith Ekstrand , Lyude Paul , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , nouveau@lists.freedesktop.org References: <20251031104924.10631-1-mohamedahmedegypt2001@gmail.com> <20251031104924.10631-3-mohamedahmedegypt2001@gmail.com> From: Danilo Krummrich Content-Language: en-US In-Reply-To: <20251031104924.10631-3-mohamedahmedegypt2001@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/31/25 11:49 AM, Mohamed Ahmed wrote: > + /* If we get here then nothing can reconcile the requirements. This should never > + * happen. > + */ > + WARN_ON(1); This is called from a userspace path, please use dev_warn_once() instead and return an error code.