Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2019 02:08:02 +0100
From:      Marcin Wojtas <mw@semihalf.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Marcin Wojtas <mw@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r354218 - head/sys/dev/ena
Message-ID:  <CAPv3WKf1MTUk3bg_1=Agi2Utmq3beS2GFf5aFbE4Lb3Rh9kOug@mail.gmail.com>
In-Reply-To: <2fc49b6e-0294-cb5f-bbca-8a53f6aba036@FreeBSD.org>
References:  <201910311538.x9VFcHPE053035@repo.freebsd.org> <2fc49b6e-0294-cb5f-bbca-8a53f6aba036@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi John,

Sure, will be happy to test. Please let me know and cc mk@semihalf.com.

Best regards,
Marcin

pt., 1 lis 2019 o 01:04 John Baldwin <jhb@freebsd.org> napisa=C5=82(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 b=
e
> >   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@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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPv3WKf1MTUk3bg_1=Agi2Utmq3beS2GFf5aFbE4Lb3Rh9kOug>