summaryrefslogtreecommitdiff
path: root/drivers/misc/apanic.c
AgeCommit message (Collapse)Author
2011-11-30misc: apanic: erase kpanic when no dataTom Zhu
erase kpanic partition when there is no data(console and thread) Signed-off-by: Tom Zhu <a2289c@android-hal-04.(none)> Signed-off-by: San Mehat <san@google.com>
2011-11-30misc: apanic: bad block handlingTom Zhu
Add bad block handling in apanic Signed-off-by: Tom Zhu <ling.zhu@motorola.com> Signed-off-by: San Mehat <san@google.com> misc: apanic: Improved bad-block / watchdog handling 1. handle cases that there is no more good blocks 2. touch softlockup watchdog at the start of apanic 3. change unsigned char get_bb() to unsigned int get_bb() 4. return idx instead of rc2, to keep the previous written pages. Signed-off-by: Tom Zhu <ling.zhu@motorola.com> Signed-off-by: San Mehat <san@google.com>
2011-11-30ramconsole/apanic: Ensure ramconsole does not get cluttered by apanic threadsSan Mehat
Signed-off-by: San Mehat <san@google.com>
2011-11-30drivers: apanic: Android kernel panic handler.San Mehat
This driver triggers when the kernel panics and attempts to write critical debug data to the flash. Signed-off-by: San Mehat <san@google.com> drivers: apanic: checkpatch fixes Signed-off-by: San Mehat <san@google.com> apanic: Fix a few cases of calling non-atomic things from atomic We need to pay special care to not enrage cond_resched(), and the base nand bb stuff calls schedule() so thats out. Signed-off-by: San Mehat <san@google.com>