Lines Matching +full:ram +full:- +full:code
9 ------------
11 Ramoops is an oops/panic logger that writes its logs to RAM before the system
13 needs a system with persistent RAM so that the content of that area can
17 ----------------
52 to life (i.e. a watchdog triggered). In such cases, RAM may be somewhat
56 ----------------------
64 the kernel to use only the first 128 MB of memory, and place ECC-protected
70 ``Documentation/devicetree/bindings/reserved-memory/ramoops.txt``.
73 reserved-memory {
74 #address-cells = <2>;
75 #size-cells = <2>;
81 record-size = <0x4000>;
82 console-size = <0x4000>;
89 .. code-block:: c
119 You can specify either RAM memory or peripheral devices' memory. However, when
120 specifying RAM, be sure to reserve the memory by issuing memblock_reserve()
121 very early in the architecture code, e.g.::
128 -----------
134 ----------------
137 files is ``dmesg-ramoops-N``, where N is the record number in memory. To delete
138 a stored record from RAM, simply unlink the respective pstore file.
141 ---------------------------
144 related hangs. The functions call chain log is stored in a ``ftrace-ramoops``
147 # mount -t debugfs debugfs /sys/kernel/debug/
149 # reboot -f
151 # mount -t pstore pstore /mnt/
152 # tail /mnt/ftrace-ramoops
153 0 ffffffff8101ea64 ffffffff8101bcda native_apic_mem_read <- disconnect_bsp_APIC+0x6a/0xc0
154 0 ffffffff8101ea44 ffffffff8101bcf6 native_apic_mem_write <- disconnect_bsp_APIC+0x86/0xc0
155 0 ffffffff81020084 ffffffff8101a4b5 hpet_disable <- native_machine_shutdown+0x75/0x90
156 0 ffffffff81005f94 ffffffff8101a4bb iommu_shutdown_noop <- native_machine_shutdown+0x7b/0x90
157 …0 ffffffff8101a6a1 ffffffff8101a437 native_machine_emergency_restart <- native_machine_restart+0…
158 0 ffffffff811f9876 ffffffff8101a73a acpi_reboot <- native_machine_emergency_restart+0xaa/0x1e0
159 …0 ffffffff8101a514 ffffffff8101a772 mach_reboot_fixups <- native_machine_emergency_restart+0xe2/…
160 …0 ffffffff811d9c54 ffffffff8101a7a0 __const_udelay <- native_machine_emergency_restart+0x110/0x1…
161 0 ffffffff811d9c34 ffffffff811d9c80 __delay <- __const_udelay+0x30/0x40
162 0 ffffffff811d9d14 ffffffff811d9c3f delay_tsc <- __delay+0xf/0x20