freebsd-skq/sys
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
..
amd64 Enable MTRR on all VIA CPUs that claim support (amd64). 2010-02-02 01:20:33 +00:00
arm Improve checking whether an ARM VA has a valid mapping before performing cache 2010-02-07 20:48:57 +00:00
boot Add command-line option -dev to set the default value of the currdev 2010-01-18 06:48:24 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam On probe error, if restart requested, skip any retries and recovery. 2010-02-04 18:56:38 +00:00
cddl Remove two files that are not needed by FreeBSD. 2010-02-05 23:17:59 +00:00
compat Let us to use our libusb(3) in Linuxolator. 2010-01-18 22:46:06 +00:00
conf merge from my tbemd branch: cmpdi2 and ucmpdi2 are genereated when the 2010-02-07 19:49:01 +00:00
contrib Uuencode the rt2870 firmware into ascii like the other firmware blobs. 2010-01-29 03:35:01 +00:00
crypto
ddb Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order 2010-01-08 15:44:49 +00:00
dev Add support for a few more Sony-specific ACPI features (default display 2010-02-07 18:36:30 +00:00
fs Patch the experimental NFS client so that there is a timeout 2010-01-31 19:12:24 +00:00
gdb
geom - Give geom_redboot taste of flash/spi. Now there is another provider 2010-02-03 01:12:19 +00:00
gnu Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer 2010-01-14 14:30:54 +00:00
i386 Change the default value for the flag enabling superpage mapping and 2010-02-01 17:36:48 +00:00
ia64 Fix single-stepping when the kernel was entered through the EPC syscall 2010-02-06 20:46:14 +00:00
isa Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
kern Spelling nit 2010-02-07 18:00:13 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern Merge from head at r201628. 2010-01-06 05:58:07 +00:00
mips Correct a comment - we are not setting the exception level but rather are 2010-02-05 06:36:03 +00:00
modules Hook up the siba_bwn module to the build. 2010-01-31 21:22:45 +00:00
net Propagate the vlan eventis to the underlying interfaces/members so they can do initialization of hw related features. 2010-02-06 13:49:35 +00:00
net80211 Revert unwanted changes in revision 203422. 2010-02-06 19:24:16 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Declare a new EVENTHANDLER called iflladdr_event which signals that the L2 2010-01-18 20:34:00 +00:00
netinet Restore the checksum received before processing the packet. 2010-02-04 21:02:29 +00:00
netinet6 Correct a typo. 2010-01-24 10:22:39 +00:00
netipsec Enable IPcomp by default. 2009-11-29 20:47:43 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfsserver Some style(9) fixes in order to fabricate a commit to denote that 2010-01-09 15:59:15 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 Move the examples for the 'hints' and 'env' keywords from various GENERIC 2010-01-19 17:20:34 +00:00
pci Add initial support for RTL8103E PCIe fastethernet. 2010-01-27 17:49:27 +00:00
powerpc Make PCI Express host controllers functional, by: 2010-02-01 17:51:01 +00:00
rpc Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic 2010-01-12 07:49:34 +00:00
security Make sure we convert audit records that were produced as the result of the 2010-01-31 22:31:01 +00:00
sparc64 Implement handling of the third argument of cpu_switch(). This unbreaks 2010-01-30 14:04:21 +00:00
sun4v Merge r178860 from sparc64: 2010-02-01 12:43:04 +00:00
sys Map and report actual video memory we need. 2010-02-06 00:52:42 +00:00
teken MFC @199204 2009-11-12 00:36:22 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Return proper error code. 2010-01-25 16:09:50 +00:00
vm The MAP_ENTRY_NEEDS_COPY flag belongs to protoeflags, cow variable 2010-01-29 19:25:45 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
Makefile