Commit Graph

255297 Commits

Author SHA1 Message Date
christos
ff6f120736 ifdef speeding ticket. 2017-12-18 22:44:30 +00:00
skrll
cacbcbd692 Whitespace 2017-12-18 20:32:02 +00:00
skrll
c96e76eb19 Use lowercase for hex constant. NFC. 2017-12-18 20:25:07 +00:00
christos
3a05faa2d8 make it fail instead of hang under qemu; XXX: need to investigate. 2017-12-18 19:20:40 +00:00
jmcneill
fc29671b41 No need to specify console=fb for pinebook anymore as WSDISPLAY_MULTICONS will give us a framebuffer console 2017-12-18 19:08:16 +00:00
jmcneill
517dc97c4b Always set "is_console" property to true when WSDISPLAY_MULTICONS is defined 2017-12-18 19:06:32 +00:00
jmcneill
6bea2a2173 Add WSDISPLAY_MULTICONS 2017-12-18 19:00:42 +00:00
jmcneill
409fe00142 Add WSDISPLAY_MULTICONS option which allows wsdisplay to cooperate with
the console device being overridden. This allows for simultaneous console
output on fb and debug uart.
2017-12-18 18:59:32 +00:00
jmcneill
84f507d2ee ukbd_cngetc: poll once for data in the buffer, otherwise return type 0 (no data) 2017-12-18 18:58:00 +00:00
jmcneill
830d1bb205 If the wskbd driver returns type 0, return "no data" from wskbd_cngetc 2017-12-18 18:57:21 +00:00
skrll
e3cfa66d2e Generalise FDT and OFW 2017-12-18 15:53:38 +00:00
jmcneill
3e50f7263d Support promiscuous mode 2017-12-18 13:56:14 +00:00
christos
a0fb54ab67 Don't use SCHED_OTHER. 2017-12-18 13:18:23 +00:00
jmcneill
84727f2c37 Use ieee80211_media_status 2017-12-18 12:42:21 +00:00
jmcneill
adfdc31244 Stop the device at attach in case it was previously initialized 2017-12-18 12:36:16 +00:00
ozaki-r
900df923cc Note that IFNET_LOCK must not be held in softint 2017-12-18 08:24:29 +00:00
msaitoh
d3007e8218 Regen. 2017-12-18 07:57:54 +00:00
msaitoh
dee7c1375b Add some Chelsio devices. 2017-12-18 07:57:36 +00:00
msaitoh
6c5f12c47e Add ixg and ixv. 2017-12-18 07:05:16 +00:00
ozaki-r
927ca71150 Fix compile error (may be used uninitialized)
Hmm, __noinline had hidden this error.
2017-12-18 05:35:36 +00:00
ozaki-r
913c95a630 Revert "Spinkle __noinline to some non-performance-sensitive functions for debugging"
We should do this kind of tweaks for debugging just locally and personally.

Requested by christos@
2017-12-18 05:35:01 +00:00
msaitoh
21674149dd Add VGA 16bit decode bit into the PCI bridge control register. This bit is
defined in PCI-to-PCI Bridge Architecture Specification Revision 1.2. This
bit has meaning if the VGA enable bit or the VGA Palette Snoop Enable bit is
set.

 NOTE: sys/arch/x86/pci/pci_ranges.c::mmio_range_extend_by_vga_enable() and/or
some other functions should be modified.
2017-12-18 04:48:28 +00:00
ozaki-r
0602b7c074 Adjust outputs of route's flags to include a numeric output 2017-12-18 04:11:46 +00:00
ozaki-r
e1353de0aa Show ARP/NDP caches as LLINFO not LLDATA for backward compatiblity 2017-12-18 04:11:13 +00:00
knakahara
decfa6a54a fix mbuf leaks. pointed out and suggested by kre@n.o, thanks. 2017-12-18 03:21:44 +00:00
knakahara
5a6bcc75c1 backout wrong fix again, sorry. 2017-12-18 03:20:12 +00:00
mrg
2449b0a157 include <compat/sys/siginfo.h> for siginfo32_t. 2017-12-18 00:33:32 +00:00
pgoyette
a9ea0b5369 If config_cfattach_detach() returns an error, handle it instead of
ignoring.  Otherwise the mutex will get destroyed and we'll unload
the module, and any active users will eventually cause a panic.

Noted by code inspection.

XXX pullup to netbsd-8
2017-12-17 22:09:47 +00:00
pgoyette
4b44327057 If config_fini_component() fails (due to device driver busy), don't
discard its error value when re-attaching the devsw.  If the devsw
is successfully re-attached and we return success, the module will
get detached anyway.  And, since the device is actually busy, we'll
eventually panic.

Thanks to nat@ for providing the reproduction instructions.

XXX A driver-busy condition will currently still trigger the error
XXX message from config_fini_component()
XXX	configure: attachment `pad' of `pad' driver fini failed: 16
XXX This will be addresses separately by having pad maintain its own
XXX ref-count and not relying on config_fini_component() to detect
XXX the busy state.
2017-12-17 21:57:11 +00:00
joerg
d8ca7f13dd Mark files not tagged with r319952 as dead. 2017-12-17 21:28:52 +00:00
joerg
2b93006b3f Be consistent with the revision numbers in the import-llvm command. 2017-12-17 21:16:57 +00:00
joerg
73fa703ffb Update for LLVM/Clang 5.0.1. 2017-12-17 21:16:33 +00:00
christos
f818d5c42e handle siginfo requests for ptrace32 2017-12-17 20:59:27 +00:00
joerg
15958edac2 Import clang r319952 from branches/release_50 2017-12-17 20:58:16 +00:00
joerg
3ec2e04849 Import LLVM r319952 from branches/release_50 2017-12-17 20:53:07 +00:00
christos
5a99a75ee4 Don't core dump when the window is too small
XXX: feed upstream
2017-12-17 17:49:04 +00:00
chs
b0c781c459 apply the same change for powerpc as mrg did for arm and mips:
CPU_INFO_FOREACH() must always iterate at least the boot cpu.
document this in sys/cpu.h and fix the arm and mips versions
to check ncpu is non zero before using it as an iterator max.

this should fix the new assert in init_main.c.
2017-12-17 17:18:34 +00:00
christos
28f60f0ed7 - reduce ifdef ugliness by moving it up top.
- factor out PT_IO and make PT_{READ,WRITE}_{I,D} use it
- factor out PT_DUMPCORE
- factor out sendsig code
... more to come ...
2017-12-17 15:43:27 +00:00
skrll
44bb5643a8 Typo in comment
cvS: ----------------------------------------------------------------------
2017-12-17 09:39:00 +00:00
christos
2b32abf16a untangle the mess:
- factor out common code
- break each ptrace subcall to its own sub-function
... more to come ...
2017-12-17 04:35:21 +00:00
kre
84c609adca Do a better job of reporting invalid numeric constants in arithmetic exprs.
For example, given $(( 08 + 1 )) (or similar) instead of reporting
"expecting end of expression"  - the generic error for parse failed,
which happened as this was parsed as $(( 0 8 + 1 )) because the 8
could not be a part of an octal constant, and that expr makes no sense -
instead say "unexpected '8' (out of range) in numeric constant: 08"
which makes the cause of the error more obvious.

NFC for valid expressions, just the error message (and the way the
error is detected).
2017-12-17 04:06:03 +00:00
christos
743f435a2d PR/52828: Mark Johnston: makefs UFS2 lazy inode initialization is buggy
makefs(8) emulates UFS2 in performing lazy initialization of inode
blocks when allocating and writing inodes. However, it only ever
initializes one inode block at a time, which may be insufficient.
If so, a later initialization may clobber an inode, resulting in
an inconsistent filesystem.

I committed a minimal fix for the problem to FreeBSD:
https://svnweb.freebsd.org/changeset/base/326912
2017-12-16 23:08:40 +00:00
jmcneill
fda0fd2b2c Use fb console by default on Pinebook 2017-12-16 21:28:19 +00:00
pgoyette
5c4820f072 Explicitly note that the required argument to the MODULE() macro is
a quoted string, or NULL.
2017-12-16 21:13:07 +00:00
jmcneill
b21fa1d510 re-enable seeprom(4), my A10 board seems happy with it again 2017-12-16 20:44:54 +00:00
jmcneill
91f7c99898 Use Timer 2 instead of the 64-bit counter as a timecounter so we can use it
in MP configurations. Should be faster as well since we don't have to do
the 64-bit counter read latch dance here.
2017-12-16 20:04:38 +00:00
christos
01d917581d Fix the build: XXX this might^Wwill break module autoloading...
It is the general issue about symbol replacement during module loading and
unloading...
2017-12-16 18:42:22 +00:00
christos
f2d2b20d38 PR/52826: Onno van der Linden: Return PRI_NONE for sched_get_priority_m{in,ax}
and SCHED_OTHER.
2017-12-16 18:31:36 +00:00
jmcneill
275b636767 Support cpu nodes without a cpu-supply property. 2017-12-16 16:41:18 +00:00
jmcneill
d00a64ef5c Add PLL1 table entry for 624 MHz 2017-12-16 16:40:33 +00:00