From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 EE74E15B10F for ; Mon, 16 Sep 2024 14:58:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726498722; cv=none; b=qYU4WHLT0Uy7m8mqFbQ4ABAfi5yOoO4qP8rmPX8lJV2aWvH24OKQn7rx6Ja01vXMxxV0uQ1g7tLvWTSdY7WJNvMRkY5hEQzDIdiOHWmceWcGM7R9LAKSVdJ3kSSZ33f51/M53HPOi8CrxcaVMFHw61PueIerdr5R8wbmoGAK8bc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726498722; c=relaxed/simple; bh=5po5W4PGFzCNHwBOlgsTg9s2Caj3YphOGSUNxZQO6Z0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jPDWUCTJ//S6RPHVy6CkWpvJVi/9YsCzmcDYpOjTuQuhs3wkAXX30G64V0rBfFHbbFR+cMtySzQu9JYL5QOUrAa1myCaLAdpDNKuG1y+VZ4HeJL0cPFd9Re86UqYt2lHxSEsedrrH3So63oBsLgO4WJnpfI/oO4l+pHp7DN/uYI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 75582227AC0; Mon, 16 Sep 2024 16:58:35 +0200 (CEST) Date: Mon, 16 Sep 2024 16:58:35 +0200 From: Christoph Hellwig To: Thierry Reding Cc: Jon Hunter , Christoph Hellwig , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH] gpu: host1x: Set up device DMA parameters Message-ID: <20240916145835.GA17719@lst.de> References: <20240916133320.368620-1-thierry.reding@gmail.com> Precedence: bulk X-Mailing-List: linux-tegra@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: <20240916133320.368620-1-thierry.reding@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Sep 16, 2024 at 03:33:20PM +0200, Thierry Reding wrote: > From: Thierry Reding > > In order to store device DMA parameters, the DMA framework depends on > the device's dma_parms field to point at a valid memory location. Add > backing storage for this in struct host1x_memory_context and point to > it. > > Reported-by: Jonathan Hunter > Signed-off-by: Thierry Reding Looks good: Reviewed-by: Christoph Hellwig I guess this another thing caught by the WARN_ON in the dma_set* functions?