Merge tag 'efi_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-driver-genwqe
1 What:           /sys/class/genwqe/genwqe<n>_card/version
2 Date:           Oct 2013
3 Contact:        haver@linux.vnet.ibm.com
4 Description:    Unique bitstream identification e.g.
5                 '0000000330336283.00000000475a4950'.
6
7 What:           /sys/class/genwqe/genwqe<n>_card/appid
8 Date:           Oct 2013
9 Contact:        haver@linux.vnet.ibm.com
10 Description:    Identifies the currently active card application e.g. 'GZIP'
11                 for compression/decompression.
12
13 What:           /sys/class/genwqe/genwqe<n>_card/type
14 Date:           Oct 2013
15 Contact:        haver@linux.vnet.ibm.com
16 Description:    Type of the card e.g. 'GenWQE5-A7'.
17
18 What:           /sys/class/genwqe/genwqe<n>_card/curr_bitstream
19 Date:           Oct 2013
20 Contact:        haver@linux.vnet.ibm.com
21 Description:    Currently active bitstream. 1 is default, 0 is backup.
22
23 What:           /sys/class/genwqe/genwqe<n>_card/next_bitstream
24 Date:           Oct 2013
25 Contact:        haver@linux.vnet.ibm.com
26 Description:    Interface to set the next bitstream to be used.
27
28 What:           /sys/class/genwqe/genwqe<n>_card/reload_bitstream
29 Date:           May 2014
30 Contact:        klebers@linux.vnet.ibm.com
31 Description:    Interface to trigger a PCIe card reset to reload the bitstream.
32
33                 ::
34
35                   sudo sh -c 'echo 1 > \
36                     /sys/class/genwqe/genwqe0_card/reload_bitstream'
37
38                 If successfully, the card will come back with the bitstream set
39                 on 'next_bitstream'.
40
41 What:           /sys/class/genwqe/genwqe<n>_card/tempsens
42 Date:           Oct 2013
43 Contact:        haver@linux.vnet.ibm.com
44 Description:    Interface to read the cards temperature sense register.
45
46 What:           /sys/class/genwqe/genwqe<n>_card/freerunning_timer
47 Date:           Oct 2013
48 Contact:        haver@linux.vnet.ibm.com
49 Description:    Interface to read the cards free running timer.
50                 Used for performance and utilization measurements.
51
52 What:           /sys/class/genwqe/genwqe<n>_card/queue_working_time
53 Date:           Oct 2013
54 Contact:        haver@linux.vnet.ibm.com
55 Description:    Interface to read queue working time.
56                 Used for performance and utilization measurements.
57
58 What:           /sys/class/genwqe/genwqe<n>_card/state
59 Date:           Oct 2013
60 Contact:        haver@linux.vnet.ibm.com
61 Description:    State of the card: "unused", "used", "error".
62
63 What:           /sys/class/genwqe/genwqe<n>_card/base_clock
64 Date:           Oct 2013
65 Contact:        haver@linux.vnet.ibm.com
66 Description:    Base clock frequency of the card.
67
68 What:           /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
69 Date:           Oct 2013
70 Contact:        haver@linux.vnet.ibm.com
71 Description:    Enable VFs (1..15)::
72
73                   sudo sh -c 'echo 15 > \
74                     /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs'
75
76                 Disable VFs::
77
78                   Write a 0 into the same sysfs entry.