Commit Graph

259935 Commits

Author SHA1 Message Date
maya d36b4940fe Add entries for viadrmums to amd64 kernel configs too.
Commented out for GENERIC, same as i386.
2018-07-12 10:39:06 +00:00
nonaka 72a00d12fb Use s6, not mysin. 2018-07-12 08:20:49 +00:00
nonaka 727d6d241c ndp(8): host_buf should not be used in delete().
host_buf is passed to the argument host of delete() in do_foreach().
2018-07-12 08:16:14 +00:00
nonaka 818060011e Remove duplicate rtrlist() function prototype. 2018-07-12 07:32:35 +00:00
maxv 9d6f9abbb6 ...and obsolete the html of pmc.3 too... We will obsolete all the pmc*
references anyway.
2018-07-12 07:06:35 +00:00
maxv d611c08215 Obsolete pmc.3, it was part of libpmc. 2018-07-12 07:04:15 +00:00
maxv 18f65af8ea Retire libpmc. It uses the legacy PMC interface in the kernel, which has
support for only one ARM CPU. It used to have x86 support, but it was broken
and I removed it. The legacy PMC interface will be removed from the kernel
too. Sent on tech-kern@ yesterday, thorpej was fine.
2018-07-12 06:52:48 +00:00
ozaki-r 94cb3ba316 Don't use aprint_* functions for logging unrelated to autoconf(9) 2018-07-12 02:26:04 +00:00
christos cc9713c527 regen aarch64 2018-07-12 00:16:32 +00:00
christos 0eedf677ec it is not xx but nn that we want. also add missing dependencies. 2018-07-11 14:51:34 +00:00
christos b28c7e7ccb fix signness issues. 2018-07-11 13:52:35 +00:00
jmcneill 55f63d369b .Fl prepends a dash, no need to specify another one for qemu -fw_cfg option 2018-07-11 13:49:06 +00:00
christos d5e850450b Add another elfxx conversion. 2018-07-11 13:44:04 +00:00
jmcneill aa92b30725 Add qemufwcfg* at fdt? to synopsis 2018-07-11 13:41:23 +00:00
christos 45cf9d8189 new config files for aarch64 but no progress in getting it to work. 2018-07-11 13:34:27 +00:00
martin ed45e7ba3d Add missing <netinet/in_offload.h> include. 2018-07-11 12:48:42 +00:00
kre c935a86e5e Fix build. pf_ioctl.c needs netinet/in_offload.h (after previous change).
Because this is in a module, apparently, that means that netinet_in_offload.h
needs to get installed in /usr/include, so do that as well.

Feel free to fix this in a better way...
2018-07-11 11:13:16 +00:00
msaitoh 24a510d5b0 Print iqdrops, too. This change also fixes a bug that Odrops prints
iqdrops when kvm read failed.
2018-07-11 07:46:20 +00:00
maxv 168a93a1a2 Add KASSERTs in in_undefer_cksum_tcpudp. 2018-07-11 06:25:05 +00:00
maxv 494c795aff Style, rename 'iph' -> 'ip', and reduce the diff between
in_undefer_cksum_tcpudp and the last part of in_undefer_cksum.
2018-07-11 06:00:34 +00:00
maxv 8a353a21b4 Remove the callback, localify, and add a comment. 2018-07-11 05:38:55 +00:00
maxv 3574e9908d Rename
ip_undefer_csum  -> in_undefer_cksum
	in_delayed_cksum -> in_undefer_cksum_tcpudp

The two previous names were inconsistent and misleading.

Put the two functions into in_offload.c. Add comments to explain what
we're doing.

The same could be done for IPv6.
2018-07-11 05:25:45 +00:00
msaitoh 8714b1524a - Detect and set Atom's Tj(max) to 90 if it's not the 45nm D400/D500/N400
series (90 for Diamondville and 100 for Pineview). From FreeBSD r221509.
- Reduce diff a little against FreeBSD.
2018-07-11 03:36:32 +00:00
ozaki-r 54f5265e5a arp: warn if failed to delete a specified arp entry
This restores the original behavior of arp in NetBSD 7.
2018-07-11 03:10:48 +00:00
kre ab153fdec2 Build fix: Supply missing symbol definition.
Value taken from OpenBSD (and confirmed with FreeBSD)
(Feel free to fix/reformat as appropriate...)
2018-07-11 00:46:39 +00:00
christos 8e0030187e Back to always using just the list of sources for the hash. Hopefully this
is reproducible now.
2018-07-10 23:25:27 +00:00
kre 9cd0900ff2 Whitespace fixes. NFC. 2018-07-10 22:52:38 +00:00
sevan 0266197a3e Amend whitelisted filesystem paths ssh-agent will look for PKCS11 related
libraries so that things work out of the box with pkgsrc without having to
explicitly whitelist things.

ok christos
2018-07-10 22:12:08 +00:00
jdolecek abf5da6304 replace code using SK_WA_4109 workaround flag by explicit conditional
on affected type ids and revisions, so it's properly applied whenever
new types are added; taken with FreeBSD

contrary to FreeBSD, keep the IWM workaround for all XL revs - my XL rev. A3
seems to consistently have slightly (~2%) better Rx performance with the 0x04
value
2018-07-10 20:48:54 +00:00
maya 6b85aa7e67 Remove unused macro. 2018-07-10 19:55:05 +00:00
kre 861218d79d UPdate previous so that there is no unused (but assigned) variable
left when there is no ARP.   Thanks gcc!
2018-07-10 19:30:37 +00:00
jdolecek 40376f17a2 minor fix for earlier sync with OpenBSD if_msk.c; remove duplicit
COMA handling, add also workaround code for Yukon EC Ultra and EX, and
remove a write-only assignment
2018-07-10 18:43:20 +00:00
jdolecek 613977bfee add the RX refill callout (forgot to commit with if_msk.c change) 2018-07-10 18:42:37 +00:00
jdolecek 08b17c6e4b fix comment typo 2018-07-10 18:34:42 +00:00
jdolecek 1c2b5223f2 add callout for re-filling RX ring - it's invoked when the RX refill
code can't get enough buffers; fixes possible stall when the RXSTAT
interrupt arrives while no buffers are available

idea from OpenBSD if_msk.c rev. 1.131

as part of this remove the confusingly commented re-fill code from
msk_jfree() and instead just invoke the callout if needed; also
refill in msk_intr() only when running low instead of every RX intr;
this simplifies the code, and gives small RX performance boost on
my hardware (6%: ~38 MB/s -> ~40 MB/s)

tested on SK-9E22 (Yukon-2 XL rev. A3) by me, and 88E8071 (Yukon-2
Extreme rev. B0) by Jogn Halfpenny; unfortunately still doesn't
resolve the PR kern/53301 stall
2018-07-10 18:32:25 +00:00
maya dbf7303b20 Add missing file to openchrome driver.
Prior to this commit, startx failed with a missing symbol.
2018-07-10 17:36:38 +00:00
maya 952ab4fc36 Remove viadrm(4), superseded by viadrmums.
Aside from viadrm using older drm code, it's also dysfunctional right now.
See PR port-i386/53364.
2018-07-10 17:01:42 +00:00
christos 305c0f0c67 Build seed fixes:
- use MKREPRO_TIMESTAMP as the seed if available.
    - skip relative paths that cannot be normalized if it is not
XXX: pullup-8
2018-07-10 16:53:16 +00:00
maxv 97fb8efb72 Modify the logic in npf_reassembly. Don't call nbuf_reset, we don't need
it since we don't read the IPv4 header anymore.

If ip{6}_reass_packet fails, always free 'm', and always clear the nbuf.

We want to avoid the case where

	'm' was reallocated
	the nbuf pointer was not updated accordingly
	the caller tried to use the nbuf pointer

This case doesn't happen right now, but the code is fragile, so strengthen
it.
2018-07-10 16:49:09 +00:00
maxv 41fcd1f412 Remove the second argument from ip_reass_packet(). We want the IP header
on the mbuf, not elsewhere. Simplifies the NPF reassembly code a little.
No real functional change.
2018-07-10 15:46:58 +00:00
maxv d755c8c395 Simplify the pointer handling. Set *mp = NULL at the beginning of the
function. In npf_reassembly, pass a simple boolean instead of a ** mbuf
pointer. Add a KASSERT for IPv4, we don't want (error && !m). Remove
the 'fastout' label, use 'out'.
2018-07-10 15:25:01 +00:00
maya 48355a066a Don't mention options that don't appear in kernel code. 2018-07-10 15:12:29 +00:00
maxv 2be6e4a118 Update the pointer when fast-kicking, because it may have been freed.
Before my changes the nonsensical pointer ininitialization held, but
when I started introducing sanity checks the whole thing collapsed.

Need pullup-8.
2018-07-10 14:04:07 +00:00
spz 6814d65be3 regenerated (now with correct reference id) 2018-07-10 13:36:51 +00:00
spz d6ad628727 change handling hint to point to the full instructions
(comment change only)
2018-07-10 13:32:38 +00:00
martin 16afadc5f4 Drop output for MAKECONF MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE
in MKREPRO=yes builds.
2018-07-10 13:22:22 +00:00
martin d9126d9021 Explicit heimbase dependency (similar to other recent MKREPRO fixes) 2018-07-10 13:17:36 +00:00
maxv 6ecdec375e Set con = NULL just once, instead of doing it in each branch. 2018-07-10 12:31:46 +00:00
spz dae7b36bbb add Yubikey ids, this time more complete (thanks for the reminders) 2018-07-10 11:21:34 +00:00
kre 0eb6700350 Avoid attempting to call arp related functions if there is no
arp in the kernel.
2018-07-10 11:00:40 +00:00