Re: fix: build of aac(4)

2019-10-05 Thread Theo de Raadt
I guess I mean: unless you plan to get this working, maybe it should be deleted to create a vaccum (which some historical can fill at some later point with working code) I vaguely remember newer Adaptec controllers becoming quite different from previous ones in little ways, all undocumented, and

Re: fix: build of aac(4)

2019-10-05 Thread Theo de Raadt
I believe aac hasn't worked in a long time. Was never enabled on amd64. On i386, it was disabled by revision 1.406 date: 2005/03/18 22:39:59; author: deraadt; state: Exp; lines: +3 -3; shut off aac(4) unless Adaptec stops behaving like assholes Adaptec wouldn't give us documentation.

fix: build of aac(4)

2019-10-05 Thread Jan Klemkow
Hi, aac(4) doesn't build in the current status. The following diff fixes compile errors. Also, with the AAC_DEBUG option. I removed the prototypes of the inline functions in aacvar.h because of a K style compile error and that the prototypes are directly followed by their implementation. ok?

Re: Attach Hyper-V guest services to VMBus 4.0

2019-10-05 Thread Remi Locherer
On Sat, Oct 05, 2019 at 03:19:08PM +0200, Mike Belopuhov wrote: > > Remi Locherer writes: > > > On Tue, Oct 01, 2019 at 12:25:35AM +0200, Mike Belopuhov wrote: > >> > >> > >> Hi, > >> > >> I've got a verbal report that Hyper-V guest services aren't attached > >> on modern Windows 10 systems

setrunqueue() refactoring

2019-10-05 Thread Martin Pieuchot
The refactoring below reduces the places where scheduling related variables are written, to help future locking, and makes various "features" of the existing logic obvious: - `p_priority' is now modified inside setrunqueue() it becomes obvious that it is a placeholder for calculating the queue.

Re: Attach Hyper-V guest services to VMBus 4.0

2019-10-05 Thread Mike Belopuhov
Remi Locherer writes: > On Tue, Oct 01, 2019 at 12:25:35AM +0200, Mike Belopuhov wrote: >> >> >> Hi, >> >> I've got a verbal report that Hyper-V guest services aren't attached >> on modern Windows 10 systems so I believe we should get this one-liner >> in before 6.6. >> >> FreeBSD revision

Re: tsleep_nsec(9) in xhci(4)

2019-10-05 Thread Klemens Nanni
On Sat, Oct 05, 2019 at 11:44:30AM +0200, Martin Pieuchot wrote: > Change XHCI_CMD_TIMEOUT to be in nanoseconds, using the MSEC_TO_NSEC() > macro to implicitly document that USB timeouts are expressed in msec. > > Then convert all tsleep(9) to tsleep_nsec(9), ok? OK kn, altough I'd like to see

Re: tsleep_nsec(9) in USB stack

2019-10-05 Thread Klemens Nanni
On Sat, Oct 05, 2019 at 11:40:55AM +0200, Martin Pieuchot wrote: > Convert all tsleep(9) in the USB stack to the new tsleep_nsec(9), ok? OK kn

Re: tsleep_nsec(9) in video(4)

2019-10-05 Thread Klemens Nanni
On Sat, Oct 05, 2019 at 11:49:21AM +0200, Martin Pieuchot wrote: > ok? OK kn

bsd.gdb & CTF

2019-10-05 Thread Martin Pieuchot
I'd like to include CTF data in bsd.gdb. Currently it only include DWARF data, 'cause that's what the compiler generates. So the diff below is a hack to teach ctfstrip(1) to also include the .SUNW_ctf section in bsd.gdb. This make backtraces readable with a debug kernel, ok? Index: ctfstrip

Re: Attach Hyper-V guest services to VMBus 4.0

2019-10-05 Thread Remi Locherer
On Tue, Oct 01, 2019 at 12:25:35AM +0200, Mike Belopuhov wrote: > > > Hi, > > I've got a verbal report that Hyper-V guest services aren't attached > on modern Windows 10 systems so I believe we should get this one-liner > in before 6.6. > > FreeBSD revision 349856 adds another define for VMBus

Re: Attach Hyper-V guest services to VMBus 4.0

2019-10-05 Thread Remi Locherer
Hi Mike, On Tue, Oct 01, 2019 at 12:25:35AM +0200, Mike Belopuhov wrote: > > > Hi, > > I've got a verbal report that Hyper-V guest services aren't attached > on modern Windows 10 systems so I believe we should get this one-liner > in before 6.6. > > FreeBSD revision 349856 adds another define

tsleep_nsec(9) in video(4)

2019-10-05 Thread Martin Pieuchot
ok? Index: dev/video.c === RCS file: /cvs/src/sys/dev/video.c,v retrieving revision 1.41 diff -u -p -r1.41 video.c --- dev/video.c 11 Oct 2017 08:08:50 - 1.41 +++ dev/video.c 5 Oct 2019 09:47:42 - @@ -182,7 +182,7 @@

tsleep_nsec(9) in xhci(4)

2019-10-05 Thread Martin Pieuchot
Change XHCI_CMD_TIMEOUT to be in nanoseconds, using the MSEC_TO_NSEC() macro to implicitly document that USB timeouts are expressed in msec. Then convert all tsleep(9) to tsleep_nsec(9), ok? Index: xhci.c === RCS file:

tsleep_nsec(9) in USB stack

2019-10-05 Thread Martin Pieuchot
Convert all tsleep(9) in the USB stack to the new tsleep_nsec(9), ok? Index: usb.c === RCS file: /cvs/src/sys/dev/usb/usb.c,v retrieving revision 1.123 diff -u -p -r1.123 usb.c --- usb.c 9 Jan 2019 12:10:37 - 1.123

Re: [patch] pstat(8): display text for msts/endrun line disciplines

2019-10-05 Thread Iain R. Learmonth
Hi, On 06/09/2019 14:24, Iain R. Learmonth wrote with a patch. I'd really like to see this included in 6.6. Thanks, Iain.