Thread (10 messages) 10 messages, 2 authors, 7d ago

Re: [PATCH v3 1/4] drm/ras: Introduce error threshold

From: Raag Jadav <raag.jadav@intel.com>
Date: 2026-06-17 06:19:43
Also in: dri-devel, intel-xe

On Mon, Jun 15, 2026 at 02:26:05PM +0530, Tauro, Riana wrote:
On 05-06-2026 00:16, Raag Jadav wrote:
quoted
Add get-error-threshold and set-error-threshold command support which
allows querying/setting error threshold of the counter. Threshold in RAS
context means the number of errors the hardware is expected to accumulate
before it raises them to software. This is to have a fine grained control
over error notifications that are raised by the hardware.
...
quoted
+ *     + The driver can optionally implement query_error_threshold() and
+ *       set_error_threshold() callbacks to facilitate getting/setting error
+ *       threshold of the counter. Threshold in RAS context means the number of
+ *       errors the hardware is expected to accumulate before it raises them to
+ *       software. This is to have a fine grained control over error notifications
+ *       that are raised by the hardware.
+ *     + The driver is responsible for error threshold bounds checking.
Can the threshold be set to 0? What should the behaviour be?
Some may want it to be invalid while some may want it to act as a "disable
notifications" toggle. So it's upto the drivers and their usecases, not for
us to decide. Will add this.

Raag
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help