Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 18:12:44 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r304620 - head/sys/arm64/arm64
Message-ID:  <201608221812.u7MICil5052648@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Aug 22 18:12:44 2016
New Revision: 304620
URL: https://svnweb.freebsd.org/changeset/base/304620

Log:
  Fix pmap_update_entry, pmap_invalidate_range takes the end address, not
  the size.
  
  Obtained from:	ABT Systems Ltd
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm64/arm64/pmap.c

Modified: head/sys/arm64/arm64/pmap.c
==============================================================================
--- head/sys/arm64/arm64/pmap.c	Mon Aug 22 18:12:24 2016	(r304619)
+++ head/sys/arm64/arm64/pmap.c	Mon Aug 22 18:12:44 2016	(r304620)
@@ -2290,7 +2290,7 @@ pmap_update_entry(pmap_t pmap, pd_entry_
 	/* Clear the old mapping */
 	pmap_load_clear(pte);
 	PTE_SYNC(pte);
-	pmap_invalidate_range(pmap, va, size);
+	pmap_invalidate_range(pmap, va, va + size);
 
 	/* Create the new mapping */
 	pmap_load_store(pte, newpte);



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