CVS: cvs.openbsd.org: www

2021-04-24 Thread Visa Hankala
CVSROOT:/cvs Module name:www Changes by: v...@cvs.openbsd.org2021/04/24 05:53:35 Modified files: . : 69.html Log message: mips64 package count

mips64 bulk build report

2021-04-24 Thread visa
bulk build on octeon.ports.openbsd.org started on Tue Apr 20 02:57:04 UTC 2021 finished at Sat Apr 24 11:23:29 UTC 2021 lasted 05D08h26m done with kern.version=OpenBSD 6.9 (GENERIC.MP) #551: Sun Apr 18 03:06:59 MDT 2021 built packages:8254 Apr 20:3144 Apr 21:711 Apr 22:760 Apr 23:939 Apr

CVS: cvs.openbsd.org: src

2021-04-24 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/04/24 01:49:11 Modified files: share/man/man4 : Makefile sys/arch/armv7/armv7: platform.c sys/arch/armv7/conf: GENERIC RAMDISK sys/dev/fdt: files.fdt Added files:

Re: Driver for Cadence UART

2021-04-23 Thread Visa Hankala
On Fri, Apr 23, 2021 at 04:26:34PM +0200, Mark Kettenis wrote: > > Date: Fri, 23 Apr 2021 12:54:54 + > > From: Visa Hankala > > > > This diff adds an initial driver for Cadence UART. This controller block > > is present at least on Xilinx Zynq system-on

Driver for Cadence UART

2021-04-23 Thread Visa Hankala
@@ -0,0 +1,36 @@ +.\"$OpenBSD$ +.\" +.\" Copyright (c) 2021 Visa Hankala +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this per

CVS: cvs.openbsd.org: src

2021-04-22 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/04/22 09:30:12 Modified files: lib/libc/sys : kqueue.2 sys/kern : kern_event.c Log message: kqueue: Make timer re-addition reset existing timer When an existing EVFILT_TIMER filter is

Re: have bpf kq events fire when the interface goes away

2021-04-22 Thread Visa Hankala
On Thu, Apr 22, 2021 at 01:13:50PM +1000, David Gwynne wrote: > On Wed, Apr 21, 2021 at 01:15:53PM +0000, Visa Hankala wrote: > > On Wed, Apr 21, 2021 at 11:04:20AM +1000, David Gwynne wrote: > > > On Wed, Apr 21, 2021 at 10:21:32AM +1000, David Gwynne wrote: > > &

Re: have bpf kq events fire when the interface goes away

2021-04-21 Thread Visa Hankala
On Wed, Apr 21, 2021 at 11:04:20AM +1000, David Gwynne wrote: > On Wed, Apr 21, 2021 at 10:21:32AM +1000, David Gwynne wrote: > > if you have a program that uses kq (or libevent) to wait for bytes to > > read off an idle network interface via /dev/bpf and that interface > > goes away, the program

mips64 bulk build report

2021-04-13 Thread visa
bulk build on octeon.ports.openbsd.org started on Tue Apr 6 15:57:34 UTC 2021 finished at Tue Apr 13 15:41:46 UTC 2021 lasted 07D23h44m done with kern.version=OpenBSD 6.9 (GENERIC.MP) #535: Mon Apr 5 18:25:37 MDT 2021 built packages:8258 Apr 6:2177 Apr 7:997 Apr 8:760 Apr 9:789 Apr 10:2261 Apr

mips64 bulk build report

2021-04-06 Thread visa
bulk build on octeon.ports.openbsd.org started on Thu Apr 1 14:06:12 UTC 2021 finished at Tue Apr 6 02:27:14 UTC 2021 lasted 05D12h21m done with kern.version=OpenBSD 6.9-beta (GENERIC.MP) #527: Thu Apr 1 03:29:11 MDT 2021 built packages:8242 Apr 1:2489 Apr 2:947 Apr 3:683 Apr 4:922 Apr 5:3180

Re: ddb: show all mounts: honour softdep

2021-04-06 Thread Visa Hankala
On Mon, Apr 05, 2021 at 06:01:42PM +0200, Klemens Nanni wrote: > On Mon, Apr 05, 2021 at 07:47:40AM +0000, Visa Hankala wrote: > > On Sun, Apr 04, 2021 at 11:56:57PM +0200, Klemens Nanni wrote: > > > ddb> show all mounts > > > mountpoint 0x8000

Re: ddb: show all mounts: honour softdep

2021-04-05 Thread Visa Hankala
On Sun, Apr 04, 2021 at 11:56:57PM +0200, Klemens Nanni wrote: > ddb> show all mounts > mountpoint 0x800c8000 > flags 4205800 > vnodecovered 0x0 syncer 0xfd801f247a98 data 0x80087800 > vfsconf: ops 0x812ec530 name "ffs" num 1 ref 1 flags

CVS: cvs.openbsd.org: src

2021-03-31 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/03/31 06:59:50 Modified files: sys/conf : files Log message: Make ddb's dependency on libz explicit. OK deraadt@ mpi@

mips64 bulk build report

2021-03-31 Thread visa
bulk build on octeon.ports.openbsd.org started on Fri Mar 26 14:50:07 UTC 2021 finished at Wed Mar 31 05:10:36 UTC 2021 lasted 05D14h20m done with kern.version=OpenBSD 6.9-beta (GENERIC.MP) #519: Thu Mar 25 17:19:02 MDT 2021 built packages:8257 Mar 26:2395 Mar 27:1112 Mar 28:641 Mar 29:964 Mar

Enable libz when ddb is enabled

2021-03-30 Thread Visa Hankala
The addition of CTF handling has made ddb depend on libz. Listing this dependency would make it easier to build a RAMDISK with the debugger. OK? Index: conf/files === RCS file: src/sys/conf/files,v retrieving revision 1.699 diff -u

mips64 bulk build report

2021-03-26 Thread visa
bulk build on octeon.ports.openbsd.org started on Sun Mar 21 16:50:41 UTC 2021 finished at Fri Mar 26 09:29:22 UTC 2021 lasted 05D16h38m done with kern.version=OpenBSD 6.9-beta (GENERIC.MP) #513: Sun Mar 21 02:09:52 MDT 2021 built packages:8254 Mar 21:2102 Mar 22:1323 Mar 23:675 Mar 24:928 Mar

CVS: cvs.openbsd.org: ports

2021-03-23 Thread Visa Hankala
CVSROOT:/cvs Module name:ports Changes by: v...@cvs.openbsd.org2021/03/23 08:58:37 Modified files: lang/ruby/3.0/patches: patch-compile_c Added files: lang/ruby/3.0/patches: patch-template_builtin_binary_inc_tmpl Log message: Fix lang/ruby/3.0 build on

CVS: cvs.openbsd.org: xenocara

2021-03-22 Thread Visa Hankala
CVSROOT:/cvs Module name:xenocara Changes by: v...@cvs.openbsd.org2021/03/22 07:47:58 Modified files: distrib/sets/lists/xserv: md.loongson Log message: sync

lang/ruby/3.0 fixes for mips64

2021-03-21 Thread Visa Hankala
lang/ruby/3.0 fails to build on mips64. It looks that the peephole optimizer still has issues on this architecture. The following patch disables it. In addition, there is an alignment problem with the handling of builtins. compiler.c assumes that bytecode arrays are properly aligned. However,

CVS: cvs.openbsd.org: src

2021-03-21 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/03/21 08:18:38 Modified files: sys/arch/sgi/xbow: xbridge.c Log message: Disambiguate expressions.

Re: [OpenBSD -current] Change event timer in main loop with kqueue

2021-03-21 Thread Visa Hankala
On Sat, Feb 27, 2021 at 01:36:29PM +, Visa Hankala wrote: > The kernel does not reschedule the timer when the user changes the > timeout period. The new period will take effect only after the current > period has expired. This is not explained in the manual page, though. > >

Re: syslogd kernel timestamp

2021-03-21 Thread Visa Hankala
On Thu, Mar 18, 2021 at 05:57:45PM +0100, Alexander Bluhm wrote: > Since we stash log messages in the kernel, the timestamps added by > syslogd are delayed. The kernel could add the timestamp when it > receives the message by sendsyslog(2). This is more precise and > can be expressed by more

CVS: cvs.openbsd.org: src

2021-03-17 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/03/17 08:06:54 Modified files: sys/sys: proc.h Log message: Fix bit position of ORPHAN in PS_BITS.

CVS: cvs.openbsd.org: xenocara

2021-03-13 Thread Visa Hankala
CVSROOT:/cvs Module name:xenocara Changes by: v...@cvs.openbsd.org2021/03/13 06:42:26 Modified files: xserver/hw/xfree86/common: compiler.h Log message: compiler.h: don't define inb/outb and friends on mips >From Julien Cristau

mips64 bulk build report

2021-03-12 Thread visa
bulk build on octeon.ports.openbsd.org started on Sun Mar 7 16:33:14 UTC 2021 finished at Fri Mar 12 06:06:17 UTC 2021 lasted 05D13h33m done with kern.version=OpenBSD 6.9-beta (GENERIC.MP) #496: Sat Mar 6 07:49:19 MST 2021 built packages:8185 Mar 7:2181 Mar 8:1262 Mar 9:656 Mar 10:832 Mar

CVS: cvs.openbsd.org: src

2021-03-09 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/03/09 07:13:34 Modified files: sys/arch/octeon/dev: cn30xxsmi.c sys/arch/octeon/include: octeonvar.h sys/arch/octeon/octeon: machdep.c Log message: Add initial bits for Check Point

mips64 bulk build report

2021-03-07 Thread visa
bulk build on octeon.ports.openbsd.org started on Mon Mar 1 16:31:29 UTC 2021 finished at Sat Mar 6 09:28:58 UTC 2021 lasted 05D16h57m done with kern.version=OpenBSD 6.9-beta (GENERIC.MP) #489: Mon Mar 1 03:52:36 MST 2021 built packages:8207 Mar 1:2085 Mar 2:1348 Mar 3:615 Mar 4:774 Mar 5:2917

CVS: cvs.openbsd.org: src

2021-03-04 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/03/04 09:44:07 Modified files: sys/arch/octeon/dev: octeon_pcibus.c Log message: Tweak whitespace and adjust prototypes.

CVS: cvs.openbsd.org: src

2021-03-04 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/03/04 09:34:47 Modified files: sys/arch/octeon/dev: octeon_pcibus.c Removed files: sys/arch/octeon/dev: octeon_pcibusvar.h Log message: Combine octeon_pcibusvar.h into octeon_pcibus.c to

CVS: cvs.openbsd.org: src

2021-03-04 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/03/04 08:38:06 Modified files: sys/arch/mips64/mips64: clock.c Log message: Update clock interrupt count atomically. This avoids errors that can arise when multiple cores update the variable at the

Re: [OpenBSD -current] Change event timer in main loop with kqueue

2021-03-01 Thread Visa Hankala
On Sun, Feb 28, 2021 at 03:36:59PM +0100, martin mag wrote: > Visa Hankala wrote (patch truncated): > > The kernel does not reschedule the timer when the user changes the > > timeout period. The new period will take effect only after the current > > period has expired.

mips64 bulk build report

2021-03-01 Thread visa
bulk build on octeon.ports.openbsd.org started on Sat Feb 20 16:42:43 UTC 2021 finished at Mon Mar 1 14:09:49 UTC 2021 lasted 09D21h27m done with kern.version=OpenBSD 6.9-beta (GENERIC.MP) #476: Sat Feb 20 06:35:27 MST 2021 built packages:8503 Feb 20:2066 Feb 21:765 Feb 22:719 Feb 23:702 Feb

CVS: cvs.openbsd.org: src

2021-02-27 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/27 06:43:16 Modified files: sys/kern : kern_event.c Log message: Replace stray direct call of f_event with filter_event(). This does not change the current behaviour, but filterops should be

Re: [OpenBSD -current] Change event timer in main loop with kqueue

2021-02-27 Thread Visa Hankala
Moving to tech@. On Fri, Feb 26, 2021 at 09:42:07PM +0100, martin mag wrote: > I've been trying to use kqueue for the last couple of day but I keep > having an issue with EVFILT_TIMER filter. (I'm running Openbsd > -current) > > Right now, I'm trying to do the following: > 1) Initilialize a

Re: [OpenBSD -current] Change event timer in main loop with kqueue

2021-02-27 Thread Visa Hankala
Moving to tech@. On Fri, Feb 26, 2021 at 09:42:07PM +0100, martin mag wrote: > I've been trying to use kqueue for the last couple of day but I keep > having an issue with EVFILT_TIMER filter. (I'm running Openbsd > -current) > > Right now, I'm trying to do the following: > 1) Initilialize a

CVS: cvs.openbsd.org: src

2021-02-24 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/24 07:59:52 Modified files: sys/kern : kern_event.c sys/sys: event.h Log message: kqueue: Revise filterops interface Extend kqueue's filterops interface with new callbacks so

CVS: cvs.openbsd.org: src

2021-02-20 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/20 07:42:51 Modified files: sys/arch/octeon/dev: octeon_pcibus.c Log message: Fix disestablishing of PCI interrupt handlers.

CVS: cvs.openbsd.org: src

2021-02-18 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/18 09:27:08 Modified files: sys/arch/loongson/conf: ld.script sys/arch/sgi/conf: ld.script Log message: Make kernel ld.script similar to octeon's on loongson and sgi.

CVS: cvs.openbsd.org: src

2021-02-18 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/18 09:18:04 Modified files: distrib/notes/octeon: prep Log message: Mention that U-Boot serial speed should be 115200. Initial diff from Janne Johansson

CVS: cvs.openbsd.org: src

2021-02-17 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/17 07:42:20 Modified files: sys/arch/loongson/stand/boot: ld.script start.S Log message: Skip gp initialization in loongson bootblocks The loongson bootblocks are compiled with -mno-abicalls and do

CVS: cvs.openbsd.org: src

2021-02-17 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/17 07:12:29 Modified files: sys/arch/octeon/dev: if_cnmac.c Log message: Do not reprogram address filter after MII status change The address filter is not affected by link parameter changes, so its

Re: rw_enter_diag() vs WITNESS

2021-02-16 Thread Visa Hankala
On Tue, Feb 16, 2021 at 10:07:27AM +0100, Martin Pieuchot wrote: > On 15/02/21(Mon) 16:58, Visa Hankala wrote: > > On Mon, Feb 15, 2021 at 11:37:45AM +0100, Martin Pieuchot wrote: > > > Diagnostic function rw_enter_diag() should be called before > > > WITNESS_CHECKORD

Re: rw_enter_diag() vs WITNESS

2021-02-15 Thread Visa Hankala
On Mon, Feb 15, 2021 at 11:37:45AM +0100, Martin Pieuchot wrote: > Diagnostic function rw_enter_diag() should be called before > WITNESS_CHECKORDER() to have proper locking/debugging information. > > In the case of 'locking against myself' it is currently impossible > to know where the lock has

CVS: cvs.openbsd.org: src

2021-02-13 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/13 10:12:38 Modified files: sys/arch/octeon/dev: cn30xxgmx.c cn30xxgmxreg.h cn30xxgmxvar.h if_cnmac.c Log message: Revise cnmac(4)'s address filter setup Set up the

CVS: cvs.openbsd.org: src

2021-02-11 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/11 07:44:14 Modified files: sys/arch/loongson/conf: ld.script sys/arch/loongson/loongson: locore.S sys/arch/mips64/mips64: exception.S exception_tfp.S sys/arch/octeon/conf:

CVS: cvs.openbsd.org: src

2021-02-06 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/06 02:33:41 Modified files: share/man/man4/man4.octeon: cnmac.4 Log message: Mention Netgear ProSecure UTM25.

CVS: cvs.openbsd.org: www

2021-02-06 Thread Visa Hankala
CVSROOT:/cvs Module name:www Changes by: v...@cvs.openbsd.org2021/02/06 02:32:54 Modified files: . : octeon.html Log message: Mention Netgear ProSecure UTM25.

CVS: cvs.openbsd.org: src

2021-02-06 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/06 02:31:47 Modified files: sys/arch/octeon/conf: BOOT Makefile.octeon ld.script Log message: Revise kernel's ld.script on octeon This allows more control over the structure of the linked kernel

CVS: cvs.openbsd.org: src

2021-02-04 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/04 09:16:11 Modified files: sys/arch/octeon/dev: cn30xxgmx.c cn30xxsmi.c sys/arch/octeon/include: octeonvar.h sys/arch/octeon/octeon: machdep.c Log message: Handle Netgear

mips64 bulk build report

2021-02-01 Thread visa
bulk build on octeon.ports.openbsd.org started on Wed Jan 27 14:26:24 UTC 2021 finished at Mon Feb 1 14:17:06 UTC 2021 lasted 05D23h50m done with kern.version=OpenBSD 6.8-current (GENERIC.MP) #20: Wed Jan 27 14:10:31 UTC 2021 built packages:8634 Jan 27:2334 Jan 28:1118 Jan 29:642 Jan 30:656 Jan

CVS: cvs.openbsd.org: src

2021-02-01 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/02/01 08:55:07 Modified files: sys/sys: systm.h Log message: Remove obsolete vnode operation vector declarations. OK bluhm@, claudio@, mpi@, semarie@

Remove obsolete vnode opv declarations

2021-02-01 Thread Visa Hankala
This removes obsolete vnode operation vector declarations from header . The functions were removed in r1.28 of vfs_init.c. OK? Index: sys/systm.h === RCS file: src/sys/sys/systm.h,v retrieving revision 1.150 diff -u -p -r1.150

CVS: cvs.openbsd.org: src

2021-01-30 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/30 07:59:14 Modified files: sys/arch/octeon/dev: amdcf.c cn30xxgmx.c cn30xxsmi.c octrtc.c sys/arch/octeon/include: octeonvar.h sys/arch/octeon/octeon: machdep.c Log message:

CVS: cvs.openbsd.org: src

2021-01-28 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/28 08:13:27 Modified files: sys/kern : subr_witness.c Log message: Show when witness(4) has run out of lock order data entries. This makes it clearer why lock order traces are sometimes not

CVS: cvs.openbsd.org: src

2021-01-28 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/28 07:53:20 Modified files: sys/conf : files sys/netinet: tcp_var.h Log message: Drop tcp_trace() from SMALL_KERNEL builds to make room on amd64 floppy OK deraadt@

mips64 bulk build report

2021-01-27 Thread visa
bulk build on octeon.ports.openbsd.org started on Tue Jan 19 16:31:42 UTC 2021 finished at Tue Jan 26 14:03:59 UTC 2021 lasted 07D21h32m done with kern.version=OpenBSD 6.8-current (GENERIC.MP) #443: Mon Jan 18 18:16:59 MST 2021 built packages:8633 Jan 19:1954 Jan 20:1250 Jan 21:832 Jan 22:113

CVS: cvs.openbsd.org: src

2021-01-26 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/26 19:58:03 Modified files: sys/kern : kern_event.c Log message: kqueue: Fix termination assert When a kqueue file is closed, the kqueue can still have threads scanning it. Consequently,

Extend struct filterops

2021-01-25 Thread Visa Hankala
This patch modifies the filterops callback interface so that it becomes easier to use with fine-grained locking. The current code is an entanglement of accesses to various data. Some items are more or less controlled by kqueue, while some others are more or less under the control of event sources.

mips64 bulk build report

2021-01-18 Thread visa
bulk build on octeon.ports.openbsd.org started on Tue Jan 12 14:25:51 UTC 2021 finished at Sun Jan 17 16:53:25 UTC 2021 lasted 06D02h27m done with kern.version=OpenBSD 6.8-current (GENERIC.MP) #436: Mon Jan 11 23:17:46 MST 2021 built packages:8634 Jan 12:2416 Jan 13:1066 Jan 14:610 Jan 15:540

CVS: cvs.openbsd.org: src

2021-01-16 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/16 22:56:32 Modified files: sys/kern : kern_event.c sys/sys: event.h eventvar.h Log message: kqueue: Revise fd close notification Deliver file descriptor close notification

CVS: cvs.openbsd.org: src

2021-01-16 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/16 22:23:35 Modified files: sys/kern : uipc_socket.c sys/miscfs/fifofs: fifo_vnops.c sys/sys: socketvar.h usr.bin/netstat: inet.c Log message: Replace

Re: all platforms: isolate hardclock(9) from statclock()

2021-01-16 Thread Visa Hankala
On Thu, Jan 14, 2021 at 12:46:38PM -0600, Scott Cheloha wrote: > Still need tests on these platforms: > > - alpha > - i386 > - mips64 (octeon will be sufficient) > - sgi > - sh Tested sys/kern/kern_clock.c and sys/arch/mips64/mips64/clock.c on loongson (also arch/loongson/dev/glxclk.c), octeon

CVS: cvs.openbsd.org: xenocara

2021-01-16 Thread Visa Hankala
CVSROOT:/cvs Module name:xenocara Changes by: v...@cvs.openbsd.org2021/01/16 04:09:15 Modified files: distrib/sets/lists/xbase: md.sgi distrib/sets/lists/xserv: md.sgi Log message: sync

Re: 68.html: fix typo

2021-01-16 Thread Visa Hankala
On Fri, Jan 15, 2021 at 01:56:19AM +, Yifei ZHAN wrote: > I spotted a typo in www/68.html and this patch will fix it. Committed, thanks. > Index: 68.html > === > RCS file: /cvs/www/68.html,v > retrieving revision 1.85 > diff -u

Re: Update model and resolution details for Loongson Lynloong

2021-01-16 Thread Visa Hankala
On Fri, Jan 15, 2021 at 01:38:14AM +, Yifei ZHAN wrote: > The following patches will update the hardware note file and loongson.html > with the corrent screen resolution and model details for Loongson > Lynloong. Thanks, committed with a rewrapped line in loongson.html. > Index:

Re: loongson.html: update link for PMON repository

2021-01-16 Thread Visa Hankala
On Fri, Jan 15, 2021 at 12:53:35AM +, Yifei ZHAN wrote: > The following patch will update the link for PMON on loongson.html. The > existing site for PMON seems to be abandoned now and development of pmon > on loongson continues in Loongnix's git repository. Thanks, I have updated the link.

CVS: cvs.openbsd.org: www

2021-01-16 Thread Visa Hankala
CVSROOT:/cvs Module name:www Changes by: v...@cvs.openbsd.org2021/01/16 02:10:16 Modified files: . : 68.html Log message: Fix a typo. >From Yifei ZHAN on tech@

CVS: cvs.openbsd.org: src

2021-01-16 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/16 02:08:09 Modified files: distrib/notes/loongson: hardware Log message: Update model details for Loongson Lynloong. >From Yifei ZHAN on tech@

CVS: cvs.openbsd.org: www

2021-01-16 Thread Visa Hankala
CVSROOT:/cvs Module name:www Changes by: v...@cvs.openbsd.org2021/01/16 02:06:51 Modified files: . : loongson.html Log message: Update model details for Loongson Lynloong. >From Yifei ZHAN on tech@

CVS: cvs.openbsd.org: www

2021-01-16 Thread Visa Hankala
CVSROOT:/cvs Module name:www Changes by: v...@cvs.openbsd.org2021/01/16 02:03:40 Modified files: . : loongson.html Log message: Update PMON link. Prompted by Yifei ZHAN on tech@

CVS: cvs.openbsd.org: src

2021-01-10 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/10 02:14:18 Modified files: share/mk : bsd.own.mk distrib/sets/lists/base: md.loongson md.octeon distrib/sets/lists/comp: gcc.loongson gcc.octeon md.loongson

CVS: cvs.openbsd.org: src

2021-01-09 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/09 05:20:37 Modified files: sys/kern : subr_witness.c Log message: Replace a custom linked list with SLIST.

CVS: cvs.openbsd.org: src

2021-01-09 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/09 05:18:28 Modified files: sys/kern : subr_witness.c Log message: Replace SIMPLEQ with SLIST because the code does not need a queue.

CVS: cvs.openbsd.org: src

2021-01-09 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/09 05:15:49 Modified files: sys/kern : subr_witness.c Log message: Remove unnecessary relocking of w_mtx as panic() should not return.

Re: all platforms: isolate hardclock(9) from statclock()

2021-01-09 Thread Visa Hankala
nterval in kernel, say in soft interrupt code. Does that kernel time get noticed? > > Unsure what the performance implications would be, but in general I > > would guess that most platforms have a way to count instructions or > > cycles and that reading this data is fast enough for us t

CVS: cvs.openbsd.org: src

2021-01-08 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/08 05:29:16 Modified files: sys/kern : kern_event.c Log message: Lock kernel before raising SPL in klist_lock() This prevents unwanted spinning with interrupts disabled. At the moment, this

CVS: cvs.openbsd.org: src

2021-01-08 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/08 04:23:57 Modified files: sys/kern : subr_log.c Log message: Fix boot-time crash on sparc64 On sparc64, initmsgbuf() is invoked before curcpu() is usable on the boot processor.

Re: select performance regression

2021-01-08 Thread Visa Hankala
On Thu, Jan 07, 2021 at 05:49:48PM +0100, Alexander Bluhm wrote: > As you can see here, the iperf3 udp performance dropped by 29% at 22nd > December. > http://bluhm.genua.de/perform/results/2021-01-05T15%3A48%3A19Z/gnuplot/udp.png > > All numbers for each commit at that day are here: >

CVS: cvs.openbsd.org: src

2021-01-08 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/08 02:29:04 Modified files: sys/kern : sys_generic.c Log message: Revert "Implement select(2) and pselect(2) on top of kqueue." The use of kqueue as backend has introduced a significant

Re: A sparc oddity (hair-pulling bug)

2021-01-07 Thread Visa Hankala
On Thu, Jan 07, 2021 at 11:51:02AM -, Miod Vallat wrote: > > >> Indeed. Wrappinge the mutex operations in msgbuf_putchar with if (!cold) > >> makes the kernel boot again. > > > > Here is a diff for that. > > After a bit more thinking, it might be worth introduce a > msgbuf_putchar_unlocked()

CVS: cvs.openbsd.org: src

2021-01-07 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/07 04:08:59 Modified files: sys/kern : kern_event.c Log message: Adjust comment about klist_invalidate()

Re: A sparc oddity (hair-pulling bug)

2021-01-07 Thread Visa Hankala
On Thu, Jan 07, 2021 at 07:08:05AM +, Miod Vallat wrote: > > The per-CPU struct is mapped using a 64K locked TLB entry. That TLB > > entry is installed by sun4u_bootstrap_cpu(), which gets called *after* > > initsmgbuf() is called. So this issue was introduced when locking was > > added to

Set klist lock for sockets

2021-01-05 Thread Visa Hankala
This diff sets klist lock for sockets. Since sockets use custom lock functions, the diff introduces socket_klistops for use with the klist interface. In soo_kqfilter(), the diff adds socket locking for accessing so_options and changing the klist. The patch replaces the use of the SB_KNOTE flag

CVS: cvs.openbsd.org: src

2021-01-03 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/03 10:15:54 Modified files: etc/etc.octeon : login.conf etc/etc.sgi: login.conf Log message: Add space for ballooning clang. Moreover, this makes default datasize limits consistent

Re: Fix display resolution for Lynloong machines

2021-01-02 Thread Visa Hankala
On Sat, Jan 02, 2021 at 12:39:49PM +, Yifei ZHAN wrote: > > Hi, > > > > The following patch will set the display resolution to 1368x768 for > > Lynloong all-in-one computers, which is their native resolution. Currently > > their resolution is being set to 1024x600 which prevents the screen

Re: Make kernel recognize more Lynloong models

2021-01-02 Thread Visa Hankala
On Sat, Jan 02, 2021 at 12:06:57PM +, Yifei ZHAN wrote: > Hi, > > The following patch will make kernel recognize Lynloong LM9002/9003 and > LM9013. I think LM9002/9003 is very similar to LM9001 since it works just > fine on my LM9002 with the codebase for LM9001. (Maybe they are just a >

CVS: cvs.openbsd.org: src

2021-01-02 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/02 07:29:16 Modified files: sys/arch/loongson/dev: smfb.c Log message: Use native display resolution 1368x768 with Lynloong all-in-one computers. >From Yifei ZHAN on tech@

CVS: cvs.openbsd.org: src

2021-01-02 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/02 07:27:53 Modified files: sys/arch/loongson/loongson: machdep.c Log message: Make kernel recognize Lynloong LM9002/9003 and LM9013. LM9002/9003 is very similar to LM9001 since it works just fine

CVS: cvs.openbsd.org: src

2021-01-01 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2021/01/01 07:11:10 Modified files: sys/arch/octeon/dev: if_ogx.c ogxreg.h Log message: Add kstat to ogx(4).

CVS: cvs.openbsd.org: src

2020-12-31 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2020/12/31 02:57:23 Modified files: share/man/man4/man4.octeon: ogx.4 sys/arch/octeon/dev: if_ogx.c ogxreg.h Log message: Enable IPv4 and TCP/UDP checksum offload on transmission.

mips64 bulk build report

2020-12-30 Thread visa
bulk build on octeon.ports.openbsd.org started on Mon Dec 21 16:53:50 UTC 2020 finished at Wed Dec 30 20:05:56 UTC 2020 lasted 10D03h12m done with kern.version=OpenBSD 6.8-current (GENERIC.MP) #19: Mon Dec 21 16:13:37 UTC 2020 built packages:8627 Dec 21:2028 Dec 22:1372 Dec 23:576 Dec 24:359

CVS: cvs.openbsd.org: src

2020-12-30 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2020/12/30 10:02:32 Modified files: sys/kern : sys_pipe.c Log message: Set klist lock for pipes. OK anton@, mpi@

Re: Revise fd close notification for kqueue-based select(2) and poll(2)

2020-12-28 Thread Visa Hankala
On Sun, Dec 27, 2020 at 05:09:46PM +, Visa Hankala wrote: > This patch revises the way how kqueue notifies select(2) about the > closing of monitored file descriptors. Instead of returning EBADF through > kqueue_scan(), the error is conveyed in struct kevent. This is excessive >

Revise fd close notification for kqueue-based select(2) and poll(2)

2020-12-27 Thread Visa Hankala
This patch revises the way how kqueue notifies select(2) about the closing of monitored file descriptors. Instead of returning EBADF through kqueue_scan(), the error is conveyed in struct kevent. This is excessive for select(2) but should be useful with kqueue-based poll(2). The idea is the

CVS: cvs.openbsd.org: src

2020-12-27 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2020/12/27 04:38:35 Modified files: sys/sys: systm.h Log message: Make NET_LOCK() assertions conditional to DIAGNOSTIC This saves about 2.5 KiB off amd64's RAMDISK after gzip compression. OK

CVS: cvs.openbsd.org: src

2020-12-26 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2020/12/26 07:26:48 Modified files: sys/kern : sys_generic.c Log message: Simplify parameters of pselregister(). OK mpi@

Clean up parameters of pselrecord()

2020-12-25 Thread Visa Hankala
The following diff cleans up the parameters of pselregister(), making its parameter use similar to that of pselcollect(). In addition, this removes from pselregister() the assumption that all the fd_set kinds are in one continuous array. OK? Index: kern/sys_generic.c

Set klist lock for pipes

2020-12-25 Thread Visa Hankala
This patch makes pipes use the pipe pair lock instead of the kernel lock for pipe klist serialization. In pipe_kqfilter(), the pipe pair lock is already held, so it is appropriate to keep on using klist_insert_locked() there. filt_pipedetach(), on the other hand, can be shortened by using

CVS: cvs.openbsd.org: src

2020-12-25 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2020/12/25 05:59:53 Modified files: sys/arch/arm64/dev: apm.c sys/arch/i386/i386: apm.c sys/arch/loongson/dev: apm.c sys/arch/macppc/dev: apm.c sys/arch/sparc64/dev:

CVS: cvs.openbsd.org: src

2020-12-25 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2020/12/25 05:49:31 Modified files: sys/kern : kern_smr.c sys/sys: sched.h Log message: Small smr_grace_wait() optimization Make the SMR thread maintain an explicit system-wide grace

<    2   3   4   5   6   7   8   9   10   11   >