Page MenuHomeFreeBSD

arm64: Handle more Synchronous External Aborts
Needs ReviewPublic

Authored by andrew on Mon, Oct 13, 4:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 16, 11:02 AM
Unknown Object (File)
Wed, Oct 15, 12:39 PM
Unknown Object (File)
Wed, Oct 15, 6:17 AM
Unknown Object (File)
Wed, Oct 15, 6:17 AM
Unknown Object (File)
Tue, Oct 14, 9:47 PM
Unknown Object (File)
Tue, Oct 14, 8:26 PM
Unknown Object (File)
Tue, Oct 14, 6:59 PM
Unknown Object (File)
Tue, Oct 14, 9:26 AM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
Summary

When the kernel receives a synchronous external abort with a fault
handler set we can use this to signal that the copy failed.

This has been observed when userspace causes such an abort so a SIGBUS
is raised that causes a coredump to be created. When creating the
coredump another abort is raised from copyin causing the kernel to
panic. Rather than panicking the kernel call the fault handler to
return an error to the caller.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67756
Build 64639: arc lint + arc unit