Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2377422rbb; Tue, 27 Feb 2024 22:49:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUuBMObVmipo4jE9zv/2LDFcELcIMKoB6xLIHsycauyFxoCWI7k5ou5EZUUnWpZkcvJ1upe6je0dV/GS6YmpIKUZ2q8pWSSPKkbjYdl/A== X-Google-Smtp-Source: AGHT+IHjJDIxj98/wpF/TugctQH7CW+el6vgCqqNWinJpfdlbrXpb1Xz2oEhhtCRvddkIs1TDY0w X-Received: by 2002:a05:622a:1652:b0:42e:7da7:5024 with SMTP id y18-20020a05622a165200b0042e7da75024mr11998093qtj.50.1709102947624; Tue, 27 Feb 2024 22:49:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709102947; cv=pass; d=google.com; s=arc-20160816; b=f3mI6BFYCiOR7/6okJ4YYZz0NS+oBDVYC/6ELSzu/iZdxxQf3t94JtotV2uH9PUNPr /3P2UcEr8A9cn97VkT8KHslQVknwJh3tcxPIaaFRkb6b2erTY1/6RdrfBekIRfxIDc94 yvoTBhhbpOBNtM5TqlwKGo730kd94KmYTiFS4pLT4Gyagmrexzsusn/rHIWulZvwNTjQ v77szsw7n68NUptV78UX9fnCySfOsWAm8BVfFM2jxL1auVvyemEIhMTfB5gRGWGe+OLT b93XsZ1d3+XDDHEgNQEz5hPRGX6T3QhNg5YE8jd+NVmGsJIoNXaEmMHXyBhImjSoLdRj mSdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=5aEB3Z8KNNpO0y+WhMoZky/wDS93F3BB4oYyu3jq2dE=; fh=izxD9B7U8hrr87CwhDn5IbxImyZw5gi9UJ8IwBOVwcc=; b=hCZ5bMWWGpm/5KjIzb9y7u53uFUevk6GFE7eFRc2igpCoPRreODZVBclZXLkOvlD7n Yg0HmNOBRBrFDseAc5lj8oaup3BhsfhQWpRalJejw2hdRlU9f+Hb3Dp9/YCaQ1yJQlNy 84AOnFtDOxZIRV8WxFCh0IxWaef5kxtORWsAaLJEJtWH2k9YFdJfL4OpWS1UaZlcXvc1 ywwVEpWw7CHCLyV5vl8nKqHU44K8rzSps9Ud5K/M0pmKw6xOWlpumTfWNx2jZiBGYVRp yvkxo0S3TW8ir3ud8Utv2HHSpn6YNmSTrBacP0XmCXRF6tFg9SBGY7JRIicSM5V3qJqw vT/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-crypto+bounces-2349-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h15-20020a05622a170f00b0042df0409734si9664402qtk.787.2024.02.27.22.49.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 22:49:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2349-linux.lists.archive=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; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-crypto+bounces-2349-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.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 5F9421C24061 for ; Wed, 28 Feb 2024 06:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 734CF24A09; Wed, 28 Feb 2024 06:48:46 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2479922F00; Wed, 28 Feb 2024 06:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709102926; cv=none; b=A3ILUZuLluTCFKUhkP/BqLyV98yPg75Laxs6toFqu42tvST6+B+FmuK/3KTt9GOPI23kMzMwygRqwKrUWcZn2z9n8n63HSroeKKe9Xm5xkzsvGx9NmTCXlaw1lGM5dpnw4nm3hJZvq01nU72TbHpkP4N5Sbw7Pvq0LabuxdY97E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709102926; c=relaxed/simple; bh=J0F7oEgNQ9OifyFp0og5GKcg7g1hKuax/CW1CKt2xnM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=uvlx+dbZ3fCb1VuBgwh1F8rxDDTS2X6At+93Vy8Z6k3IXHR/FNxMXX0gAI2UY5PrWYmru2jdpHmBPk2vyydtM6qL6MuwY4RRFn39YsQgg7ZvafnKvBW4VEIWGyyNzp0ETVQrtKF0mpAXzfe28LC9y1zhlPJtBSSoGHf3+hgM648= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.214]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Tl4g156swzqjhm; Wed, 28 Feb 2024 14:47:57 +0800 (CST) Received: from dggpemm500005.china.huawei.com (unknown [7.185.36.74]) by mail.maildlp.com (Postfix) with ESMTPS id D2CDE1A016B; Wed, 28 Feb 2024 14:48:34 +0800 (CST) Received: from [10.67.121.249] (10.67.121.249) by dggpemm500005.china.huawei.com (7.185.36.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 28 Feb 2024 14:48:34 +0800 Message-ID: <7163b400-1e35-49ea-9a12-9dae27428431@huawei.com> Date: Wed, 28 Feb 2024 14:48:34 +0800 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags To: Barry Song <21cnbao@gmail.com>, , , CC: , Barry Song , Zhou Wang References: <20240220044222.197614-1-v-songbaohua@oppo.com> From: Yang Shen In-Reply-To: <20240220044222.197614-1-v-songbaohua@oppo.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500005.china.huawei.com (7.185.36.74) 在 2024/2/20 12:42, Barry Song 写道: > Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver > works asynchronously. > > Cc: Yang Shen > Cc: Zhou Wang > Signed-off-by: Barry Song > --- > drivers/crypto/hisilicon/zip/zip_crypto.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/crypto/hisilicon/zip/zip_crypto.c b/drivers/crypto/hisilicon/zip/zip_crypto.c > index c650c741a18d..94e2d66b04b6 100644 > --- a/drivers/crypto/hisilicon/zip/zip_crypto.c > +++ b/drivers/crypto/hisilicon/zip/zip_crypto.c > @@ -591,6 +591,7 @@ static struct acomp_alg hisi_zip_acomp_deflate = { > .base = { > .cra_name = "deflate", > .cra_driver_name = "hisi-deflate-acomp", > + .cra_flags = CRYPTO_ALG_ASYNC, > .cra_module = THIS_MODULE, > .cra_priority = HZIP_ALG_PRIORITY, > .cra_ctxsize = sizeof(struct hisi_zip_ctx), Thx! Acked-by: Yang Shen