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 1B16F2F25 for ; Wed, 18 Jan 2023 12:10:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35B7AC433F0; Wed, 18 Jan 2023 12:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674043804; bh=uutO3CtT+wA7qypDIPP4zl5/993/yVjXfqjCPyqyzpY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nn3TTGjS1gA4rYq2FCcHRr2f+F5vUhNpdnLe/AyfPgiuA/basd2FumNwznsRvIfAC 3e4pxbtbUmSJq6vVwf4Am+zJAYBU5i2zIARzykggqmsRSkFtW7pmtyvaZX8KcBqoB0 9hoS7G++lH3eYmfErffopbmmId25xEa6U5QdJlM7l0vZhN4MkPotshbUcFLasUjo0f xcykrYegLGZxxYYPO98s0S+rjQeYmyRVirUnnNcspf0+fesod+wRaKH/BJQB6sj1ya 8COiyj0Oc5QJByw+OzzVuGHmAGPqxXNLc33ufCl17fQmuxBRzRg65xEIuk+W+J7VcD R8g5C+EsuVnvA== Date: Wed, 18 Jan 2023 17:37:48 +0530 From: Vinod Koul To: Samuel Holland Cc: Jernej Skrabec , Chen-Yu Tsai , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH v2] dmaengine: sun6i: Set the maximum segment size Message-ID: References: <20230101193605.50285-1-samuel@sholland.org> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230101193605.50285-1-samuel@sholland.org> On 01-01-23, 13:36, Samuel Holland wrote: > The sun6i DMA engine supports segment sizes up to 2^25-1 bytes. This is > explicitly stated in newer SoC documentation (H6, D1), and it is implied > in older documentation by the 25-bit width of the "bytes left in the > current segment" register field. > > Exposing the real segment size limit (instead of the 64k default) > reduces the number of SG list segments needed for a transaction. Applied, thanks -- ~Vinod