Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp810523rdb; Thu, 19 Oct 2023 22:57:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFR07xxY9+vpWKcBxmTTqgb4V9plWUc5Fdmcvj/wcEKkAGU754yaqOeeOQbb5LSREJEC1qa X-Received: by 2002:a05:6a20:ba82:b0:17b:63ce:5b84 with SMTP id fb2-20020a056a20ba8200b0017b63ce5b84mr856817pzb.52.1697781466029; Thu, 19 Oct 2023 22:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697781466; cv=none; d=google.com; s=arc-20160816; b=VIYdjlOswkjXKQMClBQmlWA6hDeF+yslS+y5DAehDqv/MdSFSrvwU9ISX4hOrcNRkB XO7bIny92AgZwEdwYxoYi1j2vQvI9oN3Fuz230peXJx47dKyGyz+BwSlVCkjsA9UlpZ0 Yb32qguLRgVMIdacn4z1FSqjjx4KDD/MdN49YR2CNg3LZP4oFI9Onk39nvmsyHpbpnuD B6xkNi9w4ASJrQZGhk1s4wqxnVDTxdyE2LLGOuu4lr6NJDAgeVzKKI5RTFp2Idl5L3XJ kn/ByOefHZGThGbEAxKb8XnT/YrPEIJufLCsuUpgXfoDXRW1YtyEbBZCxAVd/KDH6IXG H1uQ== 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=yD83CKb8RXt1ExlokVT90tT4ra7Oe5iiiseQNEMt4Ds=; fh=XXxUPpg2/+vhElZLhhiTULL217btPiAq6rk3BtUpq98=; b=kkyAKzVjS/vdvKHCzZHn5M24nvgxIwqxF2A1suSYHfeR3LjpFQK5JA70/WG7QX3/nO Z2G1KMlz/CnU84tab6snm/ftdhdc871jmXdXMoL7DX2x0cPrAbo5JNfH63H58Cp+MqOO 2KsXmllAFkSa/kOW3OTfuFP0NE8UAC5dEH7hyOhjaUueTNioZBJP52gKAOfqGep+tMlj +URwx8n7jBCDA7GPPqeGiplb65jwasdV8bdHjD+dPGPrWfMxzgRbdC9XHbMlEqHsczOw Xql5nyO/U8fnTd7n8GbTHzBjY42U0Uu/iLhouFrZ5k4Bqaep6hyZ1r/mPuqadBpOBGmB /dAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q13-20020a17090311cd00b001b82da85c5asi1193774plh.336.2023.10.19.22.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 22:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6F154826642A; Thu, 19 Oct 2023 22:57:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233513AbjJTF5l (ORCPT + 99 others); Fri, 20 Oct 2023 01:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233497AbjJTF5k (ORCPT ); Fri, 20 Oct 2023 01:57:40 -0400 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED22D11B; Thu, 19 Oct 2023 22:57:38 -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 1qtiVY-0097hj-Eb; Fri, 20 Oct 2023 13:57:17 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 20 Oct 2023 13:57:22 +0800 Date: Fri, 20 Oct 2023 13:57:22 +0800 From: Herbert Xu To: Longfang Liu Cc: wangzhou1@hisilicon.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: hisilicon/qm - fix EQ/AEQ interrupt issue Message-ID: References: <20231013034957.28311-1-liulongfang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231013034957.28311-1-liulongfang@huawei.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 22:57:41 -0700 (PDT) On Fri, Oct 13, 2023 at 11:49:57AM +0800, Longfang Liu wrote: > During hisilicon accelerator live migration operation. In order to > prevent the problem of EQ/AEQ interrupt loss. Migration driver will > trigger an EQ/AEQ doorbell at the end of the migration. > > This operation may cause double interruption of EQ/AEQ events. > To ensure that the EQ/AEQ interrupt processing function is normal. > The interrupt handling functionality of EQ/AEQ needs to be updated. > Used to handle repeated interrupts event. > > Fixes: b0eed085903e ("hisi_acc_vfio_pci: Add support for VFIO live migration") > Signed-off-by: Longfang Liu > --- > drivers/crypto/hisilicon/qm.c | 105 +++++++++++++--------------------- > include/linux/hisi_acc_qm.h | 1 + > 2 files changed, 41 insertions(+), 65 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt