Commit Graph

265586 Commits

Author SHA1 Message Date
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
bad
6605f04590 npfctl needs externalbsd/libnv. 2019-02-17 23:50:53 +00:00
bad
c0bd86dc55 Linux doesn't have paccept(). 2019-02-17 23:35:50 +00:00
bad
340a53cf8b compile hijack.c with -D_INCOMPLETE_XOPEN_C063 so that AT_FDCWD is alwasy
defined for rumpkernels.
2019-02-17 23:33:20 +00:00
bad
5cdd22f811 rename module_name to strategy_module_name to avoid fatal shadowing of
module_name() when compiled with older external gcc. NFC
2019-02-17 23:17:41 +00:00
gutteridge
38c10b539d ifwatchd(8): remove lingering references to dhclient(8). In this case,
its replacement handles carrier detection itself. Addresses part of
PR misc/53669.
2019-02-17 20:50:25 +00:00
gutteridge
03f48fcb5b pf.boot.conf: remove lingering references to dhclient(8), and while
here, capitalize acronyms. Addresses part of PR misc/53669.
2019-02-17 20:45:47 +00:00
maxv
4cdf419d72 Fix handling of SIB instructions. We were jumping to the SIB node _before_
fetching the displacement, so the node would always think there was no
displacement.

This didn't alter the final GPA we would be touching - because it is
fetched from the kernel directly and not from the computation -, but it
altered the instruction length, and on some guests (like Fedora 64bit),
the VCPU would resume execution at the wrong RIP and crash.

Now these guests work.
2019-02-17 20:25:46 +00:00
rin
90b9898718 For vax, GCC 6.5 and 7.4 cannot compile lfs_inode.c with
-DDIAGNOSTIC and -O2/-O1.
2019-02-17 14:04:31 +00:00
rin
514df72f81 VM_MAXUSER_ADDRESS can be undefined when compiling module/coredump;
it varies between machines for evbppc (and possibly evbppc64).
2019-02-17 13:46:03 +00:00
rin
919fe1ff1f Set WARNS=3 to appease sign-compare warnings for mips, mips64, and sparc. 2019-02-17 13:21:55 +00:00
isaki
ecae8bc568 Add ATF tests for atomic_ops(3). 2019-02-17 12:24:17 +00:00
rin
d9fe5a835c Remove unused. 2019-02-17 09:33:19 +00:00
kamil
144442f947 Add new ATF t_ptrace_wait* vfork(2) tests
Add traceme_vfork_signalmasked_crash and traceme_vfork_signalignored_crash
tests for crash signals (SIGTRAP, SIGSEGV, SIGILL, SIGFPE, SIGBUS).

These new scenario assert that signal masked/ignored are delivered to
vfork(2)ed child.

All tests pass.
2019-02-17 09:29:35 +00:00