forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/gregkh/char-misc Pull char/misc driver updates from Greg KH: "Here is the big set of char and misc and other tiny driver subsystem updates for 5.16-rc1. Loads of things in here, all of which have been in linux-next for a while with no reported problems (except for one called out below.) Included are: - habanana labs driver updates, including dma_buf usage, reviewed and acked by the dma_buf maintainers - iio driver update (going through this tree not staging as they really do not belong going through that tree anymore) - counter driver updates - hwmon driver updates that the counter drivers needed, acked by the hwmon maintainer - xillybus driver updates - binder driver updates - extcon driver updates - dma_buf module namespaces added (will cause a build error in arm64 for allmodconfig, but that change is on its way through the drm tree) - lkdtm driver updates - pvpanic driver updates - phy driver updates - virt acrn and nitr_enclaves driver updates - smaller char and misc driver updates" * tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (386 commits) comedi: dt9812: fix DMA buffers on stack comedi: ni_usb6501: fix NULL-deref in command paths arm64: errata: Enable TRBE workaround for write to out-of-range address arm64: errata: Enable workaround for TRBE overwrite in FILL mode coresight: trbe: Work around write to out of range coresight: trbe: Make sure we have enough space coresight: trbe: Add a helper to determine the minimum buffer size coresight: trbe: Workaround TRBE errata overwrite in FILL mode coresight: trbe: Add infrastructure for Errata handling coresight: trbe: Allow driver to choose a different alignment coresight: trbe: Decouple buffer base from the hardware base coresight: trbe: Add a helper to pad a given buffer area coresight: trbe: Add a helper to calculate the trace generated coresight: trbe: Defer the probe on offline CPUs coresight: trbe: Fix incorrect access of the sink specific data coresight: etm4x: Add ETM PID for Kryo-5XX coresight: trbe: Prohibit trace before disabling TRBE coresight: trbe: End the AUX handle on truncation coresight: trbe: Do not truncate buffer on IRQ coresight: trbe: Fix handling of spurious interrupts ...
- Loading branch information
Showing
393 changed files
with
22,124 additions
and
6,909 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 |
---|---|---|
|
@@ -226,6 +226,12 @@ Description: Gets the state dump occurring on a CS timeout or failure. | |
Writing an integer X discards X state dumps, so that the | ||
next read would return X+1-st newest state dump. | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/timeout_locked | ||
Date: Sep 2021 | ||
KernelVersion: 5.16 | ||
Contact: [email protected] | ||
Description: Sets the command submission timeout value in seconds. | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/stop_on_err | ||
Date: Mar 2020 | ||
KernelVersion: 5.6 | ||
|
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 |
---|---|---|
|
@@ -203,6 +203,27 @@ Description: | |
both edges: | ||
Any state transition. | ||
|
||
What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/floor_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/count_mode_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/direction_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/enable_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/error_noise_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/prescaler_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/preset_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/preset_enable_component_id | ||
What: /sys/bus/counter/devices/counterX/countY/signalZ_action_component_id | ||
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_component_id | ||
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable_component_id | ||
What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler_component_id | ||
What: /sys/bus/counter/devices/counterX/signalY/index_polarity_component_id | ||
What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_component_id | ||
KernelVersion: 5.16 | ||
Contact: [email protected] | ||
Description: | ||
Read-only attribute that indicates the component ID of the | ||
respective extension or Synapse. | ||
|
||
What: /sys/bus/counter/devices/counterX/countY/spike_filter_ns | ||
KernelVersion: 5.14 | ||
Contact: [email protected] | ||
|
@@ -212,6 +233,14 @@ Description: | |
shorter or equal to configured value are ignored. Value 0 means | ||
filter is disabled. | ||
|
||
What: /sys/bus/counter/devices/counterX/events_queue_size | ||
KernelVersion: 5.16 | ||
Contact: [email protected] | ||
Description: | ||
Size of the Counter events queue in number of struct | ||
counter_event data structures. The number of elements will be | ||
rounded-up to a power of 2. | ||
|
||
What: /sys/bus/counter/devices/counterX/name | ||
KernelVersion: 5.2 | ||
Contact: [email protected] | ||
|
@@ -286,7 +315,14 @@ What: /sys/bus/counter/devices/counterX/signalY/signal | |
KernelVersion: 5.2 | ||
Contact: [email protected] | ||
Description: | ||
Signal data of Signal Y represented as a string. | ||
Signal level state of Signal Y. The following signal level | ||
states are available: | ||
|
||
low: | ||
Low level state. | ||
|
||
high: | ||
High level state. | ||
|
||
What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode | ||
KernelVersion: 5.2 | ||
|
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,10 @@ | ||
What: /sys/bus/fsi/devices/XX.XX.00:06/sbefifoX/timeout | ||
KernelVersion: 5.15 | ||
Contact: [email protected] | ||
Description: | ||
Indicates whether or not this SBE device has experienced a | ||
timeout; i.e. the SBE did not respond within the time allotted | ||
by the driver. A value of 1 indicates that a timeout has | ||
ocurred and no transfers have completed since the timeout. A | ||
value of 0 indicates that no timeout has ocurred, or if one | ||
has, more recent transfers have completed successful. |
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 |
---|---|---|
|
@@ -429,6 +429,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale | |
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_x_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_y_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_z_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_scale | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -1957,3 +1958,44 @@ Description: | |
Specify the percent for light sensor relative to the channel | ||
absolute value that a data field should change before an event | ||
is generated. Units are a percentage of the prior reading. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/calibration_auto_enable | ||
Date: June 2020 | ||
KernelVersion: 5.8 | ||
Contact: [email protected] | ||
Description: | ||
Some sensors have the ability to apply auto calibration at | ||
runtime. For example, it may be necessary to compensate for | ||
contaminant build-up in a measurement chamber or optical | ||
element deterioration that would otherwise lead to sensor drift. | ||
|
||
Writing 1 or 0 to this attribute will respectively activate or | ||
deactivate this auto calibration function. | ||
|
||
Upon reading, the current status is returned. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value | ||
Date: June 2020 | ||
KernelVersion: 5.8 | ||
Contact: [email protected] | ||
Description: | ||
Some sensors have the ability to apply a manual calibration using | ||
a known measurement value, perhaps obtained from an external | ||
reference device. | ||
|
||
Writing a value to this function will force such a calibration | ||
change. For the scd30 the value should be from the range | ||
[400 1 2000]. | ||
|
||
Note for the scd30 that a valid value may only be obtained once | ||
it is has been written. Until then any read back of this value | ||
should be ignored. As for the scd4x an error will be returned | ||
immediately if the manual calibration has failed. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/calibration_forced_value_available | ||
KernelVersion: 5.15 | ||
Contact: [email protected] | ||
Description: | ||
Available range for the forced calibration value, expressed as: | ||
|
||
- a range specified as "[min step max]" |
38 changes: 38 additions & 0 deletions
38
Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2
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/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_factory | ||
Date: August 2021 | ||
KernelVersion: 5.16 | ||
Contact: Jacopo Mondi <[email protected]> | ||
Description: | ||
Writing '1' triggers a 'Factory' calibration cycle. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_background | ||
Date: August 2021 | ||
KernelVersion: 5.16 | ||
Contact: Jacopo Mondi <[email protected]> | ||
Description: | ||
Writing '1' triggers a 'Background' calibration cycle. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/error_status_available | ||
Date: August 2021 | ||
KernelVersion: 5.16 | ||
Contact: Jacopo Mondi <[email protected]> | ||
Description: | ||
Reading returns the list of possible chip error status. | ||
Available options are: | ||
- 'error_fatal': Analog front-end initialization error | ||
- 'error_i2c': Read/write to non-existing register | ||
- 'error_algorithm': Corrupted parameters | ||
- 'error_calibration': Calibration has failed | ||
- 'error_self_diagnostic': Internal interface failure | ||
- 'error_out_of_range': Measured concentration out of scale | ||
- 'error_memory': Error during memory operations | ||
- 'error_no_measurement': Cleared at first measurement | ||
- 'error_low_voltage': Sensor regulated voltage too low | ||
- 'error_measurement_timeout': Unable to complete measurement | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/error_status | ||
Date: August 2021 | ||
KernelVersion: 5.16 | ||
Contact: Jacopo Mondi <[email protected]> | ||
Description: | ||
Reading returns the current chip error status. |
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
Documentation/ABI/testing/sysfs-bus-iio-temperature-max31865
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/bus/iio/devices/iio:deviceX/fault_ovuv | ||
KernelVersion: 5.11 | ||
Contact: [email protected] | ||
Description: | ||
Overvoltage or Undervoltage Input fault. The internal circuitry | ||
is protected from excessive voltages applied to the thermocouple | ||
cables at FORCE+, FORCE2, RTDIN+ & RTDIN-. This circuitry turn | ||
off when the input voltage is negative or greater than VDD. | ||
|
||
Reading returns '1' if input voltage is negative or greater | ||
than VDD, otherwise '0'. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_filter_notch_center_frequency | ||
KernelVersion: 5.11 | ||
Contact: [email protected] | ||
Description: | ||
Notch frequency in Hz for a noise rejection filter. Used i.e for | ||
line noise rejection. | ||
|
||
Valid notch filter values are 50 Hz and 60 Hz. |
13 changes: 13 additions & 0 deletions
13
Documentation/ABI/testing/sysfs-bus-platform-devices-occ-hwmon
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,13 @@ | ||
What: /sys/bus/platform/devices/occ-hwmon.X/ffdc | ||
KernelVersion: 5.15 | ||
Contact: [email protected] | ||
Description: | ||
Contains the First Failure Data Capture from the SBEFIFO | ||
hardware, if there is any from a previous transfer. Otherwise, | ||
the file is empty. The data is cleared when it's been | ||
completely read by a user. As the name suggests, only the data | ||
from the first error is saved, until it's cleared upon read. The OCC hwmon driver, running on | ||
a Baseboard Management Controller (BMC), communicates with | ||
POWER9 and up processors over the Self-Boot Engine (SBE) FIFO. | ||
In many error conditions, the SBEFIFO will return error data | ||
indicating the type of error and system state, etc. |
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
Oops, something went wrong.