forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'for-4.16/upstream' and 'for-4.15/upstream-fixes' into…
… for-linus Pull assorted small fixes queued for merge window.
- Loading branch information
Showing
8,646 changed files
with
468,464 additions
and
179,619 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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 |
---|---|---|
|
@@ -73,6 +73,8 @@ James E Wilson <[email protected]> | |
James Hogan <[email protected]> <[email protected]> | ||
James Hogan <[email protected]> <[email protected]> | ||
James Ketrenos <jketreno@io.(none)> | ||
Jason Gunthorpe <[email protected]> <[email protected]> | ||
Jason Gunthorpe <[email protected]> <[email protected]> | ||
Javi Merino <[email protected]> <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Jean Tourrilhes <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -41,3 +41,73 @@ KernelVersion: 4.5 | |
Contact: K. Y. Srinivasan <[email protected]> | ||
Description: The 16 bit vendor ID of the device | ||
Users: tools/hv/lsvmbus and user level RDMA libraries | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/cpu | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: VCPU (sub)channel is affinitized to | ||
Users: tools/hv/lsvmbus and other debuggig tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/cpu | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: VCPU (sub)channel is affinitized to | ||
Users: tools/hv/lsvmbus and other debuggig tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/in_mask | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Inbound channel signaling state | ||
Users: Debugging tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/latency | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Channel signaling latency | ||
Users: Debugging tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/out_mask | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Outbound channel signaling state | ||
Users: Debugging tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/pending | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Channel interrupt pending state | ||
Users: Debugging tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/read_avail | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Bytes availabble to read | ||
Users: Debugging tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/write_avail | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Bytes availabble to write | ||
Users: Debugging tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/events | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Number of times we have signaled the host | ||
Users: Debugging tools | ||
|
||
What: /sys/bus/vmbus/devices/vmbus_*/channels/relid/interrupts | ||
Date: September. 2017 | ||
KernelVersion: 4.14 | ||
Contact: Stephen Hemminger <[email protected]> | ||
Description: Number of times we have taken an interrupt (incoming) | ||
Users: Debugging tools |
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,41 @@ | ||
What: /dev/wmi/dell-smbios | ||
Date: November 2017 | ||
KernelVersion: 4.15 | ||
Contact: "Mario Limonciello" <[email protected]> | ||
Description: | ||
Perform SMBIOS calls on supported Dell machines. | ||
through the Dell ACPI-WMI interface. | ||
|
||
IOCTL's and buffer formats are defined in: | ||
<uapi/linux/wmi.h> | ||
|
||
1) To perform an SMBIOS call from userspace, you'll need to | ||
first determine the minimum size of the calling interface | ||
buffer for your machine. | ||
Platforms that contain larger buffers can return larger | ||
objects from the system firmware. | ||
Commonly this size is either 4k or 32k. | ||
|
||
To determine the size of the buffer read() a u64 dword from | ||
the WMI character device /dev/wmi/dell-smbios. | ||
|
||
2) After you've determined the minimum size of the calling | ||
interface buffer, you can allocate a structure that represents | ||
the structure documented above. | ||
|
||
3) In the 'length' object store the size of the buffer you | ||
determined above and allocated. | ||
|
||
4) In this buffer object, prepare as necessary for the SMBIOS | ||
call you're interested in. Typically SMBIOS buffers have | ||
"class", "select", and "input" defined to values that coincide | ||
with the data you are interested in. | ||
Documenting class/select/input values is outside of the scope | ||
of this documentation. Check with the libsmbios project for | ||
further documentation on these values. | ||
|
||
6) Run the call by using ioctl() as described in the header. | ||
|
||
7) The output will be returned in the buffer object. | ||
|
||
8) Be sure to free up your allocated object. |
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 |
---|---|---|
|
@@ -110,3 +110,51 @@ Description: When new NVM image is written to the non-active NVM | |
is directly the status value from the DMA configuration | ||
based mailbox before the device is power cycled. Writing | ||
0 here clears the status. | ||
|
||
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/key | ||
Date: Jan 2018 | ||
KernelVersion: 4.15 | ||
Contact: [email protected] | ||
Description: This contains name of the property directory the XDomain | ||
service exposes. This entry describes the protocol in | ||
question. Following directories are already reserved by | ||
the Apple XDomain specification: | ||
|
||
network: IP/ethernet over Thunderbolt | ||
targetdm: Target disk mode protocol over Thunderbolt | ||
extdisp: External display mode protocol over Thunderbolt | ||
|
||
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/modalias | ||
Date: Jan 2018 | ||
KernelVersion: 4.15 | ||
Contact: [email protected] | ||
Description: Stores the same MODALIAS value emitted by uevent for | ||
the XDomain service. Format: tbtsvc:kSpNvNrN | ||
|
||
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcid | ||
Date: Jan 2018 | ||
KernelVersion: 4.15 | ||
Contact: [email protected] | ||
Description: This contains XDomain protocol identifier the XDomain | ||
service supports. | ||
|
||
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcvers | ||
Date: Jan 2018 | ||
KernelVersion: 4.15 | ||
Contact: [email protected] | ||
Description: This contains XDomain protocol version the XDomain | ||
service supports. | ||
|
||
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcrevs | ||
Date: Jan 2018 | ||
KernelVersion: 4.15 | ||
Contact: [email protected] | ||
Description: This contains XDomain software version the XDomain | ||
service supports. | ||
|
||
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcstns | ||
Date: Jan 2018 | ||
KernelVersion: 4.15 | ||
Contact: [email protected] | ||
Description: This contains XDomain service specific settings as | ||
bitmask. Format: %x |
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,21 @@ | ||
What: /sys/bus/w1/devices/19-<id>/speed | ||
Date: Sep 2017 | ||
KernelVersion: 4.14 | ||
Contact: Jan Kandziora <[email protected]> | ||
Description: When written, this file sets the I2C speed on the connected | ||
DS28E17 chip. When read, it reads the current setting from | ||
the DS28E17 chip. | ||
Valid values: 100, 400, 900 [kBaud]. | ||
Default 100, can be set by w1_ds28e17.speed= module parameter. | ||
Users: w1_ds28e17 driver | ||
|
||
What: /sys/bus/w1/devices/19-<id>/stretch | ||
Date: Sep 2017 | ||
KernelVersion: 4.14 | ||
Contact: Jan Kandziora <[email protected]> | ||
Description: When written, this file sets the multiplier used to calculate | ||
the busy timeout for I2C operations on the connected DS28E17 | ||
chip. When read, returns the current setting. | ||
Valid values: 1 to 9. | ||
Default 1, can be set by w1_ds28e17.stretch= module parameter. | ||
Users: w1_ds28e17 driver |
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 |
---|---|---|
|
@@ -51,6 +51,18 @@ Description: | |
Controls the dirty page count condition for the in-place-update | ||
policies. | ||
|
||
What: /sys/fs/f2fs/<disk>/min_hot_blocks | ||
Date: March 2017 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
Description: | ||
Controls the dirty page count condition for redefining hot data. | ||
|
||
What: /sys/fs/f2fs/<disk>/min_ssr_sections | ||
Date: October 2017 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Controls the fee section threshold to trigger SSR allocation. | ||
|
||
What: /sys/fs/f2fs/<disk>/max_small_discards | ||
Date: November 2013 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
|
@@ -102,6 +114,12 @@ Contact: "Jaegeuk Kim" <[email protected]> | |
Description: | ||
Controls the idle timing. | ||
|
||
What: /sys/fs/f2fs/<disk>/iostat_enable | ||
Date: August 2017 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Controls to enable/disable IO stat. | ||
|
||
What: /sys/fs/f2fs/<disk>/ra_nid_pages | ||
Date: October 2015 | ||
Contact: "Chao Yu" <[email protected]> | ||
|
@@ -122,6 +140,12 @@ Contact: "Shuoran Liu" <[email protected]> | |
Description: | ||
Shows total written kbytes issued to disk. | ||
|
||
What: /sys/fs/f2fs/<disk>/feature | ||
Date: July 2017 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
Description: | ||
Shows all enabled features in current device. | ||
|
||
What: /sys/fs/f2fs/<disk>/inject_rate | ||
Date: May 2016 | ||
Contact: "Sheng Yong" <[email protected]> | ||
|
@@ -138,7 +162,18 @@ What: /sys/fs/f2fs/<disk>/reserved_blocks | |
Date: June 2017 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Controls current reserved blocks in system. | ||
Controls target reserved blocks in system, the threshold | ||
is soft, it could exceed current available user space. | ||
|
||
What: /sys/fs/f2fs/<disk>/current_reserved_blocks | ||
Date: October 2017 | ||
Contact: "Yunlong Song" <[email protected]> | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Shows current reserved blocks in system, it may be temporarily | ||
smaller than target_reserved_blocks, but will gradually | ||
increase to target_reserved_blocks when more free blocks are | ||
freed by user later. | ||
|
||
What: /sys/fs/f2fs/<disk>/gc_urgent | ||
Date: August 2017 | ||
|
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,21 @@ | ||
What: /sys/devices/platform/<platform>/tokens/* | ||
Date: November 2017 | ||
KernelVersion: 4.15 | ||
Contact: "Mario Limonciello" <[email protected]> | ||
Description: | ||
A read-only description of Dell platform tokens | ||
available on the machine. | ||
|
||
Each token attribute is available as a pair of | ||
sysfs attributes readable by a process with | ||
CAP_SYS_ADMIN. | ||
|
||
For example the token ID "5" would be available | ||
as the following attributes: | ||
|
||
0005_location | ||
0005_value | ||
|
||
Tokens will vary from machine to machine, and | ||
only tokens available on that machine will be | ||
displayed. |
11 changes: 11 additions & 0 deletions
11
Documentation/ABI/testing/sysfs-platform-intel-wmi-thunderbolt
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,11 @@ | ||
What: /sys/devices/platform/<platform>/force_power | ||
Date: September 2017 | ||
KernelVersion: 4.15 | ||
Contact: "Mario Limonciello" <[email protected]> | ||
Description: | ||
Modify the platform force power state, influencing | ||
Thunderbolt controllers to turn on or off when no | ||
devices are connected (write-only) | ||
There are two available states: | ||
* 0 -> Force power disabled | ||
* 1 -> Force power enabled |
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
Oops, something went wrong.