Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp453994rdb; Thu, 5 Oct 2023 10:33:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtL1soZtpu+v8Rk1t0QjLI5GEBXPKlXA7hBP3oRaFFZsj5IjYzIiwG1JsB4p/8G6JQvOdk X-Received: by 2002:a17:903:2449:b0:1b6:a37a:65b7 with SMTP id l9-20020a170903244900b001b6a37a65b7mr3207591pls.23.1696527227337; Thu, 05 Oct 2023 10:33:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696527227; cv=none; d=google.com; s=arc-20160816; b=dQFjc3Knx4d8UgjriIZ8SrJ6rehAbemVvuWnjbNE4PAGkReeiixZXTJq6M5nWf1s7L CzGtMSBZgwQ/5y285fFN9Xnpi6/9nPjle6Kw0jz4YNQSonZJ1lZUp2BmrscKgJukISOv lFeqzYi3nRh/CctVi2oBcuoniYs5GjoD7xQ6KI04oWZnWTfpPoEvUCFb3Qvm+vdX4d/g xavJL7uHs05GO/8xiujmiK8chbq/LaB0ouzR7ueBamH/9NTe+Ad5Fa5eOZGABzBMQOqR jX0v2k5RunC1jD2ls5+vhCUluUlVSQGK2MAQpasXEfcXF1a4dWBU/owXIt3jhit0fDh+ eBwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=XH/X7M9sehGky/xTljEe2A8AudDgiBiFIeYf3SrFTbE=; fh=9VdNi/4do67TnxLGi/v1xEFcWICmToJCay6iblVxNb4=; b=Mx5SYLHqIdQfJCnYbVFmJanB3RWl4EphJbbo1CuQvZgSwUywqQ/57HvUvpI5iDS2N+ 57N+i3qgQS4FqlyB1TWEaZcHVF6L6o4/cANwQptu4b0OMHuE1b0Ba3XMA/AZx83nSC+p EGIXI2UGUxTN2nf/fAQWTFWY5wtLkJfAMpcK9Ap0fZZOY4azdK9bPJCmayLlUgaNDpVQ VZJSFPzdxnvx1H+4zrjoY7pp3Ah6V1nynBEvtnlcPmGInChyQ5BbKEtTHN0qqOjXcaeE nzFQrfX4SBJepi2GuON0esDCe3JGMqhp9fWDKZ9uL4MjMWbky5Bl8AZRFZzScN/wFU2r 7afw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b13-20020a170902d50d00b001c4749ee72csi2003087plg.503.2023.10.05.10.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 10:33:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 11E2A82FCEAA; Thu, 5 Oct 2023 10:33:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbjJER3r (ORCPT + 99 others); Thu, 5 Oct 2023 13:29:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231789AbjJER3W (ORCPT ); Thu, 5 Oct 2023 13:29:22 -0400 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A0792686; Thu, 5 Oct 2023 10:26:49 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qoLYo-003l8O-IY; Thu, 05 Oct 2023 18:26:27 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Thu, 05 Oct 2023 18:26:30 +0800 Date: Thu, 5 Oct 2023 18:26:30 +0800 From: Herbert Xu To: Weili Qian Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, liulongfang@huawei.com Subject: Re: [PATCH] crypto: hisilicon/qm - fix the type value of aeq Message-ID: References: <20230928092103.49587-1-qianweili@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230928092103.49587-1-qianweili@huawei.com> X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 10:33:43 -0700 (PDT) On Thu, Sep 28, 2023 at 05:21:03PM +0800, Weili Qian wrote: > The type of aeq has only 4bits in dw0 17 to 20bits, but 15bits(17 to > 31bits) are read in function qm_aeq_thread(). The remaining 11bits(21 > to 31bits) are reserved for aeq, but may not be 0. To avoid getting > incorrect value of type, other bits are cleared. > > Signed-off-by: Weili Qian > --- > drivers/crypto/hisilicon/qm.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt