From patchwork Sun May 21 10:23:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 100238 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1009594qge; Sun, 21 May 2017 03:23:52 -0700 (PDT) X-Received: by 10.99.3.208 with SMTP id 199mr19050434pgd.43.1495362232364; Sun, 21 May 2017 03:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495362232; cv=none; d=google.com; s=arc-20160816; b=jsw4GV6ezJ7zUzS0Cx1ZNgI0RQfwPkG7DH699GH7vrkKZO7w2yHJLL9G4B9MvB8Vod wPcVXKXgxZ1zX/A1LI8quiud7KXTccmCFbQjofnIand4qSGxfUb7ejtaocx9x6BK88EA mEtbcOtALh81JuPjpQ7kTFRQ9vITSjcuItXY+XefonowDIXiLPR/e91PG/HQXAkavAOY CFrbE3qV68kF1ygOlXS3mNNPAJ+9tpx0w4gCDZJTrQMfYWYnpaI4+gnyTLsgq0eC0xBO 2RxEe+l7SigwogSd1BLNoJcQ75d7oqyxi1op0QnIHlBJzAkkxO83Uwc5UpGtelfS1rI1 c2Ag== 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 :dkim-signature:arc-authentication-results; bh=4iCv8NApnw3ZnZv3jQFRVGuMen5orFfo/Zqve2NXkIk=; b=BVXGG8JKkyq/vlYu8yL2kwYeSmjSwiCoh6+Sbe8I4K0mAq72wHWFtN+36/cix0XjtZ r1/9XZFWOdOYsAsdcDZZa7dNXCTTqy67FfCEUlKhE5y+8BoY+TXjVe1/0zQ0UFTal/se nTurQ3nJJJQBq9mYeT6U2elKO9rhFrTKG7mc4v6u31aazRU1LYAiZe2tsQ8v0gVAWjW9 DnPn34pu/0P70ghxSad37lW4W4D4FHZgsUtOgAJ0cuD71Oxydja5de5cMxbyS3kmf0gO TkI5+Qg5woCLkEv3ibiDps1avmRMu+OL/flr3iom0iWPFt5bQJGzIoYqQmjnGKYmFdK6 HaQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61si13414632plr.23.2017.05.21.03.23.52; Sun, 21 May 2017 03:23:52 -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; dkim=pass header.i=@linaro.org; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752665AbdEUKXt (ORCPT + 1 other); Sun, 21 May 2017 06:23:49 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35292 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752645AbdEUKXs (ORCPT ); Sun, 21 May 2017 06:23:48 -0400 Received: by mail-wm0-f47.google.com with SMTP id b84so267509320wmh.0 for ; Sun, 21 May 2017 03:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4iCv8NApnw3ZnZv3jQFRVGuMen5orFfo/Zqve2NXkIk=; b=QmHrUBIvkXP+0NrCzZ8e4svu5EaW7TvcRcaMaV+KACo+A+a73CMur07h5YxASO/lfq zPfglgTSzQLqtBbOlyyLObWTcs+CxYPup0kFybVNurCYRT1ydRBvg/MKvLIDWL3TvCGu UYhrD5L/lylipzTZRyY/Bkaq1hQzqyqoCdbnw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4iCv8NApnw3ZnZv3jQFRVGuMen5orFfo/Zqve2NXkIk=; b=H1zqq2lFc1rs302l+42nHItmzC5m5KFxMFisrTuzgSbM/3fvCzqoOsmt8/2tKvVjNw d8RUY/onhkRAxfMFpoQbsW0zKoZCFupsgq5LIw0wD3/AN+hO/3Kjj4qJcDzCU6vx07Uw X8lBG1ezEEX9A/MEPc1FRhayXD7xFRUPyOXn3QO3XUoumN2l/iFcd+I9fC4hXY6Li1L8 VLjDXb/EDZrp7NRRfvKbZWa7NeUG4wCk3pciAWeWThvcQYe38epsfLwuOfOVODIFjYBf FENEYOkqw8rGwmGuwRogOx8GI0LTY8YNlIatKJwoRetc4mBpKO9KyEcGddIO0bvEv+Bu LZBg== X-Gm-Message-State: AODbwcA71FbSaht4kAJb8ObN1yr3HB/fBsccmLXir9c79XKqNvRWxzJh aNPkFfS4sqCZm/wy X-Received: by 10.223.160.139 with SMTP id m11mr7330590wrm.99.1495362226800; Sun, 21 May 2017 03:23:46 -0700 (PDT) Received: from localhost.localdomain ([105.129.238.81]) by smtp.gmail.com with ESMTPSA id y60sm13381366wrb.39.2017.05.21.03.23.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 May 2017 03:23:45 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel Subject: [PATCH 0/5] crypto: arm - enable module autoloading Date: Sun, 21 May 2017 10:23:35 +0000 Message-Id: <1495362220-30044-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Now that the prerequisite changes are in place, we can modify the various accelerated crypto modules that use special instructions to expose the CPU feature they depend on. This allows udev to autoload the module at boot. Ard Biesheuvel (5): crypto: arm/aes-ce - enable module autoloading based on CPU feature bits crypto: arm/ghash-ce - enable module autoloading based on CPU feature bits crypto: arm/sha1-ce - enable module autoloading based on CPU feature bits crypto: arm/sha2-ce - enable module autoloading based on CPU feature bits crypto: arm/crc32 - enable module autoloading based on CPU feature bits arch/arm/crypto/aes-ce-glue.c | 6 ++---- arch/arm/crypto/crc32-ce-glue.c | 6 ++++++ arch/arm/crypto/ghash-ce-glue.c | 6 ++---- arch/arm/crypto/sha1-ce-glue.c | 5 ++--- arch/arm/crypto/sha2-ce-glue.c | 5 ++--- 5 files changed, 14 insertions(+), 14 deletions(-) -- 2.7.4