Date: Sat, 25 Oct 2014 21:01:51 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273647 - head/sys/dev/acpica Message-ID: <201410252101.s9PL1pnm022006@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat Oct 25 21:01:50 2014 New Revision: 273647 URL: https://svnweb.freebsd.org/changeset/base/273647 Log: Set the caching mode for the usermode mapping of the HPET registers page to uncached. Reviewed by: rpaulo Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/dev/acpica/acpi_hpet.c Modified: head/sys/dev/acpica/acpi_hpet.c ============================================================================== --- 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 = rman_get_start(sc->mem_res) + offset; + *memattr = VM_MEMATTR_UNCACHEABLE; return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410252101.s9PL1pnm022006>