提交 8956dc30 编写于 作者: L lingmingqiang 提交者: Xie XiuQi

ACC: optimize the lisence for accelerate modules

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

1. add copyright state.
2. modify some nonstandard, as
        (2018-2023) -> (2018-2019)
        Hisilicon -> HiSilicon
        GPL -> GPL v2
Signed-off-by: NHao Fang <fanghao11@huawei.com>
Reviewed-by: Nhuangdaode <huangdaode@hisilicon.com>
Signed-off-by: Nlingmingqiang <lingmingqiang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 f52a42c2
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#ifndef __HISI_HPRE_H #ifndef __HISI_HPRE_H
#define __HISI_HPRE_H #define __HISI_HPRE_H
......
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#include <linux/module.h> #include <linux/module.h>
#include <crypto/internal/rsa.h> #include <crypto/internal/rsa.h>
#include <crypto/internal/akcipher.h> #include <crypto/internal/akcipher.h>
......
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/aer.h> #include <linux/aer.h>
#include <linux/bitops.h> #include <linux/bitops.h>
......
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2018 Hisilicon Limited. */ /* Copyright (c) 2018-2019 HiSilicon Limited. */
#include <asm/page.h> #include <asm/page.h>
#include <linux/bitmap.h> #include <linux/bitmap.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/* Copyright (c) 2018 Hisilicon Limited. */ /* Copyright (c) 2018-2019 HiSilicon Limited. */
#ifndef HISI_ACC_QM_H #ifndef HISI_ACC_QM_H
#define HISI_ACC_QM_H #define HISI_ACC_QM_H
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/* Copyright (c) 2018-2019 HiSilicon Limited. */
#ifndef HISI_QM_USR_IF_H #ifndef HISI_QM_USR_IF_H
#define HISI_QM_USR_IF_H #define HISI_QM_USR_IF_H
......
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2019 Hisilicon Limited. */ /*
* Copyright (c) 2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#ifndef HISI_RDE_H #ifndef HISI_RDE_H
#define HISI_RDE_H #define HISI_RDE_H
......
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/aer.h> #include <linux/aer.h>
#include <linux/bitops.h> #include <linux/bitops.h>
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#ifndef __RDE_USR_IF_H__ #ifndef __RDE_USR_IF_H__
#define __RDE_USR_IF_H__ #define __RDE_USR_IF_H__
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#ifndef HISI_SEC_H #ifndef HISI_SEC_H
#define HISI_SEC_H #define HISI_SEC_H
......
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#include <linux/crypto.h> #include <linux/crypto.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/atomic.h> #include <linux/atomic.h>
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/* /*
* Copyright (c) 2018 HiSilicon Limited. * Copyright (c) 2018-2019 HiSilicon Limited.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
......
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/* Copyright (c) 2018 Hisilicon Limited. */ /*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/aer.h> #include <linux/aer.h>
#include <linux/bitops.h> #include <linux/bitops.h>
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#ifndef HISI_SEC_USR_IF_H #ifndef HISI_SEC_USR_IF_H
#define HISI_SEC_USR_IF_H #define HISI_SEC_USR_IF_H
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/* Copyright (c) 2018 Hisilicon Limited. */ /* Copyright (c) 2018 HiSilicon Limited. */
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#ifndef HISI_ZIP_H #ifndef HISI_ZIP_H
#define HISI_ZIP_H #define HISI_ZIP_H
......
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2018 Hisilicon Limited. */ /*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#include <linux/crypto.h> #include <linux/crypto.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include "zip.h" #include "zip.h"
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/* /*
* Copyright (c) 2018 HiSilicon Limited. * Copyright (c) 2018-2019 HiSilicon Limited.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
......
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2018 Hisilicon Limited. */ /*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/aer.h> #include <linux/aer.h>
#include <linux/bitops.h> #include <linux/bitops.h>
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2018-2019 HiSilicon Limited.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/
#ifndef HISI_ZIP_USR_IF_H #ifndef HISI_ZIP_USR_IF_H
#define HISI_ZIP_USR_IF_H #define HISI_ZIP_USR_IF_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (c) 2018-2019 HiSilicon Limited. */
/* /*
* This file defines the dummy hardware/driver interface between the user and * This file defines the dummy hardware/driver interface between the user and
* kernel space * kernel space
......
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/* Copyright (c) 2018-2019 HiSilicon Limited. */
/** /**
* This module is used to test the framework of WarpDrive. * This module is used to test the framework of WarpDrive.
* *
...@@ -427,4 +428,4 @@ module_init(dummy_uacce_init); ...@@ -427,4 +428,4 @@ module_init(dummy_uacce_init);
module_exit(dummy_uacce_exit); module_exit(dummy_uacce_exit);
MODULE_AUTHOR("Kenneth Lee<liguozhu@hisilicon.com>"); MODULE_AUTHOR("Kenneth Lee<liguozhu@hisilicon.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/* Copyright (c) 2018-2019 HiSilicon Limited. */
/** /**
* This module is used to test the framework of WarpDrive. * This module is used to test the framework of WarpDrive.
* *
...@@ -516,4 +517,4 @@ module_init(dummy_wd2_init); ...@@ -516,4 +517,4 @@ module_init(dummy_wd2_init);
module_exit(dummy_wd2_exit); module_exit(dummy_wd2_exit);
MODULE_AUTHOR("Kenneth Lee<liguozhu@hisilicon.com>"); MODULE_AUTHOR("Kenneth Lee<liguozhu@hisilicon.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (c) 2018-2019 HiSilicon Limited. */
/* /*
* This file defines the dummy algo interface between the user and kernel space * This file defines the dummy algo interface between the user and kernel space
*/ */
......
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/* Copyright (c) 2018 HiSilicon Limited. */
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/dma-iommu.h> #include <linux/dma-iommu.h>
...@@ -1364,6 +1365,6 @@ static __exit void uacce_exit(void) ...@@ -1364,6 +1365,6 @@ static __exit void uacce_exit(void)
subsys_initcall(uacce_init); subsys_initcall(uacce_init);
module_exit(uacce_exit); module_exit(uacce_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Hisilicon Tech. Co., Ltd."); MODULE_AUTHOR("HiSilicon Tech. Co., Ltd.");
MODULE_DESCRIPTION("Accelerator interface for Userland applications"); MODULE_DESCRIPTION("Accelerator interface for Userland applications");
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (c) 2018-2019 HiSilicon Limited. */
#ifndef __UACCE_H #ifndef __UACCE_H
#define __UACCE_H #define __UACCE_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (c) 2018-2019 HiSilicon Limited. */
#ifndef _UAPIUUACCE_H #ifndef _UAPIUUACCE_H
#define _UAPIUUACCE_H #define _UAPIUUACCE_H
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册