Re: dwiic acpi improvement

2018-05-19 Thread Mike Larkin
On Sat, May 19, 2018 at 09:44:22PM +0200, Mark Kettenis wrote: > I'm working on some i2c drivers that are closely tied to acpi. These > drivers need to call into acpi and need to know their acpi node. The > diff below makes dwiic(4) pass the acpi node as the cookie to its > children. This matche

de-hole some structs on amd64

2018-05-19 Thread Amit Kulkarni
Hi, I tested removing some slop (i.e. structure packing/de-holing) on amd64, this went through a full kernel + userland build. struct proc 20 bytes (6 places) --> 4 bytes (2 places) struct process 28 bytes (6 places) --> 4 bytes (1 place) struct vm_map 8 bytes (2 places) --> 0 bytes Thanks d

dwiic acpi improvement

2018-05-19 Thread Mark Kettenis
I'm working on some i2c drivers that are closely tied to acpi. These drivers need to call into acpi and need to know their acpi node. The diff below makes dwiic(4) pass the acpi node as the cookie to its children. This matches what we do in ofw/fdt land where we pass the device tree node. ok?

Wake the acpi thread up for gpio events

2018-05-19 Thread Mark Kettenis
Without the wakeup, the event doesn't get scheduled until some other event wakes up the acpi thread. On one of my machines the gpio event reads a status byte over i2c in repsonse of a gpio event. Without the wakeup that status byte has often been cleared/overwritten by the time the event gets sch

Re: vmctl: sync usage with manual page

2018-05-19 Thread Mike Larkin
On Sat, May 19, 2018 at 03:26:36PM +0200, Klemens Nanni wrote: > Sort vmctl's usage alphabetically, use "path" instead of "filename", > "image" or "disk" and "id" instead of "name" as argument name to be > consistent and in sync with vmctl.8. > > Zap a trailing asterisk as well as double qoutes ar

Re: Fix acpi(4) GeneralSerialBus implementation

2018-05-19 Thread Mike Larkin
On Sat, May 19, 2018 at 09:25:47AM +0200, Mark Kettenis wrote: > > Date: Fri, 18 May 2018 22:21:06 -0700 > > From: Mike Larkin > > > > > @@ -2564,6 +2564,14 @@ aml_rwgsb(struct aml_value *conn, int bp > > > cmdlen = 1; > > > buflen = 2; > > >

Re: [patch] httpd: add tls client certificate authentication

2018-05-19 Thread Joel Sing
On Wednesday 16 May 2018 17:32:56 Jack Burton wrote: > My attempts to get this accepted last year stalled. > > As best I recall, the main stumbling block was agreeing on how much / > exactly which client cert data to pass through to fastcgi (my view was > that passing the whole client cert chain w

vmctl: sync usage with manual page

2018-05-19 Thread Klemens Nanni
Sort vmctl's usage alphabetically, use "path" instead of "filename", "image" or "disk" and "id" instead of "name" as argument name to be consistent and in sync with vmctl.8. Zap a trailing asterisk as well as double qoutes around argument names; their inconsistent usage is confusing. This eventua

spinning and nice time in systat

2018-05-19 Thread Alexander Bluhm
On Wed, May 09, 2018 at 06:35:52PM +0200, Alexander Bluhm wrote: > On Wed, May 09, 2018 at 01:36:08PM +0200, Martin Pieuchot wrote: > > > To keep it simple, systat(1) vmstat view now shows the spinning time > > > instead > > > of the nice time. > > Could the nice time added to user there? I inte

Re: Fix acpi(4) GeneralSerialBus implementation

2018-05-19 Thread Mark Kettenis
> Date: Fri, 18 May 2018 22:21:06 -0700 > From: Mike Larkin > > > @@ -2564,6 +2564,14 @@ aml_rwgsb(struct aml_value *conn, int bp > > cmdlen = 1; > > buflen = 2; > > break; > > + case 0x0b: /* AttribBytes */ > > +