freebsd-nq/sys
Warner Losh 8d77cd5069 Remove all the NOPs after SYNC. They aren't needed.
They originated in the original Octeon port. They weren't present, as
far as I can tell, on the projects/mips branch until after this
point. They were in the original Octeon port in code picked up from
the vendor, who I've been able to find out trolling old email put them
there to get around an SMP problem that most likely was fixed in other
ways.

NetBSD and Linux don't have these, except for some specific uses of
SYNC on the alchemy parts (which we don't support, but even if we did
it is only a specific case and would be specifically coded
anyway). This is true of the current Linux code, as well as one old
version I polled.

I looked back at the old R12000, R8000, R6000, R4000, R4400 errata
that I have, and could find no mention of SYNC needing NOPs for
silicon bugs (although plenty of other cases where NOPs and other
contortions were needed).

An Google search turned up no old mailing list discussions on this on
Linux, NetBSD or FreeBSD (except the disussion that kicked off these
studies).

I've test booted this on my Octeon Plus eval board and survived a
buildworld. Adrian Chadd reports that this patch has no ill effects on
the Ahteros platforms he tested it on.

I conclude it is safe to just remove the NOPs. But added
__MIPS_PLATFORM_SYNC_NOPS as a failsafe in case we find some platform
where these are, in fact, required.

Reviewed by:	adrian@
2013-07-07 16:12:22 +00:00
..
amd64 Import HighPoint DC Series Data Center HBA (DC7280 and R750) driver. 2013-07-06 07:49:41 +00:00
arm - Add USFS driver as an example of device mode for AM335x-based devices 2013-07-07 04:24:38 +00:00
boot - Add musb node to shared dtsi and proper pin configuratin for every 2013-07-07 04:23:29 +00:00
bsm
cam Make it little bit more C++ friendly. This explicit casting fixes some 2013-07-04 05:58:53 +00:00
cddl Hide references to mod_lock. In FreeBSD it is always acquired with the 2013-07-05 22:42:10 +00:00
compat - Move videodev headers from compat/linux to contrib/v4l (cp from vendor and 2013-07-06 19:59:06 +00:00
conf Add files related to ext2 HTree implementation 2013-07-07 01:12:29 +00:00
contrib - Move videodev headers from compat/linux to contrib/v4l (cp from vendor and 2013-07-06 19:59:06 +00:00
crypto
ddb
dev - Add initial host mode support for Mentor Graphics USB OTG controller 2013-07-07 04:18:35 +00:00
fs Implement SEEK_HOLE/SEEK_DATA for ext2fs. 2013-07-07 15:51:28 +00:00
gdb
geom Bump disk(9) ABI version to signify the addition of d_delmaxsize by r249940. 2013-07-03 23:46:30 +00:00
gnu/fs/reiserfs
i386 Import HighPoint DC Series Data Center HBA (DC7280 and R750) driver. 2013-07-06 07:49:41 +00:00
ia64 Fix issues with zeroing and fetching the counters, on x86 and ppc64. 2013-07-01 02:48:27 +00:00
isa
kern Make the comments a little more clear about PRIV_KMEM_*, explicitly 2013-07-06 00:10:52 +00:00
kgssapi
libkern
mips Remove all the NOPs after SYNC. They aren't needed. 2013-07-07 16:12:22 +00:00
modules Initial implementation of the HTree directory index. 2013-07-06 18:28:06 +00:00
net Fix typo: minmum -> minimum. 2013-07-05 23:40:08 +00:00
net80211 Add a missing unlock. 2013-07-05 22:10:50 +00:00
netatalk
netgraph
netinet Fix a bug were only 2048 streams where usable even though more than 2013-07-05 10:08:49 +00:00
netinet6 In r227207, to fix the issue with possible NULL inp_socket pointer 2013-07-04 18:38:00 +00:00
netipsec Use corresponding macros to update statistics for AH, ESP, IPIP, IPCOMP, 2013-06-20 11:44:16 +00:00
netipx
netnatm
netpfil Improve locking strategy between keys hash and ID hash. 2013-06-13 06:07:19 +00:00
netsmb Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this 2013-06-28 20:21:13 +00:00
nfs
nfsclient A problem with the old NFS client where large writes to large files 2013-07-04 00:54:23 +00:00
nfsserver
nlm
ofed Store a reference to the vnode associated with a file descriptor in the 2013-06-11 15:37:07 +00:00
opencrypto
pc98
pci
powerpc Fix indentation. 2013-07-02 07:17:56 +00:00
rpc
security
sparc64 Fix issues with zeroing and fetching the counters, on x86 and ppc64. 2013-07-01 02:48:27 +00:00
sys Add SDT_PROBE_DEFINE0 for consistency with SDT_PROBE0. 2013-07-06 20:21:35 +00:00
teken
tools
ufs Make better use of metadata area by avoiding using it for data blocks 2013-07-02 21:07:08 +00:00
vm vm_phys_fictitious_reg_range() was losing the 'memattr' because it would be 2013-07-03 23:38:37 +00:00
x86 Fix a KTR_BUSDMA format string. 2013-06-18 06:55:58 +00:00
xdr
xen Adjust i386 Xen PV support for updated Xen interface files. 2013-06-17 01:43:07 +00:00
Makefile