RE: [PATCH v2] scsi: ufs: Allow RTT negotiation

From: Avri Altman
Date: Mon May 13 2024 - 12:20:11 EST


> On Mon, 2024-05-13 at 10:38 +0000, Avri Altman wrote:
> >
> > External email : Please do not click links or open attachments until
> > you have verified the sender or the content.
> > > >
> > > > + hba->nortt = FIELD_GET(MASK_NUMBER_OUTSTANDING_RTT, hba-
> > > > >capabilities) + 1;
> > > >
> > >
> > > Hi Arvi.
> > >
> > > Get nortt from NUTRS will have problem in mediatek platform.
> > Not sure I follow - nortt has its own slot in the host capabilities -
> > MASK_NUMBER_OUTSTANDING_RTT.
> >
> > Thanks,
> > Avri
> >
>
> Hi Avri,
>
> Sorry, NORTTS value still cannot direct use in mediatek platform.
> Hope we can have ops to set real host RTTs.
OK. Will allow platform vendors to override this default behavior.

Thanks,
Avri

>
> Thanks.
> Peter
>
>
>
>
> > > The NUTRS in medatek platfrom is 32 or 64, but actually host rtt
> > support is
> > > only 2.
> > > Please add new vops for host the set real rtt support.
> > >
> > > Thanks.
> > > Peter
> > >
> >
> >