-
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
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,41 @@ | ||
What: /dev/wmi/dell-smbios | ||
Date: November 2017 | ||
KernelVersion: 4.15 | ||
Contact: "Mario Limonciello" <mario.limonciello@dell.com> | ||
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
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 <jjj@gmx.de> | ||
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 <jjj@gmx.de> | ||
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
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" <mario.limonciello@dell.com> | ||
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" <mario.limonciello@dell.com> | ||
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.