scsi: ufs-mediatek: Introduce event_notify implementation
authorStanley Chu <stanley.chu@mediatek.com>
Sat, 5 Dec 2020 11:59:01 +0000 (19:59 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 7 Dec 2020 22:51:49 +0000 (17:51 -0500)
commitca1bb061d64499d8aa08b0987643928a924c30bc
treef167b1dc0bd158f177016015adee10f85f77a418
parent172614a9d0e861f8ad0e3165dd1d02bc63adaa1b
scsi: ufs-mediatek: Introduce event_notify implementation

Introduce event_notify implementation on MediaTek UFS platform. A
vendor-specific tracepoint is added that can be used for debugging
purposes.

Link: https://lore.kernel.org/r/20201205115901.26815-5-stanley.chu@mediatek.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-mediatek-trace.h [new file with mode: 0644]
drivers/scsi/ufs/ufs-mediatek.c