Page MenuHomeFreeBSD

Allow forcing non-posted memory on arm64
ClosedPublic

Authored by andrew on Mar 7 2023, 2:48 PM.
Tags
None
Referenced Files
F163531137: D38944.id118931.diff
Fri, Jul 24, 4:52 AM
Unknown Object (File)
Thu, Jul 23, 3:41 AM
Unknown Object (File)
Wed, Jul 22, 11:03 PM
Unknown Object (File)
Mon, Jul 20, 9:03 PM
Unknown Object (File)
Mon, Jul 20, 4:37 AM
Unknown Object (File)
Jun 8 2026, 6:16 PM
Unknown Object (File)
Jun 7 2026, 11:47 PM
Unknown Object (File)
Apr 30 2026, 11:52 AM
Subscribers

Details

Summary

To allow for debugging after changing the arm64 VM_MEMATTR_DEVICE
memory type add a new set of tunables to tell the kernel to use
non-posted memory.

This adds the following tunables:

  • kern.force_nonposted: When set to non-zero the kernel will use non-posted memory for all device allocations.
  • hint.<dev>.<unit>.force_nonposted: As above, however only forces non-posted memory on the named device.

Sponsored by: Arm Ltd

Diff Detail

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