Skip to content

Commit cbaf84e

Browse files
committed
Merge remote-tracking branch 'drm-misc/drm-misc-next' into msm-next
Backmerge drm-misc-next to pick up some dependencies for drm/msm patches, in particular: https://patchwork.freedesktop.org/patch/570219/?series=127251&rev=1 https://patchwork.freedesktop.org/series/123411/ Signed-off-by: Rob Clark <robdclark@chromium.org>
2 parents a08935f + fca9448 commit cbaf84e

File tree

1,031 files changed

+58078
-24245
lines changed

Some content is hidden

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

1,031 files changed

+58078
-24245
lines changed

Documentation/accel/qaic/aic100.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ AIC100 DID (0xa100).
3636

3737
AIC100 does not implement FLR (function level reset).
3838

39-
AIC100 implements MSI but does not implement MSI-X. AIC100 requires 17 MSIs to
40-
operate (1 for MHI, 16 for the DMA Bridge).
39+
AIC100 implements MSI but does not implement MSI-X. AIC100 prefers 17 MSIs to
40+
operate (1 for MHI, 16 for the DMA Bridge). Falling back to 1 MSI is possible in
41+
scenarios where reserving 32 MSIs isn't feasible.
4142

4243
As a PCIe device, AIC100 utilizes BARs to provide host interfaces to the device
4344
hardware. AIC100 provides 3, 64-bit BARs.
@@ -220,10 +221,14 @@ of the defined channels, and their uses.
220221
+----------------+---------+----------+----------------------------------------+
221222
| QAIC_DEBUG | 18 & 19 | AMSS | Not used. |
222223
+----------------+---------+----------+----------------------------------------+
223-
| QAIC_TIMESYNC | 20 & 21 | SBL/AMSS | Used to synchronize timestamps in the |
224+
| QAIC_TIMESYNC | 20 & 21 | SBL | Used to synchronize timestamps in the |
224225
| | | | device side logs with the host time |
225226
| | | | source. |
226227
+----------------+---------+----------+----------------------------------------+
228+
| QAIC_TIMESYNC | 22 & 23 | AMSS | Used to periodically synchronize |
229+
| _PERIODIC | | | timestamps in the device side logs with|
230+
| | | | the host time source. |
231+
+----------------+---------+----------+----------------------------------------+
227232

228233
DMA Bridge
229234
==========

Documentation/accel/qaic/qaic.rst

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ accelerator products.
1010
Interrupts
1111
==========
1212

13+
IRQ Storm Mitigation
14+
--------------------
15+
1316
While the AIC100 DMA Bridge hardware implements an IRQ storm mitigation
1417
mechanism, it is still possible for an IRQ storm to occur. A storm can happen
1518
if the workload is particularly quick, and the host is responsive. If the host
@@ -35,6 +38,26 @@ generates 100k IRQs per second (per /proc/interrupts) is reduced to roughly 64
3538
IRQs over 5 minutes while keeping the host system stable, and having the same
3639
workload throughput performance (within run to run noise variation).
3740

41+
Single MSI Mode
42+
---------------
43+
44+
MultiMSI is not well supported on all systems; virtualized ones even less so
45+
(circa 2023). Between hypervisors masking the PCIe MSI capability structure to
46+
large memory requirements for vIOMMUs (required for supporting MultiMSI), it is
47+
useful to be able to fall back to a single MSI when needed.
48+
49+
To support this fallback, we allow the case where only one MSI is able to be
50+
allocated, and share that one MSI between MHI and the DBCs. The device detects
51+
when only one MSI has been configured and directs the interrupts for the DBCs
52+
to the interrupt normally used for MHI. Unfortunately this means that the
53+
interrupt handlers for every DBC and MHI wake up for every interrupt that
54+
arrives; however, the DBC threaded irq handlers only are started when work to be
55+
done is detected (MHI will always start its threaded handler).
56+
57+
If the DBC is configured to force MSI interrupts, this can circumvent the
58+
software IRQ storm mitigation mentioned above. Since the MSI is shared it is
59+
never disabled, allowing each new entry to the FIFO to trigger a new interrupt.
60+
3861

3962
Neural Network Control (NNC) Protocol
4063
=====================================
@@ -70,8 +93,15 @@ commands (does not impact QAIC).
7093
uAPI
7194
====
7295

96+
QAIC creates an accel device per phsyical PCIe device. This accel device exists
97+
for as long as the PCIe device is known to Linux.
98+
99+
The PCIe device may not be in the state to accept requests from userspace at
100+
all times. QAIC will trigger KOBJ_ONLINE/OFFLINE uevents to advertise when the
101+
device can accept requests (ONLINE) and when the device is no longer accepting
102+
requests (OFFLINE) because of a reset or other state transition.
103+
73104
QAIC defines a number of driver specific IOCTLs as part of the userspace API.
74-
This section describes those APIs.
75105

76106
DRM_IOCTL_QAIC_MANAGE
77107
This IOCTL allows userspace to send a NNC request to the QSM. The call will
@@ -178,3 +208,8 @@ overrides this for that call. Default is 5000 (5 seconds).
178208

179209
Sets the polling interval in microseconds (us) when datapath polling is active.
180210
Takes effect at the next polling interval. Default is 100 (100 us).
211+
212+
**timesync_delay_ms (unsigned int)**
213+
214+
Sets the time interval in milliseconds (ms) between two consecutive timesync
215+
operations. Default is 1000 (1000 ms).

Documentation/arch/loongarch/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,9 @@ Developer web site of Loongson and LoongArch (Software and Documentation):
375375

376376
Documentation of LoongArch ISA:
377377

378-
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.02-CN.pdf (in Chinese)
378+
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.10-CN.pdf (in Chinese)
379379

380-
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.02-EN.pdf (in English)
380+
https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-Vol1-v1.10-EN.pdf (in English)
381381

382382
Documentation of LoongArch ELF psABI:
383383

Documentation/arch/x86/boot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Protocol 2.14 BURNT BY INCORRECT COMMIT
7777
Protocol 2.15 (Kernel 5.5) Added the kernel_info and kernel_info.setup_type_max.
7878
============= ============================================================
7979

80-
.. note::
80+
.. note::
8181
The protocol version number should be changed only if the setup header
8282
is changed. There is no need to update the version number if boot_params
8383
or kernel_info are changed. Additionally, it is recommended to use

Documentation/core-api/pin_user_pages.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ NOTE: Some pages, such as DAX pages, cannot be pinned with longterm pins. That's
153153
because DAX pages do not have a separate page cache, and so "pinning" implies
154154
locking down file system blocks, which is not (yet) supported in that way.
155155

156+
.. _mmu-notifier-registration-case:
157+
156158
CASE 3: MMU notifier registration, with or without page faulting hardware
157159
-------------------------------------------------------------------------
158160
Device drivers can pin pages via get_user_pages*(), and register for mmu

Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,27 @@ properties:
5555
- port@0
5656
- port@1
5757

58+
vcchdmipll-supply:
59+
description: A 1.8V supply that powers the HDMI PLL.
60+
61+
vcchdmitx-supply:
62+
description: A 1.8V supply that powers the HDMI TX part.
63+
64+
vcclvdspll-supply:
65+
description: A 1.8V supply that powers the LVDS PLL.
66+
67+
vcclvdstx-supply:
68+
description: A 1.8V supply that powers the LVDS TX part.
69+
70+
vccmipirx-supply:
71+
description: A 1.8V supply that powers the MIPI RX part.
72+
73+
vccsysclk-supply:
74+
description: A 1.8V supply that powers the SYSCLK.
75+
76+
vdd-supply:
77+
description: A 1.8V supply that powers the digital part.
78+
5879
required:
5980
- compatible
6081
- reg

Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
items:
2424
- enum:
2525
- hannstar,hsd060bhw4
26+
- powkiddy,x55-panel
2627
- const: himax,hx8394
2728

2829
reg: true
@@ -31,6 +32,8 @@ properties:
3132

3233
backlight: true
3334

35+
rotation: true
36+
3437
port: true
3538

3639
vcc-supply:

Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ properties:
1616
compatible:
1717
items:
1818
- enum:
19+
- ampire,am8001280g
1920
- bananapi,lhr050h41
2021
- feixin,k101-im2byl02
2122
- tdo,tl050hdv35

Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ properties:
2121
- enum:
2222
- anbernic,rg351v-panel
2323
- anbernic,rg353p-panel
24-
- anbernic,rg353v-panel
24+
- powkiddy,rk2023-panel
2525
- const: newvision,nv3051d
2626

2727
reg: true

Documentation/devicetree/bindings/display/panel/panel-simple.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ properties:
7373
- auo,t215hvn01
7474
# Shanghai AVIC Optoelectronics 7" 1024x600 color TFT-LCD panel
7575
- avic,tm070ddh03
76+
# BOE BP101WX1-100 10.1" WXGA (1280x800) LVDS panel
77+
- boe,bp101wx1-100
7678
# BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel
7779
- boe,ev121wxm-n10-1850
7880
# BOE HV070WSA-100 7.01" WSVGA TFT LCD panel
@@ -144,6 +146,8 @@ properties:
144146
- edt,etmv570g2dhu
145147
# E Ink VB3300-KCA
146148
- eink,vb3300-kca
149+
# Evervision Electronics Co. Ltd. VGG644804 5.7" VGA TFT LCD Panel
150+
- evervision,vgg644804
147151
# Evervision Electronics Co. Ltd. VGG804821 5.0" WVGA TFT LCD Panel
148152
- evervision,vgg804821
149153
# Foxlink Group 5" WVGA TFT LCD panel

Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
compatible:
2424
enum:
2525
- ti,am625-dss
26+
- ti,am62a7,dss
2627
- ti,am65x-dss
2728

2829
reg:
@@ -87,6 +88,7 @@ properties:
8788
For AM65x DSS, the OLDI output port node from video port 1.
8889
For AM625 DSS, the internal DPI output port node from video
8990
port 1.
91+
For AM62A7 DSS, the port is tied off inside the SoC.
9092

9193
port@1:
9294
$ref: /schemas/graph.yaml#/properties/port
@@ -108,6 +110,18 @@ properties:
108110
Input memory (from main memory to dispc) bandwidth limit in
109111
bytes per second
110112

113+
allOf:
114+
- if:
115+
properties:
116+
compatible:
117+
contains:
118+
const: ti,am62a7-dss
119+
then:
120+
properties:
121+
ports:
122+
properties:
123+
port@0: false
124+
111125
required:
112126
- compatible
113127
- reg

Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ properties:
2929
- allwinner,sun50i-a64-mali
3030
- rockchip,rk3036-mali
3131
- rockchip,rk3066-mali
32+
- rockchip,rk3128-mali
3233
- rockchip,rk3188-mali
3334
- rockchip,rk3228-mali
3435
- samsung,exynos4210-mali

Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ properties:
1717
compatible:
1818
enum:
1919
- brcm,2711-v3d
20+
- brcm,2712-v3d
2021
- brcm,7268-v3d
2122
- brcm,7278-v3d
2223

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
# Copyright (c) 2023 Imagination Technologies Ltd.
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/gpu/img,powervr.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Imagination Technologies PowerVR and IMG GPU
9+
10+
maintainers:
11+
- Frank Binns <frank.binns@imgtec.com>
12+
13+
properties:
14+
compatible:
15+
items:
16+
- enum:
17+
- ti,am62-gpu
18+
- const: img,img-axe # IMG AXE GPU model/revision is fully discoverable
19+
20+
reg:
21+
maxItems: 1
22+
23+
clocks:
24+
minItems: 1
25+
maxItems: 3
26+
27+
clock-names:
28+
items:
29+
- const: core
30+
- const: mem
31+
- const: sys
32+
minItems: 1
33+
34+
interrupts:
35+
maxItems: 1
36+
37+
power-domains:
38+
maxItems: 1
39+
40+
required:
41+
- compatible
42+
- reg
43+
- clocks
44+
- clock-names
45+
- interrupts
46+
47+
additionalProperties: false
48+
49+
allOf:
50+
- if:
51+
properties:
52+
compatible:
53+
contains:
54+
const: ti,am62-gpu
55+
then:
56+
properties:
57+
clocks:
58+
maxItems: 1
59+
60+
examples:
61+
- |
62+
#include <dt-bindings/interrupt-controller/irq.h>
63+
#include <dt-bindings/interrupt-controller/arm-gic.h>
64+
#include <dt-bindings/soc/ti,sci_pm_domain.h>
65+
66+
gpu@fd00000 {
67+
compatible = "ti,am62-gpu", "img,img-axe";
68+
reg = <0x0fd00000 0x20000>;
69+
clocks = <&k3_clks 187 0>;
70+
clock-names = "core";
71+
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
72+
power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>;
73+
};

Documentation/devicetree/bindings/net/ethernet-controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,12 @@ allOf:
275275
properties:
276276
rx-internal-delay-ps:
277277
description:
278-
RGMII Receive Clock Delay defined in pico seconds.This is used for
278+
RGMII Receive Clock Delay defined in pico seconds. This is used for
279279
controllers that have configurable RX internal delays. If this
280280
property is present then the MAC applies the RX delay.
281281
tx-internal-delay-ps:
282282
description:
283-
RGMII Transmit Clock Delay defined in pico seconds.This is used for
283+
RGMII Transmit Clock Delay defined in pico seconds. This is used for
284284
controllers that have configurable TX internal delays. If this
285285
property is present then the MAC applies the TX delay.
286286

Documentation/devicetree/bindings/ufs/qcom,ufs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ properties:
3636
- qcom,sm8350-ufshc
3737
- qcom,sm8450-ufshc
3838
- qcom,sm8550-ufshc
39+
- qcom,sm8650-ufshc
3940
- const: qcom,ufshc
4041
- const: jedec,ufs-2.0
4142

@@ -122,6 +123,7 @@ allOf:
122123
- qcom,sm8350-ufshc
123124
- qcom,sm8450-ufshc
124125
- qcom,sm8550-ufshc
126+
- qcom,sm8650-ufshc
125127
then:
126128
properties:
127129
clocks:

Documentation/devicetree/bindings/usb/microchip,usb5744.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ properties:
3636

3737
vdd-supply:
3838
description:
39-
VDD power supply to the hub
39+
3V3 power supply to the hub
40+
41+
vdd2-supply:
42+
description:
43+
1V2 power supply to the hub
4044

4145
peer-hub:
4246
$ref: /schemas/types.yaml#/definitions/phandle
@@ -62,6 +66,7 @@ allOf:
6266
properties:
6367
reset-gpios: false
6468
vdd-supply: false
69+
vdd2-supply: false
6570
peer-hub: false
6671
i2c-bus: false
6772
else:

Documentation/devicetree/bindings/usb/qcom,dwc3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,8 @@ examples:
521521
522522
interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
523523
<GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
524-
<GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
525-
<GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
524+
<GIC_SPI 488 IRQ_TYPE_EDGE_BOTH>,
525+
<GIC_SPI 489 IRQ_TYPE_EDGE_BOTH>;
526526
interrupt-names = "hs_phy_irq", "ss_phy_irq",
527527
"dm_hs_phy_irq", "dp_hs_phy_irq";
528528

Documentation/devicetree/bindings/usb/usb-hcd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ examples:
4141
- |
4242
usb {
4343
phys = <&usb2_phy1>, <&usb3_phy1>;
44-
phy-names = "usb";
44+
phy-names = "usb2", "usb3";
4545
#address-cells = <1>;
4646
#size-cells = <0>;
4747

0 commit comments

Comments
 (0)