Commit Graph

276204 Commits

Author SHA1 Message Date
rin
b203ba4088 Make crypto/rijindael optional again as cprng_strong does no longer
depend on it. Dependency is explicitly declared in files.foo if a
component requires it.
2020-04-22 09:15:39 +00:00
rin
1d3b363c69 Use __mc68010__ to distinguish m68000 (sun2) from other m68k ports;
__mc68000__ is defined both for m68000 and m68k.
2020-04-22 08:48:12 +00:00
rin
45df14becf Fix previous for libhack, where _REENTRANT is not defined;
arenas_map_key is used only when NO_TLS && _REENTRANT.
2020-04-22 08:45:06 +00:00
msaitoh
e38d0f2099 Add Whiskey Lake U and Amber Lake Y support. 2020-04-22 07:17:01 +00:00
msaitoh
7face50542 Regen. 2020-04-22 06:36:31 +00:00
msaitoh
922e84e5be Add Intel Whiskey Lake U and Amber Lake Y devices. 2020-04-22 06:35:58 +00:00
msaitoh
0b582d1ef8 Add Aquantia AQC100, AQC100S and D100. 2020-04-22 06:35:01 +00:00
joerg
7f1e8ea859 Drop obsolete special case for clang/ppc. 2020-04-21 22:27:09 +00:00
joerg
880ddc3f7b Switch to using TLS in old jemalloc for everywhere but VAX and sun2. 2020-04-21 22:22:55 +00:00
ad
709f03f783 NetBSD 9.99.57 - cwdinfo changed 2020-04-21 21:53:53 +00:00
ad
d5c789b132 - Give cwdi_lock its own cache line, for multithreaded processes.
- Comments.
2020-04-21 21:46:07 +00:00
ad
e88c11f417 Revert the changes made in February to make cwdinfo use mostly lockless,
which relied on taking extra vnode refs.

Having benchmarked various experimental changes over the past few months it
seems that it's better to avoid vnode refs as much as possible.  cwdi_lock
as a RW lock already did that to some extent for getcwd() and will permit
the same for namei() too.
2020-04-21 21:42:47 +00:00
joerg
d3db4b791c Use -Wno-error=address-of-packed-member for a number of more boot
loaders.
2020-04-21 21:39:07 +00:00
jdolecek
6598a12f12 two more files to convert to newer HYPERVISOR_physdev_op() interface 2020-04-21 20:20:39 +00:00
jdolecek
a46ed5ed28 convert to newer HYPERVISOR_physdev_op() interface, now command and the
arg are separate arguments - this is needed for newer physdev_op commands

remove code for PHYSDEVOP_IRQ_UNMASK_NOTIFY, it is obsolete since
interface version 0x00030202 and is unsupported by newer versions of Xen

confirmed working on amd64 Dom0, i386 compile-tested only
2020-04-21 20:13:39 +00:00
jdolecek
374fa9096b adjust so that this at least compiles and links with __HAVE_PCI_MSI_MSIX 2020-04-21 19:03:51 +00:00
ad
9d4a89774b XEN_IPI_KICK was replaced by XEN_IPI_AST. 2020-04-21 18:25:11 +00:00
ad
f2b12188f2 Remove spurious reference to XEN_IPI_KICK - it represents the absence of
a specific IPI type.
2020-04-21 18:24:05 +00:00
ad
b37fe0ba06 Follow convention and put entire predicate inside __predict_false() 2020-04-21 18:22:29 +00:00
ad
8ba86ba0f4 vmem_list_lock needs to be an adaptive lock. Fixes LOCKDEBUG panic. 2020-04-21 17:50:19 +00:00
christos
3341d0805a use %s/__func__ so that the strings can be shared. 2020-04-21 15:04:12 +00:00
jdolecek
e82ca0a16f add blkif_x86_{32,64}_request_indirect types 2020-04-21 14:51:06 +00:00
jdolecek
94691d8e26 also note the 64KB MAXPHYS for xbd(4) 2020-04-21 14:29:00 +00:00
jdolecek
23aeabf268 note indirect segment support for xbd(4) and xbdback(4) 2020-04-21 14:26:15 +00:00
christos
a8dbdb5e18 PR/55193: Jose Luis Duran: Fix wrong location for the db file. 2020-04-21 13:57:12 +00:00
jdolecek
c8d4159080 add support for indirect segments, which makes it possible to pass
up to MAXPHYS (implementation limit, interface allows more) using
single request

request using indirect segment requires 1 extra copy hypercall per
request, but saves 2 shared memory hypercalls (map_grant/unmap_grant),
so should be net performance boost due to less TLB flushing

this also effectively doubles disk queue size for xbd(4)
2020-04-21 13:56:18 +00:00
sevan
34288561bc new openssl 2020-04-21 13:39:26 +00:00
jdolecek
e1dfee40ed adjust the condition for max indirect segments to make it clear what
is really needed (enough to map MAXPHYS + 1 page); no functional difference
2020-04-21 13:31:08 +00:00
wiz
7e0632ed7c Remove dst variable that was only set but not used.
(This broke the build for me.)
2020-04-21 12:23:13 +00:00
wiz
0b093b79d0 Update getopt string.
Remove -M. Add -C (the code is there and documented, even if noone could
activate it...).
Sync usage with manpage.
2020-04-21 12:21:27 +00:00
wiz
02044da044 Remove -M from SYNOPSIS as well. 2020-04-21 12:19:44 +00:00
roy
ec3335a0cf rtadvd: Remove disabled use of SIOCGIFPREFIX_IN6
It's not been enabled since the functionality was added to ifconfig(8)
many many years ago.
2020-04-21 12:16:47 +00:00
roy
afce0d5d3d rtadvd: Remove router renumbering - it's been disable for years 2020-04-21 12:05:54 +00:00
joerg
6136b94a6d LLVM is a bit stricter and wants the ARM variant of %progbits. 2020-04-21 11:35:02 +00:00
roy
08fd07afd7 Note newer dhcpcd 2020-04-21 09:58:07 +00:00
roy
5e47f81657 Sync 2020-04-21 09:55:33 +00:00
roy
4f06a81613 Update to dhcpcd-9.0.2 with the following changes:
* Control sockets are not opened in test mode
 * privsep: no longer aborts if protocol not available
 * inet6: Don't regen temporary addresses without a state
 * inet6: Reduce RA log spam
 * dhcp6: Don't log when things consitently fail
 * inet6: Add temporary directive to slaac option [1]
 * Ensure current interface flags persist when setting a flag
 * DHCP via BPF is now aligned correctly
 * CMSG buffers are now aligned correctly
 * hostnames are no longer clobbered when being forced and a RA is recieved

[1] dhcpcd no longer looks at any possible kernel settings when deciding to
manage IPv6 temporary addresses or not. You now instruct dhcpcd to do this
in dhcpcd.conf. Playing whack-a-mole with various kernel knobs wasn't fun
and some OS's have or are removing RA and thus temporary address managemnt
from the kernel so said knobs are no longer there.
2020-04-21 09:54:16 +00:00
wiz
ea46249485 postfix-3.5.1 out. 2020-04-21 09:20:17 +00:00
tsutsui
002cd7e770 Fix garbages in dmesg caused by uninitialized variables slipped in r1.228.
Noticed in HP9000/362 dmesg:
 https://dmesgd.nycbug.org/index.cgi?do=view&id=5459

Should be pulled up to netbsd-8 and netbsd-9.
2020-04-21 09:02:33 +00:00
msaitoh
63b1965d06 Print "Hz". 2020-04-21 07:08:12 +00:00
skrll
e73e9e3457 There is no fast spoon^Wfast path in pmap_clearbit.
PR port-arm/55186: tests crash arm pmap

Tested by martin@
2020-04-21 06:45:16 +00:00
mrg
977bcc00aa pull in atomicity.h (atomicity.cc) on sparc. 3 of the objects
use these interfaces and this avoids link errors

fixes PR#54660.
2020-04-21 05:23:41 +00:00
msaitoh
0b543d607b Whitespace fix. No functional change. 2020-04-21 05:18:14 +00:00
msaitoh
0360a7d374 Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors.
- If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
   can take TSC/core crystal clock ratio but core crystal clock frequency
   can't be taken. Intel SDM give us the values for some processors.
 - It also required to change lapic_per_second to make LAPIC timer correctly.
 - Add new file x86/x86/identcpu_subr.c to share common subroutines between
   kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
   will be moved to this file in future.
 - Add comment to clarify.
2020-04-21 02:56:36 +00:00
mrg
cd60cc0227 when sorting all_extensions_by_on[] be sure to keep the NULL
entry last.  correct the sizeof() to use the right variable
(they were the same size at least.)  as-was, with the NULL
entry first, all loops across this array were no-ops.

this should fix PR#55158's arm64 side.
2020-04-20 21:57:22 +00:00
ad
4e73754f15 Rename buf_syncwait() to vfs_syncwait(), and have it wait on v_numoutput
rather than BC_BUSY.  Removes the dependency on bufhash.
2020-04-20 21:39:05 +00:00
bouyer
c0f9515706 Pull from bouyer-xenpvh:
Bad news:
 * grant table v2 is not supported for HVM guests on 4.11 at last.
 * see xen/arch/x86/hvm/hypercall.c in Xen sources (missing
 * GNTTABOP_get_status_frames)

So restore grant table v1 for !XENPV
2020-04-20 20:03:21 +00:00
jdolecek
e9cd31ec89 xbdback_fragio_intvl is also no longer used 2020-04-20 19:29:09 +00:00
bouyer
ce626ba504 Fix build with DIAGNOSTIC 2020-04-20 19:20:35 +00:00
christos
b0b1da0678 - Allow root to set system attributes, samba does this
- Fix locking issue, perhaps we should use our own mutex; does not seem worth
  it for this simple case.
2020-04-20 18:10:10 +00:00