Page MenuHomeFreeBSD

Allow forcing non-posted memory on arm64
ClosedPublic

Authored by andrew on Mar 7 2023, 2:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 28, 1:21 PM
Unknown Object (File)
Sat, Sep 28, 1:21 PM
Unknown Object (File)
Sat, Sep 28, 1:21 PM
Unknown Object (File)
Sat, Sep 28, 12:47 PM
Unknown Object (File)
Sat, Sep 28, 12:47 PM
Unknown Object (File)
Sat, Sep 28, 12:47 PM
Unknown Object (File)
Sat, Sep 28, 12:38 PM
Unknown Object (File)
Tue, Sep 24, 9:20 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