OSDN Git Service

iommu/arm-smmu: Log CBFRSYNRA register on context fault
authorVivek Gautam <vivek.gautam@codeaurora.org>
Mon, 22 Apr 2019 07:10:36 +0000 (12:40 +0530)
committerWill Deacon <will.deacon@arm.com>
Tue, 23 Apr 2019 11:23:16 +0000 (12:23 +0100)
commitbc580b56cb7888d1f09fff8a50270228fb834ae8
treed98cab92214aa7770dad659d7aa27341b5b4b04b
parent3f54c447df34ff9efac7809a4a80fd3208efc619
iommu/arm-smmu: Log CBFRSYNRA register on context fault

Bits[15:0] in CBFRSYNRA register contain information about
StreamID of the incoming transaction that generated the
fault. Dump CBFRSYNRA register to get this info.
This is specially useful in a distributed SMMU architecture
where multiple masters are connected to the SMMU.
SID information helps to quickly identify the faulting
master device.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-regs.h
drivers/iommu/arm-smmu.c