RE: [PATCH v2 1/1] scsi: ufs: Remove support for old UFSHCI versions

From: Avri Altman
Date: Thu Apr 04 2024 - 03:22:40 EST


> On 4/3/24 12:24, Avri Altman wrote:
> >> On 3/27/24 00:17, Avri Altman wrote:
> >>> UFS spec version 2.1 was published more than 10 years ago. It is
> >>> vanishingly unlikely that even there are out there platforms that uses
> >>> earlier host controllers, let alone that those ancient platforms will
> >>> ever run a V6.10 kernel. Thus, remove support of host controllers prior
> >>> to UFS2.1.
> >>
> >> According to this website, Pixel 1 devices have a UFSHCI 2.0 controller:
> >> https://www.gsmarena.com/google_pixel-8346.php. There may be other
> >> smartphones that have a UFSHCI 2.0 controller. Hence, I'm not sure we
> >> can drop support for UFSHCI 2.0 controllers from the kernel.
> > Actually the Pixel 1 is an excellent example why we can and should -
> > It was announced in 2016, running Android 7 with a v4.4 kernel.
> > Even if you would be able to find a working specimen of that device -
> > It is not realistic it would ever run a 6.10 kernel.
>
> v4.4 is the kernel version of the kernel included in the original
> software. Multiple users of older smartphones switch to alternative
> distributions once their device is no longer supported by the
> manufacturer. These alternatives often include a more recent kernel.
> See e.g. https://en.wikipedia.org/wiki/List_of_custom_Android_distributions.
OK.
What about references of UFSHCI1.0 & UFSHCI1.1?
Is it safe to remove those?

Thanks,
Avri

>
> Thanks,
>
> Bart.