RE: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-11 Thread Zhang, Yifan
[Public] Hi youling, Would you pls try this patch ? BRs, Yifan -Original Message- From: youling 257 Sent: Monday, October 11, 2021 2:18 PM To: Zhang, Yifan Cc: Kuehling, Felix ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-11 Thread youling 257
021 2:18 PM > To: Zhang, Yifan > Cc: Kuehling, Felix ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init > > drm/amdgpu: init iommu after amdkfd device init but CONFIG_AMD_IOMMU=y > CONFIG_AMD_IOMMU_V2=y > [0.203386] AMD-Vi:

RE: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-11 Thread Zhang, Yifan
[AMD Official Use Only] Great. Thanks for testing. -Original Message- From: youling 257 Sent: Monday, October 11, 2021 6:20 PM To: Zhang, Yifan Cc: Kuehling, Felix ; amd-gfx@lists.freedesktop.org; Zhu, James Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-11 Thread youling 257
drm/amdgpu: init iommu after amdkfd device init but CONFIG_AMD_IOMMU=y CONFIG_AMD_IOMMU_V2=y [0.203386] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel [0.203387] AMD-Vi: AMD IOMMUv2 functionality not available on this system [7.622052] kfd kfd: amdgpu: Allocated 3969056 bytes on gart [

Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-11 Thread youling257
my kernel config CONFIG_AMD_IOMMU=y CONFIG_AMD_IOMMU_V2=y. linux kernel 5.15rc2 "drm/amdgpu: move iommu_resume before ip init/resume" cause my amd 3400g suspend to disk resume failed, have to press power button to force shutdown. linux kernel 5.15rc5 "drm/amdgpu: init iommu after amdkfd device in

RE: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-10 Thread Zhang, Yifan
[AMD Official Use Only] Hi youling, Would you please send out the full dmesg ? BRs, Yifan -Original Message- From: youling 257 Sent: Monday, October 11, 2021 2:18 PM To: Zhang, Yifan Cc: Kuehling, Felix ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu

Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-04 Thread Zhu, James
Thanks & Best Regards! James Zhu From: Kuehling, Felix Sent: Monday, October 4, 2021 11:00 AM To: Zhang, Yifan ; Zhu, James ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init I'm trying to unde

Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-04 Thread Felix Kuehling
ix <mailto:felix.kuehl...@amd.com>> > *Sent:* Tuesday, September 28, 2021 11:41 AM > *To:* Zhang, Yifan <mailto:yifan1.zh...@amd.com>>; amd-gfx@lists.freedesktop.org > <mailto:amd-gfx@lists.freedesktop.org> <mailto:amd-gfx@lists.freedesktop.org>>; Zhu

RE: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-10-04 Thread Zhang, Yifan
Sent: Wednesday, September 29, 2021 9:19 PM To: Kuehling, Felix ; Zhang, Yifan ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init [AMD Official Use Only] H Felix, Since the previous patch can help on PCO suspend/resume hung issue. Let me

Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-09-29 Thread Zhu, James
mber 28, 2021 11:41 AM To: Zhang, Yifan ; amd-gfx@lists.freedesktop.org ; Zhu, James Subject: Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init [+James] This basically undoes James's change "drm/amdgpu: move iommu_resume before ip init/resume". I assume James made his

Re: [PATCH 2/2] drm/amdgpu: init iommu after amdkfd device init

2021-09-28 Thread Felix Kuehling
[+James] This basically undoes James's change "drm/amdgpu: move iommu_resume before ip init/resume". I assume James made his change for a reason. Can you please discuss the issue with him and determine a solution that solves both your problem and his? If James' patch series was a mistake, I'd pre