From patchwork Tue Feb 20 04:42:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Barry Song <21cnbao@gmail.com> X-Patchwork-Id: 203412 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp191509dyc; Mon, 19 Feb 2024 20:43:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUNvVjWVk81XS9hE7gIELNVlIWBPrwPmeF7MRfqR7y4JMD2DmsvyOUxtPvdwNGovjhLWhZp7OEc8ZLqaiIUaAK6auhvNQ== X-Google-Smtp-Source: AGHT+IE2f8yLs5nB4/yd11XPtvfYA0q1wE8hEopSfXaj09XOH7vaNkUCnK+V3oFn8b01l1wVIJQU X-Received: by 2002:ac8:5c83:0:b0:42d:a980:587f with SMTP id r3-20020ac85c83000000b0042da980587fmr18030185qta.58.1708404191274; Mon, 19 Feb 2024 20:43:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708404191; cv=pass; d=google.com; s=arc-20160816; b=S61/TSWLGka7QRoSlf7qbLHwG6Dc5BO54FwUIckjDlgpYF0c5IYWDFAWtHIVtx/yh1 1tfkRz17Qu0EB5bM4FOhRFEt2ymI8sAt+ygGYcREoRQ2/qi4YzHgdVnTUp1fyFeDBGmr Xsx94a+Dmx36fckb1Qop8CAriqx/UzuqdOBodAeaaD34Sqj3Fv0NCH7H6OjX591RwGL4 cDDkx8rSo/AiQp5kHNTyEvtGQw6hWQQfc3SMUGTXbgqKrYCD/4iI25t2fkWN9dNjEBzk WQtBtBHe5UD4YX2CN2hl/F4dT1M5HtE0dHYCFzpqtxTjpKa9d1TUMtWY6TFRD93Ngh8g IShw== 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=NXtg+PP4gB/ZEHs+37Y2s6yV/cJg3YDaY3Gnu0n6YchAo66MOv5Bmof2TQO8i0Q9cP SiOC9Y1+hhsSZ9siKzofX4Kr8GxL1Yrir9cbdfGvaVArDVx4O8PEO/iWRWMxrWnQ1X2p m8AWqcMdlpbO6iNPbpgCJJ7346AAA1uzUFVopOS8ObPLgwMttemazkMIv962E2gJDrWM RDovS3y9rT6bW8sTqrj5/A95/5JcAeWzBuv3pg0b1OQXsLlb/KvucoFAxwOAhEDqvwq9 66jEHyoUs88SMCGG8DdUuaF+h+qcmPwxj2kbBomYvSI9WD7erGWn3S1Sq9MILGBlZpau 3m7A==; 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-kernel+bounces-72320-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72320-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d4-20020ac85ac4000000b0042db67f6b41si8341934qtd.602.2024.02.19.20.43.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 20:43:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72320-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-kernel+bounces-72320-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72320-ouuuleilei=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 166E41C21FC6 for ; Tue, 20 Feb 2024 04:43:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5322856B85; Tue, 20 Feb 2024 04:42:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="H30U95uo" 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791391633700563063 X-GMAIL-MSGID: 1791391633700563063 Add the missing CRYPTO_ALG_ASYNC flag since intel iaa driver works asynchronously. Cc: Tom Zanussi Signed-off-by: Barry Song Acked-by: Tom Zanussi --- 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,