created | 2021-05-02T04:10:35Z |
---|---|
begin | 2021-04-23T00:00:00Z |
end | 2021-04-24T00:00:00Z |
path | src/sys |
commits | 23 |
date | 2021-04-23T02:42:16Z | |||
---|---|---|---|---|
author | drahn | |||
files | src/sys/arch/riscv64/Makefile | log | diff | annotate |
src/sys/arch/riscv64/compile/Makefile | log | diff | annotate | |
src/sys/arch/riscv64/compile/Makefile.inc | log | diff | annotate | |
src/sys/arch/riscv64/compile/GENERIC/Makefile | log | diff | annotate | |
src/sys/arch/riscv64/compile/RAMDISK/Makefile | log | diff | annotate | |
src/sys/arch/riscv64/conf/GENERIC | log | diff | annotate | |
src/sys/arch/riscv64/conf/Makefile.riscv64 | log | diff | annotate | |
src/sys/arch/riscv64/conf/RAMDISK | log | diff | annotate | |
src/sys/arch/riscv64/conf/files.riscv64 | log | diff | annotate | |
src/sys/arch/riscv64/conf/kern.ldscript | log | diff | annotate | |
src/sys/arch/riscv64/dev/mainbus.c | log | diff | annotate | |
src/sys/arch/riscv64/dev/mainbus.h | log | diff | annotate | |
src/sys/arch/riscv64/dev/plic.c | log | diff | annotate | |
src/sys/arch/riscv64/dev/plic.h | log | diff | annotate | |
src/sys/arch/riscv64/dev/riscv_cpu_intc.c | log | diff | annotate | |
src/sys/arch/riscv64/dev/riscv_cpu_intc.h | log | diff | annotate | |
src/sys/arch/riscv64/dev/simplebus.c | log | diff | annotate | |
src/sys/arch/riscv64/dev/simplebusvar.h | log | diff | annotate | |
src/sys/arch/riscv64/dev/timer.c | log | diff | annotate | |
src/sys/arch/riscv64/dev/timer.h | log | diff | annotate | |
src/sys/arch/riscv64/include/_float.h | log | diff | annotate | |
src/sys/arch/riscv64/include/_types.h | log | diff | annotate | |
src/sys/arch/riscv64/include/asm.h | log | diff | annotate | |
src/sys/arch/riscv64/include/atomic.h | log | diff | annotate | |
src/sys/arch/riscv64/include/bootconfig.h | log | diff | annotate | |
src/sys/arch/riscv64/include/bus.h | log | diff | annotate | |
src/sys/arch/riscv64/include/cdefs.h | log | diff | annotate | |
src/sys/arch/riscv64/include/conf.h | log | diff | annotate | |
src/sys/arch/riscv64/include/cpu.h | log | diff | annotate | |
src/sys/arch/riscv64/include/cpufunc.h | log | diff | annotate | |
src/sys/arch/riscv64/include/db_machdep.h | log | diff | annotate | |
src/sys/arch/riscv64/include/disklabel.h | log | diff | annotate | |
src/sys/arch/riscv64/include/Attic/elf.h | log | diff | annotate | |
src/sys/arch/riscv64/include/endian.h | log | diff | annotate | |
src/sys/arch/riscv64/include/exec.h | log | diff | annotate | |
src/sys/arch/riscv64/include/fdt.h | log | diff | annotate | |
src/sys/arch/riscv64/include/fenv.h | log | diff | annotate | |
src/sys/arch/riscv64/include/frame.h | log | diff | annotate | |
src/sys/arch/riscv64/include/ieee.h | log | diff | annotate | |
src/sys/arch/riscv64/include/ieeefp.h | log | diff | annotate | |
src/sys/arch/riscv64/include/intr.h | log | diff | annotate | |
src/sys/arch/riscv64/include/kcore.h | log | diff | annotate | |
src/sys/arch/riscv64/include/limits.h | log | diff | annotate | |
src/sys/arch/riscv64/include/loadfile_machdep.h | log | diff | annotate | |
src/sys/arch/riscv64/include/mutex.h | log | diff | annotate | |
src/sys/arch/riscv64/include/param.h | log | diff | annotate | |
src/sys/arch/riscv64/include/pcb.h | log | diff | annotate | |
src/sys/arch/riscv64/include/pmap.h | log | diff | annotate | |
src/sys/arch/riscv64/include/proc.h | log | diff | annotate | |
src/sys/arch/riscv64/include/profile.h | log | diff | annotate | |
src/sys/arch/riscv64/include/pte.h | log | diff | annotate | |
src/sys/arch/riscv64/include/ptrace.h | log | diff | annotate | |
src/sys/arch/riscv64/include/reg.h | log | diff | annotate | |
src/sys/arch/riscv64/include/reloc.h | log | diff | annotate | |
src/sys/arch/riscv64/include/riscv64var.h | log | diff | annotate | |
src/sys/arch/riscv64/include/riscvreg.h | log | diff | annotate | |
src/sys/arch/riscv64/include/sbi.h | log | diff | annotate | |
src/sys/arch/riscv64/include/setjmp.h | log | diff | annotate | |
src/sys/arch/riscv64/include/signal.h | log | diff | annotate | |
src/sys/arch/riscv64/include/softintr.h | log | diff | annotate | |
src/sys/arch/riscv64/include/spinlock.h | log | diff | annotate | |
src/sys/arch/riscv64/include/syscall.h | log | diff | annotate | |
src/sys/arch/riscv64/include/tcb.h | log | diff | annotate | |
src/sys/arch/riscv64/include/timetc.h | log | diff | annotate | |
src/sys/arch/riscv64/include/trap.h | log | diff | annotate | |
src/sys/arch/riscv64/include/vmparam.h | log | diff | annotate | |
message |
Initial import of OpenBSD/riscv64 This work is based on the effort: https://www.openbsd.org/papers/Porting_OpenBSD_to_RISCV_FinalReport.pdf "Porting OpenBSD to RISC-V ISA" by Brian Bamsch <[email protected]> Wenyan He <[email protected]> Mars Li <[email protected]> Shivam Waghela <[email protected]> With additional work by Dale Rahn <[email protected]> |
date | 2021-04-23T02:42:17Z | |||
---|---|---|---|---|
author | drahn | |||
files | src/sys/arch/riscv64/riscv64/ast.c | log | diff | annotate |
src/sys/arch/riscv64/riscv64/autoconf.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/bus_dma.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/bus_space.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/conf.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/copy.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/copyinout.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/copystr.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/cpu.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/cpufunc_asm.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/cpuswitch.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/db_disasm.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/db_interface.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/db_trace.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/disksubr.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/fpu.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/genassym.cf | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/intr.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/locore.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/locore0.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/machdep.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/mem.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/pagezero.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/pmap.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/process_machdep.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/sbi.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/sig_machdep.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/softintr.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/support.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/syscall.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/trap.S | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/trap_machdep.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/vm_machdep.c | log | diff | annotate | |
message |
Initial import of OpenBSD/riscv64 This work is based on the effort: https://www.openbsd.org/papers/Porting_OpenBSD_to_RISCV_FinalReport.pdf "Porting OpenBSD to RISC-V ISA" by Brian Bamsch <[email protected]> Wenyan He <[email protected]> Mars Li <[email protected]> Shivam Waghela <[email protected]> With additional work by Dale Rahn <[email protected]> |
date | 2021-04-23T03:23:44Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_bnxt.c | log | diff | annotate |
message |
We're only going to use the first CoS queue, so only store the ID of that one. Some of this would have got in the way of setting up multiple tx/rx rings. ok dlg@ |
date | 2021-04-23T03:29:24Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/pf.c | log | diff | annotate |
message |
only skip pf once for packets that are injected by a divert-packet socket. when a divert socket gets a packet from userland to send back through the kernel, it marks it as diverted so pf knows not to divert it back to userland again. this marking stuck to the packet though, so if it went through pf again (eg, on the way out of the network stack) pf would skip it again. this is undesirable if you want pf to do things to the packet on this outgoing hope, such as nat. this has pf clear the mark once it's been used, which allows the next run of a packet through pf to have stuff work on it. found by some people at parta networks. ok sashan@ lteo@ bluhm@ bluhm@ also suggested keeping my diff in the same style as the rest of pf.c |
date | 2021-04-23T03:43:19Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/bpf.c | log | diff | annotate |
message |
call klist_invalidate from bpfsdetach to tell kq listeners what happened. without this, something using a kevent to monitor a bpf fd on an idle interface never has the event fire, which means it never realises the interface goes away. with this, the read event goes off and the next read fails with EIO, like pretty much every other driver when the underlying device is removed. ok claudio@ visa@ jmatthew@ |
date | 2021-04-23T04:35:54Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/riscv64/fpu.c | log | diff | annotate |
message |
add missing break ok drahn@ |
date | 2021-04-23T04:36:05Z | |||
---|---|---|---|---|
author | drahn | |||
files | src/sys/arch/riscv64/riscv64/db_disasm.c | log | diff | annotate |
src/sys/arch/riscv64/riscv64/db_trace.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/softintr.c | log | diff | annotate | |
message |
Include sys/systm.h in riscv64 db files, matches other archs, fixes -Werror failues, ok jsg@ |
date | 2021-04-23T04:58:34Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_bnxt.c | log | diff | annotate |
message |
Create separate structures for rx and tx queues to allow creating multiples of each of them, and prepare for having multiple completion rings. ok dlg@ |
date | 2021-04-23T05:40:06Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/dev/riscv_cpu_intc.c | log | diff | annotate |
src/sys/arch/riscv64/dev/timer.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/fpu.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/intr.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/machdep.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/pmap.c | log | diff | annotate | |
message | spelling |
date | 2021-04-23T07:00:58Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_bnxt.c | log | diff | annotate |
message |
When we have a single tx/rx queue, the cp ring is also used for async events, so it can't be allocated when the interface is brought up and freed when it's taken down. ok dlg@ |
date | 2021-04-23T07:21:02Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/dev/dt/dt_dev.c | log | diff | annotate |
src/sys/kern/kern_sysctl.c | log | diff | annotate | |
message |
Remove the sysctl kern.allowdt code from kernel if dt(4) is not configured. This will result in a "value is not available" error from sysctl when trying to enable dt on a kernel without support. The variable allowdt should be in the device, not in sysctl source. We don't need #ifdef for extern and prototypes. OK mpi@ |
date | 2021-04-23T12:01:02Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/conf/GENERIC | log | diff | annotate |
src/sys/arch/riscv64/conf/files.riscv64 | log | diff | annotate | |
message |
reuse arm64 openprom(4) on riscv64 ok kettenis@ |
date | 2021-04-23T12:01:03Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/include/openpromio.h | log | diff | annotate |
src/sys/arch/riscv64/riscv64/conf.c | log | diff | annotate | |
src/sys/arch/riscv64/riscv64/openprom.c | log | diff | annotate | |
message |
reuse arm64 openprom(4) on riscv64 ok kettenis@ |
date | 2021-04-23T12:07:14Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/include/tcb.h | log | diff | annotate |
message |
cast TCB_GET() to void * to avoid -Wpointer-integer-compare warning when building kern_sig.c ok mlarkin@ |
date | 2021-04-23T12:09:45Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/conf/Makefile.riscv64 | log | diff | annotate |
message |
build with -Werror ok mlarkin@ |
date | 2021-04-23T12:38:00Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/syscon.c | log | diff | annotate |
message |
Adjust support for "syscon-reboot" and "syscon-poweroff" for the updated bindings in mainline Linux. Necessary to support the QEMY RISCV target. ok jsg@ |
date | 2021-04-23T12:49:53Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/conf/GENERIC | log | diff | annotate |
src/sys/arch/riscv64/conf/RAMDISK | log | diff | annotate | |
src/sys/dev/fdt/syscon.c | log | diff | annotate | |
message |
enable syscon(4) on riscv64 makes reboot and poweroff work with qemu ok kettenis@ |
date | 2021-04-23T13:03:40Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/conf/GENERIC | log | diff | annotate |
message | enable viornd(4) on riscv64 |
date | 2021-04-23T13:03:41Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/conf/RAMDISK | log | diff | annotate |
message | enable viornd(4) on riscv64 |
date | 2021-04-23T15:31:12Z | |||
---|---|---|---|---|
author | drahn | |||
files | src/sys/arch/riscv64/include/loadfile_machdep.h | log | diff | annotate |
message | File was accidentally duplicated on inital checkin, remove dup. |
date | 2021-04-23T15:53:07Z | |||
---|---|---|---|---|
author | drahn | |||
files | src/sys/sys/exec.h | log | diff | annotate |
src/sys/sys/exec_elf.h | log | diff | annotate | |
message |
Add MID_RISCV64 and EM_RISCV to enable riscv64 ok deraadt@ |
date | 2021-04-23T21:47:32Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/if_ether.c | log | diff | annotate |
src/sys/netinet/ip_input.c | log | diff | annotate | |
message |
The variable la_hold_total contains the number of packets currently in the arp queue. So the sysctl net.inet.ip.arpqueued must be read only. In if_ether.c include the header with the declaration of la_hold_total to ensure that the definition matches. OK mvs@ |
date | 2021-04-23T21:55:36Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/if_ether.c | log | diff | annotate |
src/sys/netinet/if_ether.h | log | diff | annotate | |
src/sys/netinet/ip_input.c | log | diff | annotate | |
message |
Setting variable arpinit_done is not MP save if we want to execute arp_rtrequest() in parallel. Move initialization to arpinit() function. OK kettenis@ mvs@ |