RE: [PATCH v2 6/8] scsi: ufs: Add API to execute raw upiu commands

2018-08-09 Thread Avri Altman
nayak Holikatti ; Avi Shchislowski ; Alex Lemberg ; Stanislav Nijnikov ; > subha...@codeaurora.org > Subject: Re: [PATCH v2 6/8] scsi: ufs: Add API to execute raw upiu commands > > On Sun, 2018-08-05 at 14:39 +0300, Avri Altman wrote: > > + lrbp->command_typ

Re: [PATCH v2 6/8] scsi: ufs: Add API to execute raw upiu commands

2018-08-08 Thread Bart Van Assche
On Sun, 2018-08-05 at 14:39 +0300, Avri Altman wrote: > + lrbp->command_type = (hba->ufs_version == UFSHCI_VERSION_10 || > + hba->ufs_version == UFSHCI_VERSION_11) ? > + UTP_CMD_TYPE_DEV_MANAGE : > +

[PATCH v2 6/8] scsi: ufs: Add API to execute raw upiu commands

2018-08-05 Thread Avri Altman
The UFS host software uses a combination of a host register set, and Transfer Request Descriptors in system memory to communicate with host controller hardware. In its mmio space, a separate places are assigned to UTP Transfer Request Descriptor ("utrd") list, and to UTP Task Management Request