xref: /openbmc/linux/Documentation/ABI/stable/sysfs-bus-vmbus (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1c068e3f4SDexuan CuiWhat:		/sys/bus/vmbus/hibernation
2c068e3f4SDexuan CuiDate:		Jan 2021
3c068e3f4SDexuan CuiKernelVersion:	5.12
4c068e3f4SDexuan CuiContact:	Dexuan Cui <decui@microsoft.com>
5c068e3f4SDexuan CuiDescription:	Whether the host supports hibernation for the VM.
6c068e3f4SDexuan CuiUsers:		Daemon that sets up swap partition/file for hibernation.
7c068e3f4SDexuan Cui
8f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/id
954bf725eSDexuan CuiDate:		Jul 2009
1054bf725eSDexuan CuiKernelVersion:	2.6.31
1154bf725eSDexuan CuiContact:	K. Y. Srinivasan <kys@microsoft.com>
1254bf725eSDexuan CuiDescription:	The VMBus child_relid of the device's primary channel
1354bf725eSDexuan CuiUsers:		tools/hv/lsvmbus
1454bf725eSDexuan Cui
15f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/class_id
1654bf725eSDexuan CuiDate:		Jul 2009
1754bf725eSDexuan CuiKernelVersion:	2.6.31
1854bf725eSDexuan CuiContact:	K. Y. Srinivasan <kys@microsoft.com>
1954bf725eSDexuan CuiDescription:	The VMBus interface type GUID of the device
2054bf725eSDexuan CuiUsers:		tools/hv/lsvmbus
2154bf725eSDexuan Cui
22f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/device_id
2354bf725eSDexuan CuiDate:		Jul 2009
2454bf725eSDexuan CuiKernelVersion:	2.6.31
2554bf725eSDexuan CuiContact:	K. Y. Srinivasan <kys@microsoft.com>
2654bf725eSDexuan CuiDescription:	The VMBus interface instance GUID of the device
2754bf725eSDexuan CuiUsers:		tools/hv/lsvmbus
2854bf725eSDexuan Cui
29f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channel_vp_mapping
3054bf725eSDexuan CuiDate:		Jul 2015
3154bf725eSDexuan CuiKernelVersion:	4.2.0
3254bf725eSDexuan CuiContact:	K. Y. Srinivasan <kys@microsoft.com>
3354bf725eSDexuan CuiDescription:	The mapping of which primary/sub channels are bound to which
3454bf725eSDexuan Cui		Virtual Processors.
3554bf725eSDexuan Cui		Format: <channel's child_relid:the bound cpu's number>
3654bf725eSDexuan CuiUsers:		tools/hv/lsvmbus
377047f17dSK. Y. Srinivasan
38f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/device
397047f17dSK. Y. SrinivasanDate:		Dec. 2015
407047f17dSK. Y. SrinivasanKernelVersion:	4.5
417047f17dSK. Y. SrinivasanContact:	K. Y. Srinivasan <kys@microsoft.com>
427047f17dSK. Y. SrinivasanDescription:	The 16 bit device ID of the device
437047f17dSK. Y. SrinivasanUsers:		tools/hv/lsvmbus and user level RDMA libraries
447047f17dSK. Y. Srinivasan
45f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/vendor
467047f17dSK. Y. SrinivasanDate:		Dec. 2015
477047f17dSK. Y. SrinivasanKernelVersion:	4.5
487047f17dSK. Y. SrinivasanContact:	K. Y. Srinivasan <kys@microsoft.com>
497047f17dSK. Y. SrinivasanDescription:	The 16 bit vendor ID of the device
507047f17dSK. Y. SrinivasanUsers:		tools/hv/lsvmbus and user level RDMA libraries
51c2e5df61SStephen Hemminger
527ceb1c37SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/numa_node
537ceb1c37SStephen HemmingerDate:		Jul 2018
547ceb1c37SStephen HemmingerKernelVersion:	4.19
557ceb1c37SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
567ceb1c37SStephen HemmingerDescription:	This NUMA node to which the VMBUS device is
577ceb1c37SStephen Hemminger		attached, or -1 if the node is unknown.
587ceb1c37SStephen Hemminger
59f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>
60b4ea81eeSStephen HemmingerDate:		September. 2017
61b4ea81eeSStephen HemmingerKernelVersion:	4.14
62b4ea81eeSStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
63b4ea81eeSStephen HemmingerDescription:	Directory for per-channel information
64*3e42d1deSCarlos Bilbao		NN is the VMBUS relid associated with the channel.
65b4ea81eeSStephen Hemminger
66f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/cpu
67c2e5df61SStephen HemmingerDate:		September. 2017
68c2e5df61SStephen HemmingerKernelVersion:	4.14
69c2e5df61SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
70c2e5df61SStephen HemmingerDescription:	VCPU (sub)channel is affinitized to
71b4ea81eeSStephen HemmingerUsers:		tools/hv/lsvmbus and other debugging tools
72c2e5df61SStephen Hemminger
73f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/in_mask
74c2e5df61SStephen HemmingerDate:		September. 2017
75c2e5df61SStephen HemmingerKernelVersion:	4.14
76c2e5df61SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
77b4ea81eeSStephen HemmingerDescription:	Host to guest channel interrupt mask
786981fbf3SStephen HemmingerUsers:		Debugging tools
79c2e5df61SStephen Hemminger
80f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/latency
81c2e5df61SStephen HemmingerDate:		September. 2017
82c2e5df61SStephen HemmingerKernelVersion:	4.14
83c2e5df61SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
8446fc1548SKimberly BrownDescription:	Channel signaling latency. This file is available only for
8546fc1548SKimberly Brown		performance critical channels (storage, network, etc.) that use
8646fc1548SKimberly Brown		the monitor page mechanism.
876981fbf3SStephen HemmingerUsers:		Debugging tools
88c2e5df61SStephen Hemminger
89f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/out_mask
90c2e5df61SStephen HemmingerDate:		September. 2017
91c2e5df61SStephen HemmingerKernelVersion:	4.14
92c2e5df61SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
93b4ea81eeSStephen HemmingerDescription:	Guest to host channel interrupt mask
946981fbf3SStephen HemmingerUsers:		Debugging tools
95c2e5df61SStephen Hemminger
96f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/pending
97c2e5df61SStephen HemmingerDate:		September. 2017
98c2e5df61SStephen HemmingerKernelVersion:	4.14
99c2e5df61SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
10046fc1548SKimberly BrownDescription:	Channel interrupt pending state. This file is available only for
10146fc1548SKimberly Brown		performance critical channels (storage, network, etc.) that use
10246fc1548SKimberly Brown		the monitor page mechanism.
1036981fbf3SStephen HemmingerUsers:		Debugging tools
104c2e5df61SStephen Hemminger
105f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/read_avail
106c2e5df61SStephen HemmingerDate:		September. 2017
107c2e5df61SStephen HemmingerKernelVersion:	4.14
108c2e5df61SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
109b4ea81eeSStephen HemmingerDescription:	Bytes available to read
1106981fbf3SStephen HemmingerUsers:		Debugging tools
111c2e5df61SStephen Hemminger
112f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/write_avail
113c2e5df61SStephen HemmingerDate:		September. 2017
114c2e5df61SStephen HemmingerKernelVersion:	4.14
115c2e5df61SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
116b4ea81eeSStephen HemmingerDescription:	Bytes available to write
1176981fbf3SStephen HemmingerUsers:		Debugging tools
1186981fbf3SStephen Hemminger
119f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/events
1206981fbf3SStephen HemmingerDate:		September. 2017
1216981fbf3SStephen HemmingerKernelVersion:	4.14
1226981fbf3SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
1236981fbf3SStephen HemmingerDescription:	Number of times we have signaled the host
1246981fbf3SStephen HemmingerUsers:		Debugging tools
1256981fbf3SStephen Hemminger
126f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/interrupts
1276981fbf3SStephen HemmingerDate:		September. 2017
1286981fbf3SStephen HemmingerKernelVersion:	4.14
1296981fbf3SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
1306981fbf3SStephen HemmingerDescription:	Number of times we have taken an interrupt (incoming)
1316981fbf3SStephen HemmingerUsers:		Debugging tools
132f0fa2974SStephen Hemminger
133f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/subchannel_id
134f0fa2974SStephen HemmingerDate:		January. 2018
135f0fa2974SStephen HemmingerKernelVersion:	4.16
136f0fa2974SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
137f0fa2974SStephen HemmingerDescription:	Subchannel ID associated with VMBUS channel
138f0fa2974SStephen HemmingerUsers:		Debugging tools and userspace drivers
139f0fa2974SStephen Hemminger
140f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/monitor_id
141f0fa2974SStephen HemmingerDate:		January. 2018
142f0fa2974SStephen HemmingerKernelVersion:	4.16
143f0fa2974SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
14446fc1548SKimberly BrownDescription:	Monitor bit associated with channel. This file is available only
14546fc1548SKimberly Brown		for performance critical channels (storage, network, etc.) that
14646fc1548SKimberly Brown		use the monitor page mechanism.
147f0fa2974SStephen HemmingerUsers:		Debugging tools and userspace drivers
14837b96a49SStephen Hemminger
149f59acbc5SStephen HemmingerWhat:		/sys/bus/vmbus/devices/<UUID>/channels/<N>/ring
15037b96a49SStephen HemmingerDate:		January. 2018
15137b96a49SStephen HemmingerKernelVersion:	4.16
15237b96a49SStephen HemmingerContact:	Stephen Hemminger <sthemmin@microsoft.com>
15337b96a49SStephen HemmingerDescription:	Binary file created by uio_hv_generic for ring buffer
15437b96a49SStephen HemmingerUsers:		Userspace drivers
155396ae57eSKimberly Brown
156396ae57eSKimberly BrownWhat:           /sys/bus/vmbus/devices/<UUID>/channels/<N>/intr_in_full
157396ae57eSKimberly BrownDate:           February 2019
158396ae57eSKimberly BrownKernelVersion:  5.0
159396ae57eSKimberly BrownContact:        Michael Kelley <mikelley@microsoft.com>
160396ae57eSKimberly BrownDescription:    Number of guest to host interrupts caused by the inbound ring
161396ae57eSKimberly Brown		buffer transitioning from full to not full while a packet is
162396ae57eSKimberly Brown		waiting for buffer space to become available
163396ae57eSKimberly BrownUsers:          Debugging tools
164396ae57eSKimberly Brown
165396ae57eSKimberly BrownWhat:           /sys/bus/vmbus/devices/<UUID>/channels/<N>/intr_out_empty
166396ae57eSKimberly BrownDate:           February 2019
167396ae57eSKimberly BrownKernelVersion:  5.0
168396ae57eSKimberly BrownContact:        Michael Kelley <mikelley@microsoft.com>
169396ae57eSKimberly BrownDescription:    Number of guest to host interrupts caused by the outbound ring
170396ae57eSKimberly Brown		buffer transitioning from empty to not empty
171396ae57eSKimberly BrownUsers:          Debugging tools
172396ae57eSKimberly Brown
173396ae57eSKimberly BrownWhat:           /sys/bus/vmbus/devices/<UUID>/channels/<N>/out_full_first
174396ae57eSKimberly BrownDate:           February 2019
175396ae57eSKimberly BrownKernelVersion:  5.0
176396ae57eSKimberly BrownContact:        Michael Kelley <mikelley@microsoft.com>
177396ae57eSKimberly BrownDescription:    Number of write operations that were the first to encounter an
178396ae57eSKimberly Brown		outbound ring buffer full condition
179396ae57eSKimberly BrownUsers:          Debugging tools
180396ae57eSKimberly Brown
181396ae57eSKimberly BrownWhat:           /sys/bus/vmbus/devices/<UUID>/channels/<N>/out_full_total
182396ae57eSKimberly BrownDate:           February 2019
183396ae57eSKimberly BrownKernelVersion:  5.0
184396ae57eSKimberly BrownContact:        Michael Kelley <mikelley@microsoft.com>
185396ae57eSKimberly BrownDescription:    Total number of write operations that encountered an outbound
186396ae57eSKimberly Brown		ring buffer full condition
187396ae57eSKimberly BrownUsers:          Debugging tools
188