All of lore.kernel.org
 help / color / mirror / Atom feed
* UFS Help: OCS is returning invalid (0x7)
@ 2016-01-27 16:58 Joao Pinto
  0 siblings, 0 replies; only message in thread
From: Joao Pinto @ 2016-01-27 16:58 UTC (permalink / raw)
  To: akinobu.mita, hch, ygardi, Gilad Broner, Subhash Jadavani
  Cc: linux-scsi, Carlos Palminha

Hi!
I am currently working in the implementation of DesignWare Quirks in the
existing UFS core and implementing a glue platform driver.
The project status is the following:

- Synopsys MPHY Test Chip is well configured
- Link is up in Host & Device (validated through the 0xd083 register)
- Additional connection setup are made successfully
- HBA is operational
- NOP_OUT is failing with OCS = 0x7

The OCS value is calculated in ufshcd_get_tr_ocs() in ufshcd.c.
I made a dump of the UTRD pointer where we can check the status = 7 ([2]).

UTRD at: 7007c3e0
@0000 [0]:21000000
@0004 [1]:93936a6a
@0008 [2]:00000007
@000c [3]:93936a6a
@0010 [4]:9f317400
@0014 [5]:00000000
@0018 [6]:00800080
@001c [7]:01006a6a

Did anyone have the same problem? Any hints to overcome this issue?

Thank you very much for your help!

Joao

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-27 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 16:58 UFS Help: OCS is returning invalid (0x7) Joao Pinto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.