Commit Graph

257209 Commits

Author SHA1 Message Date
knakahara 130a306c85 Functionalize duplicated code. No functional changes. 2018-03-09 11:03:26 +00:00
knakahara 6be8939a62 Fix missing sadb_x_ipsecrequest informations for PF_KEY message. 2018-03-09 11:01:41 +00:00
knakahara fceccdc8f9 NAT-T src and dst port in ipsec_variant should be network byte order. 2018-03-09 10:59:36 +00:00
msaitoh 0a42effe43 Add yet another Shared L2 TLB (2M/4M pages).
XXX need redesign.
2018-03-09 08:49:32 +00:00
msaitoh b4914b1997 Make some event counters MP safe. Now all of the event counters are
MP safe.
2018-03-09 06:27:53 +00:00
christos 11ab244b7f use the magic - 2018-03-09 02:36:28 +00:00
christos 97b4576f10 Add the rest of the earm flavors; madness. 2018-03-09 01:34:30 +00:00
christos c9896dce02 Don't define the v8 functions for v7! 2018-03-09 01:33:57 +00:00
macallan 09f8419f79 add fcu at iic 2018-03-08 23:27:12 +00:00
macallan cfa90a0f1f preliminary driver for the fan control unit found in some G5 2018-03-08 23:25:56 +00:00
nonaka 58c029ad93 Add missed file in previous commit.
> efiboot: system can boot from CD/DVD-ROM media.
2018-03-08 23:02:50 +00:00
macallan 2daa0664f9 use channel info and set MODE bits accordingly instead of hoping OF set them
for us
now iic devices on different channels work properly
2018-03-08 21:53:20 +00:00
christos 39cdfefb57 add missing debuglib 2018-03-08 20:39:40 +00:00
christos eab7c2b73f PR/53081: Fix size of the shift to depend on the type of the bitmap so that
we get the correct width.
2018-03-08 20:32:32 +00:00
martin e2838b1f9e The PCI_PRODUCT_VIATECH_VT82C686A_SMB has been renamed, adjust. 2018-03-08 18:48:25 +00:00
sevan 7acf00be8e Update URL for the cited paper 2018-03-08 17:57:15 +00:00
christos a10a55c9e9 oops forgot to commit this. 2018-03-08 13:38:02 +00:00
nonaka cefc4c6cc1 efiboot: system can boot from CD/DVD-ROM media. 2018-03-08 10:34:33 +00:00
msaitoh 9da7fe5bb1 s/20183/201803/ 2018-03-08 10:17:22 +00:00
msaitoh b23422ee7d sdtemp(4): Add Microchp EMC1501, another device ID of Maxim MAX6604 support.
ichsmb(4): Add support for Intel C620, Apollo Lake and Gemini Lake devices.
lm(4): Add NCT6796D support.
2018-03-08 10:14:00 +00:00
mrg d6ef9967c8 use 1ul for a left shift that may be greater than int sized.
noticed by martin.

fixes PR#53081.
2018-03-08 10:06:18 +00:00
maxv 9213b2e9ef Switch nptr to uint8_t, and use nbuf_ensure_contig. Makes us use fewer
magic values.
2018-03-08 07:54:14 +00:00
wiz 6857c1356c Remove Tn. Add serial comma. 2018-03-08 07:39:28 +00:00
msaitoh ee1ee2d938 Add NCT6796D. 2018-03-08 07:35:21 +00:00
maxv b24cc1c550 Declare NPC_FMTERR, and use it to kick malformed packets. Several sanity
checks are added in IPv6; after we see the first IPPROTO_FRAGMENT header,
we are allowed to fail to advance, otherwise we kick the packet.

Sent on tech-net@ a few days ago, no response, but I'm committing it now
anyway.
2018-03-08 07:06:13 +00:00
ozaki-r f670488b19 Fix a race condition on DAD destructions (again)
The previous fix to DAD timers was wrong; it avoided a use-after-free but
instead introduced a memory leak.  The destruction method had delegated
a destruction of a DAD timer to the timer itself and told that by setting NULL
to dp->dad_ifa.  However, the previous fix made DAD timers do nothing on
the sign.

Fixing the issue with using callout_stop isn't easy.  One approach is to have
a refcount on dp but it introduces extra complexity that we want to avoid.

The new fix falls back to using callout_halt, which was abandoned because of
softnet_lock.  Fortunately now the network stack is protected by KERNEL_LOCK
so we can remove softnet_lock from DAD timers (callout) and use callout_halt
safely.
2018-03-08 06:48:23 +00:00
wiz f55f5e634e Bump date for previous. 2018-03-08 06:47:30 +00:00
martin ee301cc02e __BITMAP_ZERO() only takes the pointer to the bitmap as an argument 2018-03-08 05:50:13 +00:00
msaitoh 40e85fdc03 Sort entries. No functional change. 2018-03-08 04:15:11 +00:00
christos 4be809cba5 need CRYPTO_memcmp() 2018-03-08 03:15:08 +00:00
christos 49ec5300d6 add size directives. 2018-03-08 03:14:31 +00:00
mrg f91c3f82a9 fix various gcc6 m68k issues:
- bad indentation.  next68k en.c and mvme68k le_poll.c fixes real issues
  in error handling, the rest are NFCI.
- pass 68030 flags as appropriate for mvme68k.
- next68k nextrom.c has -Warray-bounds ignored for an odd expression
  that appears to run before relocation, and needs manual offsets
  added which trips bounds array checking.

with this all m68k ports build with GCC 6.
2018-03-08 03:12:01 +00:00
knakahara c4f07af713 Reduce duplicated code which schedule deferred packet processing. No functional change. 2018-03-08 02:41:27 +00:00
knakahara 6020b04524 Fix INTx/MSI handler did not schedule workqueue. Pointed out by msaitoh@n.o. 2018-03-08 02:39:42 +00:00
maya a671135b0f Adjust ci on the second iteration.
Now a MULTIPROCESSOR+LOCKDEBUG ERLITE reaches userland again
2018-03-07 23:08:29 +00:00
christos 128142209e remove the SHA256_Init man page; we are using ours from libc. 2018-03-07 22:40:26 +00:00
kre 3df05ec651 Fix typo in comment (s/is/if/) - NFC. 2018-03-07 21:13:24 +00:00
bouyer 6bdb7968c2 fdt-ise the allwinner can and lradc drivers. 2018-03-07 20:55:31 +00:00
maya 1abbae619e Remove now duplicate code for enabling FPU before reading FPU_ID 2018-03-07 20:48:00 +00:00
maya 1beca88d1c Remove now duplicate code to read FPU_ID into t1 2018-03-07 20:46:05 +00:00
maya aef052f430 Remove duplicate confused code for enabling 64bit addressing 2018-03-07 20:43:53 +00:00
christos 884443877d fix build on non-earm 2018-03-07 20:38:39 +00:00
christos 82641d7407 only use the 64 bit abi if specified on the command line. 2018-03-07 19:44:31 +00:00
kamil f25eee2811 ATF: Reenable attach2 in t_ptrace_wait*
The primary race specific to this test has been fixed in previous commit
(wrong WNOHANG).

This test is still racy and breaks like once every 30,000 execution.
This is down like from once from every 100th execution in the past.

The remaning race is not specific to attach2 and I can reproduce it with
at least attach1. It still looks like being specific to NetBSD and it's
not reproducible on Linux and FreeBSD. Perhaps a bug with pipe(2)/write(2)/
read(2) or close to these features.

Sponsored by <The NetBSD Foundation>
2018-03-07 16:40:06 +00:00
christos 020c64a4e7 HACK around aarch64 having "long long" "__int64_t" 2018-03-07 16:06:57 +00:00
christos bf6a9fb3d4 Enable AES_ASM explicitly not by just looking at the processor, like we
do for other archs!
2018-03-07 16:06:29 +00:00
christos 1aaa4bda28 regen; some assembly files don't work so disable for now. 2018-03-07 16:05:44 +00:00
maya e1e5fba20d Add duplicate code to read the FPU ID.
enable & disable the FPU around it.
2018-03-07 15:56:33 +00:00
maya 2e66644133 Move the hpcmips L1 cache disable hack up
where another machine-specific hacks exists.

Note that no existing kernel seems to enable this option.
2018-03-07 15:52:43 +00:00
maya 1fa5c16d04 Add duplicate code that enables 64bit addressing under the right
macro conditions that is, _LP64.

The existing, previous code uses NOFPU as a condition for it.

This adds duplicated code (and later removes) for easy bisecting.
2018-03-07 15:49:45 +00:00