msm: eva: Enhance SMMU fault debugability
Changes only applicable on CPU EVA path, including - tracking packet type and buffer index for each dma_buf - print feature config packet type - print session properties in error cases. Change-Id: I938cf463bee9284760145f3fd9e030b3b8134caa Signed-off-by: George Shen <quic_sqiao@quicinc.com>
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

förälder
c56291ac5c
incheckning
4bfd66f039
@@ -626,6 +626,8 @@ static int __smem_alloc(struct iris_hfi_device *dev, struct cvp_mem_addr *mem,
|
||||
mem->mem_size = alloc->size;
|
||||
mem->align_virtual_addr = alloc->kvaddr;
|
||||
mem->align_device_addr = alloc->device_addr;
|
||||
alloc->pkt_type = 0;
|
||||
alloc->buf_idx = 0;
|
||||
|
||||
return rc;
|
||||
fail_smem_alloc:
|
||||
|
Referens i nytt ärende
Block a user