simonb
6e33305585
For vmstat -h/-H, calculate the hash element size correctly instead of
...
assuming that everything that isn't a list is a tailq. Fixes random
reads from kmem that either fail or return incorrect data for the vcache
hash table.
2021-03-03 08:25:16 +00:00
nat
7ed931797f
Opps....Remove irrelavent debug code and don't free_m before IFQ_DEQUEUE().
...
Identified and reported by Patrick Welche and remedy found by Martin Husemann.
2021-03-02 22:21:38 +00:00
gdt
8d25d3c3ab
XEN3_DOM0: Fix pckbc console attachment logic
...
Copy PCKBD_CNATTACH_MAY_FAIL lines from GENERIC to XEN3_DOM0.
GENERIC defines PCKBD_CNATTACH_MAY_FAIL, which means that an attempt
to activate console input on pckbc will fail if there is no keyboard
present. This is a problem on semi-modern machines that have pckbc
silicon but not ports, and thus almost always have a USB keyboard
also. What I suspect are bugs in console attachment logic lead to
attempting to attach a ukbd while there already is a console keyboard,
and with DIAGNOSTIC this is (properly) fatal, so XEN3_DOM0 blows up
with a USB keyboard in current, and probably not in 9.
Live tested on a machine that previously paniced on boot.
2021-03-02 18:10:31 +00:00
gdt
be951fc2a5
XEN3_DOM0: Sync VERBOSE with GENERIC
...
Copy the *VERBOSE option block from GENERIC, and prune the scattered
verbose options in XEN3_DOM0, surely dating from a time they were
copied from an earlier GENERIC. This amounts to adding PCIVERBOSE and
SCSIVERBOSE, and the diff from GENERIC to DOM0 boots is markedly
reduced.
2021-03-02 18:06:12 +00:00
christos
5d8f515b0c
Only specify the dependencies if we are making the copy target.
2021-03-02 14:26:00 +00:00
rin
8994e0c03e
Adjust tabs. Add NetBSD RCSID. No binary changes.
2021-03-02 13:44:58 +00:00
rin
dea2c7b807
Convert to intr_establish_xname().
2021-03-02 12:01:02 +00:00
rin
5b00ec55f8
Stop registering same function twice, i.e., for pckbd(4) and pms(4),
...
via intr_establish().
2021-03-02 11:59:49 +00:00
jmcneill
02b4ea3438
Fix previous: Each line is "stride" bytes wide, not "width * depth".
...
While here, add a comment explaining what this test is doing.
2021-03-02 11:51:00 +00:00
msaitoh
04bd99af76
Fix jcl's starvation case in ixgbe_rxeof() again.
...
ix_txrx.c rev.1.64 preallocates jcl to prevent starvation but it's not
perfect. Don't use ixgbe_rx_discard() and just update the old descriptor
for reuse. It's also required for multiple descriptors case to refresh
subsequent descriptor(s). Reviewed by knakahara@.
2021-03-02 11:10:53 +00:00
uwe
d5a7953cd7
Use proper -width instead of the cargo-cult value.
2021-03-02 10:17:25 +00:00
uwe
e6330ecec4
Sort config file flags and command line options.
2021-03-02 10:14:59 +00:00
uwe
b3a91da400
Fix markup so that literals are typeset as literals.
2021-03-02 10:12:33 +00:00
skrll
d971f966d1
Ensure the "memory" clobber is on inline assembly store operations
...
No binary change of note with this change in MALTA32
2021-03-02 08:16:52 +00:00
knakahara
45f95ba0ee
Fix build failure for options NET_MPSAFE.
2021-03-02 07:55:16 +00:00
rin
154b416600
Establish kernel MMU context before turning on MMU.
2021-03-02 07:44:08 +00:00
rin
525fa25264
Switch to genppc_cpu_configure().
2021-03-02 07:38:48 +00:00
rin
f42e708f3f
Turn imask into static.
...
XXX
Other macro etc. in powerpc/intr.h should also be moved into
powerpc/pic/intr.c, or protected by __INTR_PRIVATE.
2021-03-02 07:37:27 +00:00
rin
543561f91c
Invoke calc_delayconst() before read_eeprom(), which uses delay(9).
...
Fix unintended looong waiting time during boot.
2021-03-02 07:27:24 +00:00
rin
89ec4cfcd0
Do not forcibly turn off PPC_4XX_NOCACHE option.
2021-03-02 07:23:22 +00:00
rin
1f194d9ab0
Use genppc_cpu_configure() instead of calling spl0() directly
...
(and optionally printing out imask).
2021-03-02 07:21:01 +00:00
simonb
60f64147e4
Revert previous, 11th time failed after commit. Problem must be elsewhere.
2021-03-02 07:16:24 +00:00
simonb
d71e98b9d4
Bump tentative flag timeout (-w) from 10 to 20 seconds. Changes this
...
test from failing roughly half the time to working 100% over 10 tests on
evbmips er4.
2021-03-02 07:02:14 +00:00
skrll
abed577279
Sanity check size vs width x height x depth. Buggy firmware exists.
2021-03-02 07:02:05 +00:00
macallan
df47c582a8
add gffb
...
tested on 20" 1.8GHz iMac G5
2021-03-02 06:31:25 +00:00
thorpej
fe6f7c35d8
- Add a boolean "ofwbootcons_suppress" that, when true, suppresses
...
ofwbootcons I/O (i.e. "doesn't call into OFW"). This allows
platform code to ensure that early console I/O doesn't occur in certain
critical sections.
- When printing the translations, put phys next to virt for easier
visual comparisons.
2021-03-02 02:28:45 +00:00
thorpej
f8b788dda6
Complete the pmap symbol renaming shenanigans for pmap_bootstrap[12]().
2021-03-02 01:47:44 +00:00
rin
d6068b83a6
KNF. No binary changes.
2021-03-02 01:20:35 +00:00
rin
dbd8077eae
Consistently right-justify backslash in macro definition.
...
No binary changes.
2021-03-02 01:15:15 +00:00
simonb
ec07c80492
Don't show any of the completely and utterly undocumented VTW info if
...
the feature isn't enabled (by checking net.inet.tcp.vtw.enable).
2021-03-02 01:02:12 +00:00
rin
ed18819df2
Apply PMAPNAME() to pmap_bootstrap[12](); fix build for ofppc, which has
...
both pmap32 and pmap64bridge in a single kernel.
2021-03-02 00:28:55 +00:00
gdt
513817ff3f
ukbd: GC some 20 year old code (NFC)
...
Long ago, code was improved to allow detaching keyboards that were the
console, but the old commen and panic() were #if 0'd instead of
removed.
2021-03-02 00:18:22 +00:00
gdt
b875ea321e
ukbd: Condition probe-time verbosity on USBVERBOSE
...
Previously, this driver switched on more verbose messages based on
DIAGNOSTIC. But, the messages weren't about an impossible-to-reach
condition, just extra keys. Change the condition to USBVERBOSE,
documented as serving this purpose.
2021-03-02 00:01:27 +00:00
christos
b60051daa5
require NETWORKING otherwise amd can come up before the network is up and
...
it needs to be able to do DNS.
2021-03-01 23:02:30 +00:00
mrg
a743b48bde
note that "enum usbnet_ep un_ed" member is the wrong type, and should
...
be "uByte un_ed", and fix when we version this next. noticed by martin@
2021-03-01 22:59:52 +00:00
christos
470ca8d3bc
update some versions
2021-03-01 22:07:58 +00:00
wiz
d7baa73527
Sort options in synopsis
2021-03-01 21:43:00 +00:00
otis
3128aa54a9
Implement 'E' flag that prevents newsyslog from rotating empty log files.
2021-03-01 21:37:10 +00:00
jakllsch
9c8ef71e39
and the html for rge(4)...
2021-03-01 21:01:39 +00:00
jakllsch
4c9aff59fc
add rge
2021-03-01 18:18:39 +00:00
wiz
0c6f663d29
Fix Dd, comment out OpenBSD-only page.
2021-03-01 18:14:05 +00:00
jakllsch
d350c9c08b
enable rge(4) on x86 and evbarm64
2021-03-01 18:12:58 +00:00
jakllsch
f953b8197c
link to rge(4) from pci(4)
2021-03-01 18:08:36 +00:00
jakllsch
dc78acc9bb
install rge(4) manual
2021-03-01 18:01:05 +00:00
jakllsch
11a67816dc
update rge(4) manual page from OpenBSD
2021-03-01 17:58:33 +00:00
jakllsch
b872945336
add rge(4) to x86 ALL kernels
2021-03-01 17:53:29 +00:00
jakllsch
e13c9dce68
Update rge(4) from older OpenBSD, finish porting.
...
Should consider merging this all into re(4) and rgephy(4) someday.
Some cleanup tasks remain here.
2021-03-01 17:48:52 +00:00
jakllsch
68918b850b
reduce aprint_error(9) abuse
2021-03-01 17:41:00 +00:00
martin
6390772e1b
Drop IEEE802.11 support from the ramdisk's ifconfig(8)
2021-03-01 16:50:01 +00:00
martin
7ea81546f1
Now that we use the "hacked" (non-widechar) curses, drop -lcurses
2021-03-01 16:49:07 +00:00