On 10/31/19 8:38 AM, Marcin Wojtas wrote: > Author: mw > Date: Thu Oct 31 15:38:17 2019 > New Revision: 354218 > URL: https://svnweb.freebsd.org/changeset/base/354218 > > Log: > Add WC support for arm64 in the ENA driver > > As the pmamp_change_attr() is public on arm64 since r351131, it can be > used on the arm64 to map memory range as with the write combined > attribute. > > It requires the driver to use generic VM_MEMATTR_WRITE_COMBINING flag > instead of the x86 specific PAT_WRITE_COMBINING. > > Differential Revision: https://reviews.freebsd.org/D21931 > Submitted by: Michal Krawczyk <m...@semihalf.com> > Obtained from: Semihalf > Sponsored by: Amazon, Inc.
This isn't the right API for this, but the right API isn't ready yet on arm64. I have a patch to add bus_map_resource support on all platforms that I'm working on testing, and that will be the right way to request this in the future once it lands. -- -- John Baldwin _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"