Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp734753lqe; Sun, 7 Apr 2024 01:04:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvVXXv3ZasW9q2napbtYsyTVkEelj1TLVVeR4QEl0YnXxh4q93AXUWK6vTsm43YlbhQRrC6AvTvIMPApedH4FKQ2Ru4lWPYDshPDaW6Q== X-Google-Smtp-Source: AGHT+IHhg2Gp9C8f1h63DVDqhn/MK1c/nvecZ4DngKhMafQvuSY+nD+2FDXKc6zB0y50VsW5S168 X-Received: by 2002:a17:902:f395:b0:1de:fe74:af6b with SMTP id f21-20020a170902f39500b001defe74af6bmr4326461ple.46.1712477086213; Sun, 07 Apr 2024 01:04:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712477086; cv=pass; d=google.com; s=arc-20160816; b=Tj/Xxp0ZBtGskQj4bfLPvshBEBC/KPXUMUrq7Eip2EI9679VclM2KvlxM9Bu/L8rvx GOsafRKbKpzzEe91KGnGEwL7nbTqCoMe/ilQNHvb7OD+oIYEvTneGHhVdksXgAXfNkjI 3Ck0jn9srbdi5kfEiYh2s2J0uhliLYpPDhvPaxBy8dBIky11Y8a2lunOOz2u3HT8GlFD YUjb7GwYnos/K0c8w0ZIdkCkPnVOxJ7o370KAt7CKbrTlWmkviTv41RlvdIxpDYObTMn x1ZuVuLt8Qmb0tn8iNsMu1CkJOVwT0CBHOgmHTKUqqjZOh1cpNdYja/DDH+OXh2wOLn8 v51w== 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:message-id:date:subject:cc:to :from; bh=kR3RIO01FoAHyvaYLgJBnI4I1bGgyuC0iG9obsH2WdI=; fh=VzMToBYo5MUfLaQO74C2Chjt/otG4r80qnd7ynZ/RBQ=; b=AObYghPiAEDLDETuGuXtInizfQ8clm64AZLNkbZ7TKNlXYdbJ8LbzszFaIOy666TUb p6qle1Y2tEuOXK7PPg1r9rDIHt5of6HWMc5VtNdhYM8i5exIhHR5mwvxEqQ1VdRbvN7K Ew78zyCaLkfETsO9vp74sGr0tYwCuYluWQ8S4t1gXW6vrRy7zfpkI8e96cu9HncGCUHQ lqfX9yCNAxjTJrEJnjIRp8oDSkCbldx8z6SZuPShlwWIfTDOdcOLbD81v0VwEh0yHHDG SpdyATp2MT1MFY2YvHDy+fyggynBQXEGkLBxO+cRvKlz457qKngmhQnu/Zq7gYTwPXw2 xWXw==; 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-3382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3382-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ma16-20020a170903095000b001e2866974f3si769455plb.251.2024.04.07.01.04.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 01:04:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::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-3382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3382-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C47B9282079 for ; Sun, 7 Apr 2024 08:04:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0DED111BB; Sun, 7 Apr 2024 08:04:34 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) (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 8BC31748F; Sun, 7 Apr 2024 08:04:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.255 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712477074; cv=none; b=tGnBtNP4uMA3TTrea/Pq9DvOTBWUSqikkabQx2hmbmkm6Ra0x2PDJNoGO+WKPEpwILmdjJHP2kpQlqB+RWjs4LEbGnfu4HoEWdmbwByS01icTVggU+1z15tw67WUUHTC8yNWUQuzqXbR+OcJ+C0XUiBFD6hXoJScM+HSq6p2+C4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712477074; c=relaxed/simple; bh=WuVmlcXEI6ienjeI1ef3w79EoIsbGXDctKG2kz3xZZM=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=q/7lUGIH6R7WzcOUwS7RtIchw3VTI326/aAPiOMP1+ywoHtBU5rQoICd5BhGu7E3w6Dj5WB8sXYzo//3gxRkWPIuIxnwQAHOL2Ql0BsFu8vL7Gq8Jx95t0HW61d25FzVRCUw+l2/73MdGh5mCv5Tw2gEnTfO3QpB7trVPc8x4Z8= 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.255 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.194]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4VC4SF35Blz1QCVb; Sun, 7 Apr 2024 16:01:49 +0800 (CST) Received: from kwepemi500025.china.huawei.com (unknown [7.221.188.170]) by mail.maildlp.com (Postfix) with ESMTPS id A25E21402C7; Sun, 7 Apr 2024 16:04:28 +0800 (CST) Received: from localhost.localdomain (10.67.165.2) by kwepemi500025.china.huawei.com (7.221.188.170) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sun, 7 Apr 2024 16:04:27 +0800 From: Chenghai Huang To: , CC: , , , , , , , , , , , Subject: [PATCH v2 0/9] crypto: hisilicon - Optimize and fix some driver processes Date: Sun, 7 Apr 2024 15:59:51 +0800 Message-ID: <20240407080000.673435-1-huangchenghai2@huawei.com> X-Mailer: git-send-email 2.30.0 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemi500025.china.huawei.com (7.221.188.170) This patch series is mainly used to fix and optimize some problems of hisilicon. v1 -> v2 - fixed codecheck warnings about unused variable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202404040616.cF0Pvb9M-lkp@intel.com/ Chenghai Huang (9): crypto: hisilicon/sec - Add the condition for configuring the sriov function crypto: hisilicon/debugfs - Fix debugfs uninit process issue crypto: hisilicon/sgl - Delete redundant parameter verification crypto: hisilicon/debugfs - Fix the processing logic issue in the debugfs creation crypto: hisilicon/qm - Add the default processing branch crypto: hisilicon - Adjust debugfs creation and release order crypto: hisilicon/sec - Fix memory leak for sec resource release crypto: hisilicon/debugfs - Resolve the problem of applying for redundant space in sq dump crypto: hisilicon/qm - Add the err memory release process to qm uninit drivers/crypto/hisilicon/debugfs.c | 38 +++++++++++++++------- drivers/crypto/hisilicon/hpre/hpre_main.c | 21 ++++++------ drivers/crypto/hisilicon/qm.c | 8 ++--- drivers/crypto/hisilicon/sec2/sec_crypto.c | 4 ++- drivers/crypto/hisilicon/sec2/sec_main.c | 26 +++++++-------- drivers/crypto/hisilicon/sgl.c | 5 +-- drivers/crypto/hisilicon/zip/zip_main.c | 24 +++++++------- 7 files changed, 68 insertions(+), 58 deletions(-) -- 2.30.0