History

crypto: hisilicon/qm: Move the QM header to include/linux

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.

Shameer Kolothum committed 4 years ago

Commit ff5812e1 parent 5b26f2c6 files · +5 −5Browse files

Unified · Split

6 files
  1. drivers/crypto/hisilicon/hpre/hpre.h +1 −1
  2. drivers/crypto/hisilicon/qm.c +1 −1
  3. drivers/crypto/hisilicon/sec2/sec.h +1 −1
  4. drivers/crypto/hisilicon/sgl.c +1 −1
  5. drivers/crypto/hisilicon/zip/zip.h +1 −1
  6. include/linux/hisi_acc_qm.h +0 −0
drivers/crypto/hisilicon/hpre/hpre.h+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 #define __HISI_HPRE_H
55
66 #include <linux/list.h>
7−#include "../qm.h"
7+#include <linux/hisi_acc_qm.h>
88
99 #define HPRE_SQE_SIZE sizeof(struct hpre_sqe)
1010 #define HPRE_PF_DEF_Q_NUM 64
drivers/crypto/hisilicon/qm.c+1−1
@@ -15,7 +15,7 @@ · 14 unmodified lines
1515 #include <linux/uacce.h>
1616 #include <linux/uaccess.h>
1717 #include <uapi/misc/uacce/hisi_qm.h>
18−#include "qm.h"
18+#include <linux/hisi_acc_qm.h>
1919
2020 /* eq/aeq irq enable */
2121 #define QM_VF_AEQ_INT_SOURCE 0x0
drivers/crypto/hisilicon/sec2/sec.h+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 #ifndef __HISI_SEC_V2_H
55 #define __HISI_SEC_V2_H
66
7−#include "../qm.h"
7+#include <linux/hisi_acc_qm.h>
88 #include "sec_crypto.h"
99
1010 /* Algorithm resource per hardware SEC queue */
drivers/crypto/hisilicon/sgl.c+1−1
@@ -1,9 +1,9 @@
11 // SPDX-License-Identifier: GPL-2.0
22 /* Copyright (c) 2019 HiSilicon Limited. */
33 #include <linux/dma-mapping.h>
4+#include <linux/hisi_acc_qm.h>
45 #include <linux/module.h>
56 #include <linux/slab.h>
6−#include "qm.h"
77
88 #define HISI_ACC_SGL_SGE_NR_MIN 1
99 #define HISI_ACC_SGL_NR_MAX 256
drivers/crypto/hisilicon/zip/zip.h+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 #define pr_fmt(fmt) "hisi_zip: " fmt
88
99 #include <linux/list.h>
10−#include "../qm.h"
10+#include <linux/hisi_acc_qm.h>
1111
1212 enum hisi_zip_error_type {
1313 /* negative compression */
include/linux/hisi_acc_qm.hrenamed from drivers/crypto/hisilicon/qm.h+0−0

File renamed without changes.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t