Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-27 Thread Christian König
Am 26.05.21 um 18:43 schrieb Luben Tuikov: On Context Query2 IOCTL return the correctable and uncorrectable errors in O(1) fashion, from cached values, and schedule a delayed work function to calculate and cache them for the next such IOCTL. v2: Cancel pending delayed work at ras_fini(). v3:

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Deucher, Alexander
delayed work to collect RAS error counters On Context Query2 IOCTL return the correctable and uncorrectable errors in O(1) fashion, from cached values, and schedule a delayed work function to calculate and cache them for the next such IOCTL. v2: Cancel pending delayed work at ras_fini(). v3

[PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Luben Tuikov
On Context Query2 IOCTL return the correctable and uncorrectable errors in O(1) fashion, from cached values, and schedule a delayed work function to calculate and cache them for the next such IOCTL. v2: Cancel pending delayed work at ras_fini(). v3: Remove conditionals when dealing with delayed

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Alex Deucher
edule > the delayed work. > > Regards, > Luben > > > Thanks, > > Lijo > > > > -Original Message- > > From: amd-gfx On Behalf Of Luben > > Tuikov > > Sent: Saturday, May 22, 2021 2:49 AM > > To: amd-gfx@lists.freedeskto

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Lazar, Lijo
, 2021 8:42:29 PM To: Lazar, Lijo ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Clements, John ; Koenig, Christian ; Zhang, Hawking Subject: Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters On 2021-05-26 7:00 a.m., Lazar, Lijo wrote: > [AMD Official Use O

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Luben Tuikov
Luben > Tuikov > Sent: Saturday, May 22, 2021 2:49 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Tuikov, Luben > ; Clements, John ; Koenig, > Christian ; Zhang, Hawking > Subject: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error > c

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Luben Tuikov
On 2021-05-26 6:15 a.m., Christian König wrote: > Am 26.05.21 um 02:40 schrieb Luben Tuikov: >> On Context Query2 IOCTL return the correctable and >> uncorrectable errors in O(1) fashion, from cached >> values, and schedule a delayed work function to >> calculate and cache them for the next such

RE: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Lazar, Lijo
22, 2021 2:49 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Tuikov, Luben ; Clements, John ; Koenig, Christian ; Zhang, Hawking Subject: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters On Context Query2 IOCTL return the correctable and uncorrectable errors

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-26 Thread Christian König
Am 26.05.21 um 02:40 schrieb Luben Tuikov: On Context Query2 IOCTL return the correctable and uncorrectable errors in O(1) fashion, from cached values, and schedule a delayed work function to calculate and cache them for the next such IOCTL. v2: Cancel pending delayed work at ras_fini(). Cc:

[PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-25 Thread Luben Tuikov
On Context Query2 IOCTL return the correctable and uncorrectable errors in O(1) fashion, from cached values, and schedule a delayed work function to calculate and cache them for the next such IOCTL. v2: Cancel pending delayed work at ras_fini(). Cc: Alexander Deucher Cc: Christian König Cc:

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-25 Thread Luben Tuikov
On 2021-05-25 6:03 p.m., Alex Deucher wrote: > On Fri, May 21, 2021 at 5:19 PM Luben Tuikov wrote: >> On Context Query2 IOCTL return the correctable and >> uncorrectable errors in O(1) fashion, from cached >> values, and schedule a delayed work function to >> calculate and cache them for the next

Re: [PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-25 Thread Alex Deucher
On Fri, May 21, 2021 at 5:19 PM Luben Tuikov wrote: > > On Context Query2 IOCTL return the correctable and > uncorrectable errors in O(1) fashion, from cached > values, and schedule a delayed work function to > calculate and cache them for the next such IOCTL. Patches 1, 2, are: Reviewed-by:

[PATCH 3/3] drm/amdgpu: Use delayed work to collect RAS error counters

2021-05-21 Thread Luben Tuikov
On Context Query2 IOCTL return the correctable and uncorrectable errors in O(1) fashion, from cached values, and schedule a delayed work function to calculate and cache them for the next such IOCTL. Cc: Alexander Deucher Cc: Christian König Cc: John Clements Cc: Hawking Zhang Signed-off-by: