From patchwork Tue Feb 27 13:30:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 129782 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp280205edc; Tue, 27 Feb 2018 05:31:04 -0800 (PST) X-Google-Smtp-Source: AH8x227tS2+82II3GcSOryFftYOjnDwLkzFKi06w7C/I4KwQfjOGy2HmxVOd2KKqjzeOPcUFR/LA X-Received: by 2002:a17:902:5a3:: with SMTP id f32-v6mr14188436plf.48.1519738264645; Tue, 27 Feb 2018 05:31:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519738264; cv=none; d=google.com; s=arc-20160816; b=yzejZwBKEXZkCl1yU2XA5lJQmhpT89LHbdoXY4wc85j3F+pcx7sSeC+rxSE6vr7/8m 0TE3/sZPOBLvRo383TwVNWQZmgnYf2nbCqsbPZ/+LRKhs4gSY9pm3QzhF76QPADGAzPu mP0KGkxyyskis9PyQICarofCRLdhrAjBwsf3opSgic+BL2+GpMIsX5e/bVs0ZR2MOZxh vK1VnqyFmMo0FGJnaXZJDoO/R/VhuBe6abVRml/wWk8+yvSdxcUEblc2mpKsQQ+mntz5 8WClNL0Zhg82rpyMDhxk16u8F4062EHhfAhXn0BedoRfDSkJtbf7W+zWy2OXneax2n+J 3q6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=HDBLjYK09R2XJlCDEXRY9PFalgXNVtQ91u6o/AHr/TU=; b=W/4q9diFyOC5YTX9ObYLrEEsEhcEmQ/OWzFjzYVVU3Z7U5a1FdTVmCDti/TAahDuq6 PuybPuHnejskF4YKgr7T87z31tjKPJe7/HlbCnF+N2LEYhKHVrhCsstMLnHnFDRT9elz jWbwhVdikjRz7b+2wqLU6GOgMIeSHetfMbKIyzQ/avS0SIlGVpHz/9uxuWDjQoz35oJo BlB29pC07GqSMDGXfVqoRaqrIZCRz1J4x9Au+S2++81BJp5hDB8xoeh7zPX2tfJg0LHE giejeopubUNl7Kt1l88eh/YXLiZwW+ca+12VQ4E/KdmQE59Ymc8BgRMmlPd5HYdVyDyS rd9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=By3KDA4w; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e17si7017850pgo.189.2018.02.27.05.31.04; Tue, 27 Feb 2018 05:31:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=By3KDA4w; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753300AbeB0NbC (ORCPT + 1 other); Tue, 27 Feb 2018 08:31:02 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:47535 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753293AbeB0NbB (ORCPT ); Tue, 27 Feb 2018 08:31:01 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1RDUraA014920; Tue, 27 Feb 2018 07:30:53 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1519738253; bh=HDBLjYK09R2XJlCDEXRY9PFalgXNVtQ91u6o/AHr/TU=; h=From:To:CC:Subject:Date; b=By3KDA4wEBG1AMjXeqDIGxgezkqD8pOVuHfPO3jNcBSeO03W5N1d7SCdjhRqzRXAS e0Fq5bZ7eec3Y1joVvlDZRGSddObtj04QCDVQwzodNiiijjBezG1pc7bX6Ul7JMIZE 628//BqVk01yXtOl5n9DExVQVNmKBHhEI5OASHjk= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1RDUq4P020128; Tue, 27 Feb 2018 07:30:52 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 27 Feb 2018 07:30:52 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 27 Feb 2018 07:30:52 -0600 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1RDUoJ0022412; Tue, 27 Feb 2018 07:30:51 -0600 From: Tero Kristo To: , , , CC: Subject: [PATCH 0/6] crypto: omap: fixes + tweaks for omap crypto Date: Tue, 27 Feb 2018 15:30:33 +0200 Message-ID: <1519738239-28616-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi, This series contains a couple of fixes for LPAE data handling (patch #1/#2), and also a few configuration patches (#3..#6.) Without the fixes, the driver will see crashes in certain data configs, most notably when using cryptodev and passing data buffers from userspace. All these patches can be targeted for 4.17 merge window. The configuration patches make certain parameters for omap crypto drivers user configurable, which helps optimizing performance on different HW configurations, and also avoiding buffer overflows when using for example UDP protocol for ipsec. The queue size patches are maybe more controversial, but I could not find anybody modifying the queue sizes for now. Should there be a separate API for this purpose or what would be preferable? -Tero -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki