From patchwork Sun May 28 14:40:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 100614 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1063005qge; Sun, 28 May 2017 07:40:51 -0700 (PDT) X-Received: by 10.84.164.193 with SMTP id l1mr56201373plg.154.1495982451716; Sun, 28 May 2017 07:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495982451; cv=none; d=google.com; s=arc-20160816; b=PIFYqUofULvSvK7d6CIKGEaP/ZALUw55sDfKP6d3ZCO8YNAIJ5AvWLGCFXIjR8V+EI zyaJop6Bz2XQ3nTy0KBp2sDTdgAt9TYmZlIY4HX8RYxOLRQz8c6itNOSOr3Y+xEJq2no myKlFtzODk5VCW+NtVmlB/p+u2m2363IkRqDs9MyCvKodtW3EcwpQz1tmMXucVvtdokO TFvvRXnQTBtJDtZZeoet0ecEJbwNa6FZIr0w3qXk/IkIPvWp/c2ul2Lc9w8ePydrFMDw RXg4HP2iOkgZHSxakwTYD72jCVzJadBtYc4UstdIanPiDt582+XBOvMWxktMUB3aHmzU OhtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=YzalnRIk14v/Cko0+zX8WbaUEmQv8l7yHWSF4fpGZ3o=; b=EfAlzrMPGtauRakGCp5tPYNWfD6hrSfFy5irhvvGvCGK7RU4baYwXCDRFZm/ctkWso /mwC6Y8QACmvbcbKoFSYecp2bm7SuMDWR5x3GDJjnuGB9KDAToQjsXOAET0hd+nzJ5Fd qF/berJHoEnQQIG0efHqJQA3mlysSYKUnZV3eESOtj0s31uRjiX/dPc11FXuRsMwyElY lwomZHSP2EN0PPw9Q5L4aZNTSy0BRr0OjyGSNq5KR6lIoCR2ADW8TVDMvBCrhAvyXkru Ogj5JFYkmSmrUvwOzLkwJITipNePqaRQI6mUH7yfvgkrtE+92ru5uHIfTZJUf7QgEbsS CUBA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7si40000683plk.331.2017.05.28.07.40.51; Sun, 28 May 2017 07:40:51 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750830AbdE1Oku (ORCPT + 1 other); Sun, 28 May 2017 10:40:50 -0400 Received: from foss.arm.com ([217.140.101.70]:42074 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776AbdE1Okt (ORCPT ); Sun, 28 May 2017 10:40:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A18FF344; Sun, 28 May 2017 07:40:48 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 09D183F52A; Sun, 28 May 2017 07:40:45 -0700 (PDT) From: Gilad Ben-Yossef To: Greg Kroah-Hartman Cc: Ofir Drang , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org Subject: [PATCH 00/12] staging: ccree: addtional driver cleanups Date: Sun, 28 May 2017 17:40:25 +0300 Message-Id: <1495982440-10047-1-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This is another batch of clean ups for the ccree driver. Mostly comprised of: - Coding Style fixes - Move to kernel infrastructure from custom constructs - Removal of dead code Gilad Ben-Yossef (12): staging: ccree: correct coding style violations staging: ccree: move to kernel bitfields/bitops staging: ccree: remove 48 bit dma addr sim staging: ccree: cleanup lli access macro staging: ccree: remove cycle count debug support staging: ccree: move request_mgr to generic bitfield ops staging: ccree remove custom bitfield macros staging: ccree: remove unused struct staging: ccree: use snake_case for hash enums staging: ccree: drop no longer used macro staging: ccree: remove dead code staging: ccree: whitespace fixes drivers/staging/ccree/cc_bitops.h | 35 -- drivers/staging/ccree/cc_crypto_ctx.h | 66 ++- drivers/staging/ccree/cc_hw_queue_defs.h | 770 +++++++++++++------------ drivers/staging/ccree/cc_lli_defs.h | 67 ++- drivers/staging/ccree/cc_regs.h | 74 +-- drivers/staging/ccree/dx_crys_kernel.h | 308 +++++----- drivers/staging/ccree/dx_host.h | 256 ++++----- drivers/staging/ccree/hash_defs.h | 52 +- drivers/staging/ccree/ssi_aead.c | 953 ++++++++++++++----------------- drivers/staging/ccree/ssi_buffer_mgr.c | 128 +---- drivers/staging/ccree/ssi_buffer_mgr.h | 16 - drivers/staging/ccree/ssi_cipher.c | 248 ++++---- drivers/staging/ccree/ssi_config.h | 6 - drivers/staging/ccree/ssi_driver.c | 8 - drivers/staging/ccree/ssi_driver.h | 30 +- drivers/staging/ccree/ssi_fips_ll.c | 704 +++++++++++------------ drivers/staging/ccree/ssi_hash.c | 895 ++++++++++++++--------------- drivers/staging/ccree/ssi_ivgen.c | 80 ++- drivers/staging/ccree/ssi_request_mgr.c | 152 +---- drivers/staging/ccree/ssi_sram_mgr.c | 8 +- 20 files changed, 2170 insertions(+), 2686 deletions(-) delete mode 100644 drivers/staging/ccree/cc_bitops.h -- 2.1.4