Skip to content

Commit 8f56e4e

Browse files
committed
Merge tag 'char-misc-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver updates from Greg KH: "Here is the big set of char/misc and other driver patches for 5.5-rc1 Loads of different things in here, this feels like the catch-all of driver subsystems these days. Full details are in the shortlog, but nothing major overall, just lots of driver updates and additions. All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (198 commits) char: Fix Kconfig indentation, continued habanalabs: add more protection of device during reset habanalabs: flush EQ workers in hard reset habanalabs: make the reset code more consistent habanalabs: expose reset counters via existing INFO IOCTL habanalabs: make code more concise habanalabs: use defines for F/W files habanalabs: remove prints on successful device initialization habanalabs: remove unnecessary checks habanalabs: invalidate MMU cache only once habanalabs: skip VA block list update in reset flow habanalabs: optimize MMU unmap habanalabs: prevent read/write from/to the device during hard reset habanalabs: split MMU properties to PCI/DRAM habanalabs: re-factor MMU masks and documentation habanalabs: type specific MMU cache invalidation habanalabs: re-factor memory module code habanalabs: export uapi defines to user-space habanalabs: don't print error when queues are full habanalabs: increase max jobs number to 512 ...
2 parents 59274c7 + b78cda7 commit 8f56e4e

File tree

192 files changed

+11029
-1713
lines changed

Some content is hidden

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

192 files changed

+11029
-1713
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
What: /sys/bus/platform/devices/fsi-master/rescan
1+
What: /sys/bus/platform/devices/../fsi-master/fsi0/rescan
22
Date: May 2017
33
KernelVersion: 4.12
4-
Contact: cbostic@linux.vnet.ibm.com
4+
Contact: linux[email protected]
55
Description:
66
Initiates a FSI master scan for all connected slave devices
77
on its links.
88

9-
What: /sys/bus/platform/devices/fsi-master/break
9+
What: /sys/bus/platform/devices/../fsi-master/fsi0/break
1010
Date: May 2017
1111
KernelVersion: 4.12
12-
Contact: cbostic@linux.vnet.ibm.com
12+
Contact: linux[email protected]
1313
Description:
1414
Sends an FSI BREAK command on a master's communication
1515
link to any connnected slaves. A BREAK resets connected
1616
device's logic and preps it to receive further commands
1717
from the master.
1818

19-
What: /sys/bus/platform/devices/fsi-master/slave@00:00/term
19+
What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/term
2020
Date: May 2017
2121
KernelVersion: 4.12
22-
Contact: cbostic@linux.vnet.ibm.com
22+
Contact: linux[email protected]
2323
Description:
2424
Sends an FSI terminate command from the master to its
2525
connected slave. A terminate resets the slave's state machines
@@ -29,10 +29,10 @@ Description:
2929
ongoing operation in case of an expired 'Master Time Out'
3030
timer.
3131

32-
What: /sys/bus/platform/devices/fsi-master/slave@00:00/raw
32+
What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/raw
3333
Date: May 2017
3434
KernelVersion: 4.12
35-
Contact: cbostic@linux.vnet.ibm.com
35+
Contact: linux[email protected]
3636
Description:
3737
Provides a means of reading/writing a 32 bit value from/to a
3838
specified FSI bus address.

Documentation/ABI/testing/sysfs-bus-mei

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ KernelVersion: 3.10
44
Contact: Samuel Ortiz <[email protected]>
55
66
Description: Stores the same MODALIAS value emitted by uevent
7-
Format: mei:<mei device name>:<device uuid>:
7+
Format: mei:<mei device name>:<device uuid>:<protocol version>
88

99
What: /sys/bus/mei/devices/.../name
1010
Date: May 2015
@@ -26,3 +26,24 @@ KernelVersion: 4.3
2626
Contact: Tomas Winkler <[email protected]>
2727
Description: Stores mei client protocol version
2828
Format: %d
29+
30+
What: /sys/bus/mei/devices/.../max_conn
31+
Date: Nov 2019
32+
KernelVersion: 5.5
33+
Contact: Tomas Winkler <[email protected]>
34+
Description: Stores mei client maximum number of connections
35+
Format: %d
36+
37+
What: /sys/bus/mei/devices/.../fixed
38+
Date: Nov 2019
39+
KernelVersion: 5.5
40+
Contact: Tomas Winkler <[email protected]>
41+
Description: Stores mei client fixed address, if any
42+
Format: %d
43+
44+
What: /sys/bus/mei/devices/.../max_len
45+
Date: Nov 2019
46+
KernelVersion: 5.5
47+
Contact: Tomas Winkler <[email protected]>
48+
Description: Stores mei client maximum message length
49+
Format: %d

Documentation/ABI/testing/sysfs-bus-thunderbolt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ Contact: [email protected]
8080
Description: This attribute contains 1 if Thunderbolt device was already
8181
authorized on boot and 0 otherwise.
8282

83+
What: /sys/bus/thunderbolt/devices/.../generation
84+
Date: Jan 2020
85+
KernelVersion: 5.5
86+
Contact: Christian Kellner <[email protected]>
87+
Description: This attribute contains the generation of the Thunderbolt
88+
controller associated with the device. It will contain 4
89+
for USB4.
90+
8391
What: /sys/bus/thunderbolt/devices/.../key
8492
Date: Sep 2017
8593
KernelVersion: 4.13
@@ -104,6 +112,34 @@ Contact: [email protected]
104112
Description: This attribute contains name of this device extracted from
105113
the device DROM.
106114

115+
What: /sys/bus/thunderbolt/devices/.../rx_speed
116+
Date: Jan 2020
117+
KernelVersion: 5.5
118+
Contact: Mika Westerberg <[email protected]>
119+
Description: This attribute reports the device RX speed per lane.
120+
All RX lanes run at the same speed.
121+
122+
What: /sys/bus/thunderbolt/devices/.../rx_lanes
123+
Date: Jan 2020
124+
KernelVersion: 5.5
125+
Contact: Mika Westerberg <[email protected]>
126+
Description: This attribute reports number of RX lanes the device is
127+
using simultaneusly through its upstream port.
128+
129+
What: /sys/bus/thunderbolt/devices/.../tx_speed
130+
Date: Jan 2020
131+
KernelVersion: 5.5
132+
Contact: Mika Westerberg <[email protected]>
133+
Description: This attribute reports the TX speed per lane.
134+
All TX lanes run at the same speed.
135+
136+
What: /sys/bus/thunderbolt/devices/.../tx_lanes
137+
Date: Jan 2020
138+
KernelVersion: 5.5
139+
Contact: Mika Westerberg <[email protected]>
140+
Description: This attribute reports number of TX lanes the device is
141+
using simultaneusly through its upstream port.
142+
107143
What: /sys/bus/thunderbolt/devices/.../vendor
108144
Date: Sep 2017
109145
KernelVersion: 4.13

Documentation/ABI/testing/sysfs-class-mei

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,13 @@ Description: Display the ME device state.
8080
DISABLED
8181
POWER_DOWN
8282
POWER_UP
83+
84+
What: /sys/class/mei/meiN/trc
85+
Date: Nov 2019
86+
KernelVersion: 5.5
87+
Contact: Tomas Winkler <[email protected]>
88+
Description: Display trc status register content
89+
90+
The ME FW writes Glitch Detection HW (TRC)
91+
status information into trc status register
92+
for BIOS and OS to monitor fw health.

Documentation/ABI/testing/sysfs-platform-dfl-fme

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,135 @@ KernelVersion: 5.4
106106
Contact: Wu Hao <[email protected]>
107107
Description: Read-only. Read this file to get the second error detected by
108108
hardware.
109+
110+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/name
111+
Date: October 2019
112+
KernelVersion: 5.5
113+
Contact: Wu Hao <[email protected]>
114+
Description: Read-Only. Read this file to get the name of hwmon device, it
115+
supports values:
116+
'dfl_fme_thermal' - thermal hwmon device name
117+
'dfl_fme_power' - power hwmon device name
118+
119+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_input
120+
Date: October 2019
121+
KernelVersion: 5.5
122+
Contact: Wu Hao <[email protected]>
123+
Description: Read-Only. It returns FPGA device temperature in millidegrees
124+
Celsius.
125+
126+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max
127+
Date: October 2019
128+
KernelVersion: 5.5
129+
Contact: Wu Hao <[email protected]>
130+
Description: Read-Only. It returns hardware threshold1 temperature in
131+
millidegrees Celsius. If temperature rises at or above this
132+
threshold, hardware starts 50% or 90% throttling (see
133+
'temp1_max_policy').
134+
135+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit
136+
Date: October 2019
137+
KernelVersion: 5.5
138+
Contact: Wu Hao <[email protected]>
139+
Description: Read-Only. It returns hardware threshold2 temperature in
140+
millidegrees Celsius. If temperature rises at or above this
141+
threshold, hardware starts 100% throttling.
142+
143+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_emergency
144+
Date: October 2019
145+
KernelVersion: 5.5
146+
Contact: Wu Hao <[email protected]>
147+
Description: Read-Only. It returns hardware trip threshold temperature in
148+
millidegrees Celsius. If temperature rises at or above this
149+
threshold, a fatal event will be triggered to board management
150+
controller (BMC) to shutdown FPGA.
151+
152+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_alarm
153+
Date: October 2019
154+
KernelVersion: 5.5
155+
Contact: Wu Hao <[email protected]>
156+
Description: Read-only. It returns 1 if temperature is currently at or above
157+
hardware threshold1 (see 'temp1_max'), otherwise 0.
158+
159+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_crit_alarm
160+
Date: October 2019
161+
KernelVersion: 5.5
162+
Contact: Wu Hao <[email protected]>
163+
Description: Read-only. It returns 1 if temperature is currently at or above
164+
hardware threshold2 (see 'temp1_crit'), otherwise 0.
165+
166+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/temp1_max_policy
167+
Date: October 2019
168+
KernelVersion: 5.5
169+
Contact: Wu Hao <[email protected]>
170+
Description: Read-Only. Read this file to get the policy of hardware threshold1
171+
(see 'temp1_max'). It only supports two values (policies):
172+
0 - AP2 state (90% throttling)
173+
1 - AP1 state (50% throttling)
174+
175+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_input
176+
Date: October 2019
177+
KernelVersion: 5.5
178+
Contact: Wu Hao <[email protected]>
179+
Description: Read-Only. It returns current FPGA power consumption in uW.
180+
181+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max
182+
Date: October 2019
183+
KernelVersion: 5.5
184+
Contact: Wu Hao <[email protected]>
185+
Description: Read-Write. Read this file to get current hardware power
186+
threshold1 in uW. If power consumption rises at or above
187+
this threshold, hardware starts 50% throttling.
188+
Write this file to set current hardware power threshold1 in uW.
189+
As hardware only accepts values in Watts, so input value will
190+
be round down per Watts (< 1 watts part will be discarded) and
191+
clamped within the range from 0 to 127 Watts. Write fails with
192+
-EINVAL if input parsing fails.
193+
194+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit
195+
Date: October 2019
196+
KernelVersion: 5.5
197+
Contact: Wu Hao <[email protected]>
198+
Description: Read-Write. Read this file to get current hardware power
199+
threshold2 in uW. If power consumption rises at or above
200+
this threshold, hardware starts 90% throttling.
201+
Write this file to set current hardware power threshold2 in uW.
202+
As hardware only accepts values in Watts, so input value will
203+
be round down per Watts (< 1 watts part will be discarded) and
204+
clamped within the range from 0 to 127 Watts. Write fails with
205+
-EINVAL if input parsing fails.
206+
207+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_max_alarm
208+
Date: October 2019
209+
KernelVersion: 5.5
210+
Contact: Wu Hao <[email protected]>
211+
Description: Read-only. It returns 1 if power consumption is currently at or
212+
above hardware threshold1 (see 'power1_max'), otherwise 0.
213+
214+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_crit_alarm
215+
Date: October 2019
216+
KernelVersion: 5.5
217+
Contact: Wu Hao <[email protected]>
218+
Description: Read-only. It returns 1 if power consumption is currently at or
219+
above hardware threshold2 (see 'power1_crit'), otherwise 0.
220+
221+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_xeon_limit
222+
Date: October 2019
223+
KernelVersion: 5.5
224+
Contact: Wu Hao <[email protected]>
225+
Description: Read-Only. It returns power limit for XEON in uW.
226+
227+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_fpga_limit
228+
Date: October 2019
229+
KernelVersion: 5.5
230+
Contact: Wu Hao <[email protected]>
231+
Description: Read-Only. It returns power limit for FPGA in uW.
232+
233+
What: /sys/bus/platform/devices/dfl-fme.0/hwmon/hwmonX/power1_ltr
234+
Date: October 2019
235+
KernelVersion: 5.5
236+
Contact: Wu Hao <[email protected]>
237+
Description: Read-only. Read this file to get current Latency Tolerance
238+
Reporting (ltr) value. It returns 1 if all Accelerated
239+
Function Units (AFUs) can tolerate latency >= 40us for memory
240+
access or 0 if any AFU is latency sensitive (< 40us).

Documentation/devicetree/bindings/arm/coresight.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ its hardware characteristcs.
8787

8888
* port or ports: see "Graph bindings for Coresight" below.
8989

90+
* Optional properties for all components:
91+
92+
* arm,coresight-loses-context-with-cpu : boolean. Indicates that the
93+
hardware will lose register context on CPU power down (e.g. CPUIdle).
94+
An example of where this may be needed are systems which contain a
95+
coresight component and CPU in the same power domain. When the CPU
96+
powers down the coresight component also powers down and loses its
97+
context. This property is currently only used for the ETM 4.x driver.
98+
9099
* Optional properties for ETM/PTMs:
91100

92101
* arm,cp14: must be present if the system accesses ETM/PTM management
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Device-tree bindings for AST2600 FSI master
2+
-------------------------------------------
3+
4+
The AST2600 contains two identical FSI masters. They share a clock and have a
5+
separate interrupt line and output pins.
6+
7+
Required properties:
8+
- compatible: "aspeed,ast2600-fsi-master"
9+
- reg: base address and length
10+
- clocks: phandle and clock number
11+
- interrupts: platform dependent interrupt description
12+
- pinctrl-0: phandle to pinctrl node
13+
- pinctrl-names: pinctrl state
14+
15+
Examples:
16+
17+
fsi-master {
18+
compatible = "aspeed,ast2600-fsi-master", "fsi-master";
19+
reg = <0x1e79b000 0x94>;
20+
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
21+
pinctrl-names = "default";
22+
pinctrl-0 = <&pinctrl_fsi1_default>;
23+
clocks = <&syscon ASPEED_CLK_GATE_FSICLK>;
24+
};
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/interconnect/qcom,msm8974.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm MSM8974 Network-On-Chip Interconnect
8+
9+
maintainers:
10+
- Brian Masney <[email protected]>
11+
12+
description: |
13+
The Qualcomm MSM8974 interconnect providers support setting system
14+
bandwidth requirements between various network-on-chip fabrics.
15+
16+
properties:
17+
reg:
18+
maxItems: 1
19+
20+
compatible:
21+
enum:
22+
- qcom,msm8974-bimc
23+
- qcom,msm8974-cnoc
24+
- qcom,msm8974-mmssnoc
25+
- qcom,msm8974-ocmemnoc
26+
- qcom,msm8974-pnoc
27+
- qcom,msm8974-snoc
28+
29+
'#interconnect-cells':
30+
const: 1
31+
32+
clock-names:
33+
items:
34+
- const: bus
35+
- const: bus_a
36+
37+
clocks:
38+
items:
39+
- description: Bus Clock
40+
- description: Bus A Clock
41+
42+
required:
43+
- compatible
44+
- reg
45+
- '#interconnect-cells'
46+
- clock-names
47+
- clocks
48+
49+
additionalProperties: false
50+
51+
examples:
52+
- |
53+
#include <dt-bindings/clock/qcom,rpmcc.h>
54+
55+
bimc: interconnect@fc380000 {
56+
reg = <0xfc380000 0x6a000>;
57+
compatible = "qcom,msm8974-bimc";
58+
#interconnect-cells = <1>;
59+
clock-names = "bus", "bus_a";
60+
clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
61+
<&rpmcc RPM_SMD_BIMC_A_CLK>;
62+
};

0 commit comments

Comments
 (0)