msm: camera: smmu: Add debugfs to invoke panic on Page Fault
Add debugfs to invoke kernel panic on Page Fault for specified context bank index upon encountering Page Fault on non-fatal property. CRs-Fixed: 3190298 Change-Id: I0b68d70ec893c93d1ba0df4ee6b6484fba8e31d1 Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
此提交包含在:

提交者
Camera Software Integration

父節點
ed138ccd45
當前提交
1b0e011bf3
@@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_COMMON_UTIL_H_
|
||||
@@ -30,6 +31,8 @@
|
||||
#define PTR_TO_U64(ptr) ((uint64_t)(uintptr_t)ptr)
|
||||
#define U64_TO_PTR(ptr) ((void *)(uintptr_t)ptr)
|
||||
|
||||
#define CAM_TRIGGER_PANIC(format, args...) panic("CAMERA - " format "\n", ##args)
|
||||
|
||||
#define CAM_GET_TIMESTAMP(timestamp) ktime_get_real_ts64(&(timestamp))
|
||||
#define CAM_GET_TIMESTAMP_DIFF_IN_MICRO(ts_start, ts_end, diff_microsec) \
|
||||
({ \
|
||||
|
新增問題並參考
封鎖使用者