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.
Unified · Split
| @@ -4,7 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | #define __HISI_HPRE_H |
| 5 | 5 | |
| 6 | 6 | #include <linux/list.h> |
| 7 | −#include "../qm.h" | |
| 7 | +#include <linux/hisi_acc_qm.h> | |
| 8 | 8 | |
| 9 | 9 | #define HPRE_SQE_SIZE sizeof(struct hpre_sqe) |
| 10 | 10 | #define HPRE_PF_DEF_Q_NUM 64 |
| @@ -15,7 +15,7 @@ · 14 unmodified lines | ||
| 15 | 15 | #include <linux/uacce.h> |
| 16 | 16 | #include <linux/uaccess.h> |
| 17 | 17 | #include <uapi/misc/uacce/hisi_qm.h> |
| 18 | −#include "qm.h" | |
| 18 | +#include <linux/hisi_acc_qm.h> | |
| 19 | 19 | |
| 20 | 20 | /* eq/aeq irq enable */ |
| 21 | 21 | #define QM_VF_AEQ_INT_SOURCE 0x0 |
| @@ -4,7 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | #ifndef __HISI_SEC_V2_H |
| 5 | 5 | #define __HISI_SEC_V2_H |
| 6 | 6 | |
| 7 | −#include "../qm.h" | |
| 7 | +#include <linux/hisi_acc_qm.h> | |
| 8 | 8 | #include "sec_crypto.h" |
| 9 | 9 | |
| 10 | 10 | /* Algorithm resource per hardware SEC queue */ |
| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | /* Copyright (c) 2019 HiSilicon Limited. */ |
| 3 | 3 | #include <linux/dma-mapping.h> |
| 4 | +#include <linux/hisi_acc_qm.h> | |
| 4 | 5 | #include <linux/module.h> |
| 5 | 6 | #include <linux/slab.h> |
| 6 | −#include "qm.h" | |
| 7 | 7 | |
| 8 | 8 | #define HISI_ACC_SGL_SGE_NR_MIN 1 |
| 9 | 9 | #define HISI_ACC_SGL_NR_MAX 256 |
| @@ -7,7 +7,7 @@ · 6 unmodified lines | ||
| 7 | 7 | #define pr_fmt(fmt) "hisi_zip: " fmt |
| 8 | 8 | |
| 9 | 9 | #include <linux/list.h> |
| 10 | −#include "../qm.h" | |
| 10 | +#include <linux/hisi_acc_qm.h> | |
| 11 | 11 | |
| 12 | 12 | enum hisi_zip_error_type { |
| 13 | 13 | /* negative compression */ |
File renamed without changes.