freebsd-dev/sys
Adrian Chadd 4cfbfdd4b3 Add "better" MIPS24k and MIPS74k barriers.
* the mips74k cores only need EHB (which is 'sll $0, $0, 3')
  here; NOPs don't actually work.

* add EHB as the last NOP for the default barriers/hazards;
  that is "better" behaviour and should work on a wider
  variety of processors.

This allows the existing (icky) TLB code to work, allowing
the AR9344 SoC (mips74k) to actually get through kernel startup.

Tested:

* AR9344 SoC - (mips74k)
* AR9331 SoC - (mips24k)

TODO:

* test on mips4k CPUs, just to be sure.

* document that sll $0, $0, 3 is actually "EHB" and that it
  falls back to being a NOP for pre-mips32r1.

* mips24k has an errata that we currently don't correctly explicitly
  state - ie, that after DERET/ERET, the only valid instruction is
  a NOP.

Reviewed by:	imp@
Approved by:	re@ (gjb)
2013-10-09 00:27:12 +00:00
..
amd64 In sys/amd64/amd64/pmap.c, fix several gcc warnings about uninitialized 2013-10-08 20:04:35 +00:00
arm
boot
bsm
cam Properly fix out of memory handling in the iSCSI target. 2013-10-08 19:18:02 +00:00
cddl Initialize and free the DTrace taskqueue in the dtrace module load/unload 2013-10-08 12:56:46 +00:00
compat Add padding to match the compat32 struct stat32 definition to the real 2013-10-04 22:05:23 +00:00
conf Add two new MIPS CPU families - mips24k and mips74k. 2013-10-09 00:21:21 +00:00
contrib
crypto
ddb
dev Fix the LINT build. 2013-10-08 23:23:04 +00:00
fs
gdb
geom
gnu/fs/reiserfs
i386 Remove redundant declarations of szsigcode and sigcode in 2013-10-07 16:57:48 +00:00
ia64
isa
kern Remove the uipc_cow.c file, which is not used since the zero copy 2013-10-06 06:57:28 +00:00
kgssapi
libkern
mips Add "better" MIPS24k and MIPS74k barriers. 2013-10-09 00:27:12 +00:00
modules Fix make depend. 2013-10-04 11:55:20 +00:00
net Clear knlist before destroying it in tap(4) and tun(4). This fixes later 2013-10-02 20:44:36 +00:00
net80211
netatalk
netgraph
netinet
netinet6 Fix mbuf leak. 2013-10-07 12:07:40 +00:00
netipsec
netipx
netnatm
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Give an unnamed union in sys/ofed/include/rdma/ib_verbs.h a name, to 2013-10-07 16:54:29 +00:00
opencrypto
pc98
pci
powerpc Implement GET_STACK_USAGE() on PowerPC. This implementation is identical 2013-10-02 20:40:21 +00:00
rpc
security
sparc64
sys Add the definition of DF_1_INTERPOSE flag. 2013-10-07 08:14:58 +00:00
teken
tools
ufs
vm
x86 Add a va_copy() to our fall-back stdarg implementation for use with lint(1) 2013-10-07 10:01:23 +00:00
xdr
xen
Makefile