mbox series

[0/2] ufs: core: Add support for qTimestamp attribute

Message ID 1677078770-30994-1-git-send-email-Arthur.Simchaev@wdc.com
Headers show
Series ufs: core: Add support for qTimestamp attribute | expand

Message

Arthur Simchaev Feb. 22, 2023, 3:12 p.m. UTC
The new qTimestamp attribute was added to UFS 4.0 spec, in order to
synchronize timestamp between device logs and the host. Due to this
attribute, the attribute's max value was extended to 8 bytes. As a result,
we need to adjust the definition of struct utp_upiu_query.

Arthur Simchaev (2):
  include: uapi: scsi: Change utp_upiu_query struct
  ufs: core: Providing Timestamp information to the device

 drivers/ufs/core/ufs_bsg.c       |  2 +-
 drivers/ufs/core/ufshcd.c        | 62 +++++++++++++++++++++++++++++++---------
 include/uapi/scsi/scsi_bsg_ufs.h | 17 +++++------
 include/ufs/ufs.h                |  1 +
 4 files changed, 59 insertions(+), 23 deletions(-)