mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
ce6122cee7
PD#SWPL-185970 Problem: 1, need modify sched_domain flags for GKI20 2, Some tasks have been running in apu before isolating cpu. Solution: when tasks were scheduled, if tasks shouldn't be run on the apu, they will be migrated to other cpus. sync form 5.15318edc835isolcpus: don't select isolate cpu for non-bind tasks. [1/1]db7f29820sched_domain: enable BALANCE_WAKE and disable WAKE_AFFINE [1/1] Verify: sc2 Change-Id: I5a9610ad210b58a4cf427956296a062d95458eaa Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
27 lines
549 B
C
27 lines
549 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __DEBUG_LOCKUP_H_
|
|
#define __DEBUG_LOCKUP_H_
|
|
|
|
#define DEBUG_HOOK_MAGIC 0x64656280 //'d', 'e', 'b', '\x80'
|
|
|
|
enum debug_hook_type {
|
|
DEBUG_HOOK_IRQ_START,
|
|
DEBUG_HOOK_IRQ_STOP,
|
|
DEBUG_HOOK_PSTORE_ATTACH,
|
|
DEBUG_HOOK_MAX_CNT,
|
|
};
|
|
|
|
void pr_lockup_info(int lock_cpu);
|
|
void rebuild_sched_flag(void);
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_DEBUG_TEST)
|
|
extern int smc_long_debug;
|
|
extern int idle_long_debug;
|
|
#endif
|
|
|
|
#endif /*_DEBUG_LOCKUP_H__*/
|