Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1419755ybb; Wed, 1 Apr 2020 23:55:20 -0700 (PDT) X-Google-Smtp-Source: APiQypJeiz1mKeomFPk/nt2HL2rR93TmCOBm+fc4lf3w7MB6B7ccIg8cJY9jBLPohZdYIro7veuu X-Received: by 2002:a9d:4b98:: with SMTP id k24mr1259690otf.26.1585810520451; Wed, 01 Apr 2020 23:55:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585810520; cv=none; d=google.com; s=arc-20160816; b=REwDV2n6al7I0rei4LZ1RdRqgvkV2Y5QlynSLKXbQQZgV6kuxtp6ZY8L5n4+m064yM zZp/sdm1L/EDhDhlfqre9qO0To7fYK9FAumRX2fiSt7/V6ruEQagGGzPWQmspob45T42 r7aiN652F2wYw9l9OAdFqP/eHtrSs8/JeWg67j2yJowANVd9z/ot4Yo8ZGZ6za+pgCzY qa/VuEGRu+4Wl5IKHA8Z2/K7fzx5A1XrN1kmroxd8/zXsYQwu7LqdiJwqbY7wVjPH6O9 /HaP8RWgucsvrY0BqY8GL/DGgie1YTkNg08wfN8QXitzyFmAaBOs5JHPEUq9ZxxFjS47 EoqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=psGhqIL3rQ+AYBJ2rkzfacINXeLcYM4qJcomg8hTbdg=; b=mDgblo33/0YZ1TCavy8g6WnrBfN7apSLxz5xueo6gDFeY4JjlMZSHhqjf6Jy+xn4Oh UzZB8Oak0RcMuL2MdJ9v/M7pd9khlFFJpcHX7XYBvk5WWY6fTwG2QdFZ/QpYY2YKP8Gv 3QRWuvdfC831l//gcIYJhVQRq9Yn2h5C6OCGPFeht2oPv07vNEquhoJ9IN5+ZicTKz8W nnj2t52HoX0Wk5Y0XOae45k9SWjIc5Km+IzXiPEgxsAESrjUEWKPBsOW6KAZVEsG1/S1 N9Kcz51KYJhsDEdlWpVjpMxXpRgLWocaLGFBVevzjg7bBsWtk9L270kmTQAuTeShee72 uHdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13si1964829oig.220.2020.04.01.23.55.08; Wed, 01 Apr 2020 23:55:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732667AbgDBGyE (ORCPT + 99 others); Thu, 2 Apr 2020 02:54:04 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:59550 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728135AbgDBGyE (ORCPT ); Thu, 2 Apr 2020 02:54:04 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 9BE1C709AB347948F67D; Thu, 2 Apr 2020 14:53:53 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Thu, 2 Apr 2020 14:53:45 +0800 From: Shukun Tan To: , CC: , , , , Shukun Tan Subject: [PATCH 0/3] crypto: hisilicon - refactor vfs_num related codes Date: Thu, 2 Apr 2020 14:53:00 +0800 Message-ID: <1585810383-49392-1-git-send-email-tanshukun1@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This series clean the vfs_num related redundant code in this series, move all into QM. Hao Fang (1): crypto: hisilicon - add vfs_num module parameter for hpre/sec Shukun Tan (2): crypto: hisilicon - put vfs_num into struct hisi_qm crypto: hisilicon - unify SR-IOV related codes into QM drivers/crypto/hisilicon/hpre/hpre.h | 1 - drivers/crypto/hisilicon/hpre/hpre_main.c | 130 +++++----------------------- drivers/crypto/hisilicon/qm.c | 136 +++++++++++++++++++++++++++-- drivers/crypto/hisilicon/qm.h | 25 +++++- drivers/crypto/hisilicon/sec2/sec.h | 1 - drivers/crypto/hisilicon/sec2/sec_main.c | 137 ++++++------------------------ drivers/crypto/hisilicon/zip/zip_main.c | 131 ++++------------------------ 7 files changed, 215 insertions(+), 346 deletions(-) -- 2.7.4