RE: [PATCH v9 2/2] ufs: exynos: introduce command history

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> This patch includes functions to record
> contexts of incoming commands in a circular queue.
> ufshcd.c has already some function tracer calls to get
> command history. However ftrace would be pointless
> when system dies before you get the information,
> such as panic cases. This patch implements callbacks
> compl_xfer_req to store IO contexts at completion times.
> 
> When you turn on CONFIG_SCSI_UFS_EXYNOS_DBG,
> the driver collects the information from incoming commands
> in the circular queue.
> 
> I also implemented dbg_register_dump callback to print
> command history for abnormal cases. Currenty, I just add
> command history print and you can add various vendor regions.
> 
> Signed-off-by: Kiwoong Kim <kwmad.kim@xxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux