diff options
| author | David S. Miller <davem@davemloft.net> | 2019-06-22 08:59:24 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-06-22 08:59:24 -0400 |
| commit | 92ad6325cb891bb455487bfe90cc47d18aa6ec37 (patch) | |
| tree | 433a7ef938fae69789216043f67eff9f9c6b0c68 /drivers/iommu | |
| parent | e0effb5fbd56a8b2b8917611cbf4fcd9aba92b8f (diff) | |
| parent | c356dc4b540edd6c02b409dd8cf3208ba2804c38 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor SPDX change conflict.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/iommu')
| -rw-r--r-- | drivers/iommu/dma-iommu.c | 13 | ||||
| -rw-r--r-- | drivers/iommu/exynos-iommu.c | 5 | ||||
| -rw-r--r-- | drivers/iommu/io-pgtable-arm-v7s.c | 13 | ||||
| -rw-r--r-- | drivers/iommu/io-pgtable-arm.c | 13 | ||||
| -rw-r--r-- | drivers/iommu/io-pgtable.c | 13 | ||||
| -rw-r--r-- | drivers/iommu/iommu-sysfs.c | 5 | ||||
| -rw-r--r-- | drivers/iommu/omap-iommu-debug.c | 5 | ||||
| -rw-r--r-- | drivers/iommu/omap-iommu.c | 5 | ||||
| -rw-r--r-- | drivers/iommu/omap-iommu.h | 5 | ||||
| -rw-r--r-- | drivers/iommu/omap-iopgtable.h | 5 | ||||
| -rw-r--r-- | drivers/iommu/qcom_iommu.c | 13 | ||||
| -rw-r--r-- | drivers/iommu/rockchip-iommu.c | 5 | ||||
| -rw-r--r-- | drivers/iommu/tegra-smmu.c | 5 |
13 files changed, 13 insertions, 92 deletions
diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c index 129c4badf9ae..379318266468 100644 --- a/drivers/iommu/dma-iommu.c +++ b/drivers/iommu/dma-iommu.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * A fairly generic DMA-API to IOMMU-API glue layer. | 3 | * A fairly generic DMA-API to IOMMU-API glue layer. |
| 3 | * | 4 | * |
| @@ -5,18 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * based in part on arch/arm/mm/dma-mapping.c: | 7 | * based in part on arch/arm/mm/dma-mapping.c: |
| 7 | * Copyright (C) 2000-2004 Russell King | 8 | * Copyright (C) 2000-2004 Russell King |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 9 | */ |
| 21 | 10 | ||
| 22 | #include <linux/acpi_iort.h> | 11 | #include <linux/acpi_iort.h> |
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 05c6bc099d62..b0c1e5f9daae 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2011,2016 Samsung Electronics Co., Ltd. | 3 | * Copyright (c) 2011,2016 Samsung Electronics Co., Ltd. |
| 3 | * http://www.samsung.com | 4 | * http://www.samsung.com |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #ifdef CONFIG_EXYNOS_IOMMU_DEBUG | 7 | #ifdef CONFIG_EXYNOS_IOMMU_DEBUG |
diff --git a/drivers/iommu/io-pgtable-arm-v7s.c b/drivers/iommu/io-pgtable-arm-v7s.c index 9a8a8870e267..aa7a3fa6dd09 100644 --- a/drivers/iommu/io-pgtable-arm-v7s.c +++ b/drivers/iommu/io-pgtable-arm-v7s.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * CPU-agnostic ARM page table allocator. | 3 | * CPU-agnostic ARM page table allocator. |
| 3 | * | 4 | * |
| @@ -14,18 +15,6 @@ | |||
| 14 | * - PXN | 15 | * - PXN |
| 15 | * - Domains | 16 | * - Domains |
| 16 | * | 17 | * |
| 17 | * This program is free software; you can redistribute it and/or modify | ||
| 18 | * it under the terms of the GNU General Public License version 2 as | ||
| 19 | * published by the Free Software Foundation. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 28 | * | ||
| 29 | * Copyright (C) 2014-2015 ARM Limited | 18 | * Copyright (C) 2014-2015 ARM Limited |
| 30 | * Copyright (c) 2014-2015 MediaTek Inc. | 19 | * Copyright (c) 2014-2015 MediaTek Inc. |
| 31 | */ | 20 | */ |
diff --git a/drivers/iommu/io-pgtable-arm.c b/drivers/iommu/io-pgtable-arm.c index 4e21efbc4459..4b6b2f3150a9 100644 --- a/drivers/iommu/io-pgtable-arm.c +++ b/drivers/iommu/io-pgtable-arm.c | |||
| @@ -1,18 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * CPU-agnostic ARM page table allocator. | 3 | * CPU-agnostic ARM page table allocator. |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | * | ||
| 16 | * Copyright (C) 2014 ARM Limited | 5 | * Copyright (C) 2014 ARM Limited |
| 17 | * | 6 | * |
| 18 | * Author: Will Deacon <will.deacon@arm.com> | 7 | * Author: Will Deacon <will.deacon@arm.com> |
diff --git a/drivers/iommu/io-pgtable.c b/drivers/iommu/io-pgtable.c index 5227cfdbb65b..ced53e5b72b5 100644 --- a/drivers/iommu/io-pgtable.c +++ b/drivers/iommu/io-pgtable.c | |||
| @@ -1,18 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Generic page table allocator for IOMMUs. | 3 | * Generic page table allocator for IOMMUs. |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | * | ||
| 16 | * Copyright (C) 2014 ARM Limited | 5 | * Copyright (C) 2014 ARM Limited |
| 17 | * | 6 | * |
| 18 | * Author: Will Deacon <will.deacon@arm.com> | 7 | * Author: Will Deacon <will.deacon@arm.com> |
diff --git a/drivers/iommu/iommu-sysfs.c b/drivers/iommu/iommu-sysfs.c index 44127d54e943..e436ff813e7e 100644 --- a/drivers/iommu/iommu-sysfs.c +++ b/drivers/iommu/iommu-sysfs.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IOMMU sysfs class support | 3 | * IOMMU sysfs class support |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2014 Red Hat, Inc. All rights reserved. | 5 | * Copyright (C) 2014 Red Hat, Inc. All rights reserved. |
| 5 | * Author: Alex Williamson <alex.williamson@redhat.com> | 6 | * Author: Alex Williamson <alex.williamson@redhat.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/device.h> | 9 | #include <linux/device.h> |
diff --git a/drivers/iommu/omap-iommu-debug.c b/drivers/iommu/omap-iommu-debug.c index 4abc0ef522a8..ff31bddba60a 100644 --- a/drivers/iommu/omap-iommu-debug.c +++ b/drivers/iommu/omap-iommu-debug.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * omap iommu: debugfs interface | 3 | * omap iommu: debugfs interface |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2008-2009 Nokia Corporation | 5 | * Copyright (C) 2008-2009 Nokia Corporation |
| 5 | * | 6 | * |
| 6 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/err.h> | 10 | #include <linux/err.h> |
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index d2fb347aa4ff..62f9c61338a5 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * omap iommu: tlb and pagetable primitives | 3 | * omap iommu: tlb and pagetable primitives |
| 3 | * | 4 | * |
| @@ -6,10 +7,6 @@ | |||
| 6 | * | 7 | * |
| 7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>, | 8 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>, |
| 8 | * Paul Mundt and Toshihiro Kobayashi | 9 | * Paul Mundt and Toshihiro Kobayashi |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | 11 | ||
| 15 | #include <linux/dma-mapping.h> | 12 | #include <linux/dma-mapping.h> |
diff --git a/drivers/iommu/omap-iommu.h b/drivers/iommu/omap-iommu.h index 1703159ef5af..09968a02d291 100644 --- a/drivers/iommu/omap-iommu.h +++ b/drivers/iommu/omap-iommu.h | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * omap iommu: main structures | 3 | * omap iommu: main structures |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2008-2009 Nokia Corporation | 5 | * Copyright (C) 2008-2009 Nokia Corporation |
| 5 | * | 6 | * |
| 6 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #ifndef _OMAP_IOMMU_H | 10 | #ifndef _OMAP_IOMMU_H |
diff --git a/drivers/iommu/omap-iopgtable.h b/drivers/iommu/omap-iopgtable.h index 01a315227bf0..1a4adb59a859 100644 --- a/drivers/iommu/omap-iopgtable.h +++ b/drivers/iommu/omap-iopgtable.h | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * omap iommu: pagetable definitions | 3 | * omap iommu: pagetable definitions |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2008-2010 Nokia Corporation | 5 | * Copyright (C) 2008-2010 Nokia Corporation |
| 5 | * | 6 | * |
| 6 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #ifndef _OMAP_IOPGTABLE_H | 10 | #ifndef _OMAP_IOPGTABLE_H |
diff --git a/drivers/iommu/qcom_iommu.c b/drivers/iommu/qcom_iommu.c index 8cdd3f059513..34d0b9783b3e 100644 --- a/drivers/iommu/qcom_iommu.c +++ b/drivers/iommu/qcom_iommu.c | |||
| @@ -1,18 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IOMMU API for QCOM secure IOMMUs. Somewhat based on arm-smmu.c | 3 | * IOMMU API for QCOM secure IOMMUs. Somewhat based on arm-smmu.c |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | * | ||
| 16 | * Copyright (C) 2013 ARM Limited | 5 | * Copyright (C) 2013 ARM Limited |
| 17 | * Copyright (C) 2017 Red Hat | 6 | * Copyright (C) 2017 Red Hat |
| 18 | */ | 7 | */ |
diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c index 77d4bd93fe4b..dc26d74d79c2 100644 --- a/drivers/iommu/rockchip-iommu.c +++ b/drivers/iommu/rockchip-iommu.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IOMMU API for Rockchip | 3 | * IOMMU API for Rockchip |
| 3 | * | 4 | * |
| 4 | * Module Authors: Simon Xue <xxm@rock-chips.com> | 5 | * Module Authors: Simon Xue <xxm@rock-chips.com> |
| 5 | * Daniel Kurtz <djkurtz@chromium.org> | 6 | * Daniel Kurtz <djkurtz@chromium.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/clk.h> | 9 | #include <linux/clk.h> |
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 463ee08f7d3a..c4a652b227f8 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2011-2014 NVIDIA CORPORATION. All rights reserved. | 3 | * Copyright (C) 2011-2014 NVIDIA CORPORATION. All rights reserved. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/bitops.h> | 6 | #include <linux/bitops.h> |
