Skip to content

Commit 56fbacc

Browse files
committed
Merge branches 'arm/renesas', 'arm/qcom', 'arm/mediatek', 'arm/omap', 'arm/exynos', 'arm/smmu', 'ppc/pamu', 'x86/vt-d', 'x86/amd' and 'core' into next
11 parents 92ed301 + f3e048b + e725a00 + fc492f3 + dee9d15 + 9314006 + ee79e5f + f5e383a + b1012ca + 092550e + cbe94c6 commit 56fbacc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1457
-567
lines changed

Documentation/arm64/silicon-errata.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ stable kernels.
125125
| Cavium | ThunderX2 Core | #219 | CAVIUM_TX2_ERRATUM_219 |
126126
+----------------+-----------------+-----------------+-----------------------------+
127127
+----------------+-----------------+-----------------+-----------------------------+
128+
| Marvell | ARM-MMU-500 | #582743 | N/A |
129+
+----------------+-----------------+-----------------+-----------------------------+
130+
+----------------+-----------------+-----------------+-----------------------------+
128131
| Freescale/NXP | LS2080A/LS1043A | A-008585 | FSL_ERRATUM_A008585 |
129132
+----------------+-----------------+-----------------+-----------------------------+
130133
+----------------+-----------------+-----------------+-----------------------------+

Documentation/devicetree/bindings/iommu/arm,smmu.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,18 @@ properties:
3737
- enum:
3838
- qcom,sc7180-smmu-500
3939
- qcom,sdm845-smmu-500
40+
- qcom,sm8150-smmu-500
41+
- qcom,sm8250-smmu-500
4042
- const: arm,mmu-500
43+
- description: Marvell SoCs implementing "arm,mmu-500"
44+
items:
45+
- const: marvell,ap806-smmu-500
46+
- const: arm,mmu-500
47+
- description: NVIDIA SoCs that program two ARM MMU-500s identically
48+
items:
49+
- enum:
50+
- nvidia,tegra194-smmu
51+
- const: nvidia,smmu-500
4152
- items:
4253
- const: arm,mmu-500
4354
- const: arm,smmu-v2
@@ -55,7 +66,8 @@ properties:
5566
- cavium,smmu-v2
5667

5768
reg:
58-
maxItems: 1
69+
minItems: 1
70+
maxItems: 2
5971

6072
'#global-interrupts':
6173
description: The number of global interrupts exposed by the device.
@@ -138,6 +150,23 @@ required:
138150

139151
additionalProperties: false
140152

153+
allOf:
154+
- if:
155+
properties:
156+
compatible:
157+
contains:
158+
enum:
159+
- nvidia,tegra194-smmu
160+
then:
161+
properties:
162+
reg:
163+
minItems: 2
164+
maxItems: 2
165+
else:
166+
properties:
167+
reg:
168+
maxItems: 1
169+
141170
examples:
142171
- |+
143172
/* SMMU with stream matching or stream indexing */

Documentation/devicetree/bindings/iommu/mediatek,iommu.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Required properties:
5858
- compatible : must be one of the following string:
5959
"mediatek,mt2701-m4u" for mt2701 which uses generation one m4u HW.
6060
"mediatek,mt2712-m4u" for mt2712 which uses generation two m4u HW.
61+
"mediatek,mt6779-m4u" for mt6779 which uses generation two m4u HW.
6162
"mediatek,mt7623-m4u", "mediatek,mt2701-m4u" for mt7623 which uses
6263
generation one m4u HW.
6364
"mediatek,mt8173-m4u" for mt8173 which uses generation two m4u HW.
@@ -78,6 +79,7 @@ Required properties:
7879
Specifies the mtk_m4u_id as defined in
7980
dt-binding/memory/mt2701-larb-port.h for mt2701, mt7623
8081
dt-binding/memory/mt2712-larb-port.h for mt2712,
82+
dt-binding/memory/mt6779-larb-port.h for mt6779,
8183
dt-binding/memory/mt8173-larb-port.h for mt8173, and
8284
dt-binding/memory/mt8183-larb-port.h for mt8183.
8385

Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ properties:
3535
- renesas,ipmmu-r8a774c0 # RZ/G2E
3636
- renesas,ipmmu-r8a7795 # R-Car H3
3737
- renesas,ipmmu-r8a7796 # R-Car M3-W
38+
- renesas,ipmmu-r8a77961 # R-Car M3-W+
3839
- renesas,ipmmu-r8a77965 # R-Car M3-N
3940
- renesas,ipmmu-r8a77970 # R-Car V3M
4041
- renesas,ipmmu-r8a77980 # R-Car V3H

Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The hardware block diagram please check bindings/iommu/mediatek,iommu.txt
55
Mediatek SMI have two generations of HW architecture, here is the list
66
which generation the SoCs use:
77
generation 1: mt2701 and mt7623.
8-
generation 2: mt2712, mt8173 and mt8183.
8+
generation 2: mt2712, mt6779, mt8173 and mt8183.
99

1010
There's slight differences between the two SMI, for generation 2, the
1111
register which control the iommu port is at each larb's register base. But
@@ -18,6 +18,7 @@ Required properties:
1818
- compatible : must be one of :
1919
"mediatek,mt2701-smi-common"
2020
"mediatek,mt2712-smi-common"
21+
"mediatek,mt6779-smi-common"
2122
"mediatek,mt7623-smi-common", "mediatek,mt2701-smi-common"
2223
"mediatek,mt8173-smi-common"
2324
"mediatek,mt8183-smi-common"
@@ -35,7 +36,7 @@ Required properties:
3536
and these 2 option clocks for generation 2 smi HW:
3637
- "gals0": the path0 clock of GALS(Global Async Local Sync).
3738
- "gals1": the path1 clock of GALS(Global Async Local Sync).
38-
Here is the list which has this GALS: mt8183.
39+
Here is the list which has this GALS: mt6779 and mt8183.
3940

4041
Example:
4142
smi_common: smi@14022000 {

Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Required properties:
66
- compatible : must be one of :
77
"mediatek,mt2701-smi-larb"
88
"mediatek,mt2712-smi-larb"
9+
"mediatek,mt6779-smi-larb"
910
"mediatek,mt7623-smi-larb", "mediatek,mt2701-smi-larb"
1011
"mediatek,mt8173-smi-larb"
1112
"mediatek,mt8183-smi-larb"
@@ -21,7 +22,7 @@ Required properties:
2122
- "gals": the clock for GALS(Global Async Local Sync).
2223
Here is the list which has this GALS: mt8183.
2324

24-
Required property for mt2701, mt2712 and mt7623:
25+
Required property for mt2701, mt2712, mt6779 and mt7623:
2526
- mediatek,larb-id :the hardware id of this larb.
2627

2728
Example:

MAINTAINERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9015,6 +9015,7 @@ F: drivers/iommu/
90159015
F: include/linux/iommu.h
90169016
F: include/linux/iova.h
90179017
F: include/linux/of_iommu.h
9018+
F: include/uapi/linux/iommu.h
90189019

90199020
IO_URING
90209021
M: Jens Axboe <[email protected]>
@@ -16823,8 +16824,10 @@ F: drivers/i2c/busses/i2c-tegra.c
1682316824

1682416825
TEGRA IOMMU DRIVERS
1682516826
M: Thierry Reding <[email protected]>
16827+
R: Krishna Reddy <[email protected]>
1682616828
1682716829
S: Supported
16830+
F: drivers/iommu/arm-smmu-nvidia.c
1682816831
F: drivers/iommu/tegra*
1682916832

1683016833
TEGRA KBC DRIVER

arch/arm/include/asm/device.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ struct dev_archdata {
99
#ifdef CONFIG_DMABOUNCE
1010
struct dmabounce_device_info *dmabounce;
1111
#endif
12-
#ifdef CONFIG_IOMMU_API
13-
void *iommu; /* private IOMMU data */
14-
#endif
1512
#ifdef CONFIG_ARM_DMA_USE_IOMMU
1613
struct dma_iommu_mapping *mapping;
1714
#endif

arch/arm64/include/asm/device.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#define __ASM_DEVICE_H
77

88
struct dev_archdata {
9-
#ifdef CONFIG_IOMMU_API
10-
void *iommu; /* private IOMMU data */
11-
#endif
129
};
1310

1411
struct pdev_archdata {

arch/ia64/include/asm/device.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#define _ASM_IA64_DEVICE_H
77

88
struct dev_archdata {
9-
#ifdef CONFIG_IOMMU_API
10-
void *iommu; /* hook for IOMMU specific extension */
11-
#endif
129
};
1310

1411
struct pdev_archdata {

0 commit comments

Comments
 (0)