Date: Sun, 26 Oct 2014 00:08:29 -0700 From: Rui Paulo <rpaulo@me.com> To: Konstantin Belousov <kib@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r273647 - head/sys/dev/acpica Message-ID: <4880436F-59EF-4792-8C52-9E3F03215EA8@me.com> In-Reply-To: <201410252101.s9PL1pnm022006@svn.freebsd.org> References: <201410252101.s9PL1pnm022006@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 25, 2014, at 14:01, Konstantin Belousov <kib@FreeBSD.org> wrote: >=20 > Author: kib > Date: Sat Oct 25 21:01:50 2014 > New Revision: 273647 > URL: https://svnweb.freebsd.org/changeset/base/273647 >=20 > Log: > Set the caching mode for the usermode mapping of the HPET registers > page to uncached. >=20 > Reviewed by: rpaulo > Sponsored by: The FreeBSD Foundation > MFC after: 1 week >=20 > Modified: > head/sys/dev/acpica/acpi_hpet.c >=20 > Modified: head/sys/dev/acpica/acpi_hpet.c > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/dev/acpica/acpi_hpet.c Sat Oct 25 20:42:47 2014 = (r273646) > +++ head/sys/dev/acpica/acpi_hpet.c Sat Oct 25 21:01:50 2014 = (r273647) > @@ -356,6 +356,7 @@ hpet_mmap(struct cdev *cdev, vm_ooffset_ > if (!sc->mmap_allow_write && (nprot & PROT_WRITE)) > return (EPERM); > *paddr =3D rman_get_start(sc->mem_res) + offset; > + *memattr =3D VM_MEMATTR_UNCACHEABLE; >=20 > return (0); > } Thanks! -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4880436F-59EF-4792-8C52-9E3F03215EA8>