Page MenuHomeFreeBSD

Allow forcing non-posted memory on arm64
ClosedPublic

Authored by andrew on Mar 7 2023, 2:48 PM.
Tags
None
Referenced Files
F132299550: D38944.id118453.diff
Wed, Oct 15, 4:16 PM
F132252970: D38944.id.diff
Wed, Oct 15, 5:25 AM
F132209761: D38944.id118931.diff
Tue, Oct 14, 7:45 PM
Unknown Object (File)
Tue, Oct 14, 9:08 AM
Unknown Object (File)
Sun, Oct 5, 5:51 AM
Unknown Object (File)
Thu, Oct 2, 6:22 PM
Unknown Object (File)
Mon, Sep 29, 1:47 AM
Unknown Object (File)
Sat, Sep 27, 4:53 PM
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