Due to my extended context checks, oopses will first trigger such errors now before the actual reason is dumped. Patch below ensures that ongoing oopses disable the context check, and it also pushes the panic-freeze to a slightly bit earlier point.
Jan
---
kernel/panic.c | 2 ++
lib/bust_spinlocks.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
Index: b/kernel/panic.c
===================================================================
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -267,6 +267,8 @@ int oops_may_print(void)
*/
void oops_enter(void)
{
+ ipipe_trace_panic_freeze();
+ ipipe_disable_context_check(ipipe_processor_id());
debug_locks_off(); /* can't trust the integrity of the kernel anymore */
do_oops_enter_exit();
}
Index: b/lib/bust_spinlocks.c
===================================================================
--- a/lib/bust_spinlocks.c
+++ b/lib/bust_spinlocks.c
@@ -18,7 +18,6 @@
void __attribute__((weak)) bust_spinlocks(int yes)
{
if (yes) {
- ipipe_trace_panic_freeze();
++oops_in_progress;
} else {
#ifdef CONFIG_VT
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Adeos-main mailing list [email protected] https://mail.gna.org/listinfo/adeos-main
