From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02AF1C433EF for ; Mon, 21 Feb 2022 12:11:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346575AbiBUMMC (ORCPT ); Mon, 21 Feb 2022 07:12:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:41048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357309AbiBUMJF (ORCPT ); Mon, 21 Feb 2022 07:09:05 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB43665A6 for ; Mon, 21 Feb 2022 04:08:41 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id o24so26711907wro.3 for ; Mon, 21 Feb 2022 04:08:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CV5c3iXN0ZDroe+O7EtfCuby385XVMnLRIPAVIqOzLQ=; b=VzDjcwpFw8Bt4+sKQemYRvJXOFpFzlJC4o7nPKh7gBfc/1uZq9iZRUm/gUl0kzALwR oxPa9aCTLOW9FaGrfH7w7pLx0iVwTt/GOXHE768JxURnxqtjvX7Niy6SMgOihwz31ziU yiXn6isvXh+AOxd1bBRHl+XyKf89NyMrYj/FJQQ3/QHE0Lh4zHDWNZfayfVIsXYuqIiP rFEyNLRJGwn/TkVQQNt2eayE/f5SPebnOsJSJuaBmkUDnwTfOvuxe2egfKg+x5OrqbLW gPtWHM3dfsl5OfEkaprLcnzVF2zOuCiq9nLyXw6oGM2riIaq7T2S8PLyEtFKNZuRPqDc uwGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CV5c3iXN0ZDroe+O7EtfCuby385XVMnLRIPAVIqOzLQ=; b=dJ339/nmuTgQHgg8sJ7AMsvMgKokH229g3OqtRtjQbjxiioYZHvCwmmMeZ5X4Q+fVc 4fF24ULi6GIKakpDLVeFrBOhPuc69Kdvns+rhL3fCg9T3t3Z6F5oaOZPtpBGAMDHr+6r zDWui4zBrer5cQBoapYuK2wMmJxocTttjZiZcIWOHwcpkJW/DTkJ3iSkU/JDtcWQh5fy eGVZnFFrKs5dLT6qPJHB2pBL+BLETmut3824E9qJYdB92ot8SOxl+T5mmfj4eDfuP395 6DymlG/aE2tN9qn8gZ6czvYIFyjUiXGTeLnwdd+OC560K9vF/ytaOpw7FuhrXguG30ii 9uOQ== X-Gm-Message-State: AOAM531tAAygQw8sXiF9eZi0w7vqIJk4jk+wheLEH2lEwNSEG41iMQDX u8Ky8+T74sJw81wtVhR+vZKPyg== X-Google-Smtp-Source: ABdhPJyecBtSfKLHEPz8mlqMUDjEEOgcR2GUvvzZ9e+5PQYFO/+gF3qRyJfmk0DgodzGmHicQFGuPw== X-Received: by 2002:adf:ee0d:0:b0:1e3:f28:487f with SMTP id y13-20020adfee0d000000b001e30f28487fmr15441462wrn.620.1645445320385; Mon, 21 Feb 2022 04:08:40 -0800 (PST) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id a8sm11821546wra.0.2022.02.21.04.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 04:08:39 -0800 (PST) From: Corentin Labbe To: herbert@gondor.apana.org.au, jernej.skrabec@gmail.com, linus.walleij@linaro.org, narmstrong@baylibre.com, ulli.kroll@googlemail.com, wens@csie.org Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Corentin Labbe Subject: [PATCH 0/5] crypto: completion should be ran with BH disabled Date: Mon, 21 Feb 2022 12:08:28 +0000 Message-Id: <20220221120833.2618733-1-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello This is the follow up of https://lore.kernel.org/lkml/Yd1SIHUNdLIvKhzz@Red/ and https://patchwork.kernel.org/project/linux-crypto/patch/20220127133332.4011509-1-clabbe@baylibre.com/ This serie fix all drivers which do not call completion with BH disabled and add the check in crypto/engine asked by Herbert. I have verified that this check does not generate warnings on all other crypto hardware I got (omap, ccree, rockchip) Regards Corentin Labbe (5): crypto: sun8i-ss: call finalize with bh disabled crypto: sun8i-ce: call finalize with bh disabled crypto: amlogic: call finalize with bh disabled crypto: gemini: call finalize with bh disabled crypto: engine: check if BH is disabled during completion crypto/crypto_engine.c | 1 + drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 3 +++ drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 3 +++ drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 3 +++ drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 3 +++ drivers/crypto/amlogic/amlogic-gxl-cipher.c | 2 ++ drivers/crypto/gemini/sl3516-ce-cipher.c | 2 ++ 7 files changed, 17 insertions(+) -- 2.34.1