Increase tlb flush timeout for sriov
Subsystems (2)
PATCH 1/1 Increase tlb flush timeout for sriov
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +++++- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +5 -1
@@ -419,6 +419,7 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
@@ -437,7 +438,10 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);return -ETIME ;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +5 -1
@@ -896,6 +896,7 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
@@ -935,7 +936,10 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);up_read (&adev->reset_domain->sem);
Signature · 1 line
2.25.1
[AMD Official Use Only - General]
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Dusica Milinkovic
Sent: August 3, 2022 5:02 AM
To: [email protected]
Cc: Milinkovic, Dusica <[email protected]>
Subject: [PATCH] Increase tlb flush timeout for sriov
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +++++- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +2 -0
@@ -419,6 +419,7 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for +SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
@@ -437,7 +438,10 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,
amdgpu_ring_commit(ring); spin_unlock(&adev->gfx.kiq.ring_lock);
- r = amdgpu_fence_wait_polling(ring, seq, adev->usec_timeout);
+ if (amdgpu_sriov_vf(adev))
+ r = amdgpu_fence_wait_polling(ring, seq, sriov_usec_timeout);
+ else
+ r = amdgpu_fence_wait_polling(ring, seq, adev->usec_timeout);
if (r < 1) {
dev_err(adev->dev, "wait for kiq fence error: %ld.\n", r); return -ETIME;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +2 -0
@@ -896,6 +896,7 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for +SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
@@ -935,7 +936,10 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,
amdgpu_ring_commit(ring); spin_unlock(&adev->gfx.kiq.ring_lock);
- r = amdgpu_fence_wait_polling(ring, seq, adev->usec_timeout);
+ if (amdgpu_sriov_vf(adev))
+ r = amdgpu_fence_wait_polling(ring, seq, sriov_usec_timeout);
+ else
+ r = amdgpu_fence_wait_polling(ring, seq, adev->usec_timeout);
if (r < 1) {
dev_err(adev->dev, "wait for kiq fence error: %ld.\n", r); up_read(&adev->reset_domain->sem);
--
2.25.1
Quoted 1 line · Dusica Milinkovic
Please include a patch description. Why do you need a longer timeout?
What problem does it fix?
Quoted 19 lines
Signed-off-by Dusica Milinkovic <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +++++- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1
-0@@ -419,6 +419,7 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 444
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +4
-1@@ -437,7 +438,10 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
What about something like this?
u32 usec_timeout = amdgpu_sriov_vf(adev) ? 6000000 :adev->usec_timeout; /* wait for 12 * 500ms for SRIOV */
...
r = amdgpu_fence_wait_polling(ring, seq, usec_timeout);
Quoted 16 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +0
-0if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);return -ETIME ;drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1
-0@@ -896,6 +896,7 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 942
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +4
-1@@ -935,7 +936,10 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
Same comment here.
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0
-1if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);up_read (&adev->reset_domain->sem); --2.25.1
As I discussed with Alice ,this change is when multi-vf running compute benchmark (Luxmark) at the same time, which involves multiple vf do the tlb invalidation at the same time. They observed kiq timeout after submit the tlb invalidate command. Although each vf has the invalidate register set, but from hw, the invalidate requests are queue to execute.
Alice, as we discussed, we can use maximum 12*100ms for the timeout , it shouldn't be 6000ms. Did you see issues with 1200 ms timeout?
Regards
Shaoyun.liu
________________________________
From: amd-gfx <[email protected]> on behalf of Alex Deucher <[email protected]>
Sent: August 8, 2022 4:49 PM
To: Milinkovic, Dusica <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [PATCH] Increase tlb flush timeout for sriov
Quoted 1 line · Dusica Milinkovic
Please include a patch description. Why do you need a longer timeout?
What problem does it fix?
Quoted 19 lines
Signed-off-by Dusica Milinkovic <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +++++- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1
-0@@ -419,6 +419,7 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 444
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +4
-1@@ -437,7 +438,10 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
What about something like this?
u32 usec_timeout = amdgpu_sriov_vf(adev) ? 6000000 :adev->usec_timeout; /* wait for 12 * 500ms for SRIOV */
...
r = amdgpu_fence_wait_polling(ring, seq, usec_timeout);
Quoted 16 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +0
-0if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);return -ETIME ;drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1
-0@@ -896,6 +896,7 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 942
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +4
-1@@ -935,7 +936,10 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
Same comment here.
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0
-1if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);up_read (&adev->reset_domain->sem); --2.25.1
[AMD Official Use Only - General]
Hello all,
I just checked this with 1200ms for timeout, test case successfully passed 10 loops. If all of you agree, I will change a value in the patch.
Regards,
Dusica
From: Liu, Shaoyun <[email protected]>
Sent: Tuesday, August 9, 2022 12:31 AM
To: Alex Deucher <[email protected]>; Milinkovic, Dusica <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] Increase tlb flush timeout for sriov
As I discussed with Alice ,this change is when multi-vf running compute benchmark (Luxmark) at the same time, which involves multiple vf do the tlb invalidation at the same time. They observed kiq timeout after submit the tlb invalidate command. Although each vf has the invalidate register set, but from hw, the invalidate requests are queue to execute.
Alice, as we discussed, we can use maximum 12*100ms for the timeout , it shouldn't be 6000ms. Did you see issues with 1200 ms timeout?
Regards
Shaoyun.liu
________________________________
From: amd-gfx <[email protected]<mailto:[email protected]>> on behalf of Alex Deucher <[email protected]<mailto:[email protected]>>
Sent: August 8, 2022 4:49 PM
To: Milinkovic, Dusica <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
Subject: Re: [PATCH] Increase tlb flush timeout for sriov
Quoted 1 line · On Wed, Aug 3, 2022 at 5:02 AM Dusica Milinkovic…
Please include a patch description. Why do you need a longer timeout?
What problem does it fix?
Quoted 19 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +++++- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1
-0@@ -419,6 +419,7 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 444
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +4
-1@@ -437,7 +438,10 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
What about something like this?
u32 usec_timeout = amdgpu_sriov_vf(adev) ? 6000000 :adev->usec_timeout; /* wait for 12 * 500ms for SRIOV */
...
r = amdgpu_fence_wait_polling(ring, seq, usec_timeout);
Quoted 16 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +0
-0if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);return -ETIME ;drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1
-0@@ -896,6 +896,7 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 942
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +4
-1@@ -935,7 +936,10 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
Same comment here.
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0
-1if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);up_read (&adev->reset_domain->sem); --2.25.1
Deucher, Alexander
maintainer[AMD Official Use Only - General]
Please add these details to the patch description when you respin.
________________________________
From: amd-gfx <[email protected]> on behalf of Liu, Shaoyun <[email protected]>
Sent: Monday, August 8, 2022 6:30 PM
To: Alex Deucher <[email protected]>; Milinkovic, Dusica <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [PATCH] Increase tlb flush timeout for sriov
As I discussed with Alice ,this change is when multi-vf running compute benchmark (Luxmark) at the same time, which involves multiple vf do the tlb invalidation at the same time. They observed kiq timeout after submit the tlb invalidate command. Although each vf has the invalidate register set, but from hw, the invalidate requests are queue to execute.
Alice, as we discussed, we can use maximum 12*100ms for the timeout , it shouldn't be 6000ms. Did you see issues with 1200 ms timeout?
Regards
Shaoyun.liu
________________________________
From: amd-gfx <[email protected]> on behalf of Alex Deucher <[email protected]>
Sent: August 8, 2022 4:49 PM
To: Milinkovic, Dusica <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [PATCH] Increase tlb flush timeout for sriov
Quoted 1 line · Dusica Milinkovic
Please include a patch description. Why do you need a longer timeout?
What problem does it fix?
Quoted 19 lines
Signed-off-by Dusica Milinkovic <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +++++- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +1
-0@@ -419,6 +419,7 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 444
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +4
-1@@ -437,7 +438,10 @@ static int gmc_v10_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
What about something like this?
u32 usec_timeout = amdgpu_sriov_vf(adev) ? 6000000 :adev->usec_timeout; /* wait for 12 * 500ms for SRIOV */
...
r = amdgpu_fence_wait_polling(ring, seq, usec_timeout);
Quoted 16 lines
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +0
-0if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);return -ETIME ;drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1
-0@@ -896,6 +896,7 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,uint32_t seq;uint16_t queried_pasid;bool ret; +uint32_t sriov_usec_timeout =6000000 ;/* wait for 12 * 500ms for SRIOV */ struct amdgpu_ring *ring = &adev->gfx.kiq.ring;struct amdgpu_kiq *kiq = &adev->gfx.kiq;
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, · line 942
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +4
-1@@ -935,7 +936,10 @@ static int gmc_v9_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,amdgpu_ring_commit (ring);spin_unlock (&adev->gfx.kiq.ring_lock); - r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout); +if (amdgpu_sriov_vf (adev)) + r =amdgpu_fence_wait_polling (ring, seq, sriov_usec_timeout); +else + r =amdgpu_fence_wait_polling (ring, seq, adev->usec_timeout);
Same comment here.
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0
-1if (r <1 ) {dev_err (adev->dev,"wait for kiq fence error: %ld.\n" , r);up_read (&adev->reset_domain->sem); --2.25.1