Re: iwm(4): enable on riscv64

2021-07-24 Thread Jonathan Gray
On Fri, Jul 23, 2021 at 04:36:57PM -0400, Ashton Fagg wrote: > The following diffs adds iwm(4) to the riscv64 kernel config. > > I tested this with the following device: > > iwm0 at pci5 dev 0 function 0 "Intel Dual Band Wireless-AC 9260" rev 0x29, > intx > > icarus$ ifconfig iwm0 > iwm0: flags

Re: ix(4)/riscv64: Make ix(4) work when MSI-X interrupts aren't available

2021-07-24 Thread Jonathan Gray
On Thu, Jul 22, 2021 at 09:04:29PM -0400, Ashton Fagg wrote: > Jonathan Matthew writes: > > > Yes, on second look that makes sense. Here's a better diff with that > > change, and that also doesn't break arches without __HAVE_PCI_MSIX. > > ok? > > Jonathan/Mark, > > Thank you for your help here

Re: ahci(4): Add support for JMicron JMB585 chipset

2021-07-24 Thread Jonathan Matthew
On Thu, Jul 22, 2021 at 10:45:17PM -0400, Ashton Fagg wrote: > I have two devices here based on the JMicron JMB585 chipset. This diff > adds the required pcidev IDs and sets disables native command queuing in > the driver. FreeBSD does something similar for this device: > > https://github.com/free

Re: sleep.3: miscellaneous cleanup and rewrites

2021-07-24 Thread Jonathan Gray
On Sat, Jul 24, 2021 at 10:39:49PM -0500, Scott Cheloha wrote: > Okay, the nanosleep.2 changes are committed, let's do sleep.3 next. > > Here's a changelist by section. I have some questions in there at end > of sections where I'm unsure about something. > > NAME > > - This is clunky. Tighten

sleep.3: miscellaneous cleanup and rewrites

2021-07-24 Thread Scott Cheloha
Okay, the nanosleep.2 changes are committed, let's do sleep.3 next. Here's a changelist by section. I have some questions in there at end of sections where I'm unsure about something. NAME - This is clunky. Tighten it up. - It's also wrong. Remove reference to the process: sleep suspends t

usertc: small consistency tweaks (was: Re: riscv64 usertc)

2021-07-24 Thread Jeremie Courreges-Anglas
On Sat, Jul 24 2021, Mark Kettenis wrote: >> From: Jeremie Courreges-Anglas >> Date: Sat, 24 Jul 2021 21:22:23 +0200 >> >> hifive /usr/src/regress/sys/kern/gettimeofday$ doas -u build time >> obj/gettimeofday >> 6.64 real 6.63 user 0.02 sys >> hifive /usr/src/regress/sys

Re: unwind(8): store enabled resolvers lookup table in config

2021-07-24 Thread Sebastian Benoit
Florian Obser(flor...@openbsd.org) on 2021.07.23 20:27:40 +0200: > We store a list of resolver strategies in order of their preference in > the configuration struct. This is also an implicit list of enabled > resolver strategies. We have also stored an explict lookup array of > enabled strategies o

Re: unwind(8): don't doubt secure answers on network change

2021-07-24 Thread Sebastian Benoit
Florian Obser(flor...@narrans.de) on 2021.07.23 20:28:33 +0200: > Do not doubt a secure (i.e. validated) NXDOMAIN response when we just > switched networks. We just validated it! > > While here reorder the long list of conditions to make it easier to > understand when we doubt a response because w

Re: ntpd: Remove -sS compat

2021-07-24 Thread Klemens Nanni
On Sat, Jul 24, 2021 at 01:58:49PM -0600, Theo de Raadt wrote: > It is way too early to cause that problem. Couple more years I think. Alright. *sets timer*

Re: ntpd: Remove -sS compat

2021-07-24 Thread Theo de Raadt
If you delete this, people's ntpd will fail to start. getopt will fail to match, drop into usage, and fail. It is way too early to cause that problem. Couple more years I think. Klemens Nanni wrote: > On Mon, Jul 12, 2021 at 09:08:59PM +, Klemens Nanni wrote: > > deraadt neutered these

Re: riscv64 usertc

2021-07-24 Thread Mark Kettenis
> From: Jeremie Courreges-Anglas > Date: Sat, 24 Jul 2021 21:22:23 +0200 > > hifive /usr/src/regress/sys/kern/gettimeofday$ doas -u build time > obj/gettimeofday > 6.64 real 6.63 user 0.02 sys > hifive /usr/src/regress/sys/kern/gettimeofday$ doas -u build env > LIBC_NOUS

Re: ntpd: Remove -sS compat

2021-07-24 Thread Klemens Nanni
On Mon, Jul 12, 2021 at 09:08:59PM +, Klemens Nanni wrote: > deraadt neutered these options in november 2019, I'd say it's time to > remove them so the next release won't have it. > > Feedback? Objections? OK? Ping. ntpd(8) obviously doesn't document them any longer. Index: ntpd.c ==

riscv64 usertc

2021-07-24 Thread Jeremie Courreges-Anglas
hifive /usr/src/regress/sys/kern/gettimeofday$ doas -u build time obj/gettimeofday 6.64 real 6.63 user 0.02 sys hifive /usr/src/regress/sys/kern/gettimeofday$ doas -u build env LIBC_NOUSERTC=1 time obj/gettimeofday 6.48 real 0.60 user 5.42 sys In

Re: readelf(1) on riscv64: pretty-print machine name

2021-07-24 Thread Mark Kettenis
> From: Jeremie Courreges-Anglas > Date: Sat, 24 Jul 2021 18:17:18 +0200 > > Before: > Machine: : f3 > After: > Machine: RISC-V > > ok? sure > Index: binutils/readelf.c > === >

readelf(1) on riscv64: pretty-print machine name

2021-07-24 Thread Jeremie Courreges-Anglas
Before: Machine: : f3 After: Machine: RISC-V ok? Index: binutils/readelf.c === RCS file: /cvs/src/gnu/usr.bin/binutils-2.17/binutils/readelf.c,v retrieving revision 1.22 diff -

Re: Kill sbinsertoob()

2021-07-24 Thread Vitaliy Makkoveev
ok mvs@ > On 24 Jul 2021, at 12:26, Martin Pieuchot wrote: > > This function is unused, killing it means we need fewer refactoring to > switch to a per-socket mutex serializing event notifications. > > ok? > > Index: kern/uipc_socket2.c > ===

unwind.conf.5: REFUSED, stub and block

2021-07-24 Thread Klemens Nanni
Three small unrelated things but one mail since its easier: 1. the DNS code is REFUSED not refused 2. `stub' learns from SLAAC not just DHCP 3. The `block' example's wording reads like it blocks clients due to the preposition; also, use "domain" like the `block list file [log]' text says.

[PATCH] xenocara: cwm: added window prop show option when resizing and moving window

2021-07-24 Thread ben
Added a window property show config option when resizing or moving windows at top left corner of window being moved. Defaults to showing property. This is my first patch, free to yell at me if I did something wrong. Ben Raskin --- app/cwm/calmwm.h | 1 + app/cwm/conf.c | 1 + app/cwm/cwmrc

Pass "socket *" to sballoc/sbfree & co

2021-07-24 Thread Martin Pieuchot
Diff below adds an extra argument, a pointer to the socket corresponding to the buffer given to: sballoc(), sbfree(), sbcompress(), sbcheck() and sbdroprecord(). This pointer will be used to assert for or grab a per-socket lock. There is no functional change in this diff. Its goal is to simplify

Kill sbinsertoob()

2021-07-24 Thread Martin Pieuchot
This function is unused, killing it means we need fewer refactoring to switch to a per-socket mutex serializing event notifications. ok? Index: kern/uipc_socket2.c === RCS file: /cvs/src/sys/kern/uipc_socket2.c,v retrieving revision