Commit Graph

266299 Commits

Author SHA1 Message Date
kamil
dc43916dcf Try to make load_invalid_value_bool portable to Big-Endian
PR bin/53968 by Michael van Elst
2019-02-20 09:50:09 +00:00
kamil
b07a2df4fa Replace signal4 (PT_STEP) test with refactored ones with extra asserts
New tests: step_signalmasked and step_signalignored.

Assert that signal context is not reset upon PT_STEP trap.

Mark new tests as expecting to fail.
2019-02-20 09:25:11 +00:00
msaitoh
c666e7f586 Simplify PCI device table. No functional change. 2019-02-20 08:03:58 +00:00
msaitoh
8ab6db13a3 Regen. 2019-02-20 07:47:34 +00:00
msaitoh
389a3a7d24 Add SK-NET SK-9Mxx Gigabit Ethernet. 2019-02-20 07:47:11 +00:00
kamil
a0995bf67f Add more tests for variations of unrelated_tracer_sees_crash in ATF
New tests:
 - unrelated_tracer_sees_signalmasked_crash_trap
 - unrelated_tracer_sees_signalmasked_crash_segv
 - unrelated_tracer_sees_signalmasked_crash_ill
 - unrelated_tracer_sees_signalmasked_crash_fpe
 - unrelated_tracer_sees_signalmasked_crash_bus
 - unrelated_tracer_sees_signalignored_crash_trap
 - unrelated_tracer_sees_signalignored_crash_segv
 - unrelated_tracer_sees_signalignored_crash_ill
 - unrelated_tracer_sees_signalignored_crash_fpe
 - unrelated_tracer_sees_signalignored_crash_bus

All these tests are failing with the current kernel.
2019-02-20 07:18:18 +00:00
mrg
2ca163b231 use KASSERTMSG() in netbsd32_ptr32i(). 2019-02-20 06:04:28 +00:00
rin
8cef165a13 Export atomic_cas_32_ni in a similar manner to its 64-bit counterpart.
Compile test only, but seems trivial enough for me.

Fix build error due to test/lib/libc/atomic/t_atomic_cas.

Note that mips32 does not use atomic_cas.S.
2019-02-20 05:25:12 +00:00
kamil
383b4e94a2 Add minor improvements in unrelated_tracer_sees_crash in t_ptrace_wait*
Switch forkee commands with asserts to be aligned for the purpose of being
used by forkees.
2019-02-20 05:20:05 +00:00
rin
184dcf3f8a WARNS=3 for compat_netbsd32_* in order to appease sign-compare warnings
for mips64, where NETBSD32_POINTER_TYPE is signed.
2019-02-20 05:11:30 +00:00
msaitoh
340e8542ab Add BCM5717's another device ID support. 2019-02-20 04:49:08 +00:00
pgoyette
759c9ce33f Add an entry to remind someone(tm) to review the need for WARNS=3 in
more than 100 modules' Makefile.
2019-02-20 04:32:51 +00:00
msaitoh
3da8db6fff Regen. 2019-02-20 03:57:28 +00:00
msaitoh
25c6288c9f Add some Broadcom Ethernet devices from {Open,Free}BSD. 2019-02-20 03:57:03 +00:00
christos
1fe7b7ace4 try using COPTS instead of CPPFLAGS 2019-02-20 03:50:06 +00:00
pgoyette
2d6aca9e32 Another WARNS=3 module 2019-02-20 01:20:16 +00:00
pgoyette
0347dde6b5 Another module that needs WARNS=3 to allow signed-vs-unsigned compares 2019-02-20 00:55:03 +00:00
sevan
ed144a82dc POWERMAC_G5 and POWERMAC_G5.MP kernels 2019-02-20 00:22:29 +00:00
sevan
f1b263c7a6 Document the netbsd-POWERMAC_G5 and netbsd-POWERMAC_G5.MP kernels. 2019-02-20 00:10:26 +00:00
sevan
4d4f75cea8 Build the UP & SMP kernels for G5s to ease testing.
Currently these kernels have to be netbooted directly from Open Firmware.
Warning: SMP kernel still has issues.
2019-02-19 23:46:33 +00:00
mrg
7e645c95e2 add X11MOTIFPATH and note that MKX11MOTIF needs motif installed. 2019-02-19 21:08:21 +00:00
martin
6899bcaca3 Add atomic_cas_64_ni alias 2019-02-19 18:17:45 +00:00
sevan
303eeaa93f Add CTF
sort
2019-02-19 16:31:38 +00:00
sevan
833de752d9 Add CTF (game) and PMIC 2019-02-19 13:51:16 +00:00
rin
e73f820d2b Sort STRONG_ALIAS's in the same manner as ATOMIC_OP_ALIAS's.
No functional changes.
2019-02-19 12:51:44 +00:00
rin
9121ca69a2 Export _atomic_cas_64 as atomic_cas_64_ni.
Note that _atomic_cas_64 is already exported as atomic_cas_{ulong,prt}_ni.

Fix build error of test/lib/atomic/t_atomic_cas, which is successfully
passed on RPI3B+ now.
2019-02-19 12:47:36 +00:00
msaitoh
6c3f577b44 Modify PHY tree in comment. 2019-02-19 07:59:17 +00:00
msaitoh
1efa1b3edc Match 82580(I340) and I350. 2019-02-19 07:49:58 +00:00
mlelstv
1c2c54d450 Don't allow MNT_UNION on the root, there is no covered filesystem.
Fixes PR 53850
2019-02-19 06:55:28 +00:00
msaitoh
81ef376cbf - Match Intel I21[01]. These chips' model number is wrongly set to 0
(== 88E1000 with model number 0). It seems the PHY function is almost the
  same as 88E1512. When we add 88E1512 related change to makphy.c, I21[01]
  should be take into account.
- KNF.
2019-02-19 05:47:08 +00:00
msaitoh
779af22758 Fix duplicated LEVEL1_LXT1000_OLD entry. I suspect one of them is
LEVEL1_LXT1000.
2019-02-19 02:51:02 +00:00
mrg
faeb5b8616 convert 'extern long intrnames' to 'extern char intrnames[MAX_INAME_LENGTH]'.
also, assert that MAX_INAME_LENGTH is not larger than eintrnames - intrnames.

fixes gcc 7's object size checker checks.  tested by martin@.
2019-02-19 00:34:50 +00:00
christos
970c63d326 revert the upsteam portion of previous; we don't want to patch upstream
fallthrough/breaks.
2019-02-19 00:30:16 +00:00
christos
f26e8b9db6 revert previous. we don't want to change upstream code. 2019-02-19 00:26:57 +00:00
christos
e3f676fd0b add failthrough and break as appropriate. 2019-02-18 23:23:41 +00:00
christos
042c6977f7 remove multiplication as condition complaint 2019-02-18 23:19:36 +00:00
christos
a5a54cbb31 add fallthrough's 2019-02-18 23:13:14 +00:00
christos
dae7fb3e37 appease string + int warning. 2019-02-18 20:27:20 +00:00
christos
7a986b99ab add fallthrough 2019-02-18 19:35:44 +00:00
christos
e6507199eb Avoid clang errors about atomics on arm 2019-02-18 19:30:18 +00:00
maxv
d3d3bf1ccf Fix stupid mistake, I didn't reflect correctly the behavior of pmap_sync_pv
in the EPT callback, 'optep' can be NULL.
2019-02-18 19:03:12 +00:00
maxv
5acb48ddc0 Ah, finally found you. Fix scheduling bug in NVMM.
When processing guest page faults, we were calling uvm_fault with
preemption disabled. The thing is, uvm_fault may block, and if it does,
we land in sleepq_block which calls mi_switch; so we get switched away
while we explicitly asked not to be. From then on things could go really
wrong.

Fix that by processing such faults in MI, where we have preemption enabled
and are allowed to block.

A KASSERT in sleepq_block (or before) would have helped.
2019-02-18 12:17:45 +00:00
martin
b79193cac1 Add some atomic_cas_64_ni aliases 2019-02-18 11:22:56 +00:00
msaitoh
afe9412a39 Fix typo in comment. 2019-02-18 07:27:15 +00:00
msaitoh
085368d816 Fix compile error reported by Kazuhiro Ito in PR kern/52704. 2019-02-18 06:27:10 +00:00
msaitoh
bf00067ecb - Add wbnoinvd, virt_ssbd, tme, cldemote, movdiri, movdir64b and pconfig.
- Move AMD 0x80000008 ebx's ibpb, ibrs and stibp to x86_features[8] linux
  mapping.
2019-02-18 05:41:20 +00:00
jakllsch
e45e197e3a Fix copy/paste issue that resulted in tcon0 ch0/ch1 crtc clk mixup. 2019-02-18 02:42:27 +00:00
thorpej
daca0f564b Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback().  It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950.  (Thanks!)
2019-02-18 01:12:22 +00:00
rin
2f668af971 Belatedly add debugging symbols for t_atomic_*. 2019-02-18 00:42:54 +00:00
bad
eebd0619e8 make libnv not LIBISPRIVATE when RUMPRUN=yes.
include bsd.init.mk earlier to pick up MAKECONF for RUMPRUN.
2019-02-17 23:54:08 +00:00