RE: [PATCH] drm/amdkfd: fix boot failure when iommu is disabled in Picasso.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Public]

> -----Original Message-----
> From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, November 3, 2021 1:47 PM
> To: Deucher, Alexander <Alexander.Deucher@xxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx; Zhang, Yifan <Yifan1.Zhang@xxxxxxx>; youling
> <youling257@xxxxxxxxx>; Zhu, James <James.Zhu@xxxxxxx>
> Subject: Re: [PATCH] drm/amdkfd: fix boot failure when iommu is disabled in
> Picasso.
> 
> On Wed, Nov 03, 2021 at 10:52:56AM -0400, Alex Deucher wrote:
> > From: Yifan Zhang <yifan1.zhang@xxxxxxx>
> >
> > When IOMMU disabled in sbios and kfd in iommuv2 path, iommuv2 init
> > will fail. But this failure should not block amdgpu driver init.
> >
> > Bug:
> >
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugz
> >
> illa.kernel.org%2Fshow_bug.cgi%3Fid%3D214859&amp;data=04%7C01%7Cal
> exan
> >
> der.deucher%40amd.com%7C995f91a70fdd40d87e4908d99ef1ffb9%7C3dd89
> 61fe48
> >
> 84e608e11a82d994e183d%7C0%7C0%7C637715584500181786%7CUnknown%
> 7CTWFpbGZ
> >
> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6M
> n0%3
> >
> D%7C1000&amp;sdata=J9BXIQq57fr%2BfvFHNkrPYps0M7JaFzq4mTh3dMNsk
> Xw%3D&am
> > p;reserved=0
> > Bug:
> > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitl
> > ab.freedesktop.org%2Fdrm%2Famd%2F-
> %2Fissues%2F1770&amp;data=04%7C01%7C
> >
> alexander.deucher%40amd.com%7C995f91a70fdd40d87e4908d99ef1ffb9%7
> C3dd89
> >
> 61fe4884e608e11a82d994e183d%7C0%7C0%7C637715584500181786%7CUnkn
> own%7CT
> >
> WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC
> JXVCI
> >
> 6Mn0%3D%7C1000&amp;sdata=OTO7kY60xizpZ0uHUn56OcZG0OzzUoytRnv
> QJfFCABg%3
> > D&amp;reserved=0
> > Reported-by: youling <youling257@xxxxxxxxx>
> > Tested-by: youling <youling257@xxxxxxxxx>
> > Signed-off-by: Yifan Zhang <yifan1.zhang@xxxxxxx>
> > Reviewed-by: James Zhu <James.Zhu@xxxxxxx>
> > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> (cherry
> picked
> > from commit afd18180c07026f94a80ff024acef5f4159084a4)
> > Cc: stable@xxxxxxxxxxxxxxx # 5.14.x
> > ---
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ----
> >  drivers/gpu/drm/amd/amdkfd/kfd_device.c    | 3 +++
> >  2 files changed, 3 insertions(+), 4 deletions(-)
> 
> Now queued up, thanks.

Thanks.  This should go to 5.15.x as well.  I'm not sure if 5.15.x stable is open yet.

Alex

> 
> greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux