Re: drm_sched with panfrost crash on T820

2019-10-07 Thread Steven Price
On 04/10/2019 17:33, Koenig, Christian wrote: > > > Am 04.10.2019 18:02 schrieb Steven Price : > On 04/10/2019 16:34, Koenig, Christian wrote: >> Am 04.10.19 um 17:27 schrieb Steven Price: >>> On 04/10/2019 16:03, Neil Armstrong wrote: On 04/10/2019 16:53, Grodzovsky, Andrey wrote: > On

Re: drm_sched with panfrost crash on T820

2019-10-04 Thread Koenig, Christian
Am 04.10.2019 18:02 schrieb Steven Price : On 04/10/2019 16:34, Koenig, Christian wrote: > Am 04.10.19 um 17:27 schrieb Steven Price: >> On 04/10/2019 16:03, Neil Armstrong wrote: >>> On 04/10/2019 16:53, Grodzovsky, Andrey wrote: On 10/3/19 4:34 AM, Neil Armstrong wrote: > Hi Andrey,

Re: drm_sched with panfrost crash on T820

2019-10-04 Thread Steven Price
On 04/10/2019 16:34, Koenig, Christian wrote: > Am 04.10.19 um 17:27 schrieb Steven Price: >> On 04/10/2019 16:03, Neil Armstrong wrote: >>> On 04/10/2019 16:53, Grodzovsky, Andrey wrote: On 10/3/19 4:34 AM, Neil Armstrong wrote: > Hi Andrey, > > Le 02/10/2019 à 16:40, Grodzovsky,

Re: drm_sched with panfrost crash on T820

2019-10-04 Thread Koenig, Christian
Am 04.10.19 um 17:27 schrieb Steven Price: > On 04/10/2019 16:03, Neil Armstrong wrote: >> On 04/10/2019 16:53, Grodzovsky, Andrey wrote: >>> On 10/3/19 4:34 AM, Neil Armstrong wrote: Hi Andrey, Le 02/10/2019 à 16:40, Grodzovsky, Andrey a écrit : > On 9/30/19 10:52 AM, Hillf

Re: drm_sched with panfrost crash on T820

2019-10-04 Thread Steven Price
On 04/10/2019 16:03, Neil Armstrong wrote: > On 04/10/2019 16:53, Grodzovsky, Andrey wrote: >> >> On 10/3/19 4:34 AM, Neil Armstrong wrote: >>> Hi Andrey, >>> >>> Le 02/10/2019 à 16:40, Grodzovsky, Andrey a écrit : On 9/30/19 10:52 AM, Hillf Danton wrote: > On Mon, 30 Sep 2019 11:17:45

Re: drm_sched with panfrost crash on T820

2019-10-04 Thread Neil Armstrong
On 04/10/2019 16:53, Grodzovsky, Andrey wrote: > > On 10/3/19 4:34 AM, Neil Armstrong wrote: >> Hi Andrey, >> >> Le 02/10/2019 à 16:40, Grodzovsky, Andrey a écrit : >>> On 9/30/19 10:52 AM, Hillf Danton wrote: On Mon, 30 Sep 2019 11:17:45 +0200 Neil Armstrong wrote: > Did a new run from

Re: drm_sched with panfrost crash on T820

2019-10-04 Thread Grodzovsky, Andrey
On 10/3/19 4:34 AM, Neil Armstrong wrote: > Hi Andrey, > > Le 02/10/2019 à 16:40, Grodzovsky, Andrey a écrit : >> On 9/30/19 10:52 AM, Hillf Danton wrote: >>> On Mon, 30 Sep 2019 11:17:45 +0200 Neil Armstrong wrote: Did a new run from 5.3: [ 35.971972] Call trace: [

Re: drm_sched with panfrost crash on T820

2019-10-03 Thread Neil Armstrong
Le 02/10/2019 à 18:53, Grodzovsky, Andrey a écrit : > > On 9/30/19 5:17 AM, Neil Armstrong wrote: >> Hi Andrey, >> >> On 27/09/2019 22:55, Grodzovsky, Andrey wrote: >>> Can you please use addr2line or gdb to pinpoint where in >>> drm_sched_increase_karma you hit the NULL ptr ? It looks like

Re: drm_sched with panfrost crash on T820

2019-10-03 Thread Neil Armstrong
Hi Andrey, Le 02/10/2019 à 16:40, Grodzovsky, Andrey a écrit : > > On 9/30/19 10:52 AM, Hillf Danton wrote: >> On Mon, 30 Sep 2019 11:17:45 +0200 Neil Armstrong wrote: >>> Did a new run from 5.3: >>> >>> [ 35.971972] Call trace: >>> [ 35.974391] drm_sched_increase_karma+0x5c/0xf0 >>>

Re: drm_sched with panfrost crash on T820

2019-10-02 Thread Grodzovsky, Andrey
On 9/30/19 5:17 AM, Neil Armstrong wrote: > Hi Andrey, > > On 27/09/2019 22:55, Grodzovsky, Andrey wrote: >> Can you please use addr2line or gdb to pinpoint where in >> drm_sched_increase_karma you hit the NULL ptr ? It looks like the guilty >> job, but to be sure. > Did a new run from 5.3: > > [

Re: drm_sched with panfrost crash on T820

2019-10-02 Thread Neil Armstrong
Hi Andrey, On 02/10/2019 16:40, Grodzovsky, Andrey wrote: > > On 9/30/19 10:52 AM, Hillf Danton wrote: >> On Mon, 30 Sep 2019 11:17:45 +0200 Neil Armstrong wrote: >>> Did a new run from 5.3: >>> >>> [ 35.971972] Call trace: >>> [ 35.974391] drm_sched_increase_karma+0x5c/0xf0 >>>

Re: drm_sched with panfrost crash on T820

2019-10-02 Thread Grodzovsky, Andrey
On 9/30/19 10:52 AM, Hillf Danton wrote: > On Mon, 30 Sep 2019 11:17:45 +0200 Neil Armstrong wrote: >> Did a new run from 5.3: >> >> [ 35.971972] Call trace: >> [ 35.974391] drm_sched_increase_karma+0x5c/0xf0 >> 10667f3810667F94 >>

Re: drm_sched with panfrost crash on T820

2019-10-01 Thread Hillf Danton
On Mon, 30 Sep 2019 11:17:45 +0200 Neil Armstrong wrote: > > Did a new run from 5.3: > > [ 35.971972] Call trace: > [ 35.974391] drm_sched_increase_karma+0x5c/0xf0 > 10667f3810667F94 >

Re: drm_sched with panfrost crash on T820

2019-09-30 Thread Neil Armstrong
Hi Steven, On 27/09/2019 17:00, Steven Price wrote: > On 27/09/2019 12:48, Neil Armstrong wrote: >> Hi, >> >> On 27/09/2019 13:27, Neil Armstrong wrote: >>> Hi Steven, >>> >>> Thanks for your prompt reaction ! >>> >>> On 27/09/2019 12:48, Steven Price wrote: On 27/09/2019 10:55, Steven Price

Re: drm_sched with panfrost crash on T820

2019-09-30 Thread Neil Armstrong
Hi Andrey, On 27/09/2019 22:55, Grodzovsky, Andrey wrote: > Can you please use addr2line or gdb to pinpoint where in > drm_sched_increase_karma you hit the NULL ptr ? It looks like the guilty > job, but to be sure. Did a new run from 5.3: [ 35.971972] Call trace: [ 35.974391]

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Grodzovsky, Andrey
Can you please use addr2line or gdb to pinpoint where in drm_sched_increase_karma you hit the NULL ptr ? It looks like the guilty job, but to be sure. Andrey On 9/27/19 4:12 AM, Neil Armstrong wrote: > Hi Christian, > > In v5.3, running dEQP triggers the following kernel crash : > > [

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Neil Armstrong
On 27/09/2019 17:00, Steven Price wrote: > On 27/09/2019 12:48, Neil Armstrong wrote: >> Hi, >> >> On 27/09/2019 13:27, Neil Armstrong wrote: >>> Hi Steven, >>> >>> Thanks for your prompt reaction ! >>> >>> On 27/09/2019 12:48, Steven Price wrote: On 27/09/2019 10:55, Steven Price wrote:

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Steven Price
On 27/09/2019 12:48, Neil Armstrong wrote: > Hi, > > On 27/09/2019 13:27, Neil Armstrong wrote: >> Hi Steven, >> >> Thanks for your prompt reaction ! >> >> On 27/09/2019 12:48, Steven Price wrote: >>> On 27/09/2019 10:55, Steven Price wrote: >>> [...] One obvious issue with the DRM scheduler

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Neil Armstrong
Hi, On 27/09/2019 13:27, Neil Armstrong wrote: > Hi Steven, > > Thanks for your prompt reaction ! > > On 27/09/2019 12:48, Steven Price wrote: >> On 27/09/2019 10:55, Steven Price wrote: >> [...] >>> One obvious issue with the DRM scheduler is that there is a call to >>> cancel_delayed_work()

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Neil Armstrong
Hi Steven, Thanks for your prompt reaction ! On 27/09/2019 12:48, Steven Price wrote: > On 27/09/2019 10:55, Steven Price wrote: > [...] >> One obvious issue with the DRM scheduler is that there is a call to >> cancel_delayed_work() in drm_sched_stop() which to me looks like it >> should be

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Steven Price
On 27/09/2019 10:55, Steven Price wrote: [...] > One obvious issue with the DRM scheduler is that there is a call to > cancel_delayed_work() in drm_sched_stop() which to me looks like it > should be cancel_delayed_work_sync() to ensure that the timeout handling > has completed. > > However in the

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Steven Price
On 27/09/2019 09:12, Neil Armstrong wrote: > Hi Christian, > > In v5.3, running dEQP triggers the following kernel crash : > > [ 20.224982] Unable to handle kernel NULL pointer dereference at virtual > address 0038 > [...] > [ 20.291064] Hardware name: Khadas VIM2 (DT) > [

drm_sched with panfrost crash on T820

2019-09-27 Thread Neil Armstrong
Hi Christian, In v5.3, running dEQP triggers the following kernel crash : [ 20.224982] Unable to handle kernel NULL pointer dereference at virtual address 0038 [...] [ 20.291064] Hardware name: Khadas VIM2 (DT) [ 20.295217] Workqueue: events drm_sched_job_timedout [...] [