[PATCH V3 0/4] mmc: add error statistics for eMMC and SD card

Shaik Sajida Bhanu posted 4 patches 4 years, 5 months ago
There is a newer version of this series
drivers/mmc/core/core.c       |  8 +++++
drivers/mmc/core/debugfs.c    | 81 +++++++++++++++++++++++++++++++++++++++++++
drivers/mmc/core/queue.c      |  3 ++
drivers/mmc/host/cqhci-core.c |  9 ++++-
drivers/mmc/host/sdhci-msm.c  |  3 ++
drivers/mmc/host/sdhci.c      | 72 +++++++++++++++++++++++++++++++-------
include/linux/mmc/host.h      | 31 +++++++++++++++++
7 files changed, 194 insertions(+), 13 deletions(-)
[PATCH V3 0/4] mmc: add error statistics for eMMC and SD card
Posted by Shaik Sajida Bhanu 4 years, 5 months ago
Changes since V2:
	-Removed userspace error stats clear debug fs entry as suggested by Adrain Hunter.
	-Split patch into 4 patches
		[PATCH V3 1/4] : sdhci driver
		[PATCH V3 2/4] : debug fs entries
		[PATCH V3 3/4] : core driver
		[PATCH V3 4/4] : cqhci driver
	-Used for loop to print error messages instead of using printf
	 statements for all error messages as suggested by Adrain Hunter.
	-Introduced one flag to enable error stats feature, if any other
	 client wants to use this feature, they need to enable that flag.
	-Moved reset command timeout error statement to card init flow
	 as suggested by Adrain Hunter.

Changes since V1:
	-Removed sysfs entry for eMMC and SD card error statistics and added
	 debugfs entry as suggested by Adrian Hunter and Ulf Hansson.

Shaik Sajida Bhanu (4):
  mmc: sdhci: Capture eMMC and SD card errors
  mmc: debugfs: Add debug fs entry for mmc driver
  mmc: core: Capture eMMC and SD card errors
  mmc: cqhci: Capture eMMC and SD card errors

 drivers/mmc/core/core.c       |  8 +++++
 drivers/mmc/core/debugfs.c    | 81 +++++++++++++++++++++++++++++++++++++++++++
 drivers/mmc/core/queue.c      |  3 ++
 drivers/mmc/host/cqhci-core.c |  9 ++++-
 drivers/mmc/host/sdhci-msm.c  |  3 ++
 drivers/mmc/host/sdhci.c      | 72 +++++++++++++++++++++++++++++++-------
 include/linux/mmc/host.h      | 31 +++++++++++++++++
 7 files changed, 194 insertions(+), 13 deletions(-)

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member 
of Code Aurora Forum, hosted by The Linux Foundation