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 tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux…
…/kernel/git/gregkh/driver-core Pull driver core and debugfs updates from Greg KH: "Here is the "big" driver core and debugfs changes for 5.3-rc1 It's a lot of different patches, all across the tree due to some api changes and lots of debugfs cleanups. Other than the debugfs cleanups, in this set of changes we have: - bus iteration function cleanups - scripts/get_abi.pl tool to display and parse Documentation/ABI entries in a simple way - cleanups to Documenatation/ABI/ entries to make them parse easier due to typos and other minor things - default_attrs use for some ktype users - driver model documentation file conversions to .rst - compressed firmware file loading - deferred probe fixes All of these have been in linux-next for a while, with a bunch of merge issues that Stephen has been patient with me for" * tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (102 commits) debugfs: make error message a bit more verbose orangefs: fix build warning from debugfs cleanup patch ubifs: fix build warning after debugfs cleanup patch driver: core: Allow subsystems to continue deferring probe drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT arch_topology: Remove error messages on out-of-memory conditions lib: notifier-error-inject: no need to check return value of debugfs_create functions swiotlb: no need to check return value of debugfs_create functions ceph: no need to check return value of debugfs_create functions sunrpc: no need to check return value of debugfs_create functions ubifs: no need to check return value of debugfs_create functions orangefs: no need to check return value of debugfs_create functions nfsd: no need to check return value of debugfs_create functions lib: 842: no need to check return value of debugfs_create functions debugfs: provide pr_fmt() macro debugfs: log errors when something goes wrong drivers: s390/cio: Fix compilation warning about const qualifiers drivers: Add generic helper to match by of_node driver_find_device: Unify the match function with class_find_device() bus_find_device: Unify the match callback with class_find_device ...
- Loading branch information
Showing
201 changed files
with
1,939 additions
and
2,114 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Where: /sys/fs/pstore/... (or /dev/pstore/...) | ||
What: /sys/fs/pstore/... (or /dev/pstore/...) | ||
Date: March 2011 | ||
Kernel Version: 2.6.39 | ||
KernelVersion: 2.6.39 | ||
Contact: [email protected] | ||
Description: Generic interface to platform dependent persistent storage. | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
Documentation/ABI/testing/sysfs-bus-event_source-devices-format
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Where: /sys/bus/event_source/devices/<dev>/format | ||
What: /sys/bus/event_source/devices/<dev>/format | ||
Date: January 2012 | ||
Kernel Version: 3.3 | ||
KernelVersion: 3.3 | ||
Contact: Jiri Olsa <[email protected]> | ||
Description: | ||
Attribute group to describe the magic bits that go into | ||
|
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
Where: /sys/bus/i2c/devices/.../heading0_input | ||
What: /sys/bus/i2c/devices/.../heading0_input | ||
Date: April 2010 | ||
Kernel Version: 2.6.36? | ||
KernelVersion: 2.6.36? | ||
Contact: [email protected] | ||
Description: Reports the current heading from the compass as a floating | ||
point value in degrees. | ||
|
||
Where: /sys/bus/i2c/devices/.../power_state | ||
What: /sys/bus/i2c/devices/.../power_state | ||
Date: April 2010 | ||
Kernel Version: 2.6.36? | ||
KernelVersion: 2.6.36? | ||
Contact: [email protected] | ||
Description: Sets the power state of the device. 0 sets the device into | ||
sleep mode, 1 wakes it up. | ||
|
||
Where: /sys/bus/i2c/devices/.../calibration | ||
What: /sys/bus/i2c/devices/.../calibration | ||
Date: April 2010 | ||
Kernel Version: 2.6.36? | ||
KernelVersion: 2.6.36? | ||
Contact: [email protected] | ||
Description: Sets the calibration on or off (1 = on, 0 = off). See the | ||
chip data sheet. | ||
|
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
What /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity | ||
What: /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity | ||
Date: January 2017 | ||
KernelVersion: 4.11 | ||
Contact: [email protected] | ||
Description: | ||
Show or set the gain boost of the amp, from 0-31 range. | ||
default 31 | ||
|
||
What /sys/bus/iio/devices/iio:deviceX/sensor_max_range | ||
What: /sys/bus/iio/devices/iio:deviceX/sensor_max_range | ||
Date: January 2017 | ||
KernelVersion: 4.11 | ||
Contact: [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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
What /sys/bus/iio/devices/iio:deviceX/in_proximity_input | ||
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_input | ||
Date: March 2014 | ||
KernelVersion: 3.15 | ||
Contact: Matt Ranostay <[email protected]> | ||
Description: | ||
Get the current distance in meters of storm (1km steps) | ||
1000-40000 = distance in meters | ||
|
||
What /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity | ||
What: /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity | ||
Date: March 2014 | ||
KernelVersion: 3.15 | ||
Contact: Matt Ranostay <[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 |
---|---|---|
|
@@ -9,9 +9,9 @@ errors may be "seen" / reported by the link partner and not the | |
problematic endpoint itself (which may report all counters as 0 as it never | ||
saw any problems). | ||
|
||
Where: /sys/bus/pci/devices/<dev>/aer_dev_correctable | ||
What: /sys/bus/pci/devices/<dev>/aer_dev_correctable | ||
Date: July 2018 | ||
Kernel Version: 4.19.0 | ||
KernelVersion: 4.19.0 | ||
Contact: [email protected], [email protected] | ||
Description: List of correctable errors seen and reported by this | ||
PCI device using ERR_COR. Note that since multiple errors may | ||
|
@@ -31,9 +31,9 @@ Header Log Overflow 0 | |
TOTAL_ERR_COR 2 | ||
------------------------------------------------------------------------- | ||
|
||
Where: /sys/bus/pci/devices/<dev>/aer_dev_fatal | ||
What: /sys/bus/pci/devices/<dev>/aer_dev_fatal | ||
Date: July 2018 | ||
Kernel Version: 4.19.0 | ||
KernelVersion: 4.19.0 | ||
Contact: [email protected], [email protected] | ||
Description: List of uncorrectable fatal errors seen and reported by this | ||
PCI device using ERR_FATAL. Note that since multiple errors may | ||
|
@@ -62,9 +62,9 @@ TLP Prefix Blocked Error 0 | |
TOTAL_ERR_FATAL 0 | ||
------------------------------------------------------------------------- | ||
|
||
Where: /sys/bus/pci/devices/<dev>/aer_dev_nonfatal | ||
What: /sys/bus/pci/devices/<dev>/aer_dev_nonfatal | ||
Date: July 2018 | ||
Kernel Version: 4.19.0 | ||
KernelVersion: 4.19.0 | ||
Contact: [email protected], [email protected] | ||
Description: List of uncorrectable nonfatal errors seen and reported by this | ||
PCI device using ERR_NONFATAL. Note that since multiple errors | ||
|
@@ -103,20 +103,20 @@ collectors) that are AER capable. These indicate the number of error messages as | |
device, so these counters include them and are thus cumulative of all the error | ||
messages on the PCI hierarchy originating at that root port. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_cor | ||
What: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_cor | ||
Date: July 2018 | ||
Kernel Version: 4.19.0 | ||
KernelVersion: 4.19.0 | ||
Contact: [email protected], [email protected] | ||
Description: Total number of ERR_COR messages reported to rootport. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_fatal | ||
What: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_fatal | ||
Date: July 2018 | ||
Kernel Version: 4.19.0 | ||
KernelVersion: 4.19.0 | ||
Contact: [email protected], [email protected] | ||
Description: Total number of ERR_FATAL messages reported to rootport. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_nonfatal | ||
What: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_nonfatal | ||
Date: July 2018 | ||
Kernel Version: 4.19.0 | ||
KernelVersion: 4.19.0 | ||
Contact: [email protected], [email protected] | ||
Description: Total number of ERR_NONFATAL messages reported to rootport. |
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 |
---|---|---|
@@ -1,68 +1,68 @@ | ||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/model | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/model | ||
Date: March 2009 | ||
Kernel Version: 2.6.30 | ||
KernelVersion: 2.6.30 | ||
Contact: [email protected] | ||
Description: Displays the SCSI INQUIRY page 0 model for logical drive | ||
Y of controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/rev | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/rev | ||
Date: March 2009 | ||
Kernel Version: 2.6.30 | ||
KernelVersion: 2.6.30 | ||
Contact: [email protected] | ||
Description: Displays the SCSI INQUIRY page 0 revision for logical | ||
drive Y of controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/unique_id | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/unique_id | ||
Date: March 2009 | ||
Kernel Version: 2.6.30 | ||
KernelVersion: 2.6.30 | ||
Contact: [email protected] | ||
Description: Displays the SCSI INQUIRY page 83 serial number for logical | ||
drive Y of controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/vendor | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/vendor | ||
Date: March 2009 | ||
Kernel Version: 2.6.30 | ||
KernelVersion: 2.6.30 | ||
Contact: [email protected] | ||
Description: Displays the SCSI INQUIRY page 0 vendor for logical drive | ||
Y of controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/block:cciss!cXdY | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/block:cciss!cXdY | ||
Date: March 2009 | ||
Kernel Version: 2.6.30 | ||
KernelVersion: 2.6.30 | ||
Contact: [email protected] | ||
Description: A symbolic link to /sys/block/cciss!cXdY | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/rescan | ||
What: /sys/bus/pci/devices/<dev>/ccissX/rescan | ||
Date: August 2009 | ||
Kernel Version: 2.6.31 | ||
KernelVersion: 2.6.31 | ||
Contact: [email protected] | ||
Description: Kicks of a rescan of the controller to discover logical | ||
drive topology changes. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid | ||
Date: August 2009 | ||
Kernel Version: 2.6.31 | ||
KernelVersion: 2.6.31 | ||
Contact: [email protected] | ||
Description: Displays the 8-byte LUN ID used to address logical | ||
drive Y of controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/raid_level | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/raid_level | ||
Date: August 2009 | ||
Kernel Version: 2.6.31 | ||
KernelVersion: 2.6.31 | ||
Contact: [email protected] | ||
Description: Displays the RAID level of logical drive Y of | ||
controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/usage_count | ||
What: /sys/bus/pci/devices/<dev>/ccissX/cXdY/usage_count | ||
Date: August 2009 | ||
Kernel Version: 2.6.31 | ||
KernelVersion: 2.6.31 | ||
Contact: [email protected] | ||
Description: Displays the usage count (number of opens) of logical drive Y | ||
of controller X. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/resettable | ||
What: /sys/bus/pci/devices/<dev>/ccissX/resettable | ||
Date: February 2011 | ||
Kernel Version: 2.6.38 | ||
KernelVersion: 2.6.38 | ||
Contact: [email protected] | ||
Description: Value of 1 indicates the controller can honor the reset_devices | ||
kernel parameter. Value of 0 indicates reset_devices cannot be | ||
|
@@ -71,9 +71,9 @@ Description: Value of 1 indicates the controller can honor the reset_devices | |
a dump device, as kdump requires resetting the device in order | ||
to work reliably. | ||
|
||
Where: /sys/bus/pci/devices/<dev>/ccissX/transport_mode | ||
What: /sys/bus/pci/devices/<dev>/ccissX/transport_mode | ||
Date: July 2011 | ||
Kernel Version: 3.0 | ||
KernelVersion: 3.0 | ||
Contact: [email protected] | ||
Description: Value of "simple" indicates that the controller has been placed | ||
in "simple mode". Value of "performant" indicates that the | ||
|
22 changes: 11 additions & 11 deletions
22
Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg
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 |
---|---|---|
@@ -1,39 +1,39 @@ | ||
Where: /sys/bus/usb/.../powered | ||
What: /sys/bus/usb/.../powered | ||
Date: August 2008 | ||
Kernel Version: 2.6.26 | ||
KernelVersion: 2.6.26 | ||
Contact: Harrison Metzger <[email protected]> | ||
Description: Controls whether the device's display will powered. | ||
A value of 0 is off and a non-zero value is on. | ||
|
||
Where: /sys/bus/usb/.../mode_msb | ||
Where: /sys/bus/usb/.../mode_lsb | ||
What: /sys/bus/usb/.../mode_msb | ||
What: /sys/bus/usb/.../mode_lsb | ||
Date: August 2008 | ||
Kernel Version: 2.6.26 | ||
KernelVersion: 2.6.26 | ||
Contact: Harrison Metzger <[email protected]> | ||
Description: Controls the devices display mode. | ||
For a 6 character display the values are | ||
MSB 0x06; LSB 0x3F, and | ||
for an 8 character display the values are | ||
MSB 0x08; LSB 0xFF. | ||
|
||
Where: /sys/bus/usb/.../textmode | ||
What: /sys/bus/usb/.../textmode | ||
Date: August 2008 | ||
Kernel Version: 2.6.26 | ||
KernelVersion: 2.6.26 | ||
Contact: Harrison Metzger <[email protected]> | ||
Description: Controls the way the device interprets its text buffer. | ||
raw: each character controls its segment manually | ||
hex: each character is between 0-15 | ||
ascii: each character is between '0'-'9' and 'A'-'F'. | ||
|
||
Where: /sys/bus/usb/.../text | ||
What: /sys/bus/usb/.../text | ||
Date: August 2008 | ||
Kernel Version: 2.6.26 | ||
KernelVersion: 2.6.26 | ||
Contact: Harrison Metzger <[email protected]> | ||
Description: The text (or data) for the device to display | ||
|
||
Where: /sys/bus/usb/.../decimals | ||
What: /sys/bus/usb/.../decimals | ||
Date: August 2008 | ||
Kernel Version: 2.6.26 | ||
KernelVersion: 2.6.26 | ||
Contact: Harrison Metzger <[email protected]> | ||
Description: Controls the decimal places on the device. | ||
To set the nth decimal place, give this field | ||
|
Oops, something went wrong.