iommu/exynos: convert to SPDX license tags
Subsystems (9)
PATCH 1/10 iommu/exynos: convert to SPDX license tags
Updates license to use SPDX-License-Identifier.
--- drivers/iommu/exynos-iommu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/iommu/exynos-iommu.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2011,2016 Samsung Electronics Co., Ltd. * http://www.samsung.com -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifdef CONFIG_EXYNOS_IOMMU_DEBUG
Signature · 1 line
2.17.0
PATCH 2/10 iommu/io-pgtable: convert to SPDX license tags
Updates license to use SPDX-License-Identifier.
--- drivers/iommu/io-pgtable.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/iommu/io-pgtable.c +1 -12
@@ -1,18 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Generic page table allocator for IOMMUs. * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Copyright (C) 2014 ARM Limited * * Author: Will Deacon <[email protected]>
Signature · 1 line
2.17.0
Re: [PATCH 02/10] iommu/io-pgtable: convert to SPDX license tags
Quoted 6 lines · Yangtao Li
Updates license to use SPDX-License-Identifier.
Signed-off-by Yangtao Li <[email protected]>--- drivers/iommu/io-pgtable.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
Will
PATCH 3/10 iommu/omap: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/omap-iommu-debug.c | 5 +---- drivers/iommu/omap-iommu.c | 5 +---- drivers/iommu/omap-iommu.h | 5 +---- drivers/iommu/omap-iopgtable.h | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-)
drivers/iommu/omap-iommu-debug.c +1 -4
@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * omap iommu: debugfs interface * * Copyright (C) 2008-2009 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/err.h>
drivers/iommu/omap-iommu.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * omap iommu: tlb and pagetable primitives *
@@ -6,10 +7,6 @@* * Written by Hiroshi DOYU <[email protected]>, * Paul Mundt and Toshihiro Kobayashi -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/dma-mapping.h>
drivers/iommu/omap-iommu.h +1 -4
@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * omap iommu: main structures * * Copyright (C) 2008-2009 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef _OMAP_IOMMU_H
drivers/iommu/omap-iopgtable.h +1 -4
@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * omap iommu: pagetable definitions * * Copyright (C) 2008-2010 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef _OMAP_IOPGTABLE_H
Signature · 1 line
2.17.0
Re: [PATCH 03/10] iommu/omap: convert to SPDX license tags
Hi Yangtao,
Quoted 3 lines · Yangtao Li
Updates license to use SPDX-License-Identifier.
Signed-off-by Yangtao Li <[email protected]>
Thanks for the patch. Can you also update another related file while at this. Will leave it to Joerg if he prefers it as a separate patch, or folded into this patch.
include/linux/platform_data/iommu-omap.h
regards
Suman
Quoted 85 lines
--- drivers/iommu/omap-iommu-debug.c | 5 +---- drivers/iommu/omap-iommu.c | 5 +---- drivers/iommu/omap-iommu.h | 5 +---- drivers/iommu/omap-iopgtable.h | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-)drivers/iommu/omap-iommu-debug.c +1
-4@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * omap iommu: debugfs interface * * Copyright (C) 2008-2009 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/err.h> drivers/iommu/omap-iommu.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * omap iommu: tlb and pagetable primitives * @@ -6,10 +7,6 @@* * Written by Hiroshi DOYU <[email protected]>, * Paul Mundt and Toshihiro Kobayashi -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/dma-mapping.h> drivers/iommu/omap-iommu.h +1
-4@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * omap iommu: main structures * * Copyright (C) 2008-2009 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef _OMAP_IOMMU_Hdrivers/iommu/omap-iopgtable.h +1
-4@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * omap iommu: pagetable definitions * * Copyright (C) 2008-2010 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef _OMAP_IOPGTABLE_H
Re: [PATCH 03/10] iommu/omap: convert to SPDX license tags
Quoted 6 lines · Suman Anna
Hi Yangtao,
Quoted 2 lines · Yangtao Li
Updates license to use SPDX-License-Identifier.
Quoted 8 lines
Quoted 1 line
Signed-off-by Yangtao Li <[email protected]>Thanks for the patch. Can you also update another related file while at this. Will leave it to Joerg if he prefers it as a separate patch, or folded into this patch.
include/linux/platform_data/iommu-omap.h
Done.
Yangtao
Quoted 91 lines
Acked-by Suman Anna <[email protected]>regards
SumanQuoted 85 lines
--- drivers/iommu/omap-iommu-debug.c | 5 +---- drivers/iommu/omap-iommu.c | 5 +---- drivers/iommu/omap-iommu.h | 5 +---- drivers/iommu/omap-iopgtable.h | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-)drivers/iommu/omap-iommu-debug.c +1
-4@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * omap iommu: debugfs interface * * Copyright (C) 2008-2009 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/err.h> drivers/iommu/omap-iommu.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * omap iommu: tlb and pagetable primitives * @@ -6,10 +7,6 @@* * Written by Hiroshi DOYU <[email protected]>, * Paul Mundt and Toshihiro Kobayashi -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/dma-mapping.h> drivers/iommu/omap-iommu.h +1
-4@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * omap iommu: main structures * * Copyright (C) 2008-2009 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef _OMAP_IOMMU_Hdrivers/iommu/omap-iopgtable.h +1
-4@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * omap iommu: pagetable definitions * * Copyright (C) 2008-2010 Nokia Corporation * * Written by Hiroshi DOYU <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #ifndef _OMAP_IOPGTABLE_H
PATCH 4/10 iommu/qcom: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/qcom_iommu.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/iommu/qcom_iommu.c +1 -12
@@ -1,18 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * IOMMU API for QCOM secure IOMMUs. Somewhat based on arm-smmu.c * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Copyright (C) 2013 ARM Limited * Copyright (C) 2017 Red Hat */
Signature · 1 line
2.17.0
PATCH 5/10 iommu/dma-iommu: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/dma-iommu.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/iommu/dma-iommu.c +1 -12
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * A fairly generic DMA-API to IOMMU-API glue layer. *
@@ -5,18 +6,6 @@* * based in part on arch/arm/mm/dma-mapping.c: * Copyright (C) 2000-2004 Russell King -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/acpi_iort.h>
Signature · 1 line
2.17.0
Robin Murphy
maintainerRe: [PATCH 05/10] iommu/dma-iommu: convert to SPDX license tags
Quoted 1 line · Yangtao Li
Updates license to use SPDX-License-Identifier.
A more complete version of this (which also covers the header) is already queued in -next.
Robin.
Quoted 34 lines
Signed-off-by Yangtao Li <[email protected]>--- drivers/iommu/dma-iommu.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)drivers/iommu/dma-iommu.c +1
-12@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * A fairly generic DMA-API to IOMMU-API glue layer. * @@ -5,18 +6,6 @@* * based in part on arch/arm/mm/dma-mapping.c: * Copyright (C) 2000-2004 Russell King -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/acpi_iort.h>
PATCH 6/10 iommu/io-pgtable-arm-v7s: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/io-pgtable-arm-v7s.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/iommu/io-pgtable-arm-v7s.c +1 -12
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * CPU-agnostic ARM page table allocator. *
@@ -14,18 +15,6 @@* - PXN * - Domains * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Copyright (C) 2014-2015 ARM Limited * Copyright (c) 2014-2015 MediaTek Inc. */
Signature · 1 line
2.17.0
PATCH 7/10 iommu/io-pgtable-arm: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/io-pgtable-arm.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/iommu/io-pgtable-arm.c +1 -12
@@ -1,18 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * CPU-agnostic ARM page table allocator. * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Copyright (C) 2014 ARM Limited * * Author: Will Deacon <[email protected]>
Signature · 1 line
2.17.0
Re: [PATCH 07/10] iommu/io-pgtable-arm: convert to SPDX license tags
Quoted 6 lines · Yangtao Li
Updates license to use SPDX-License-Identifier.
Signed-off-by Yangtao Li <[email protected]>--- drivers/iommu/io-pgtable-arm.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
Will
PATCH 8/10 iommu/sysfs: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/iommu-sysfs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/iommu/iommu-sysfs.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * IOMMU sysfs class support * * Copyright (C) 2014 Red Hat, Inc. All rights reserved. * Author: Alex Williamson <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/device.h>
Signature · 1 line
2.17.0
PATCH 9/10 iommu/rockchip: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/rockchip-iommu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/iommu/rockchip-iommu.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * IOMMU API for Rockchip * * Module Authors: Simon Xue <[email protected]> * Daniel Kurtz <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/clk.h>
Signature · 1 line
2.17.0
Re: [PATCH 09/10] iommu/rockchip: convert to SPDX license tags
Am Donnerstag, 13. Juni 2019, 18:27:02 CEST schrieb Yangtao Li:
Quoted 3 lines
Updates license to use SPDX-License-Identifier.
Signed-off-by Yangtao Li <[email protected]>
PATCH 10/10 iommu/tegra-smmu: convert to SPDX license tags
In reply to Yangtao LiUpdates license to use SPDX-License-Identifier.
--- drivers/iommu/tegra-smmu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/iommu/tegra-smmu.c +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011-2014 NVIDIA CORPORATION. All rights reserved. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/bitops.h>
Signature · 1 line
2.17.0
Re: [PATCH 10/10] iommu/tegra-smmu: convert to SPDX license tags
Quoted 6 lines · Yangtao Li
Updates license to use SPDX-License-Identifier.
Signed-off-by Yangtao Li <[email protected]>--- drivers/iommu/tegra-smmu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
Krzysztof Kozlowski
maintainerQuoted 7 lines · Yangtao Li
Updates license to use SPDX-License-Identifier.
Signed-off-by Yangtao Li <[email protected]>--- drivers/iommu/exynos-iommu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
Splitting this per driver is too much... it is not necessary. Such changes should be done in one patch per subsystem.
Best regards,
Krzysztof
Thomas Gleixner is doing automated SPDX conversion that directly got to Linux at the moment. I'd avoid doing more manual ones for now as it will just create conflicts.
Need me to make them a patch?
MBR,
Yangtao