Re: [RESEND PATCH v3] scsi: ufs: exclude UECxx from SFR dump list

From: Bart Van Assche
Date: Sun Jul 10 2022 - 23:41:17 EST


On 7/10/22 19:02, Kiwoong Kim wrote:
Is this behavior specific to the Exynos controller or is this behavior
required by the UFSHCI specification? In the latter case, can you tell me
where to find this requirement in the UFSHCI specification? I haven't
found that requirement yet. Maybe this means that I overlooked something?

This is needed because those SFRs are ROC (Read to Clear) type.
That means reading causes clearing contexts.
The SFRs are mainly read in interrupt context but the reading is also done in dump.
The above repeats what I can find in the patch description but doesn't answer my question :-(

Bart.