Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Stefan Sperling
On Fri, Sep 10, 2021 at 06:49:49PM +0200, Stefan Sperling wrote: > Here is another attempt at adding Tx aggregation to iwx(4). > This patch is based on the latest state in CVS (if_iwx.c r1.107, which > I have committed a minute ago). Sync your tree before applying this patch. > > Compared to

Re: Fix headphone jack on Cirrus 4206

2021-09-11 Thread Mark Kettenis
> Date: Fri, 10 Sep 2021 18:27:07 -0600 > From: Tracey Emery > > Hello, > > After reading some Linux commits, it shows the GPIO2 on the CS4206 chips > needs to be unmuted to make the headphone jack work. The following diff > fixed the headphone jack problem on my iMac12,2, amd64. > > ok? I

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Stefan Hagen
Dave Voutila wrote: > > Stefan Sperling writes: > > > Here is another attempt at adding Tx aggregation to iwx(4). > > This patch is based on the latest state in CVS (if_iwx.c r1.107, which > > I have committed a minute ago). Sync your tree before applying this patch. > > > > Compared to

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Stefan Sperling
On Sat, Sep 11, 2021 at 04:29:58PM +0200, Stefan Hagen wrote: > Sep 11 15:52:39 x13 /bsd: iwx0: associated with e6:63:da:7e:f8:24 ssid > "DiscMate" channel 36 start MCS 0 long preamble short slot time HT enabled > Sep 11 15:52:39 x13 /bsd: iwx0: missed beacon threshold set to 30 beacons, >

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Mike Larkin
On Sat, Sep 11, 2021 at 02:04:32PM +0200, Stefan Sperling wrote: > On Fri, Sep 10, 2021 at 06:49:49PM +0200, Stefan Sperling wrote: > > Here is another attempt at adding Tx aggregation to iwx(4). > > This patch is based on the latest state in CVS (if_iwx.c r1.107, which > > I have committed a

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Stefan Hagen
Stefan Sperling wrote: > On Fri, Sep 10, 2021 at 06:49:49PM +0200, Stefan Sperling wrote: > > Here is another attempt at adding Tx aggregation to iwx(4). > > This patch is based on the latest state in CVS (if_iwx.c r1.107, which > > I have committed a minute ago). Sync your tree before applying

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Kevin Lo
On Sat, Sep 11, 2021 at 02:04:32PM +0200, Stefan Sperling wrote: > > On Fri, Sep 10, 2021 at 06:49:49PM +0200, Stefan Sperling wrote: > > Here is another attempt at adding Tx aggregation to iwx(4). > > This patch is based on the latest state in CVS (if_iwx.c r1.107, which > > I have committed a

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Stefan Hagen
Stefan Hagen wrote: > Stefan Sperling wrote: > > On Fri, Sep 10, 2021 at 06:49:49PM +0200, Stefan Sperling wrote: > > > Here is another attempt at adding Tx aggregation to iwx(4). > > > This patch is based on the latest state in CVS (if_iwx.c r1.107, which > > > I have committed a minute ago).

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Stefan Hagen
Stefan Sperling wrote: > On Sat, Sep 11, 2021 at 04:29:58PM +0200, Stefan Hagen wrote: > > Sep 11 15:52:39 x13 /bsd: iwx0: associated with e6:63:da:7e:f8:24 ssid > > "DiscMate" channel 36 start MCS 0 long preamble short slot time HT enabled > > Sep 11 15:52:39 x13 /bsd: iwx0: missed beacon

Re: Fix headphone jack on Cirrus 4206

2021-09-11 Thread Tracey Emery
On Sat, Sep 11, 2021 at 06:07:10PM +0200, Mark Kettenis wrote: > > Date: Sat, 11 Sep 2021 08:53:00 -0600 > > From: Tracey Emery > > > > On Sat, Sep 11, 2021 at 02:14:56PM +0200, Mark Kettenis wrote: > > > > Date: Fri, 10 Sep 2021 18:27:07 -0600 > > > > From: Tracey Emery > > > > > > > > Hello,

Re: Diff: Function Length Reduction

2021-09-11 Thread Tom Cosgrove
For example, making it look something like this would be better static void inc_buf(SCR *sp, VICMD *vp) { CHAR_T v = vp->buffer; if (v < '1' || v > '8') return; VIP(sp)->sdot.buffer = vp->buffer = ++v; } Thanks Tom On 10/09/2021 22:24, Stuart Henderson wrote: On

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Eric Auge
running the updated patch, will notify if anything breaks: iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x20, msix Previous patch : Testing download speed Download: 74.76 Mbit/s Testing upload

Re: Fix headphone jack on Cirrus 4206

2021-09-11 Thread Mark Kettenis
> Date: Sat, 11 Sep 2021 08:53:00 -0600 > From: Tracey Emery > > On Sat, Sep 11, 2021 at 02:14:56PM +0200, Mark Kettenis wrote: > > > Date: Fri, 10 Sep 2021 18:27:07 -0600 > > > From: Tracey Emery > > > > > > Hello, > > > > > > After reading some Linux commits, it shows the GPIO2 on the

Re: vmm(4): set global vcpu limit to 512

2021-09-11 Thread Mike Larkin
On Sat, Sep 11, 2021 at 01:44:33PM -0400, Dave Voutila wrote: > Syzbot recently discovered that since we don't have any bounds in place > for number of vms or vcpus it's possible to completely exhuast kernel > memory or at least put the system in a state where malloc(9) or > km_alloc(9) fail in

Re: FIDO/U2F not working with latest snapshot

2021-09-11 Thread Mitchell Riedstra
I see the same issue, it seems to be impacting everything with libfido, ( ed25519-sk and ecdsa-sk SSH keys as well ) Reverting that commit also fixes the issue for me. I don't see anything obvious in dmesg, running ssh-agent with FIDO_DEBUG=1 yields a small bit more information to go on: debug1:

Re: syslogd sendmsg

2021-09-11 Thread Vitaliy Makkoveev
> On 11 Sep 2021, at 21:16, Martijn van Duren > wrote: > > On Sat, 2021-09-11 at 04:05 +0300, Vitaliy Makkoveev wrote: >> On Fri, Sep 10, 2021 at 07:40:58PM +0200, Alexander Bluhm wrote: >>> Hi, >>> >>> After converting syslogd messages to iov, UDP can use sendmsg(2) >>> instead of

Re: syslogd sendmsg

2021-09-11 Thread Vitaliy Makkoveev
> On 11 Sep 2021, at 21:51, Alexander Bluhm wrote: > > On Sat, Sep 11, 2021 at 04:05:31AM +0300, Vitaliy Makkoveev wrote: >> On Fri, Sep 10, 2021 at 07:40:58PM +0200, Alexander Bluhm wrote: >>> Hi, >>> >>> After converting syslogd messages to iov, UDP can use sendmsg(2) >>> instead of

FIDO/U2F not working with latest snapshot

2021-09-11 Thread Renato Aguiar
Using FIDO/U2F (Yubikey) from browser is not working with the latest snapshot. After some testing and bisecting, I found out that the bug was introduced with the following commit: commit adb06565acb8061f0e1ddb764fb29f86eadeb2f6 from: anton date: Fri Sep 10 05:47:38 2021 UTC Instead of letting

Re: updated patch for iwx(4) Tx aggregation

2021-09-11 Thread Stefan Sperling
On Sat, Sep 11, 2021 at 02:04:32PM +0200, Stefan Sperling wrote: > On Fri, Sep 10, 2021 at 06:49:49PM +0200, Stefan Sperling wrote: > > Here is another attempt at adding Tx aggregation to iwx(4). > > This patch is based on the latest state in CVS (if_iwx.c r1.107, which > > I have committed a

vmm(4): set global vcpu limit to 512

2021-09-11 Thread Dave Voutila
Syzbot recently discovered that since we don't have any bounds in place for number of vms or vcpus it's possible to completely exhuast kernel memory or at least put the system in a state where malloc(9) or km_alloc(9) fail in systems (e.g. DRM, unveil, etc.) resulting in panics. Actually, it first

Re: OpenSSH: RSA/SHA1 disabled by default

2021-09-11 Thread Simon Hoffmann
> Hi, > > RSA/SHA1, a.k.a the "ssh-rsa" signature type is now disabled by default > in OpenSSH. > > While The SSH protocol confusingly uses overlapping names for key and > signature algorithms, this does not stop the use of RSA keys and there > is no need to regenerate "ssh-rsa" keys - most

RFC: performance oriented CPU frequency scaling

2021-09-11 Thread Solene Rapenne
hello, this is not actually a proposal for a commit but I'm playing with the frequency scaling code (that's the only part of the kernel I touched once and it's relatively simple and fun to work on). I found in some cases that using the automatic scaling mode would produce poor results because

Re: syslogd sendmsg

2021-09-11 Thread Martijn van Duren
On Sat, 2021-09-11 at 04:05 +0300, Vitaliy Makkoveev wrote: > On Fri, Sep 10, 2021 at 07:40:58PM +0200, Alexander Bluhm wrote: > > Hi, > > > > After converting syslogd messages to iov, UDP can use sendmsg(2) > > instead of snprintf(). > > > > ok? > > > > I have one question below, but the diff

Re: syslogd sendmsg

2021-09-11 Thread Alexander Bluhm
On Sat, Sep 11, 2021 at 04:05:31AM +0300, Vitaliy Makkoveev wrote: > On Fri, Sep 10, 2021 at 07:40:58PM +0200, Alexander Bluhm wrote: > > Hi, > > > > After converting syslogd messages to iov, UDP can use sendmsg(2) > > instead of snprintf(). > > > > ok? > > > > I have one question below, but

Re: [SPAM?] OpenBSD's experience with writing secure c/c++ code.

2021-09-11 Thread Kevin Chadwick
On Fri, 10 Sep 2021, 08:56 Martin Schröder, wrote: > Am Do., 9. Sept. 2021 um 15:03 Uhr schrieb el3ctr0lyte > : > > Rust totes itself as a systems programming language that promises memory > safety and so far it seems to deliver on that promise. I was just > wondering, what are your opinions on