From: Marcelo Cerri Date: Thu, 29 Aug 2013 14:36:32 +0000 (-0300) Subject: crypto: nx - fix limits to sg lists for AES-ECB X-Git-Tag: v3.12-rc1~108^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab74175938c0cd819733e68f5848bb4c818ec7aa;p=pandora-kernel.git crypto: nx - fix limits to sg lists for AES-ECB This patch updates the nx-aes-ecb implementation to perform several hyper calls if needed in order to always respect the length limits for scatter/gather lists. Two different limits are considered: - "ibm,max-sg-len": maximum number of bytes of each scatter/gather list. - "ibm,max-sync-cop": - The total number of bytes that a scatter/gather list can hold. - The maximum number of elements that a scatter/gather list can have. Reviewed-by: Joy Latten Signed-off-by: Marcelo Cerri Signed-off-by: Herbert Xu --- Reading git-diff-tree failed