Commit Graph

277570 Commits

Author SHA1 Message Date
riastradh 78d996a8c7 Tidy up includes. 2020-06-13 18:38:33 +00:00
riastradh b7d1603032 Print cgd self-test noise only with verbose boot. 2020-06-13 18:36:07 +00:00
riastradh 4622bdf7a0 Fold `cipher prep' into `cipher' in cgd.
Simplify some logic along the way and u_int*_t -> uint*_t.
2020-06-13 18:35:35 +00:00
riastradh 4c4351ef4f Nix trailing whitespace. 2020-06-13 18:00:29 +00:00
riastradh 025a8ce8b7 Nix trailing whitespace. 2020-06-13 17:39:42 +00:00
wiz e38e8568c9 Add -46 to usage. 2020-06-13 16:56:46 +00:00
kamil d8442aacf9 Fix incompatible function pointer casts 2020-06-13 16:51:59 +00:00
ad 5ff92c25cc Comment out "options PMAPCOUNTERS". It adds much overhead and is mostly of
interest to people hacking on the VM system or pmap.  Proposed on port-arm@.
2020-06-13 16:51:25 +00:00
simonb 4983df5066 Correct a comment (or at least comment on what we do instead of half of
what we do).
2020-06-13 14:45:17 +00:00
simonb 956c4f10da Move MIPSNN_CFG3_ULRI so that it doesn't appear in some random position
among the other config3 register definitions.
2020-06-13 14:41:24 +00:00
simonb e6beb18405 Use the correct config3 field name (ULRI) for UserLocal register is
implemented bit.
2020-06-13 14:39:07 +00:00
sevan 4fc6f47689 BAU 2020-06-13 14:31:49 +00:00
simonb db0fd73074 Note some hard-coded capabilties that can be probed.
XXX: Fix this and CPU table in mips/mips_machdep.c one day...
2020-06-13 14:26:33 +00:00
uwe b37b5fea79 Support IPv6.
Use getaddrinfo(3).  Add -4 and -6 command line options.  Obey USE_INET6.
2020-06-13 13:45:06 +00:00
simonb 87602b62fd Add a comment to say that instruction encoding 0x7c03e83b is "rdhwr $3,$29". 2020-06-13 12:53:42 +00:00
ryo 74d97d4d90 add entry for ASIX AX99100 PCIe 4port serial card 2020-06-13 12:42:58 +00:00
ryo a8bb379d7f regen 2020-06-13 12:42:50 +00:00
ryo 5a20f17b50 add ASIX AX99100 Multi I/O (Serial,Parallel,I2C,SPI,LocalBus,GPIO) Controller 2020-06-13 12:42:26 +00:00
lukem 05b5ecc6fd nbmake bootstrap: silent configure if MAKEVERBOSE==0
Be consistent with the silencing of configure in tools/
and suppress the output in build.sh configure of nbmake
2020-06-13 11:42:47 +00:00
lukem b88ffc9699 nbmake bootstrap: be quieter if MAKEVERBOSE==0
More accurately simulate <bsd.own.mk> and don't even print
the "compile" lines with MAKEVERBOSE=0
2020-06-13 11:39:43 +00:00
lukem d9c439f9ab nbmake bootstrap: consistency fix in MAKEVERBOSE<2 support 2020-06-13 11:32:52 +00:00
lukem 7021f3fda6 nbmake bootstrap: if MAKEVERBOSE < 2, output similar to <bsd.own.mk> 2020-06-13 11:28:24 +00:00
lukem 49c251eb17 tools: configure --silent if MAKEVERBOSE == 0 2020-06-13 10:49:17 +00:00
lukem ccc4feaf7c tools: if MAKEVERBOSE < 2, quieten automake builds 2020-06-13 08:12:16 +00:00
rillig e8c43cef44 usr.bin/make: remove redundant parentheses around return 2020-06-13 07:48:59 +00:00
rillig 6bcabb95b0 usr.bin/make: consistently use ++ for incrementing pointers 2020-06-13 07:36:07 +00:00
rillig 2548dc6c57 usr.bin/make: fix typo in comment 2020-06-13 07:30:02 +00:00
mlelstv 6e32809d5a COMPAT_90 doesn't necessarily imply COMPAT_50. So include compat in6_var.h in
either case.

Fixes evbarm build that starts with COMPAT_60.
2020-06-13 06:05:08 +00:00
jdc b7e39d99d6 Initialise the mutex before we use it. 2020-06-13 05:31:28 +00:00
roy 36224f99b2 SCTP: Use ifp->if_mtu rather than ND_IFINFO(ifp)->linkmtu 2020-06-13 01:41:59 +00:00
roy 73dd2b525a ndp: Sync usage and SYNPOSIS with reality 2020-06-12 21:08:02 +00:00
wiz a00a9756c0 Use more markup. 2020-06-12 20:58:43 +00:00
thorpej 0cb58bf8bb pmf-powerdown == false --> pmf-no-powerdown == true 2020-06-12 15:34:20 +00:00
roy a8f6cc004f Add nd6.h compat header 2020-06-12 15:25:26 +00:00
thorpej 0f27fc555a Update for proplib(3) API changes. 2020-06-12 14:52:11 +00:00
fox cdb11efe4c external/gpl3/gcc: Suppress -Werror=maybe-uninitialized
Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro
stores the value into prev_label, so it is alright for prev_label to
be uninitialized.

Error was reported when build.sh was run with MKSANITIZER=yes flag.

Reviewed by: kamil@
2020-06-12 14:37:51 +00:00
roy 3b92118080 Revert accidental part of prior 2020-06-12 14:12:20 +00:00
tsutsui 2a59539233 Remove unused OPENBSD_RAW_PART. (copied from arc?) 2020-06-12 11:21:36 +00:00
roy 3181ddd658 9.99.66 welcomes the removal of in-kernel RA handling 2020-06-12 11:09:49 +00:00
roy f08ab056c7 Note removal of RA handling. 2020-06-12 11:07:43 +00:00
roy b05648aa26 Remove in-kernel handling of Router Advertisements
This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).
2020-06-12 11:04:44 +00:00
roy 3148a52497 ipfilter: Prepare for life without in kernel RA 2020-06-12 10:35:59 +00:00
msaitoh e0743f02dc - Remove extra kpreempt_disable() -> kpreempt_enable() because
ixgbe_handle_msf() was changed from softint to workqueue.
- Set schedule_wqs_ok before enabling interrupt to prevent the race.
- Fix comment.
2020-06-12 09:28:48 +00:00
macallan dd42af5e6b more proplib API catchup 2020-06-12 06:44:57 +00:00
thorpej 1d33f10f86 Update for proplib(3) API changes. 2020-06-12 03:41:57 +00:00
thorpej 8a919d640d i2c-indirect-config == false --> i2c-no-indirect-config == true 2020-06-12 03:32:30 +00:00
fox 113ec9c52a lib/libpam: Fix the possible -Werror=stringop-truncation
Replace strncpy(3) with the safer strlcpy(3) and adjust the code.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@, christos@
2020-06-12 01:20:32 +00:00
thorpej 6620d0c742 Change previous to only apply when building with clang. 2020-06-12 00:02:26 +00:00
sevan 7509833203 QOI 2020-06-11 23:19:53 +00:00
ad 65d23cfd4d Counter tweaks:
- Don't need to count anonpages+filepages any more; clean+unknown+dirty for
  each kind of page can be summed to get the totals.

- Track the number of free pages with a counter so that it's one less thing
  for the allocator to do, which opens up further options there.

- Remove cpu_count_sync_one(). It has no users and doesn't save a whole lot.
  For the cheap option, give cpu_count_sync() a boolean parameter indicating
  that a cached value is okay, and rate limit the updates for cached values
  to hz.
2020-06-11 22:25:51 +00:00