Re: inteldrm(4) tests needed

2018-01-16 Thread Mike Larkin
On Sun, Jan 14, 2018 at 11:15:39PM -0800, Mike Larkin wrote: > On Mon, Jan 15, 2018 at 01:02:58AM +0100, Mark Kettenis wrote: > > The diff below adopts more of the Linux code to manage i2c > > transactions on hardware supported by inteldrm(4). The i2c stuff is > > reponsible for detecting panels a

Add sizes for free() in wscons(4)

2018-01-16 Thread Frederic Cambus
Hi tech@, Add sizes for free() in wscons(4). Comments? OK? Index: sys/dev/wscons/wsdisplay.c === RCS file: /cvs/src/sys/dev/wscons/wsdisplay.c,v retrieving revision 1.129 diff -u -p -r1.129 wsdisplay.c --- sys/dev/wscons/wsdisplay.c

[no subject]

2018-01-16 Thread Sebastian Benoit
Hi, this removes the currently unused arguments *warnmess and ratecap from pool_sethardlimit(). ok? diff --git share/man/man9/pool.9 share/man/man9/pool.9 index 75742cf12ab..27226e14a25 100644 --- share/man/man9/pool.9 +++ share/man/man9/pool.9 @@ -72,8 +72,6 @@ .Fo pool_sethardlimit .Fa "str

libsa: zero-padding in printf

2018-01-16 Thread Patrick Wildt
Hi, I always stumble upon missing zero-padding every time I do something in the bootloader. This time I really need it so that I can load a file depending on a number. The files are named %02x-%02x-%02x if you were wondering. This implements the bare minimum to make it work. I don't claim it f

Re: init.8: getty sleep is 30 seconds, not 10

2018-01-16 Thread Jeremie Courreges-Anglas
On Tue, Jan 16 2018, Scott Cheloha wrote: > Hi, > > The child in start_getty() sleeps 30 seconds (not 10) before > continuing if getty exited too quickly in its prior attempt. > > ok? ok jca@ > -- > Scott Cheloha > > Index: sbin/init/init.8 > =

init.8: getty sleep is 30 seconds, not 10

2018-01-16 Thread Scott Cheloha
Hi, The child in start_getty() sleeps 30 seconds (not 10) before continuing if getty exited too quickly in its prior attempt. ok? -- Scott Cheloha Index: sbin/init/init.8 === RCS file: /cvs/src/sbin/init/init.8,v retrieving revisio

Re: disabled code in ksh tree.c

2018-01-16 Thread Jeremie Courreges-Anglas
On Mon, Jan 15 2018, "Michael W. Bombardieri" wrote: > On Sun, Jan 14, 2018 at 05:47:43PM +0100, Jeremie Courreges-Anglas wrote: >> On Sun, Jan 14 2018, Anton Lindqvist wrote: >> > On Thu, Jan 11, 2018 at 03:25:15PM +0800, Michael W. Bombardieri wrote: >> >> Hello, >> >> >> >> Revision 1.9 of tr

ksh: split internal_errorf and internal_warningf

2018-01-16 Thread Jeremie Courreges-Anglas
scan-build doesn't know that internal_errorf(1, ...) doesn't return, which leads to false positives. The diff below introduces internal_warningf() and annotates internal_errorf() as "noreturn", same thing as what is done for warningf() and errorf(). ok? Index: alloc.c =

!IPL_MPSAFE interrupt handlers

2018-01-16 Thread Martin Pieuchot
Diff below makes !IPL_MPSAFE interrupt handlers always grab the KERNEL_LOCK() on amd64/i386/macppc. Previously this was only the case if the IPL of the CPU before getting the interrupt was lower than IPL_SCHED. This should always be the case as IPI and CLOCK interrupts do not use the default inte

Re: elf.h: define SHT_SYMTAB_SHNDX

2018-01-16 Thread Karel Gardas
On 01/16/18 11:51, Martin Pieuchot wrote: On 15/01/18(Mon) 23:11, Karel Gardas wrote: patch below defines SHT_SYMTAB_SHNDX which is required for usage of SHN_XINDEX which got added/defined during October 2017 by mpi. See: http://www.sco.com/developers/gabi/latest/ch4.sheader.html: SHT_SYMTA

Re: Disable ACPI burst mode on 2015 Chromebook Pixel

2018-01-16 Thread Paul Irofti
On Tue, Jan 16, 2018 at 02:28:11AM -0700, Anthony J. Bentley wrote: > Hi, > > The 2015 Chromebook Pixel has a broken ACPI that doesn't support > burst mode and will hang on boot when it's tried. > > Rev 1.54 of acpiec.c disabled it for single-byte reads and writes, > which fixed this machine, but

Re: elf.h: define SHT_SYMTAB_SHNDX

2018-01-16 Thread Martin Pieuchot
On 15/01/18(Mon) 23:11, Karel Gardas wrote: > patch below defines SHT_SYMTAB_SHNDX which is required for usage of > SHN_XINDEX which got added/defined during October 2017 by mpi. > > See: http://www.sco.com/developers/gabi/latest/ch4.sheader.html: > > SHT_SYMTAB_SHNDX > This section is assoc

Disable ACPI burst mode on 2015 Chromebook Pixel

2018-01-16 Thread Anthony J. Bentley
Hi, The 2015 Chromebook Pixel has a broken ACPI that doesn't support burst mode and will hang on boot when it's tried. Rev 1.54 of acpiec.c disabled it for single-byte reads and writes, which fixed this machine, but broke others. So it got reverted, with the note: "A machine/bios-dependent che