Skip to content

Commit abf7dba

Browse files
committed
Merge tag 'char-misc-4.18-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" char and misc driver patches for 4.18-rc1. It's not a lot of stuff here, but there are some highlights: - coreboot driver updates - soundwire driver updates - android binder updates - fpga big sync, mostly documentation - lots of minor driver updates All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (81 commits) vmw_balloon: fixing double free when batching mode is off MAINTAINERS: Add driver-api/fpga path fpga: clarify that unregister functions also free documentation: fpga: move fpga-region.txt to driver-api documentation: fpga: add bridge document to driver-api documentation: fpga: move fpga-mgr.txt to driver-api Documentation: fpga: move fpga overview to driver-api fpga: region: kernel-doc fixes fpga: bridge: kernel-doc fixes fpga: mgr: kernel-doc fixes fpga: use SPDX fpga: region: change api, add fpga_region_create/free fpga: bridge: change api, don't use drvdata fpga: manager: change api, don't use drvdata fpga: region: don't use drvdata in common fpga code Drivers: hv: vmbus: Removed an unnecessary cast from void * ver_linux: Drop redundant calls to system() to test if file is readable ver_linux: Move stderr redirection from function parameter to function body misc: IBM Virtual Management Channel Driver (VMC) rpmsg: Correct support for MODULE_DEVICE_TABLE() ...
2 parents 07c4dd3 + b23220f commit abf7dba

File tree

132 files changed

+8981
-1234
lines changed

Some content is hidden

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

132 files changed

+8981
-1234
lines changed

Documentation/ABI/stable/sysfs-bus-vmbus

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
What: /sys/bus/vmbus/devices/vmbus_*/id
1+
What: /sys/bus/vmbus/devices/<UUID>/id
22
Date: Jul 2009
33
KernelVersion: 2.6.31
44
Contact: K. Y. Srinivasan <[email protected]>
55
Description: The VMBus child_relid of the device's primary channel
66
Users: tools/hv/lsvmbus
77

8-
What: /sys/bus/vmbus/devices/vmbus_*/class_id
8+
What: /sys/bus/vmbus/devices/<UUID>/class_id
99
Date: Jul 2009
1010
KernelVersion: 2.6.31
1111
Contact: K. Y. Srinivasan <[email protected]>
1212
Description: The VMBus interface type GUID of the device
1313
Users: tools/hv/lsvmbus
1414

15-
What: /sys/bus/vmbus/devices/vmbus_*/device_id
15+
What: /sys/bus/vmbus/devices/<UUID>/device_id
1616
Date: Jul 2009
1717
KernelVersion: 2.6.31
1818
Contact: K. Y. Srinivasan <[email protected]>
1919
Description: The VMBus interface instance GUID of the device
2020
Users: tools/hv/lsvmbus
2121

22-
What: /sys/bus/vmbus/devices/vmbus_*/channel_vp_mapping
22+
What: /sys/bus/vmbus/devices/<UUID>/channel_vp_mapping
2323
Date: Jul 2015
2424
KernelVersion: 4.2.0
2525
Contact: K. Y. Srinivasan <[email protected]>
@@ -28,112 +28,112 @@ Description: The mapping of which primary/sub channels are bound to which
2828
Format: <channel's child_relid:the bound cpu's number>
2929
Users: tools/hv/lsvmbus
3030

31-
What: /sys/bus/vmbus/devices/vmbus_*/device
31+
What: /sys/bus/vmbus/devices/<UUID>/device
3232
Date: Dec. 2015
3333
KernelVersion: 4.5
3434
Contact: K. Y. Srinivasan <[email protected]>
3535
Description: The 16 bit device ID of the device
3636
Users: tools/hv/lsvmbus and user level RDMA libraries
3737

38-
What: /sys/bus/vmbus/devices/vmbus_*/vendor
38+
What: /sys/bus/vmbus/devices/<UUID>/vendor
3939
Date: Dec. 2015
4040
KernelVersion: 4.5
4141
Contact: K. Y. Srinivasan <[email protected]>
4242
Description: The 16 bit vendor ID of the device
4343
Users: tools/hv/lsvmbus and user level RDMA libraries
4444

45-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN
45+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>
4646
Date: September. 2017
4747
KernelVersion: 4.14
4848
Contact: Stephen Hemminger <[email protected]>
4949
Description: Directory for per-channel information
5050
NN is the VMBUS relid associtated with the channel.
5151

52-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/cpu
52+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/cpu
5353
Date: September. 2017
5454
KernelVersion: 4.14
5555
Contact: Stephen Hemminger <[email protected]>
5656
Description: VCPU (sub)channel is affinitized to
5757
Users: tools/hv/lsvmbus and other debugging tools
5858

59-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/cpu
59+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/cpu
6060
Date: September. 2017
6161
KernelVersion: 4.14
6262
Contact: Stephen Hemminger <[email protected]>
6363
Description: VCPU (sub)channel is affinitized to
6464
Users: tools/hv/lsvmbus and other debugging tools
6565

66-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/in_mask
66+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/in_mask
6767
Date: September. 2017
6868
KernelVersion: 4.14
6969
Contact: Stephen Hemminger <[email protected]>
7070
Description: Host to guest channel interrupt mask
7171
Users: Debugging tools
7272

73-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/latency
73+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/latency
7474
Date: September. 2017
7575
KernelVersion: 4.14
7676
Contact: Stephen Hemminger <[email protected]>
7777
Description: Channel signaling latency
7878
Users: Debugging tools
7979

80-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/out_mask
80+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/out_mask
8181
Date: September. 2017
8282
KernelVersion: 4.14
8383
Contact: Stephen Hemminger <[email protected]>
8484
Description: Guest to host channel interrupt mask
8585
Users: Debugging tools
8686

87-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/pending
87+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/pending
8888
Date: September. 2017
8989
KernelVersion: 4.14
9090
Contact: Stephen Hemminger <[email protected]>
9191
Description: Channel interrupt pending state
9292
Users: Debugging tools
9393

94-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/read_avail
94+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/read_avail
9595
Date: September. 2017
9696
KernelVersion: 4.14
9797
Contact: Stephen Hemminger <[email protected]>
9898
Description: Bytes available to read
9999
Users: Debugging tools
100100

101-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/write_avail
101+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/write_avail
102102
Date: September. 2017
103103
KernelVersion: 4.14
104104
Contact: Stephen Hemminger <[email protected]>
105105
Description: Bytes available to write
106106
Users: Debugging tools
107107

108-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/events
108+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/events
109109
Date: September. 2017
110110
KernelVersion: 4.14
111111
Contact: Stephen Hemminger <[email protected]>
112112
Description: Number of times we have signaled the host
113113
Users: Debugging tools
114114

115-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/interrupts
115+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/interrupts
116116
Date: September. 2017
117117
KernelVersion: 4.14
118118
Contact: Stephen Hemminger <[email protected]>
119119
Description: Number of times we have taken an interrupt (incoming)
120120
Users: Debugging tools
121121

122-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/subchannel_id
122+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/subchannel_id
123123
Date: January. 2018
124124
KernelVersion: 4.16
125125
Contact: Stephen Hemminger <[email protected]>
126126
Description: Subchannel ID associated with VMBUS channel
127127
Users: Debugging tools and userspace drivers
128128

129-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/monitor_id
129+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/monitor_id
130130
Date: January. 2018
131131
KernelVersion: 4.16
132132
Contact: Stephen Hemminger <[email protected]>
133133
Description: Monitor bit associated with channel
134134
Users: Debugging tools and userspace drivers
135135

136-
What: /sys/bus/vmbus/devices/vmbus_*/channels/NN/ring
136+
What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/ring
137137
Date: January. 2018
138138
KernelVersion: 4.16
139139
Contact: Stephen Hemminger <[email protected]>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Lattice MachXO2 Slave SPI FPGA Manager
2+
3+
Lattice MachXO2 FPGAs support a method of loading the bitstream over
4+
'slave SPI' interface.
5+
6+
See 'MachXO2ProgrammingandConfigurationUsageGuide.pdf' on www.latticesemi.com
7+
8+
Required properties:
9+
- compatible: should contain "lattice,machxo2-slave-spi"
10+
- reg: spi chip select of the FPGA
11+
12+
Example for full FPGA configuration:
13+
14+
fpga-region0 {
15+
compatible = "fpga-region";
16+
fpga-mgr = <&fpga_mgr_spi>;
17+
#address-cells = <0x1>;
18+
#size-cells = <0x1>;
19+
};
20+
21+
spi1: spi@2000 {
22+
...
23+
24+
fpga_mgr_spi: fpga-mgr@0 {
25+
compatible = "lattice,machxo2-slave-spi";
26+
spi-max-frequency = <8000000>;
27+
reg = <0>;
28+
};
29+
};
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Zodiac Inflight Innovations RAVE EEPROM Bindings
2+
3+
RAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM
4+
attached to RAVE Supervisory Processor. It is expected that its Device
5+
Tree node is specified as a child of the node corresponding to the
6+
parent RAVE SP device (as documented in
7+
Documentation/devicetree/bindings/mfd/zii,rave-sp.txt)
8+
9+
Required properties:
10+
11+
- compatible: Should be "zii,rave-sp-eeprom"
12+
13+
Optional properties:
14+
15+
- zii,eeprom-name: Unique EEPROM identifier describing its function in the
16+
system. Will be used as created NVMEM deivce's name.
17+
18+
Data cells:
19+
20+
Data cells are child nodes of eerpom node, bindings for which are
21+
documented in Documentation/bindings/nvmem/nvmem.txt
22+
23+
Example:
24+
25+
rave-sp {
26+
compatible = "zii,rave-sp-rdu1";
27+
current-speed = <38400>;
28+
29+
eeprom@a4 {
30+
compatible = "zii,rave-sp-eeprom";
31+
reg = <0xa4 0x4000>;
32+
#address-cells = <1>;
33+
#size-cells = <1>;
34+
zii,eeprom-name = "main-eeprom";
35+
36+
wdt_timeout: wdt-timeout@81 {
37+
reg = <0x81 2>;
38+
};
39+
};
40+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
FPGA Bridge
2+
===========
3+
4+
API to implement a new FPGA bridge
5+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6+
7+
.. kernel-doc:: include/linux/fpga/fpga-bridge.h
8+
:functions: fpga_bridge
9+
10+
.. kernel-doc:: include/linux/fpga/fpga-bridge.h
11+
:functions: fpga_bridge_ops
12+
13+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
14+
:functions: fpga_bridge_create
15+
16+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
17+
:functions: fpga_bridge_free
18+
19+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
20+
:functions: fpga_bridge_register
21+
22+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
23+
:functions: fpga_bridge_unregister
24+
25+
API to control an FPGA bridge
26+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27+
28+
You probably won't need these directly. FPGA regions should handle this.
29+
30+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
31+
:functions: of_fpga_bridge_get
32+
33+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
34+
:functions: fpga_bridge_get
35+
36+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
37+
:functions: fpga_bridge_put
38+
39+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
40+
:functions: fpga_bridge_get_to_list
41+
42+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
43+
:functions: of_fpga_bridge_get_to_list
44+
45+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
46+
:functions: fpga_bridge_enable
47+
48+
.. kernel-doc:: drivers/fpga/fpga-bridge.c
49+
:functions: fpga_bridge_disable

0 commit comments

Comments
 (0)