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