[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e17d1ee9-7383-6717-6f10-9465b273b1ed@amd.com>
Date: Fri, 17 Feb 2023 10:53:11 +0530
From: Vasant Hegde <vasant.hegde@....com>
To: Matt Fagnani <matt.fagnani@...l.net>,
Felix Kuehling <felix.kuehling@....com>,
Bjorn Helgaas <helgaas@...nel.org>,
Baolu Lu <baolu.lu@...ux.intel.com>,
"Huang, Shimmer" <Shimmer.Huang@....com>,
"Liu, Aaron" <Aaron.Liu@....com>, Jason Gunthorpe <jgg@...dia.com>
Cc: Joerg Roedel <jroedel@...e.de>,
"regressions@...ts.linux.dev" <regressions@...ts.linux.dev>,
Thorsten Leemhuis <regressions@...mhuis.info>,
Linux PCI <linux-pci@...r.kernel.org>,
"Pan, Xinhui" <Xinhui.Pan@....com>, amd-gfx@...ts.freedesktop.org,
LKML <linux-kernel@...r.kernel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
"iommu@...ts.linux.dev" <iommu@...ts.linux.dev>,
"Deucher, Alexander" <Alexander.Deucher@....com>,
Christian König <christian.koenig@....com>
Subject: Re: [regression, bisected, pci/iommu] Bug 216865 - Black screen when amdgpu started during 6.2-rc1 boot with AMD IOMMU enabled
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 that the IOMMU wasn't restarted when amdgpu and
> amdkfd was starting though at kernel: kfd kfd: amdgpu: Failed to resume IOMMU
> for device 1002:9874. I don't know if those IOMMU errors were expected or not,
This patch is not for fixing PASID enablement issue. Its more of gracefully
handling the error path.
This means patch worked in expected way. i. e. It failed to enable PASID because
of original patch (commit 201007ef70), it didn't attach devices to new domain
and attach devices back to default domain.
It returned error to GPU saying we couldn't enable PASID/PRI. Hence we saw above
error message.
-Vasant
Powered by blists - more mailing lists