Re: [PATCH 1/2] drm/amdgpu: Fix MMIO access page fault

2021-09-17 Thread Andrey Grodzovsky
Note that it already has this protection. Andrey On 2021-09-17 8:04 a.m., James Zhu wrote: typo. vcn_v3_0_sw_init   -->  vcn_v3_0_sw_fini On 2021-09-17 8:00 a.m., James Zhu wrote: Hi Andrey Can you apply this improvement  on vcn_v3_0_sw_init also? With this adding, This patch is Reviewed-by

Re: [PATCH 1/2] drm/amdgpu: Fix MMIO access page fault

2021-09-17 Thread James Zhu
typo. vcn_v3_0_sw_init   -->  vcn_v3_0_sw_fini On 2021-09-17 8:00 a.m., James Zhu wrote: Hi Andrey Can you apply this improvement  on vcn_v3_0_sw_init also? With this adding, This patch is Reviewed-by: James Zhu Thanks & Best Regards! James On 2021-09-17 7:30 a.m., Andrey Grodzovsky wrot

Re: [PATCH 1/2] drm/amdgpu: Fix MMIO access page fault

2021-09-17 Thread James Zhu
Hi Andrey Can you apply this improvement  on vcn_v3_0_sw_init also? With this adding, This patch is Reviewed-by: James Zhu Thanks & Best Regards! James On 2021-09-17 7:30 a.m., Andrey Grodzovsky wrote: Add more guards to MMIO access post device unbind/unplug Bug:https://bugs.archlinux.org/

[PATCH 1/2] drm/amdgpu: Fix MMIO access page fault

2021-09-17 Thread Andrey Grodzovsky
Add more guards to MMIO access post device unbind/unplug Bug:https://bugs.archlinux.org/task/72092?project=1&order=dateopened&sort=desc&pagenum=1 Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 8 ++-- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 17 +++--