msm: camera: icp: Dump patching info in case of page faults
Currently as part of the page fault handler we only dump the io_bufs. This change dumps all the patched addresses for this request as well. CRs-Fixed: 2579908 Change-Id: If5deec0ad3a8aec82824ef55366084c31a037515 Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Tento commit je obsažen v:

odevzdal
Gerrit - the friendly Code Review server

rodič
080bb2339a
revize
b2e69c4df0
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_PACKET_UTIL_H_
|
||||
@@ -86,6 +86,20 @@ int cam_packet_util_validate_cmd_desc(struct cam_cmd_buf_desc *cmd_desc);
|
||||
int cam_packet_util_get_kmd_buffer(struct cam_packet *packet,
|
||||
struct cam_kmd_buf_info *kmd_buf_info);
|
||||
|
||||
/**
|
||||
* cam_packet_dump_patch_info()
|
||||
*
|
||||
* @brief: Dump patch info in case of page fault
|
||||
*
|
||||
* @packet: Input packet containing Command Buffers and Patches
|
||||
* @iommu_hdl: IOMMU handle of the HW Device that received the packet
|
||||
* @sec_iommu_hdl: Secure IOMMU handle of the HW Device that
|
||||
* received the packet
|
||||
*
|
||||
*/
|
||||
void cam_packet_dump_patch_info(struct cam_packet *packet,
|
||||
int32_t iommu_hdl, int32_t sec_mmu_hdl);
|
||||
|
||||
/**
|
||||
* cam_packet_util_process_patches()
|
||||
*
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele