Re: 6.10/regression/bisected commit c4cb23111103 causes sleeping function called from invalid context at kernel/locking/mutex.c:585

2024-05-21 Thread Vasant Hegde
_pfx_kernel_init_freeable+0x10/0x10 > [4.307243] ? __pfx_kernel_init+0x10/0x10 > [4.307243] ? __pfx_kernel_init+0x10/0x10 > [4.307243] kernel_init+0x1c/0x150 > [ 4.307243] ? __pfx_kernel_init+0x10/0x10 > [4.307243] ret_from_fork+0x31/0x70 > [4.30

Re: [PATCH] iommu/amd: fix the address translation issue when do detach

2023-07-28 Thread Vasant Hegde
tlab.freedesktop.org/drm/amd/-/issues/2659 > > Disable address translation service, before detach device. > Do detach will clear the page table point or pasid table entries, > so all DMA requests from the device should be blocked before that. > > Signed-off-by: Jesse Zhang Thanks Jesse for tracking down the issue. Patch looks good to me. Reviewed-by: Vasant Hegde -Vasant

Re: [regression, bisected, pci/iommu] Bug 216865 - Black screen when amdgpu started during 6.2-rc1 boot with AMD IOMMU enabled

2023-02-16 Thread Vasant Hegde
Hi Felix, On 2/17/2023 1:29 AM, Felix Kuehling wrote: >> Feb 16 13:22:32 kernel: kfd kfd: amdgpu: Failed to resume IOMMU for device >> 1002:9874 >> Feb 16 13:22:32 kernel: kfd kfd: amdgpu: device 1002:9874 NOT added due to >> errors > This look like IOMMU device initialization still fails (but

Re: [regression, bisected, pci/iommu] Bug 216865 - Black screen when amdgpu started during 6.2-rc1 boot with AMD IOMMU enabled

2023-02-16 Thread Vasant Hegde
Matt, Thanks a lot for testing and the dmesg log. On 2/17/2023 12:29 AM, Matt Fagnani wrote: > Vasant, > > I applied your four patches to 6.2-rc8 and built that. The black screen, null > pointer dereference, and warnings didn't happen when booting 6.2-rc8 with your > patches. There were errors

Re: [regression, bisected, pci/iommu] Bug 216865 - Black screen when amdgpu started during 6.2-rc1 boot with AMD IOMMU enabled

2023-02-15 Thread Vasant Hegde
Hi Jason, On 2/16/2023 6:14 AM, Jason Gunthorpe wrote: > On Wed, Feb 15, 2023 at 07:35:45PM -0500, Felix Kuehling wrote: >> >> If I understand this correctly, the HW or the BIOS is doing something wrong >> about reporting ACS. I don't know what the GPU driver can do other than add >> some quirk

Re: [regression, bisected, pci/iommu] Bug 216865 - Black screen when amdgpu started during 6.2-rc1 boot with AMD IOMMU enabled

2023-02-15 Thread Vasant Hegde
elix Kuehling wrote: >>>> Am 2023-01-05 um 09:46 schrieb Deucher, Alexander: >>>>>> -Original Message- >>>>>> From: Hegde, Vasant >>>>>> On 1/5/2023 4:07 PM, Baolu Lu wrote: >>>>>>> On 2023/1/5 18

Re: amd iommu configuration

2022-09-05 Thread Vasant Hegde
Steven, [+Felix, amd-fgx list] On 9/3/2022 4:29 AM, Steven J Abner wrote: > Hi > I was referred to you from linux-ker...@vger.kernel.org about the following > issue. > Here is as was written: > On 9/1/22 11:36, Steven J Abner wrote: > Hi > Building a kernel tailored for AMD 2400g on ASRock