User Details
- User Since
- May 6 2021, 12:00 AM (280 w, 6 d)
Sun, Sep 20
- No .cfi_sections .eh_frame for ia32_exception.S, apic_vector.S, and atpic_vector.S
- Restore TDP_KTHREAD
- fork_trampoline and fork_trampoline_kthread share post fork_exit code. Jump from fork_trampoline_kthread to .fork_trampoline_return after returning from fork_exit
- Move .cfi_sections to assembly files
- Rename trap_cfi_full to trap_cfi_trapframe
- Rename trap_cfi_entry's full state to trapframe
- Add missing CFI directives (e.g. amd64_syscall invalidating r10, r11)
- Add CFI directives to FRED handlers described in trap.c.
- fork_trampoline_kthread should run for P_KPROC, not TDP_KTHREAD
- Place nop after returning from fork_exit so return address sees terminal not trapframe
Sat, Sep 19
I tested
.text
.globl cfi_segments
.type cfi_segments, @function
cfi_segments:
.cfi_startproc simple
.cfi_def_cfa %rsp, 72
.cfi_offset %cs, -64
.cfi_offset 49, -56 /* rflags */
.cfi_offset %ss, -48
.cfi_offset %es, -40
.cfi_offset %ds, -32
.cfi_offset %fs, -24
.cfi_offset %gs, -16
ret
.cfi_endproc
.size cfi_segments, . - cfi_segmentsFri, Sep 18
ping @olce for mentor approval
ping @olce for mentor approval
ping @olce for mentor approval
Thu, Sep 17
ping @jhb for mentor approval
ping @jhb for mentor approval
Wed, Sep 16
Tue, Sep 15
Remove trap_cfi_end and use raw .cfi_endproc
Remove name from trap_cfi_entry
Remove .cfi_startproc from trap_cfi_entry. ENTRY() used in this patch doesn't have .cfi_startproc (the one in machine/asm.h does) but most architectures have only one ENTRY() which has the directive. For consistency between different architectures, omit it from trap_cfi_entry
.cfi_sections .eh_frame should only be emitted once (the original compiled and ran fine, but there's no need to have it under macro)
Added cfi directives to FRED code paths
kthread can return from fork_exit back to trampoline, so handle AST
cleanup
reflect code cleanup
cleanup
style and format
cleanup
cleanup
Restore ENTRY() and END() changes
I could not open HPT mmu minidump through libkvm, so this hasn't been tested yet similar to armv7 (D59650)
- trap_cfi(9): add assembly interface for powerpc
- trap_cfi(9): add exception handler CFI for powerpc
I wanted to test this through QEMU, but it seems like armv7 minidump is broken (it cannot locate allproc, stoppcbs, etc)
Add second part
Add second part
Tested on lldb
ping @jhb for mentor approval
ping @jhb for mentor approval
Mon, Sep 14
Post first part as well
@kib, I was going to create revisions for actual changes once the macros are accepted, but since I tested this on amd64 with lldb, I'm posting second part of the change here.
ping @jhb for mentor approval
Sun, Sep 13
Add MFC info