Fix ifstated(8) "carp?.link.unknown"

2018-04-22 Thread YASUOKA Masahiko
Hi, "carp?.link.unknown" doesn't work. carp(4) started using LINK_STATE_INVALID for ifi_link_state instead of LINK_STATE_INVALID(0). ifstated needs to sync this change. ok? Index: usr.sbin/ifstated/ifstated.c === RCS file: /var/cv

Re: ccp(4): quick and dirty driver for amd crypto coprocessors

2018-04-22 Thread Mark Kettenis
> From: David Gwynne > Date: Mon, 23 Apr 2018 10:38:57 +1000 > > > On 21 Apr 2018, at 05:52, Christian Weisgerber wrote: > > > > On 2018-04-20, Mark Kettenis wrote: > > > >> At some point I tried playing with this on the APU, which has the v3 > >> engine I think. Couldn't get anything to wor

Re: [patch] man for vgafb(4) should have list of supported architectures

2018-04-22 Thread Jason McIntyre
On Tue, Apr 17, 2018 at 04:24:53AM +0300, IL Ka wrote: > diff --git share/man/man4/vgafb.4 share/man/man4/vgafb.4 > index d9ccfa469..6e9a9875c 100644 > --- share/man/man4/vgafb.4 > +++ share/man/man4/vgafb.4 > @@ -31,6 +31,7 @@ > .Nm vgafb > .Nd VGA frame buffer > .Sh SYNOPSIS > +.Cd # sparc64,

Re: Despite the man, wsmouse(4) can't be shared between X(1) and wsmoused(8) (workaround included)

2018-04-22 Thread Jason McIntyre
On Sun, Apr 22, 2018 at 05:45:26PM +0100, Jason McIntyre wrote: > On Sun, Apr 22, 2018 at 01:27:40AM +0300, IL Ka wrote: > > man wsmoused: > > "wsmoused will happily coexist with the X Window System, provided that the > > mouse device is supported by wsmouse(4). " > > > > I have wsmouse0 on pms0 (

Re: ccp(4): quick and dirty driver for amd crypto coprocessors

2018-04-22 Thread David Gwynne
> On 21 Apr 2018, at 05:52, Christian Weisgerber wrote: > > On 2018-04-20, Mark Kettenis wrote: > >> At some point I tried playing with this on the APU, which has the v3 >> engine I think. Couldn't get anything to work (but I didn't try very >> hard). Would be interesting to see whether thi

Re: Despite the man, wsmouse(4) can't be shared between X(1) and wsmoused(8) (workaround included)

2018-04-22 Thread Jason McIntyre
On Sun, Apr 22, 2018 at 01:27:40AM +0300, IL Ka wrote: > man wsmoused: > "wsmoused will happily coexist with the X Window System, provided that the > mouse device is supported by wsmouse(4). " > > I have wsmouse0 on pms0 (PS/2 controller emulation running on VirtualBox) > > When moused works on /

new semapahore implementation using atomics and futexes

2018-04-22 Thread Paul Irofti
Hi, Here is a new semaphore implementation that uses atomic operations, where available, and futexes for locking. The reason we need this is to make semaphores safe for asynchronous signals. All posixsuite tests (semaphore and sigaction) pass with this. They do not with our current implementat

Re: [PATCH 7/7] em: Add magic delay for HP elitebook 820 G3

2018-04-22 Thread Stefan Fritsch
On Tue, 10 Apr 2018, Jonathan Gray wrote: > On Sat, Apr 07, 2018 at 01:35:31PM +0200, Stefan Fritsch wrote: > > On Fri, 6 Apr 2018, Jonathan Gray wrote: > > > > > On Thu, Apr 05, 2018 at 09:57:23PM +0200, Stefan Fritsch wrote: > > > > Add another magic 1ms delay that seems to help with some remai

Re: [PATCH 4/7] em: Improve access logic for software flag

2018-04-22 Thread Stefan Fritsch
Sorry for the late response. On Tue, 10 Apr 2018, Jonathan Gray wrote: > On Thu, Apr 05, 2018 at 09:57:20PM +0200, Stefan Fritsch wrote: > > Some em chips have a semaphore ("software flag") to synchronize access > > to certain registers between OS and firmware (ME/AMT). > > > > Make the logic to

amd64 EFI - kernel boots with obsolete memory map

2018-04-22 Thread Ryan Lennox
Hi, efi_cleanup() invokes ExitBootServices, which changes the memory map on some EFI machines. Since mem_pass() is called prior to efi_cleanup(), the kernel boots with an obsolete memory map. The problem can be fixed by calling mem_pass() after efi_cleanup(). Here's the report history with mo