svn commit: r354218 - head/sys/dev/ena
Marcin Wojtas
mw at semihalf.com
Fri Nov 1 01:08:15 UTC 2019
Hi John,
Sure, will be happy to test. Please let me know and cc mk at semihalf.com.
Best regards,
Marcin
pt., 1 lis 2019 o 01:04 John Baldwin <jhb at freebsd.org> napisał(a):
> 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 <mk at 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
>
More information about the svn-src-all
mailing list