2 Commits

Author SHA1 Message Date
Leo Liou
c45153f0ba mmc: enlarge ring buffer size to 16 pages
Current ring buffer only keeps 64 commands.
Enlarge ring buffer size to 16 pages to record 256 commands.

Bug: 122221971
Change-Id: I4d1a78d25d9de4b8bec0537c0f552cc028004ab6
Signed-off-by: Leo Liou <leoliou@google.com>
2019-01-02 03:39:27 +00:00
Sayali Lokhande
5bf4209686 mmc: host: Add Ring buffer logging for MMC.
Add ring buffer to enable tracing of significant events
of eMMC in both CQ and Legacy mode for debug purpose.

CONFIG_MMC_RING_BUFFER should be enabled to use ring
buffer logging.

Change-Id: Iceb404d77fca19e133c319bc66ec15b2d77c7c54
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
[xiaonian@codeaurora.org: fixed trivial merge conflicts]
Signed-off-by: Xiaonian Wang <xiaonian@codeaurora.org>
2017-04-07 17:33:15 -07:00