Re: Probing nvme disks fails on Upstream kernels on powerpc Maxconfig

From: Srikar Dronamraju
Date: Mon May 22 2023 - 07:14:30 EST


* Michael Ellerman <mpe@xxxxxxxxxxxxxx> [2023-05-22 17:41:22]:

> Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx> writes:
> > * Alexey Kardashevskiy <aik@xxxxxxxxx> [2023-04-13 22:09:22]:
> >
> >> > > On 23.03.23 10:53, Srikar Dronamraju wrote:
> >> > > >
> > Hi Alexey, Michael
> >
> > Sorry for the late reply, but I didnt have access to this large system.
> > This weekend, I did get access and tested with the patch. However it didn't
> > help much, system is still stuck at dracut with similar message except the
> > trace.
> >
> > However this patch
> > https://lore.kernel.org/all/20230418204401.13168-1-gbatra@xxxxxxxxxxxxxxxxxx/
> > from Gaurav Batra does solve this issue.
>
> Thanks.
>
> There was a v3 of that patch:
> https://lore.kernel.org/all/20230504175913.83844-1-gbatra@xxxxxxxxxxxxxxxxxx/
>
> Which is merged now into mainline as:
> 096339ab84f3 ("powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs")
>
> Presumably it also fixes the bug for you, so I'll mark this as fixed,
> but if you can test that exact commit that would be good to confirm the
> bug is fixed in mainline.
>

Yes verified with mainline kernel and also with the v3.
This patch/commit does fix it.

--
Thanks and Regards
Srikar Dronamraju