mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
caa8b668c5
PD#SWPL-99365 Problem: gki optimize Solution: 1, code optimize 2, watchdog_hld to ko Verify: sc2_ah212 Change-Id: Ibb1b16bd61d794defb39d53f17ad86179ba4a661 Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
31 lines
748 B
C
31 lines
748 B
C
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include <linux/mm.h>
|
|
#include <linux/reboot.h>
|
|
#include <linux/sysrq.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/module.h>
|
|
#include <linux/moduleparam.h>
|
|
#include <trace/hooks/gic_v3.h>
|
|
|
|
#include "lockup.h"
|
|
|
|
void irq_trace_start_gki_builtin(unsigned long flags)
|
|
{
|
|
trace_android_rvh_gic_v3_set_affinity((void *)DEBUG_HOOK_MAGIC,
|
|
(void *)DEBUG_HOOK_IRQ_START,
|
|
(void *)flags,
|
|
0, 0, 0, 0);
|
|
}
|
|
|
|
void irq_trace_stop_gki_builtin(unsigned long flags)
|
|
{
|
|
trace_android_rvh_gic_v3_set_affinity((void *)DEBUG_HOOK_MAGIC,
|
|
(void *)DEBUG_HOOK_IRQ_STOP,
|
|
(void *)flags,
|
|
0, 0, 0, 0);
|
|
}
|