Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1520497rdb; Mon, 19 Feb 2024 20:42:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXOflEq6kNgnhMttBZAL4Pf7+QlNwDpUr/f/RkN6ZZdwHJw5CYAuK9IK2ag2nmcYAozpzR0Cv6I3IeuwdUcR9PqgUub4FxM782lSujI+w== X-Google-Smtp-Source: AGHT+IHKnXk8iomKvF+LiDYC3RfaBvvGyEi69fIhap2GjE2fRxynt07fghDutNIpzTnExq6b9jlm X-Received: by 2002:a05:690c:3382:b0:608:2ea7:36c1 with SMTP id fl2-20020a05690c338200b006082ea736c1mr5158392ywb.41.1708404179462; Mon, 19 Feb 2024 20:42:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708404179; cv=pass; d=google.com; s=arc-20160816; b=YpiBma6GWRpUx+mgx9yqgL1pyD80EyW0LXtIH5y9YpbdTrKONIZeMExUtZjNsWRLps A280HJVC9oiWUMlSNxnqeAn17TUUFETw1QIRqrTYyXPDyLd178diqQ97DuvjFF5hpljd JUf5X/hVJr1yxJElEiQ5M9FzgQ7lr7zHRPSVUVlz0ASxYsB0jfdpBGG3Wkhme1EO+UqJ cBebdt/gDfhCll9xftc6UePRuNh3smmvSX4yzs/9hxQkw/LoYs5CmqsZaHqn7DkQRmQl zZumLy+9DX4m8S95b5d4uxNAE2mEna4stMVzhRQkVf4KssyFEkOuwgQ8o/kLkE/gqo7V ZwEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7g5zKrHqcnJOKfoElmxvygC1Q68jKDTJ5BwTUnStAdU=; fh=tJ1DoYd+n5BGLDmf9tl9f0lqBpf8HBZZ1kBxQWcJ/BU=; b=cUImE17txV0FnfO0xioQllsn6MluIaqNxmV66zx+7U+Hnnh0j9KXQtCHydJX6R6c5t 1mJfe4bZUgbz+5divQTj89EjSaFOemiOqYSdj2vlz0TwaAo1nyFnsZxnqmcE8Fv+oIkj Lfgm2A3rjkgqeCrGaGeFW1BrltlxO2K1mbtWhtB8WkCM/U4oaNyWuFyc51m3siluYfIH oSYYMRmJuYeXe77YPBqzfIKv60Lziy2kONT5Ofku4WOFLa43sIZr+6Tg56dLIITVbuOY S3j2bm+kvSWtYIdl5hxSDNLa8dLL4Fhihfb8euI/NL2N9EJQY/twyszx03JZtbG+k8Mj W9dA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H30U95uo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-crypto+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i4-20020ac84884000000b0042c184e12cfsi7833778qtq.291.2024.02.19.20.42.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 20:42:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H30U95uo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-crypto+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 37C291C21FDB for ; Tue, 20 Feb 2024 04:42:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC13D56B92; Tue, 20 Feb 2024 04:42:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="H30U95uo" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A13D56777; Tue, 20 Feb 2024 04:42:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708404165; cv=none; b=ZtImqXuvjzrRQkgLuLBpSPlowONPQO2EyyDLFS75IyWOdCUcQHG6GR01BbroUmnKfadiWkL+ICML1h/ZVF3kNEmP5br+wDRJoSGUBCJK0jCU9oSMlFCZeqmpNCwcFsNu4Un51VKOXu3UzalzglL7MxEa2m4BkmwV2yir4ptXZkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708404165; c=relaxed/simple; bh=gzQ6R+etidSetPQOExWWoNqJeEwkHtJKCmG1BAhkx5Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Cg+RYWmwtAw+uhmRFpa/aG4YgqKuf4nk4WqQ/rnK0lZB776SFNII/AHQy6l2RFGD1riuHhq3HIdFc8vcfcBGXpIibCTfx7+axKiY87uxvzAnN7iimG1iyJkZ4lLQUF0pE6ugc76aaL7cMuHq0WBibAu9SwO2Q2uj9tPXso1YDLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=H30U95uo; arc=none smtp.client-ip=209.85.215.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-5d8b887bb0cso4131636a12.2; Mon, 19 Feb 2024 20:42:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708404164; x=1709008964; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7g5zKrHqcnJOKfoElmxvygC1Q68jKDTJ5BwTUnStAdU=; b=H30U95uo3b7kUdsZZILOteSZKBFMYutx7VdrrMEYwy0lC7DkSYAoxqVLB9S5PWnBLI qCgv/JWEnJ7GrjExucodXCAd/6MG0VyemHiRB0chShQhq3UROY62vt73LpTG3xVcGsbZ aQPzDCFiwbvFTl3uQnMuBUbQuJ+IrjgNSQUAGrDSsAj76WiKOS13UtoS1+nOP3+dqNv0 CcRhFQ9Ry/BsRBYG2qsAQhYeZWuChLnw1Jj5dUa1w4PlLScIm9gwi2hvvO/hzmHMXYPr JfOM5tMGo50Mhr8WS1dq9IqB6niocpJDgkvcvNhFbr5jAPdOKPpVBMx3SLQcD5HXDin5 A2Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708404164; x=1709008964; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7g5zKrHqcnJOKfoElmxvygC1Q68jKDTJ5BwTUnStAdU=; b=vmX4v8Q7VhpBQ1/2Kt+iS3sUDaoJB/l2HL2dld5Zj81QstRq1f8vybuDSFbFILfkTk UWALLT63rr/t0dGMWvf6zVHVS3hv3jxvFV9NvvjCN7y5zzv6vJTerZhTBvm7JwwSDaUI T0owVPqf7K8MQjnlNOVolJGBMrquOuZ8HZiS9vIY66UQ/ssWA9ZZSPgSieRR8Wmz/UFq adOayRtRkYm1p7BsxEyoPCJhVpbE/su1STnzUExzwzTen3gceUuBCepUgkg081XVt8hC rE9u6EPheb5X1Q5oXR88Qv9877l95I4/cuo6ASaJVFJATFtQdmxk7MnKUaMNeimBrG2d 40Qg== X-Forwarded-Encrypted: i=1; AJvYcCVTsn3JrE0xCzKxEIFPFCRX+2ZHB2A+RQMLlNIrkCR4hAgeu+jjlc+Waseq3VxsvPagW5j7cGxYRIbnPGq33srFbFCAkucDgNMFoItn X-Gm-Message-State: AOJu0YzDD8C7tucEULbCckdo7NYVmUh4KGSh4F/Nytwf/sE0vPeMHU9Y B4/XkJxO7DYQLhjchx8mxDs55i/YteI36fcJJSeaGpu2t3k1z5vG X-Received: by 2002:a05:6a20:d493:b0:19e:3ccd:6f86 with SMTP id im19-20020a056a20d49300b0019e3ccd6f86mr18420855pzb.43.1708404163715; Mon, 19 Feb 2024 20:42:43 -0800 (PST) Received: from barry-desktop.hub ([2407:7000:8942:5500:a5bd:9c11:af2b:aecf]) by smtp.gmail.com with ESMTPSA id f9-20020a17090274c900b001d9eefef30csm5195923plt.6.2024.02.19.20.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 20:42:43 -0800 (PST) From: Barry Song <21cnbao@gmail.com> X-Google-Original-From: Barry Song To: davem@davemloft.net, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Barry Song , Tom Zanussi Subject: [PATCH 2/2] crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags Date: Tue, 20 Feb 2024 17:42:22 +1300 Message-Id: <20240220044222.197614-2-v-songbaohua@oppo.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240220044222.197614-1-v-songbaohua@oppo.com> References: <20240220044222.197614-1-v-songbaohua@oppo.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the missing CRYPTO_ALG_ASYNC flag since intel iaa driver works asynchronously. Cc: Tom Zanussi Signed-off-by: Barry Song --- drivers/crypto/intel/iaa/iaa_crypto_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/intel/iaa/iaa_crypto_main.c b/drivers/crypto/intel/iaa/iaa_crypto_main.c index dfd3baf0a8d8..91adf9d76a2e 100644 --- a/drivers/crypto/intel/iaa/iaa_crypto_main.c +++ b/drivers/crypto/intel/iaa/iaa_crypto_main.c @@ -1916,6 +1916,7 @@ static struct acomp_alg iaa_acomp_fixed_deflate = { .base = { .cra_name = "deflate", .cra_driver_name = "deflate-iaa", + .cra_flags = CRYPTO_ALG_ASYNC, .cra_ctxsize = sizeof(struct iaa_compression_ctx), .cra_module = THIS_MODULE, .cra_priority = IAA_ALG_PRIORITY, -- 2.34.1