mmc: Add h/w command queuing feature support
- Set cmdq_support and cmdq_depth values only
when cmdq support is enabled
- Select ADMA3_CQE as dma mode before switching
to eMMC CQ mode
- Set link descriptor length with right values
- Clear cmdq interrupt and analyze the interrupt
status register for any errors and added callback
in mmc_host_ops structure
- Update bytes_xfered filed after request is served
- Freeing the allocated descriptors
- Use polling for checking cmdq halt status
- resolve conflicts with upstreamed HW CQ patch
Bug
200070209
Bug
200193440
Change-Id: I01237b28e7f4940c589b75c945048116bd72f397
Reviewed-on: http://git-master/r/779448
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Change-Id: Icbc1a9da07a3db4fb52bc8adcb1c2722f49557af
Reviewed-on: http://git-master/r/
1166878
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>