Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp319437pxb; Wed, 15 Sep 2021 02:52:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIIJ2xSsi8S6wwT2abn11Qs8CsvYrTEIrXr9EYc9uvfx1SQ7fP7rC0kiUsbJgYKEv8xjSj X-Received: by 2002:a6b:d209:: with SMTP id q9mr17838274iob.206.1631699521666; Wed, 15 Sep 2021 02:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631699521; cv=none; d=google.com; s=arc-20160816; b=OOPvgTpWVfB4qM+fzZ8WRbc/X26DIlVZBGRawTdKaJ2GsF8FLzYWIq2lPc1kSrQTNq VTCe+tHhVo8w5J6AJKVsyM5LO3q3RqwsfUHGSj8rrMDQSAkb5NTtexnbDpcoW2X1oFL+ lDMp1l0kKpO6cVhG8Gvgrxm8pveOkjVnUZ1uh8JnV0WQfjG7deyhyodDhHmC0Qj1SSIB JYngmdkletbt00f7tcr7Q5rfLaTpJYavsg72cW47BsYelyclAbUT9iExWsVQVKLnlSli lfnFGT9YgYqxyXeWlShJ7XDA+kslEiWDznVESRiwEWtm/2POvgC3nJc8f1L+PGQDiad0 cAEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=SjMMGzvtT443DX/jSLwnKwRm9uAh2nNrVyio9ahttQU=; b=ez8Q4+rUDdd1Dbo2NVJbQEyMKNVE2EYSShULIoGbG/PZ4XOxOEhIkpoA98sCUs2EVv TEKmTSYF/VYuUdKvZuiTljzt4jUEiagW9N/tiBOgVvmZ/9vvMmtZ+x0omSOW5IVvh+4c KVpyQSLbev/ZXBY9O35augAbtGJPoLjtbifnbgpHjU0dbEBwjKjuu2t2oS7horNa/1eb UrQixB0j3mfKS3YZRGhS24tGLqD9AM1dtqnxzgtiiQFD36kQ4uMObvQStOCmZfXkUnQD e2IW927HUHv1Yabs+oZ9qk8Emcn6eOJCR/fcKYhNrek79To+lfuINORFQC/RkLgCbgm6 zj1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p4si15450548ilc.19.2021.09.15.02.51.49; Wed, 15 Sep 2021 02:52:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237393AbhIOJwm (ORCPT + 99 others); Wed, 15 Sep 2021 05:52:42 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3815 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237307AbhIOJwa (ORCPT ); Wed, 15 Sep 2021 05:52:30 -0400 Received: from fraeml736-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4H8b5M1PYcz67bjB; Wed, 15 Sep 2021 17:48:55 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml736-chm.china.huawei.com (10.206.15.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 15 Sep 2021 11:51:09 +0200 Received: from A2006125610.china.huawei.com (10.47.83.177) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 15 Sep 2021 10:51:03 +0100 From: Shameer Kolothum To: , , CC: , , , , , , , Subject: [PATCH v3 1/6] crypto: hisilicon/qm: Move the QM header to include/linux Date: Wed, 15 Sep 2021 10:50:32 +0100 Message-ID: <20210915095037.1149-2-shameerali.kolothum.thodi@huawei.com> X-Mailer: git-send-email 2.12.0.windows.1 In-Reply-To: <20210915095037.1149-1-shameerali.kolothum.thodi@huawei.com> References: <20210915095037.1149-1-shameerali.kolothum.thodi@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.47.83.177] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Since we are going to introduce VFIO PCI HiSilicon ACC driver for live migration in subsequent patches, move the ACC QM header file to a common include dir Signed-off-by: Shameer Kolothum --- drivers/crypto/hisilicon/hpre/hpre.h | 2 +- drivers/crypto/hisilicon/qm.c | 2 +- drivers/crypto/hisilicon/sec2/sec.h | 2 +- drivers/crypto/hisilicon/sgl.c | 2 +- drivers/crypto/hisilicon/zip/zip.h | 2 +- drivers/crypto/hisilicon/qm.h => include/linux/hisi_acc_qm.h | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename drivers/crypto/hisilicon/qm.h => include/linux/hisi_acc_qm.h (100%) diff --git a/drivers/crypto/hisilicon/hpre/hpre.h b/drivers/crypto/hisilicon/hpre/hpre.h index e0b4a1982ee9..9a0558ed82f9 100644 --- a/drivers/crypto/hisilicon/hpre/hpre.h +++ b/drivers/crypto/hisilicon/hpre/hpre.h @@ -4,7 +4,7 @@ #define __HISI_HPRE_H #include -#include "../qm.h" +#include #define HPRE_SQE_SIZE sizeof(struct hpre_sqe) #define HPRE_PF_DEF_Q_NUM 64 diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 369562d34d66..e791a4fe47bc 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -15,7 +15,7 @@ #include #include #include -#include "qm.h" +#include /* eq/aeq irq enable */ #define QM_VF_AEQ_INT_SOURCE 0x0 diff --git a/drivers/crypto/hisilicon/sec2/sec.h b/drivers/crypto/hisilicon/sec2/sec.h index d97cf02b1df7..c2e9b01187a7 100644 --- a/drivers/crypto/hisilicon/sec2/sec.h +++ b/drivers/crypto/hisilicon/sec2/sec.h @@ -4,7 +4,7 @@ #ifndef __HISI_SEC_V2_H #define __HISI_SEC_V2_H -#include "../qm.h" +#include #include "sec_crypto.h" /* Algorithm resource per hardware SEC queue */ diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index 057273769f26..534687401135 100644 --- a/drivers/crypto/hisilicon/sgl.c +++ b/drivers/crypto/hisilicon/sgl.c @@ -3,7 +3,7 @@ #include #include #include -#include "qm.h" +#include #define HISI_ACC_SGL_SGE_NR_MIN 1 #define HISI_ACC_SGL_NR_MAX 256 diff --git a/drivers/crypto/hisilicon/zip/zip.h b/drivers/crypto/hisilicon/zip/zip.h index 517fdbdff3ea..1997c3233911 100644 --- a/drivers/crypto/hisilicon/zip/zip.h +++ b/drivers/crypto/hisilicon/zip/zip.h @@ -7,7 +7,7 @@ #define pr_fmt(fmt) "hisi_zip: " fmt #include -#include "../qm.h" +#include "linux/hisi_acc_qm.h" enum hisi_zip_error_type { /* negative compression */ diff --git a/drivers/crypto/hisilicon/qm.h b/include/linux/hisi_acc_qm.h similarity index 100% rename from drivers/crypto/hisilicon/qm.h rename to include/linux/hisi_acc_qm.h -- 2.17.1