Skip to content

Commit c10100a

Browse files
committed
Merge branches 'arm/exynos', 'arm/mediatek', 'arm/msm', 'arm/smmu', 'virtio', 'x86/vt-d', 'x86/amd' and 'core' into next
9 parents e0dccc3 + 7fee5d6 + 3168010 + f066b8f + d4ebd11 + 7e62edd + 2535790 + be280ea + de02697 commit c10100a

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

+2521
-1484
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,23 +2266,39 @@
22662266

22672267
ivrs_ioapic [HW,X86-64]
22682268
Provide an override to the IOAPIC-ID<->DEVICE-ID
2269-
mapping provided in the IVRS ACPI table. For
2270-
example, to map IOAPIC-ID decimal 10 to
2271-
PCI device 00:14.0 write the parameter as:
2269+
mapping provided in the IVRS ACPI table.
2270+
By default, PCI segment is 0, and can be omitted.
2271+
For example:
2272+
* To map IOAPIC-ID decimal 10 to PCI device 00:14.0
2273+
write the parameter as:
22722274
ivrs_ioapic[10]=00:14.0
2275+
* To map IOAPIC-ID decimal 10 to PCI segment 0x1 and
2276+
PCI device 00:14.0 write the parameter as:
2277+
ivrs_ioapic[10]=0001:00:14.0
22732278

22742279
ivrs_hpet [HW,X86-64]
22752280
Provide an override to the HPET-ID<->DEVICE-ID
2276-
mapping provided in the IVRS ACPI table. For
2277-
example, to map HPET-ID decimal 0 to
2278-
PCI device 00:14.0 write the parameter as:
2281+
mapping provided in the IVRS ACPI table.
2282+
By default, PCI segment is 0, and can be omitted.
2283+
For example:
2284+
* To map HPET-ID decimal 0 to PCI device 00:14.0
2285+
write the parameter as:
22792286
ivrs_hpet[0]=00:14.0
2287+
* To map HPET-ID decimal 10 to PCI segment 0x1 and
2288+
PCI device 00:14.0 write the parameter as:
2289+
ivrs_ioapic[10]=0001:00:14.0
22802290

22812291
ivrs_acpihid [HW,X86-64]
22822292
Provide an override to the ACPI-HID:UID<->DEVICE-ID
2283-
mapping provided in the IVRS ACPI table. For
2284-
example, to map UART-HID:UID AMD0020:0 to
2285-
PCI device 00:14.5 write the parameter as:
2293+
mapping provided in the IVRS ACPI table.
2294+
2295+
For example, to map UART-HID:UID AMD0020:0 to
2296+
PCI segment 0x1 and PCI device ID 00:14.5,
2297+
write the parameter as:
2298+
ivrs_acpihid[0001:00:14.5]=AMD0020:0
2299+
2300+
By default, PCI segment is 0, and can be omitted.
2301+
For example, PCI device 00:14.5 write the parameter as:
22862302
ivrs_acpihid[00:14.5]=AMD0020:0
22872303

22882304
js= [HW,JOY] Analog joystick

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ properties:
4242
- qcom,sdx55-smmu-500
4343
- qcom,sdx65-smmu-500
4444
- qcom,sm6350-smmu-500
45+
- qcom,sm6375-smmu-500
4546
- qcom,sm8150-smmu-500
4647
- qcom,sm8250-smmu-500
4748
- qcom,sm8350-smmu-500

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ properties:
101101
items:
102102
- const: bclk
103103

104+
mediatek,infracfg:
105+
$ref: /schemas/types.yaml#/definitions/phandle
106+
description: The phandle to the mediatek infracfg syscon
107+
104108
mediatek,larbs:
105109
$ref: /schemas/types.yaml#/definitions/phandle-array
106110
minItems: 1
@@ -167,6 +171,18 @@ allOf:
167171
required:
168172
- power-domains
169173

174+
- if:
175+
properties:
176+
compatible:
177+
contains:
178+
enum:
179+
- mediatek,mt2712-m4u
180+
- mediatek,mt8173-m4u
181+
182+
then:
183+
required:
184+
- mediatek,infracfg
185+
170186
- if: # The IOMMUs don't have larbs.
171187
not:
172188
properties:
@@ -191,6 +207,7 @@ examples:
191207
interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_LOW>;
192208
clocks = <&infracfg CLK_INFRA_M4U>;
193209
clock-names = "bclk";
210+
mediatek,infracfg = <&infracfg>;
194211
mediatek,larbs = <&larb0>, <&larb1>, <&larb2>,
195212
<&larb3>, <&larb4>, <&larb5>;
196213
#iommu-cells = <1>;

MAINTAINERS

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10076,7 +10076,6 @@ L: iommu@lists.linux.dev
1007610076
S: Supported
1007710077
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
1007810078
F: drivers/iommu/intel/
10079-
F: include/linux/intel-iommu.h
1008010079
F: include/linux/intel-svm.h
1008110080

1008210081
INTEL IOP-ADMA DMA DRIVER
@@ -10448,9 +10447,20 @@ T: git git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git
1044810447
F: fs/iomap/
1044910448
F: include/linux/iomap.h
1045010449

10451-
IOMMU DRIVERS
10450+
IOMMU DMA-API LAYER
10451+
M: Robin Murphy <robin.murphy@arm.com>
10452+
L: iommu@lists.linux.dev
10453+
S: Maintained
10454+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
10455+
F: drivers/iommu/dma-iommu.c
10456+
F: drivers/iommu/iova.c
10457+
F: include/linux/dma-iommu.h
10458+
F: include/linux/iova.h
10459+
10460+
IOMMU SUBSYSTEM
1045210461
M: Joerg Roedel <joro@8bytes.org>
1045310462
M: Will Deacon <will@kernel.org>
10463+
R: Robin Murphy <robin.murphy@arm.com>
1045410464
L: iommu@lists.linux.dev
1045510465
S: Maintained
1045610466
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git

arch/x86/kernel/tboot.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* Copyright (c) 2006-2009, Intel Corporation
77
*/
88

9-
#include <linux/intel-iommu.h>
109
#include <linux/init_task.h>
1110
#include <linux/spinlock.h>
1211
#include <linux/export.h>
@@ -516,17 +515,3 @@ struct acpi_table_header *tboot_get_dmar_table(struct acpi_table_header *dmar_tb
516515

517516
return dmar_tbl;
518517
}
519-
520-
int tboot_force_iommu(void)
521-
{
522-
if (!tboot_enabled())
523-
return 0;
524-
525-
if (no_iommu || dmar_disabled)
526-
pr_warn("Forcing Intel-IOMMU to enabled\n");
527-
528-
dmar_disabled = 0;
529-
no_iommu = 0;
530-
531-
return 1;
532-
}

arch/x86/kvm/x86.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#include <linux/mman.h>
4242
#include <linux/highmem.h>
4343
#include <linux/iommu.h>
44-
#include <linux/intel-iommu.h>
4544
#include <linux/cpufreq.h>
4645
#include <linux/user-return-notifier.h>
4746
#include <linux/srcu.h>

0 commit comments

Comments
 (0)