Re: [PATCH v5 4/5] drm/amdgpu: address remove from fault filter

2021-04-28 Thread philip yang
On 2021-04-28 5:00 a.m., Christian König wrote: Am 28.04.21 um 09:53 schrieb Felix Kuehling: Am 2021-04-28 um 2:54 a.m. schrieb Christian König: Am 27.04.21 um 20:21 schrieb Felix Kuehling:

Re: [PATCH v5 4/5] drm/amdgpu: address remove from fault filter

2021-04-28 Thread Christian König
Am 28.04.21 um 09:53 schrieb Felix Kuehling: Am 2021-04-28 um 2:54 a.m. schrieb Christian König: Am 27.04.21 um 20:21 schrieb Felix Kuehling: On 2021-04-27 10:51 a.m., Philip Yang wrote: Add interface to remove address from fault filter ring by resetting fault ring entry key, then future vm

Re: [PATCH v5 4/5] drm/amdgpu: address remove from fault filter

2021-04-28 Thread Felix Kuehling
Am 2021-04-28 um 2:54 a.m. schrieb Christian König: > Am 27.04.21 um 20:21 schrieb Felix Kuehling: >> On 2021-04-27 10:51 a.m., Philip Yang wrote: >>> Add interface to remove address from fault filter ring by resetting >>> fault ring entry key, then future vm fault on the address will be >>> proces

Re: [PATCH v5 4/5] drm/amdgpu: address remove from fault filter

2021-04-27 Thread Christian König
Am 27.04.21 um 20:21 schrieb Felix Kuehling: On 2021-04-27 10:51 a.m., Philip Yang wrote: Add interface to remove address from fault filter ring by resetting fault ring entry key, then future vm fault on the address will be processed to recover. Define fault key as atomic64_t type to use atomic

Re: [PATCH v5 4/5] drm/amdgpu: address remove from fault filter

2021-04-27 Thread Felix Kuehling
On 2021-04-27 10:51 a.m., Philip Yang wrote: Add interface to remove address from fault filter ring by resetting fault ring entry key, then future vm fault on the address will be processed to recover. Define fault key as atomic64_t type to use atomic read/set/cmpxchg key to protect fault ring ac

[PATCH v5 4/5] drm/amdgpu: address remove from fault filter

2021-04-27 Thread Philip Yang
Add interface to remove address from fault filter ring by resetting fault ring entry key, then future vm fault on the address will be processed to recover. Define fault key as atomic64_t type to use atomic read/set/cmpxchg key to protect fault ring access by interrupt handler and interrupt deferre