created | 2018-11-29T17:24:02Z |
---|---|
begin | 2018-05-28T00:00:00Z |
end | 2018-05-29T00:00:00Z |
path | src/sys |
commits | 19 |
date | 2018-05-28T00:14:54Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_gre.c | log | diff | annotate |
message |
implement support for MikroTik's Ethernet over IP protocol as eoip(4) it is sort of like egre(4), but different enough to warrant separate handling. more specifically, eoip sits under gre 1, not 0, and has it's own protocol id (0x6400). the gre key field is mandantory (the rest cannot be set) which is split into a 16 bit length field and a 16 bit tunnel id. lastly, it has a keepalive mechanism where peers send 0 length packets as hellos to each other periodically, which has no equivalent in egre(4) and is different to the gre(4) keepalives. ok sthen@ |
date | 2018-05-28T08:22:41Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/if_dwxe.c | log | diff | annotate |
message |
Get MAC address from "local-mac-address" property if provided. ok patrick@, visa@ |
date | 2018-05-28T08:55:11Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/kern/kern_descrip.c | log | diff | annotate |
message |
Returns EBUSY if dup2(2) is called for a LARVAL file. This prevents a panic due to a double free if a program exits after having called accept(2) and dup2(2) on the same fd but without the corresponding connect(5). It will also allows us to simplify file descriptor locking. The error code has been choosed to match Linux's behavior. Pointed by Mathieu on tech@ after a discussion with guenther@. ok visa@ |
date | 2018-05-28T09:03:59Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/imxccm.c | log | diff | annotate |
message |
Add clock support for i.MX8MQ. Most of the clocks can be configured using a single register which consists of root, div, pre-div, clock gate and src (mux). The device tree node references the root clock, and an "enable" call has to enable the clock's parents so that the clock gate is toggled as well. ok kettenis@ |
date | 2018-05-28T09:04:14Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/imxccm_clocks.h | log | diff | annotate |
message |
Add clock support for i.MX8MQ. Most of the clocks can be configured using a single register which consists of root, div, pre-div, clock gate and src (mux). The device tree node references the root clock, and an "enable" call has to enable the clock's parents so that the clock gate is toggled as well. ok kettenis@ |
date | 2018-05-28T09:17:11Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/kern/syscalls.master | log | diff | annotate |
src/sys/kern/uipc_syscalls.c | log | diff | annotate | |
message |
Grab the KERNEL_LOCK() after socreate() and soconnect2() in socket(2) and socketpair(2). Tested by many as part of a larger diff, ok visa@ some time ago. |
date | 2018-05-28T09:17:36Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/kern/init_sysent.c | log | diff | annotate |
src/sys/kern/syscalls.c | log | diff | annotate | |
message | regen |
date | 2018-05-28T10:46:46Z | |||
---|---|---|---|---|
author | tb | |||
files | src/sys/netinet/in.c | log | diff | annotate |
message |
Next step in disentangling the switches in in_ioctl(). Split out the handling of SIOCAIFADDR, SIOCDIFADDR, SIOCSIFADDR into a separate function, analogously to what was done in in6_ioctl(). tested by hrvoje ok visa |
date | 2018-05-28T11:15:55Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/sys/syscall.h | log | diff | annotate |
src/sys/sys/syscallargs.h | log | diff | annotate | |
message | regen |
date | 2018-05-28T15:46:28Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/ufs/ext2fs/ext2fs_vfsops.c | log | diff | annotate |
message |
When mounting an ext2 filesystem, lock the device vnode for the duration of the vinvalbuf() call, just like is done by other filesystems. This prevents a kernel panic with VFSLCKDEBUG. OK mpi@ |
date | 2018-05-28T16:02:08Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/tmpfs/tmpfs_subr.c | log | diff | annotate |
src/sys/tmpfs/tmpfs_vnops.c | log | diff | annotate | |
src/sys/ufs/ext2fs/ext2fs_vnops.c | log | diff | annotate | |
message |
Call vput(dvp) in vnode operation functions instead of calling it in the file allocation routine. This allows stepwise changing of the vnode locking discipline. OK mpi@ |
date | 2018-05-28T18:05:42Z | |||
---|---|---|---|---|
author | guenther | |||
files | src/sys/kern/kern_tc.c | log | diff | annotate |
src/sys/kern/kern_time.c | log | diff | annotate | |
src/sys/sys/time.h | log | diff | annotate | |
src/sys/sys/timetc.h | log | diff | annotate | |
message |
Constipate a bunch of time functions ok tb@ kettenis@ |
date | 2018-05-28T18:51:27Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_synch.c | log | diff | annotate |
message |
rwsleep: generalize to support both read- and write-locks. Wanted for tentative clock_nanosleep(2) diff, but maybe useful elsewhere in the future. ok mpi@ |
date | 2018-05-28T19:33:54Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/disksubr.c | log | diff | annotate |
message |
Call readdisksector() instead of rolling our own. Drop include. Reduces the diffs to the amd64/i386 version of this code. ok drahn@ |
date | 2018-05-28T19:36:43Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/include/Attic/swi.h | log | diff | annotate |
message |
Drop include of ok drahm@ |
date | 2018-05-28T19:37:45Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/include/Attic/machine_reg.h | log | diff | annotate |
message |
Remove unused include file. ok drahn@ |
date | 2018-05-28T19:39:15Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/machdep.c | log | diff | annotate |
src/sys/arch/arm64/include/bootconfig.h | log | diff | annotate | |
message |
Cleanup bootconfig.h and use strlcpy() to copy boot arguments. ok drahn@ |
date | 2018-05-28T20:52:44Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/arch/i386/i386/cpu.c | log | diff | annotate |
src/sys/arch/i386/i386/gdt.c | log | diff | annotate | |
src/sys/arch/i386/i386/locore.s | log | diff | annotate | |
src/sys/arch/i386/i386/locore0.S | log | diff | annotate | |
src/sys/arch/i386/i386/machdep.c | log | diff | annotate | |
src/sys/arch/i386/i386/pmap.c | log | diff | annotate | |
src/sys/arch/i386/i386/pmapae.c | log | diff | annotate | |
src/sys/arch/i386/include/cpu_full.h | log | diff | annotate | |
src/sys/arch/i386/include/pmap.h | log | diff | annotate | |
src/sys/arch/i386/include/specialreg.h | log | diff | annotate | |
message |
More steps for i386 Meltdown fix: - name gdt explicitly in struct cpu_info_full - identfiy ARCH_CAPABILITIES_RDCL_NO and print in identifycpu() - in pmap.c build U-K table, handle PG_G accordingly - in pmap_switch() do not unmap the kernel, yet; but all pieces are in place - pmapae.c: on boostrap transfer pmap to pmapae tables, build U-K table and wire it, handle PG_G from hshoexer@; OK mlarkin@ |
date | 2018-05-28T21:50:38Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/dwmmc.c | log | diff | annotate |
message |
Initialize FIFO watermark thresholds. Fixes DMA issues on controllers that are not initialized by U-Boot. |