Re: hostctl: Change from fixed length to variable length

2023-01-05 Thread YASUOKA Masahiko
ok yasuoka On Fri, 06 Jan 2023 15:14:05 +0900 (JST) Masato Asou wrote: > I have updated my patch. > > From: YASUOKA Masahiko > Date: Tue, 27 Dec 2022 11:58:34 +0900 (JST) > >> After diff, it doesn't use PAGE_SIZE any more. And VMware software >> limit seems 1MB and changable by its

Re: hostctl: Change from fixed length to variable length

2023-01-05 Thread Masato Asou
I have updated my patch. From: YASUOKA Masahiko Date: Tue, 27 Dec 2022 11:58:34 +0900 (JST) > After diff, it doesn't use PAGE_SIZE any more. And VMware software > limit seems 1MB and changable by its configuration(*1). So we can't > say PVBUS_KVOP_MAXSIZE is enough. > > + * - Known pv

Re: ifconfig description for wireguard peers

2023-01-05 Thread Chris Narkiewicz
On Mon, Nov 29, 2021 at 01:25:20PM +0100, Stefan Sperling wrote: > This looks useful to me. > Did you get any feedback for this patch yet, Noah? Not tested the patch, but this functionality will be huge quality of life improvement for me. So from the user perspective, very, very nice to have.

sparc64: normalize prom mappings

2023-01-05 Thread Miod Vallat
tl;dr: if you have a sparc64 machine, please try this diff and report if your system no longer works with it. On sparc64, the kernel keeps the existing OpenFirmware memory mappings into the kernel pmap, so as to be able to use ofw routines and walk the device tree. However, these

Re: ifconfig description for wireguard peers

2023-01-05 Thread Hrvoje Popovski
On 2.1.2023. 22:01, Mikolaj Kucharski wrote: > This seems to work fine for me. > > Patch also available at: > > https://marc.info/?l=openbsd-tech=167185582521873=mbox > I've had some problems with 20+ wgpeers few days ago and at that time it would have been good if I had wgdesc in ifconfig wg

Re: Fix level-triggered ACPI GPIO interrupts on amd64

2023-01-05 Thread Matthias Schmidt
Hi Peter, * Peter Hessler wrote: > This was committed on Oct 20, and was shipped in OpenBSD 7.2. Indeed, you're quite right, thanks for the info! Since my touchpad hangs haven't improved since then it is unrelated to the change and I must be mistaken while testing. Cheers Matthias

Re: bgpd vs gcc4

2023-01-05 Thread Claudio Jeker
On Thu, Jan 05, 2023 at 02:18:47PM +0100, David Demelier wrote: > On Thu, 2023-01-05 at 13:59 +0100, Claudio Jeker wrote: > > On Thu, Jan 05, 2023 at 11:09:57AM +0100, Theo Buehler wrote: > > > On Thu, Jan 05, 2023 at 11:03:04AM +0100, Claudio Jeker wrote: > > > > gcc4 does not really support C99

Re: bgpd vs gcc4

2023-01-05 Thread Theo de Raadt
> Also I thought that gcc4 defaults to -std=c99 or gnu99. Reading the code, it appears to default to c89.

Re: bgpd vs gcc4

2023-01-05 Thread Claudio Jeker
On Thu, Jan 05, 2023 at 06:01:37AM -0700, Theo de Raadt wrote: > Florian Obser wrote: > > > On 2023-01-05 11:09 +01, Theo Buehler wrote: > > > On Thu, Jan 05, 2023 at 11:03:04AM +0100, Claudio Jeker wrote: > > >> gcc4 does not really support C99 initalizers. It works most of the time > > >> but

Re: more consistently use "st" as the name for struct pf_state variables

2023-01-05 Thread Alexandr Nedvedicky
On Thu, Jan 05, 2023 at 08:32:44PM +1000, David Gwynne wrote: > > > > On 5 Jan 2023, at 18:56, Alexandr Nedvedicky wrote: > > > > Hello, > > > > On Wed, Jan 04, 2023 at 09:36:38PM +1000, David Gwynne wrote: > >> and "stp" for pf_state ** variables. > >> > >I agree with established naming

Re: [PATCH] Azalia bug in codec Realtek ALC892

2023-01-05 Thread Jose Maldonado
El 5/1/23 a las 8:07, Alexandre Ratchov escribió: Your device seems to stop because the azalia pci host stops (probably interrupts stop and a reboot is needed), while this diff is about the Yes,exactly. A quick review using vmstat -i show that, azalia interrupts is frozen, only hard reboot

Re: [PATCH] Azalia bug in codec Realtek ALC892

2023-01-05 Thread Jose Maldonado
El 5/1/23 a las 1:41, Greg Steuck escribió: Thanks for the contribution Jose. The diff is OK gnezdo. Aaron, in case you still have that hardware, maybe you would like to test/commit? Thanks Greg Thanks! The patch is very specific in hardware but maybe work in other cases, need testing.

Re: Fix level-triggered ACPI GPIO interrupts on amd64

2023-01-05 Thread Peter Hessler
This was committed on Oct 20, and was shipped in OpenBSD 7.2. On 2023 Jan 05 (Thu) at 14:15:26 +0100 (+0100), Matthias Schmidt wrote: :Hi, : :did anyone else on the list had the chance to test this patch? It :really improved the touchpad hangs here. : :Cheers : : Matthias : :* Mark

Re: bgpd vs gcc4

2023-01-05 Thread David Demelier
On Thu, 2023-01-05 at 13:59 +0100, Claudio Jeker wrote: > On Thu, Jan 05, 2023 at 11:09:57AM +0100, Theo Buehler wrote: > > On Thu, Jan 05, 2023 at 11:03:04AM +0100, Claudio Jeker wrote: > > > gcc4 does not really support C99 initalizers. It works most of > > > the time > > > but fails for more

Re: Fix level-triggered ACPI GPIO interrupts on amd64

2023-01-05 Thread Matthias Schmidt
Hi, did anyone else on the list had the chance to test this patch? It really improved the touchpad hangs here. Cheers Matthias * Mark Kettenis wrote: > > Date: Thu, 13 Oct 2022 00:17:37 +0200 > > From: Mark Kettenis > > > > > Date: Mon, 10 Oct 2022 17:02:41 +0200 > > > From:

Re: bgpd vs gcc4

2023-01-05 Thread Theo de Raadt
Florian Obser wrote: > On 2023-01-05 11:09 +01, Theo Buehler wrote: > > On Thu, Jan 05, 2023 at 11:03:04AM +0100, Claudio Jeker wrote: > >> gcc4 does not really support C99 initalizers. It works most of the time > >> but fails for more complex structs. Just fall back to memset() here. > > > >

Re: bgpd vs gcc4

2023-01-05 Thread Claudio Jeker
On Thu, Jan 05, 2023 at 11:09:57AM +0100, Theo Buehler wrote: > On Thu, Jan 05, 2023 at 11:03:04AM +0100, Claudio Jeker wrote: > > gcc4 does not really support C99 initalizers. It works most of the time > > but fails for more complex structs. Just fall back to memset() here. > > deraadt used {

Re: bgpd vs gcc4

2023-01-05 Thread Florian Obser
On 2023-01-05 11:09 +01, Theo Buehler wrote: > On Thu, Jan 05, 2023 at 11:03:04AM +0100, Claudio Jeker wrote: >> gcc4 does not really support C99 initalizers. It works most of the time >> but fails for more complex structs. Just fall back to memset() here. > > deraadt used { {0} } in

Re: [PATCH] Azalia bug in codec Realtek ALC892

2023-01-05 Thread Alexandre Ratchov
On Tue, Jan 03, 2023 at 09:51:46PM -0400, Jose Maldonado wrote: > Hi, everyone! > > Right now I'm using OBSD 7.2 (my first time in OBSD) and the only issue is > my onboard audio. The audio randomly stuck (listen music or not, with high > CPU use or not) and only a hard reboot give me back audio

Re: more consistently use "st" as the name for struct pf_state variables

2023-01-05 Thread David Gwynne
> On 5 Jan 2023, at 18:56, Alexandr Nedvedicky wrote: > > Hello, > > On Wed, Jan 04, 2023 at 09:36:38PM +1000, David Gwynne wrote: >> and "stp" for pf_state ** variables. >> >I agree with established naming conventions. > >I'm also fine with keeping some exceptions such as `a` and

Re: bgpd vs gcc4

2023-01-05 Thread Theo Buehler
On Thu, Jan 05, 2023 at 11:03:04AM +0100, Claudio Jeker wrote: > gcc4 does not really support C99 initalizers. It works most of the time > but fails for more complex structs. Just fall back to memset() here. deraadt used { {0} } in kr_send_dependon(). Apparently that works. I really don't

bgpd vs gcc4

2023-01-05 Thread Claudio Jeker
gcc4 does not really support C99 initalizers. It works most of the time but fails for more complex structs. Just fall back to memset() here. -- :wq Claudio Index: kroute.c === RCS file: /cvs/src/usr.sbin/bgpd/kroute.c,v retrieving

Re: more consistently use "st" as the name for struct pf_state variables

2023-01-05 Thread Alexandr Nedvedicky
Hello, On Wed, Jan 04, 2023 at 09:36:38PM +1000, David Gwynne wrote: > and "stp" for pf_state ** variables. > I agree with established naming conventions. I'm also fine with keeping some exceptions such as `a` and `b` in pf_state_compare_id(), local variables `tail`, `head` in