Page MenuHomeFreeBSD

linuxkpi: Add <linux/kmsg_dump.h>
ClosedPublic

Authored by dumbbell on Sun, Jan 4, 10:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 9, 2:06 AM
Unknown Object (File)
Thu, Jan 8, 10:29 PM
Unknown Object (File)
Thu, Jan 8, 8:46 PM
Unknown Object (File)
Thu, Jan 8, 8:20 PM
Unknown Object (File)
Mon, Jan 5, 3:50 AM
Unknown Object (File)
Mon, Jan 5, 3:38 AM
Unknown Object (File)
Mon, Jan 5, 3:37 AM
Subscribers

Details

Summary

This header declares register/unregister functions to allow a piece of code to tell what function to call in case of a panic. Several panic handlers may be registered.

The DRM generic code started to use it in Linux 6.10 as part of the panic handler.

This is part of the update of DRM drivers to Linux 6.10.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested changes to this revision.Sun, Jan 4, 9:03 PM
bz added a subscriber: bz.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/kmsg_dump.h
2

Not needed anymore

56

Can we add pr_debug("TODO") to these two functions?

66

no defined()

This revision now requires changes to proceed.Sun, Jan 4, 9:03 PM
dumbbell added inline comments.
sys/compat/linuxkpi/common/include/linux/kmsg_dump.h
56

Done.

dumbbell marked an inline comment as done.

Address comments from @bz.

This revision is now accepted and ready to land.Tue, Jan 6, 12:10 AM
This revision was automatically updated to reflect the committed changes.