-
Notifications
You must be signed in to change notification settings - Fork 53.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from torvalds/master
pull from torvalds
- Loading branch information
Showing
2,688 changed files
with
115,804 additions
and
56,910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
What: /config/usb-gadget/gadget/functions/ffs.name | ||
Date: Nov 2013 | ||
KenelVersion: 3.13 | ||
Description: The purpose of this directory is to create and remove it. | ||
|
||
A corresponding USB function instance is created/removed. | ||
There are no attributes here. | ||
|
||
All parameters are set through FunctionFS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
What: /config/usb-gadget/gadget/functions/Loopback.name | ||
Date: Nov 2013 | ||
KenelVersion: 3.13 | ||
Description: | ||
The attributes: | ||
|
||
qlen - depth of loopback queue | ||
bulk_buflen - buffer length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
What: /config/usb-gadget/gadget/functions/SourceSink.name | ||
Date: Nov 2013 | ||
KenelVersion: 3.13 | ||
Description: | ||
The attributes: | ||
|
||
pattern - 0 (all zeros), 1 (mod63), 2 (none) | ||
isoc_interval - 1..16 | ||
isoc_maxpacket - 0 - 1023 (fs), 0 - 1024 (hs/ss) | ||
isoc_mult - 0..2 (hs/ss only) | ||
isoc_maxburst - 0..15 (ss only) | ||
qlen - buffer length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/ddcb_info | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: DDCB queue dump used for debugging queueing problems. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_regs | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Dump of the current error registers. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid0 | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Internal chip state of UID0 (unit id 0). | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid1 | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Internal chip state of UID1. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/curr_dbg_uid2 | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Internal chip state of UID2. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_regs | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Dump of the error registers before the last reset of | ||
the card occured. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid0 | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Internal chip state of UID0 before card was reset. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid1 | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Internal chip state of UID1 before card was reset. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/prev_dbg_uid2 | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Internal chip state of UID2 before card was reset. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/info | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Comprehensive summary of bitstream version and software | ||
version. Used bitstream and bitstream clocking information. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/err_inject | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Possibility to inject error cases to ensure that the drivers | ||
error handling code works well. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/vf<0..14>_jobtimeout_msec | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Default VF timeout 250ms. Testing might require 1000ms. | ||
Using 0 will use the cards default value (whatever that is). | ||
|
||
The timeout depends on the max number of available cards | ||
in the system and the maximum allowed queue size. | ||
|
||
The driver ensures that the settings are done just before | ||
the VFs get enabled. Changing the timeouts in flight is not | ||
possible. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/jobtimer | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Dump job timeout register values for PF and VFs. | ||
Only available for PF. | ||
|
||
What: /sys/kernel/debug/genwqe/genwqe<n>_card/queue_working_time | ||
Date: Dec 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Dump queue working time register values for PF and VFs. | ||
Only available for PF. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
What: /sys/class/genwqe/genwqe<n>_card/version | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Unique bitstream identification e.g. | ||
'0000000330336283.00000000475a4950'. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/appid | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Identifies the currently active card application e.g. 'GZIP' | ||
for compression/decompression. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/type | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Type of the card e.g. 'GenWQE5-A7'. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Currently active bitstream. 1 is default, 0 is backup. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/next_bitstream | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Interface to set the next bitstream to be used. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/tempsens | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Interface to read the cards temperature sense register. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Interface to read the cards free running timer. | ||
Used for performance and utilization measurements. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/queue_working_time | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Interface to read queue working time. | ||
Used for performance and utilization measurements. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/state | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: State of the card: "unused", "used", "error". | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/base_clock | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Base clock frequency of the card. | ||
|
||
What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs | ||
Date: Oct 2013 | ||
Contact: haver@linux.vnet.ibm.com | ||
Description: Enable VFs (1..15): | ||
sudo sh -c 'echo 15 > \ | ||
/sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs' | ||
Disable VFs: | ||
Write a 0 into the same sysfs entry. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
What: /sys/firmware/efi/fw_vendor | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: It shows the physical address of firmware vendor field in the | ||
EFI system table. | ||
Users: Kexec | ||
|
||
What: /sys/firmware/efi/runtime | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: It shows the physical address of runtime service table entry in | ||
the EFI system table. | ||
Users: Kexec | ||
|
||
What: /sys/firmware/efi/config_table | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: It shows the physical address of config table entry in the EFI | ||
system table. | ||
Users: Kexec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
What: /sys/firmware/efi/runtime-map/ | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: Switching efi runtime services to virtual mode requires | ||
that all efi memory ranges which have the runtime attribute | ||
bit set to be mapped to virtual addresses. | ||
|
||
The efi runtime services can only be switched to virtual | ||
mode once without rebooting. The kexec kernel must maintain | ||
the same physical to virtual address mappings as the first | ||
kernel. The mappings are exported to sysfs so userspace tools | ||
can reassemble them and pass them into the kexec kernel. | ||
|
||
/sys/firmware/efi/runtime-map/ is the directory the kernel | ||
exports that information in. | ||
|
||
subdirectories are named with the number of the memory range: | ||
|
||
/sys/firmware/efi/runtime-map/0 | ||
/sys/firmware/efi/runtime-map/1 | ||
/sys/firmware/efi/runtime-map/2 | ||
/sys/firmware/efi/runtime-map/3 | ||
... | ||
|
||
Each subdirectory contains five files: | ||
|
||
attribute : The attributes of the memory range. | ||
num_pages : The size of the memory range in pages. | ||
phys_addr : The physical address of the memory range. | ||
type : The type of the memory range. | ||
virt_addr : The virtual address of the memory range. | ||
|
||
Above values are all hexadecimal numbers with the '0x' prefix. | ||
Users: Kexec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
What: /sys/kernel/boot_params | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: The /sys/kernel/boot_params directory contains two | ||
files: "data" and "version" and one subdirectory "setup_data". | ||
It is used to export the kernel boot parameters of an x86 | ||
platform to userspace for kexec and debugging purpose. | ||
|
||
If there's no setup_data in boot_params the subdirectory will | ||
not be created. | ||
|
||
"data" file is the binary representation of struct boot_params. | ||
|
||
"version" file is the string representation of boot | ||
protocol version. | ||
|
||
"setup_data" subdirectory contains the setup_data data | ||
structure in boot_params. setup_data is maintained in kernel | ||
as a link list. In "setup_data" subdirectory there's one | ||
subdirectory for each link list node named with the number | ||
of the list nodes. The list node subdirectory contains two | ||
files "type" and "data". "type" file is the string | ||
representation of setup_data type. "data" file is the binary | ||
representation of setup_data payload. | ||
|
||
The whole boot_params directory structure is like below: | ||
/sys/kernel/boot_params | ||
|__ data | ||
|__ setup_data | ||
| |__ 0 | ||
| | |__ data | ||
| | |__ type | ||
| |__ 1 | ||
| |__ data | ||
| |__ type | ||
|__ version | ||
|
||
Users: Kexec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
What: /sys/bus/platform/devices/tahvo-usb/otg_mode | ||
Date: December 2013 | ||
Contact: Aaro Koskinen <aaro.koskinen@iki.fi> | ||
Description: | ||
Set or read the current OTG mode. Valid values are "host" and | ||
"peripheral". | ||
|
||
Reading: returns the current mode. | ||
|
||
What: /sys/bus/platform/devices/tahvo-usb/vbus | ||
Date: December 2013 | ||
Contact: Aaro Koskinen <aaro.koskinen@iki.fi> | ||
Description: | ||
Read the current VBUS state. | ||
|
||
Reading: returns "on" or "off". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.