Commit Graph

256810 Commits

Author SHA1 Message Date
jdolecek
4248f17bba make it possible to not use the icache evcnts 2018-02-19 21:20:33 +00:00
christos
01b941a695 switch sparc to openssl-1.1 2018-02-19 20:52:09 +00:00
ginsbach
2ea7c98512 Add ANR and another ARC acronyms 2018-02-19 20:49:01 +00:00
jmcneill
4156dcc569 Add H6 support 2018-02-19 20:22:48 +00:00
jmcneill
7c742dc3ad Add support for H6 USB PHY 2018-02-19 20:15:23 +00:00
jmcneill
5dbf83ecbb Rewrite data transfer path to take advantage of the PL181's 64-byte FIFO.
Before: 134217728 bytes transferred in 43.683 secs (3072539 bytes/sec)
After:  134217728 bytes transferred in 23.789 secs (5642007 bytes/sec)
2018-02-19 19:00:42 +00:00
maya
aba096954d Code is fixed, so hiding the warning is not necessary any more. 2018-02-19 16:21:36 +00:00
jmcneill
a3cb51fb7a move plfb glue to the correct location 2018-02-19 16:10:42 +00:00
jmcneill
161c4eafed ROCKCHIP is gone 2018-02-19 15:39:59 +00:00
maya
abbdd87862 Add Turkish keyboard layout.
from berte in PR kern/53011.
2018-02-19 14:34:17 +00:00
sborrill
a96590affc Double size of MSGBUFSIZE as existing value is not big enough to hold boot dmesg
on modern server-class hardware with lots of CPUs, etc.
2018-02-19 13:02:47 +00:00
wiz
0fe56109af Quote minus. 2018-02-19 10:31:53 +00:00
mrg
2d716c09b1 fix _UC_MACHINE32_FP() -- use 32 bit pointer value so that [15] is
the right offset.  do this by using __greg32_t, which is only in
the sparc64 version, and these are only useful there, so move them.
2018-02-19 08:31:13 +00:00
christos
6402a3dbee llvm detects infinite recursion, so don't infinitely recurse. 2018-02-18 23:51:20 +00:00
christos
e1e22576fa Avoid ssp error on sparc64 2018-02-18 23:41:44 +00:00
christos
1c6734b209 Regen. 2018-02-18 23:38:47 +00:00
christos
f85f8fe67a PR/53036: Alexander Nasonov: 'block user' in pf's ruleset panics 8.0_BETA
Check for NULL.
2018-02-18 21:51:28 +00:00
pgoyette
a9fc47df25 Add 'tunnel mode ipip' to the cisco configuration as requested in
PR kern/53037

XXX pullup-8
2018-02-18 21:31:32 +00:00
christos
dbe4ca4214 Make _UC_MACHINE_FP() compile again and fix it so that it does not add
the offset twice.
2018-02-18 15:29:29 +00:00
maxv
c31a634a3f Pass the name of the function as argument in SWAPGS_HANDLER. 2018-02-18 14:32:31 +00:00
maxv
f240416323 Add svs_enabled, which defaults to 'true' when SVS is compiled (no dynamic
detection yet).
2018-02-18 14:07:29 +00:00
jmcneill
8fb23e8049 Pinebook LCD pipeline is mixer0-lcd0 2018-02-18 12:22:16 +00:00
jmcneill
b68d683d20 Add wrapper for Pine64 (non-plus) dts 2018-02-18 12:20:25 +00:00
jmcneill
695099b0b8 Add support for Allwinner H6 CPUX and CPUS port controllers. 2018-02-18 10:28:37 +00:00
uwe
6be0d6d9a0 Fix .endif comment for TOOLS_BUILDRUMP 2018-02-18 01:06:24 +00:00
sjg
13b51c6c09 Var_Set: avoid SIGSEGV if val is NULL
A NULL val is handled gracefully (by VarAdd) when
var is not previously set, so we ought not crash
the second time.

PR: 53034
2018-02-18 00:52:42 +00:00
joerg
9d01073d28 Restrict -fno-delete-null-pointer-checks to GCC. 2018-02-17 22:47:14 +00:00
kamil
f4a8ff8348 Try to correct generation of the sun2 distribution
Mark the headers for GCC sanitizers as gcccmds.
2018-02-17 21:46:41 +00:00
mrg
9e8cffe5e6 switch i386, sparc and sparc64 to GCC 6. 2018-02-17 21:46:15 +00:00
mrg
35b187cd10 add missing gcc-6/xtestintrin.h 2018-02-17 21:32:22 +00:00
maxv
71e53827d1 Declare check_swapgs in an ASM macro. No real functional change. 2018-02-17 21:05:58 +00:00
maxv
8f95f7b82b Use ASM macros for the rest of the entry points. No real functional
change. Now the format of the entry points is:

	.macro	TRAP_ENTRY_POINT_xx	arg1,arg2,arg3
		...the asm code...
	.endm

		TEXT_USER_BEGIN
	TRAP_ENTRY_POINT_xx	arg1,arg2,arg3
		TEXT_USER_END
2018-02-17 20:59:14 +00:00
maxv
badec0a023 Declare and use TRAP_ENTRY_POINT_DNA. This time we don't give an is_ztrap
argument, because the macro is tied to the entry point, and it would be
wrong to suggest the paramater is controllable. No real functional change.
2018-02-17 20:47:04 +00:00
maxv
f07054b64f Now that [Z]TRAP and [Z]TRAP_NJ are identical, put back the
INTRENTRY
	jmp	.Lalltraps_noentry

instructions for Xen, and remove [Z]TRAP_NJ.
2018-02-17 20:41:57 +00:00
maxv
b63a0128d3 Declare and use TRAP_ENTRY_POINT_SPUR. No real functional change. 2018-02-17 20:33:28 +00:00
maxv
3e0d98723e Declare and use TRAP_ENTRY_POINT_FPU. No real functional change. 2018-02-17 20:28:18 +00:00
maxv
50e0444294 Start using ASM macros to define the trap entry points. No real functional
change.
2018-02-17 20:22:05 +00:00
christos
9d424dfb9f fix LOCAL_PEEREID to not return the same info for both sides...
XXX: pullup-{7,8}
2018-02-17 20:19:36 +00:00
christos
0f242fe63e make it compile again for those who don't have LOCAL_PEERCRED 2018-02-17 20:16:18 +00:00
maxv
458f24f8d8 Define legacy_stubs in a macro. 2018-02-17 19:26:20 +00:00
rjs
6f874b8157 Add NETATALKDEBUG to the option header and include that in the main source
files.
2018-02-17 19:10:18 +00:00
maxv
6e7355e588 Rename i8259_stubs -> legacy_stubs. We will want the entries to have the
same name, eg:

	legacy_stubs
		-> Xintr_legacy0, Xrecurse_legacy0, Xresume_legacy0
		-> Xintr_legacy1, Xrecurse_legacy1, Xresume_legacy1
		...
2018-02-17 18:51:53 +00:00
maxv
9779fa67f8 Add svs_init. This is where we will detect the CPU and decide whether
to turn SVS on or not.

Add svs_pgg_update to dynamically add/remove PG_G from all the kernel
pages. Use it now.
2018-02-17 17:44:09 +00:00
christos
1d89963535 Add a test demonstrating thst LOCAL_PEEREID is busted. 2018-02-17 16:34:18 +00:00
kamil
19baa3e0e8 Improve _UC_MACHINE_FP() for SPARC/SPARC64
Introduce a static inline function _uc_machine_fp() that contains improved
caluclation of a frame pointer.

Algorithm:

  uptr *stk_ptr;
#  if defined (__arch64__)
  stk_ptr = (uptr *) (*sp + 2047);
#  else
  stk_ptr = (uptr *) *sp;
#  endif
  *bp = stk_ptr[15];

Noted by <mrg>
2018-02-17 15:22:22 +00:00
joerg
f71f5c795a Drop explicit loop prefix. GAS doesn't care and LLVM doesn't support it.
Drop the need for assembling with GAS. While LLVM is using a suboptimal
encoding of for hard-coded memory writes, it shouldn't affect
functionality. It just wastes three bytes with extra prefixes.
2018-02-17 13:54:52 +00:00
kamil
655627c899 Stop installing dbregs.h
This is now kernel-only header. The behavior is well specified by the CPU
documents and we don't introduce changes to it.

Noted by <wiz>
2018-02-17 13:01:23 +00:00
wiz
bdd9c5c945 t_timeleft.debug is still installed, remove 'obsolete' marker. 2018-02-17 08:07:06 +00:00
uwe
097b3add5a Actually install dhcpd6 rc script. Organize CONFIGFILES
alphabetically again while where.

PR 53018
2018-02-17 03:02:04 +00:00
sevan
14e1124894 Remove mention of DDB_ONPANIC=2, ddb.dumpstack which is enabled by default now handles back traces on panic. 2018-02-17 02:11:00 +00:00