[PATCH v1 0/4] Add ioctl and debug utilities to UFS driver

From: Gilad Broner
Date: Tue Feb 03 2015 - 10:37:35 EST


This patch series introduces in the first change a new UFS ioctl,
allowing user-space to send UFS queries and retrieve information from them.
In addition, the other three patches add utilities to support debugging
efforts and supply information that will help analysis of issue:
UFS trace events, dump host controller registers and requests descriptors
on failures, several statistics.

Dolev Raviv (1):
scsi: ufs: add ioctl interface for query request

Gilad Broner (1):
scsi: ufs: add trace events and dump prints for debug

Lee Susman (1):
scsi: ufs: add debugfs for ufs

Sujit Reddy Thumma (1):
scsi: ufs: inject errors to verify error handling

drivers/scsi/ufs/Makefile | 1 +
drivers/scsi/ufs/debugfs.c | 1038 +++++++++++++++++++++++++++++++++++++++++
drivers/scsi/ufs/debugfs.h | 42 ++
drivers/scsi/ufs/ufs-qcom.c | 53 +++
drivers/scsi/ufs/ufs.h | 53 +--
drivers/scsi/ufs/ufshcd.c | 964 ++++++++++++++++++++++++++++++++++++--
drivers/scsi/ufs/ufshcd.h | 115 +++++
drivers/scsi/ufs/ufshci.h | 3 +
include/linux/ftrace_event.h | 3 +
include/trace/events/ufs.h | 227 +++++++++
include/uapi/scsi/Kbuild | 1 +
include/uapi/scsi/ufs/Kbuild | 3 +
include/uapi/scsi/ufs/ioctl.h | 57 +++
include/uapi/scsi/ufs/ufs.h | 66 +++
lib/Kconfig.debug | 14 +
15 files changed, 2556 insertions(+), 84 deletions(-)
create mode 100644 drivers/scsi/ufs/debugfs.c
create mode 100644 drivers/scsi/ufs/debugfs.h
create mode 100644 include/trace/events/ufs.h
create mode 100644 include/uapi/scsi/ufs/Kbuild
create mode 100644 include/uapi/scsi/ufs/ioctl.h
create mode 100644 include/uapi/scsi/ufs/ufs.h
--
1.8.5.2

--
Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/