HomeFreeBSD

Allow forcing non-posted memory on arm64

Description

Allow forcing non-posted memory on arm64

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
Differential Revision: https://reviews.freebsd.org/D38944

Details

Provenance
andrewAuthored on Mar 16 2023, 3:35 PM
Differential Revision
D38944: Allow forcing non-posted memory on arm64
Parents
rGbc108947579e: Remove an unneeded CTASSERT in the smmu driver
Branches
Unknown
Tags
Unknown