freebsd-nq/sys/mips
Jessica Clarke 36a6905730 mips: Fix sub-word atomics implementation
These aligned the address but then always used the least significant
bits of the value in memory, which is the wrong half 50% of the time for
16-bit atomics and the wrong quarter 75% of the time for 8-bit atomics.
These bugs were all present in r178172, the commit that added the mips
port, and have remained for its entire existence to date.

Reviewed by:	jhb (mentor)
Approved by:	jhb (mentor)
Differential Revision:	https://reviews.freebsd.org/D27343
2020-12-14 00:47:59 +00:00
..
atheros Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
beri Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
broadcom Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
cavium Fix octeon_pmc post-r334827 2020-11-18 17:37:01 +00:00
conf Include virtio support in std.MALTA 2020-07-31 11:28:09 +00:00
include Remove 'struct trapframe' pointer from mips64's 'struct syscall_args'. 2020-11-06 19:19:51 +00:00
ingenic Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
malta Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
mediatek Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
mips mips: Fix sub-word atomics implementation 2020-12-14 00:47:59 +00:00
nlm Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00