FreeBSD src
Go to file
Rafal Jaworowski 530a5fb294 Improve checking whether an ARM VA has a valid mapping before performing cache
sync.

VIPT/PIPT caches need valid VA-PA mapping in PTE for a cache operation to
succeed (unlike VIVT). Prior to this fix pmap was using l2pte_valid() for that
check, but this is not sufficient as the function merely checks if a PTE
exists (there can be existing but _invalid_ entries in the table).

A new pmap_has_valid_mapping() routine is introduced to do this job right by
checking proper PTE flags.

Among other potential problems this cures coherency issues with L2 caches on
MV-78100.

Submitted by:	Grzegorz Bernacki, Piotr Ziecik
Reviewed, tested by:	marcel
Obtained from:	Semihalf
MFC after:	1 week
2010-02-07 20:48:57 +00:00
bin Tell the compiler these structures are aligned to a byte boundary. 2010-02-07 17:05:22 +00:00
cddl Apply OpenSolaris revision 8012 which brings our zpool to version 14, 2009-12-28 22:15:11 +00:00
contrib - Add support for CVSup authentication mechanisms to csup. 2010-02-02 05:57:42 +00:00
crypto Add a missing $FreeBSD$ string. 2010-01-13 20:30:16 +00:00
etc Add sane-port (Scanner Access Now Easy) as port 6566. 2010-02-06 21:22:01 +00:00
games Always compile in the speaker code. There's little savings by 2010-02-04 07:08:06 +00:00
gnu Remove alpha support from here too. FreeBSD 6 was the last branch to 2010-02-03 18:32:29 +00:00
include Add gmountver, disk mount verification GEOM class. 2010-01-16 09:52:49 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib Mark up "unsigned char". 2010-02-04 11:23:28 +00:00
libexec Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
release Add a description of supported PowerPC hardware to the hardware notes. 2010-02-05 16:41:19 +00:00
rescue Remove libulog from the bootstrap again. 2010-01-21 16:56:27 +00:00
sbin Add the -i option to the synopsis. 2010-02-06 13:39:08 +00:00
secure Build lib/ with WARNS=6 by default. 2010-01-02 09:58:07 +00:00
share Correct arguments to free_unr(), "item" was missing. 2010-02-07 20:36:23 +00:00
sys Improve checking whether an ARM VA has a valid mapping before performing cache 2010-02-07 20:48:57 +00:00
tools Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER. 2010-02-07 00:38:31 +00:00
usr.bin Simplify, remove unnecessary code. 2010-02-07 02:04:58 +00:00
usr.sbin Initialize fromlen before calling recvfrom to avoid passing in random 2010-02-07 07:50:41 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS
MAINTAINERS Removing pre-commit review on isp(4). It's time to let people have their 2009-12-30 14:41:02 +00:00
Makefile Back out the change to Makefile made in r202628. 2010-01-19 15:34:16 +00:00
Makefile.inc1 Regen the list of prebuild libraries using tools/make_libdeps.sh. 2010-01-26 10:00:26 +00:00
ObsoleteFiles.inc Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd. 2010-01-22 23:19:48 +00:00
README
UPDATING Add wtmpcvt(1). 2010-01-14 20:58:45 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html