Commit f632a817 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
  ...
parents ef8f3d48 c33d4423
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ Description: It is possible to switch the cpi setting of the mouse with the
		press of a button.
		When read, this file returns the raw number of the actual cpi
		setting reported by the mouse. This number has to be further
		processed to receive the real dpi value.
		processed to receive the real dpi value:

		VALUE DPI
		1     400
+19 −26
Original line number Diff line number Diff line
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
							asic_health
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health

Date:		June 2018
KernelVersion:	4.19
@@ -9,9 +8,8 @@ Description: This file shows ASIC health status. The possible values are:

		The files are read only.

What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
							cpld1_version
							cpld2_version
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
Date:		June 2018
KernelVersion:	4.19
Contact:	Vadim Pasternak <vadimpmellanox.com>
@@ -20,8 +18,7 @@ Description: These files show with which CPLD versions have been burned

		The files are read only.

What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
							fan_dir
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir

Date:		December 2018
KernelVersion:	5.0
@@ -32,8 +29,7 @@ Description: This file shows the system fans direction:

		The files are read only.

What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
							jtag_enable
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable

Date:		November 2018
KernelVersion:	5.0
@@ -43,8 +39,7 @@ Description: These files show with which CPLD versions have been burned

		The files are read only.

What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
							jtag_enable
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable

Date:		November 2018
KernelVersion:	5.0
@@ -87,16 +82,15 @@ Description: These files allow asserting system power cycling, switching

		The files are write only.

What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
							reset_aux_pwr_or_ref
							reset_asic_thermal
							reset_hotswap_or_halt
							reset_hotswap_or_wd
							reset_fw_reset
							reset_long_pb
							reset_main_pwr_fail
							reset_short_pb
							reset_sw_reset
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_aux_pwr_or_ref
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_asic_thermal
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_halt
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_hotswap_or_wd
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_fw_reset
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pb
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_main_pwr_fail
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_short_pb
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sw_reset
Date:		June 2018
KernelVersion:	4.19
Contact:	Vadim Pasternak <vadimpmellanox.com>
@@ -110,11 +104,10 @@ Description: These files show the system reset cause, as following: power

		The files are read only.

What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/
						reset_comex_pwr_fail
						reset_from_comex
						reset_system
						reset_voltmon_upgrade_fail
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_pwr_fail
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_comex
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_system
What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_voltmon_upgrade_fail

Date:		November 2018
KernelVersion:	5.0
+2 −2
Original line number Diff line number Diff line
Where:		/sys/fs/pstore/... (or /dev/pstore/...)
What:		/sys/fs/pstore/... (or /dev/pstore/...)
Date:		March 2011
KernelVersion: 2.6.39
Contact:	tony.luck@intel.com
+2 −2
Original line number Diff line number Diff line
Where:		/sys/bus/event_source/devices/<dev>/format
What:		/sys/bus/event_source/devices/<dev>/format
Date:		January 2012
KernelVersion: 3.3
Contact:	Jiri Olsa <jolsa@redhat.com>
+6 −6
Original line number Diff line number Diff line
Where:		/sys/bus/i2c/devices/.../heading0_input
What:		/sys/bus/i2c/devices/.../heading0_input
Date:		April 2010
KernelVersion: 2.6.36?
Contact:	alan.cox@intel.com
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
KernelVersion: 2.6.36?
Contact:	alan.cox@intel.com
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
KernelVersion: 2.6.36?
Contact:	alan.cox@intel.com
Loading