Commit Graph

257209 Commits

Author SHA1 Message Date
pgoyette c1a3e95979 Add new branch pgoyette-compat for cleaning up the compat modules
While here, note that prg-localcount2 core content was merged a
while ago, and no further activity is expected.
2018-03-06 00:15:24 +00:00
christos 0efaeed61f comment out unused variable. 2018-03-05 23:00:55 +00:00
christos 7d278c3d47 switch everyone but vax to OpenSSL1.1. 2018-03-05 21:14:34 +00:00
christos 6410c86794 Handle mips64 properly. 2018-03-05 16:43:50 +00:00
maxv f2110e8589 Improve stupid check, style, and fix leak (m, not m0). 2018-03-05 12:42:28 +00:00
maxv 052a8431bf Call m_pullup earlier, fixes one branch. 2018-03-05 11:50:25 +00:00
kamil 570f001093 Remove PT_GET_SIGMASK / PT_SET_SIGMASK
These operations cloned Linux's specific PTRACE_GETSIGMASK / PTRACE_SETSIGMASK.
This feature was useful in applications like rr/criu/reptyr-like, where
the ptrace(2) interface is abused for the purpose of constructing an arbitrary
process. It's not reliable and not portable. For the NetBSD case it will be
better to invent something dedicated for serializing and deserializing a
process with threads.

Noted on tech-toolchain@ and blog entry

"LLDB restoration and return to ptrace(2)"
https://blog.netbsd.org/tnf/entry/lldb_restoration_and_return_to
2018-03-05 11:24:34 +00:00
msaitoh c27ae56af8 Calculate way and number of entries correctly from CPUID leaf 18H. 2018-03-05 10:54:05 +00:00
wiz 6de64fe8a0 Bump date for previous. 2018-03-05 10:23:44 +00:00
ws d5841c87dc Adapt to the new device name for interface attachments. 2018-03-05 09:37:30 +00:00
ws eac3b33f4f Fix last:
Since config(1) could not distinguish between device and
interface attachments, it was generating only the latter.
Thus devices without their own driver wouldn't match the
ugen driver anymore.

Fix this by using a different device name for interface attachments.
2018-03-05 09:35:01 +00:00
mrg 589a0b0fde switch sh3 to GCC 6. tested on landisk in emul and hardware.
actually do this by reversing the check to look for m68* and vax
to choose GCC 5, and otherwise default to GCC 6.
2018-03-05 09:17:42 +00:00
msaitoh b025b6a5ff KNF in comment. No functional change. 2018-03-05 08:56:49 +00:00
mrg 5b6553d1f0 switch arm ports to GCC 6.
this is the last GCC that will support these ports:
- epoc32
- netwinder
- shark
- acorn32
- cats
- most hpcarm systems (only NETBOOKPRO and WZERO3 remain)
2018-03-05 08:08:06 +00:00
mlelstv 627f70e4f9 enums might be unsigned. 2018-03-05 07:47:21 +00:00
mrg ae1f25356d swtich ia64 to GCC 6. 2018-03-05 07:03:27 +00:00
msaitoh cfe5ab1fa2 - Parse the TLB info from `cpuid leaf 18H' on Intel processor. Currently,
this change doesn't decode perfectly.  Tested with Gemini Lake. It has
  two L2 Shared TLB. One is 4MB and another is 2MB/4MB but former isn't
  printed yet:

	cpu0: ITLB 1 4KB entries 48-way
	cpu0: DTLB 1 4KB entries 32-way
	cpu0: L2 STLB 8 4MB entries 4-way

  Need some rework for struct x86_cache_info.
- Use aprint_error_dev() for error output.
2018-03-05 05:50:37 +00:00
msaitoh e04f3a5631 Add Intel Deterministic Address Translation Parameter Leaf(0x18) definitions. 2018-03-05 05:44:07 +00:00
eadler 181c044ada [fish] don't allow users to request cards they have made books for
While here, don't re-renter pro mode

PR bin/52973

ok maya@ dh@
2018-03-05 04:59:54 +00:00
rin 6a44c9089f Remove duplicate vgaw() accidentally introduced in the previous revision. 2018-03-05 04:23:00 +00:00
msaitoh c4f2c4b556 - Add AMD CPUID leaf 0x80000008 ebx's xsaveerptr, ibpb, ibrs, stibp.
- Add Intel CPUID leaf 7 ebx's umip, avx512_vbmi2, gfni, vaes, vpclmulqdq,
  avx512_vnni and avx512_bitalg.
- Add Intel CPUID leaf 7 edx's avx512_4vnniw, avx512_4fmaps and
  arch_capabilities.
2018-03-05 04:21:36 +00:00
christos 825beebe31 use an inline function for the "4 reads" 2018-03-05 02:41:19 +00:00
christos cf94b510c5 gcc-6 passes -m68040 to the assembler, so reset it to -m68030... 2018-03-05 02:41:03 +00:00
christos 46327c26d3 can't use fnop directly now, explain why. 2018-03-05 02:39:06 +00:00
christos 7e8fa9f58b need CRYPTO_memcmp. 2018-03-05 01:00:12 +00:00
christos 496e722b68 make the key functions public, and provide function type and size attributes. 2018-03-05 00:59:43 +00:00
christos edf420ad0b switch ppc to OpenSSL-1.1, use MACHINE_CPU consistently. 2018-03-05 00:24:01 +00:00
christos 4e7462734b int64 is long for _LP64 2018-03-05 00:20:08 +00:00
christos d9314bf1eb switch ppc64 from "long long" == int64 to "long" == int64 2018-03-05 00:19:41 +00:00
christos 0fd55fa7b9 Make the *int64 long long (32 bit) or long (64) bit. Now all those special
redefinitions could go away since this is the default behavior.
2018-03-05 00:17:09 +00:00
eadler 9cf2320656 distrib: add myself
ok pgoyette@
2018-03-05 00:06:24 +00:00
christos be5fb36d0b last I checked powerpc64 was 64 bits, so it needs _XSERVER64.. 2018-03-04 23:47:55 +00:00
jdolecek be3b304f3c adjust the pmap_check_inuse() fix to avoid #ifdef 2018-03-04 23:25:35 +00:00
kre ebc2d57bb2 Declare our variables before using them, fixes DIAGNOSTIC amd64 XEN builds. 2018-03-04 23:07:58 +00:00
mrg 53585d3968 switch powerpc, mips and arm ports to GCC 6.
all kernels that build with gcc 5 still build.
several platforms tested in emulators and real hardware.
2018-03-04 22:47:49 +00:00
mrg 0176604deb avoid gcc 6 indentation issues. rewrite:
if (vgar()); if (vgar()); if (vgar()); if (vgar());
as
   vgar();
   vgar();
   vgar();
   vgar();

verified the ass output has the 4 reads (the macro uses a
volatile pointer, so it should remain so too.)
2018-03-04 22:28:18 +00:00
mrg b966abea61 avoid 32 bit only code in 64 bit mode. 2018-03-04 21:51:44 +00:00
mrg be83b2c0e6 #if 0 grtwo_cursor_data[] to match the #if 0'd code that uses it. 2018-03-04 21:42:28 +00:00
mrg 3af7ad6d6d avoid indentation issues. re-do previous in obio.c to avoid the
does-nothing change, by fixing the intended indentation.
2018-03-04 21:41:48 +00:00
dholland 7f4ac6d6b0 Don't use the local username as the default anonftp password.
once upon a time doing this was part of the social glue that held the
community together, but that was a long time ago, and now it's just an
information leak.

proposed on tech-userlevel in 2008, then apparently forgotten :-|
2018-03-04 19:57:41 +00:00
kre 19c8da3bf8 device.h also now needs pmf_qual_t exposed for _KMEMUSERs 2018-03-04 19:23:33 +00:00
kre c0d7dfb406 Since device.h now exposes uses of types defined here to _KMEMUSER
the types better be defined for _KMEMUSER as well.
2018-03-04 18:07:34 +00:00
christos 2ac7033a22 regen 2018-03-04 16:45:12 +00:00
christos 9bf6fb1f8e _LP64 64 bit types are "long" not "long long". 2018-03-04 16:44:11 +00:00
scole fe7c8ea34c Use "#if NPCI > 0" instead of "#ifdef NPCI" for compiling kernels with acpi, without pci. 2018-03-04 16:34:20 +00:00
christos e618459d02 remove 'define foo {}' for non-bus-like devices 2018-03-04 15:51:15 +00:00
christos 74ffa02ab3 add braces. 2018-03-04 15:25:15 +00:00
jdolecek 83cce4f322 regen 2018-03-04 13:24:46 +00:00
jdolecek 9761924906 according to VT82C686A chip specs, the VIA Technologies device 0x3057
is more a Power Management controller, rename the pcidevs entry and device
macro

PR kern/31963 by Nicolas Joly
2018-03-04 13:24:17 +00:00
jdolecek 24e102de1d regen 2018-03-04 13:13:18 +00:00