CVS commit: src/sys/uvm/pmap

2017-06-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jun 24 05:49:50 UTC 2017

Modified Files:
src/sys/uvm/pmap: pmap.h

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/uvm/pmap/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm/pmap

2017-06-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jun 24 05:39:53 UTC 2017

Modified Files:
src/sys/uvm/pmap: vmpagemd.h

Log Message:
Use __BIT(0) for PV_KENTER.  NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/uvm/pmap/vmpagemd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm/pmap

2017-06-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jun 24 05:34:37 UTC 2017

Modified Files:
src/sys/uvm/pmap: vmpagemd.h

Log Message:
Whitespace - comment alignment.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/uvm/pmap/vmpagemd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm/pmap

2017-06-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jun 24 05:31:03 UTC 2017

Modified Files:
src/sys/uvm/pmap: pmap.h pmap_pvt.h pmap_tlb.h tlb.h vmpagemd.h

Log Message:
Multiple inclusion protection define consistency


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/uvm/pmap/pmap.h
cvs rdiff -u -r1.1 -r1.2 src/sys/uvm/pmap/pmap_pvt.h
cvs rdiff -u -r1.10 -r1.11 src/sys/uvm/pmap/pmap_tlb.h
cvs rdiff -u -r1.3 -r1.4 src/sys/uvm/pmap/tlb.h
cvs rdiff -u -r1.4 -r1.5 src/sys/uvm/pmap/vmpagemd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [jdolecek-ncq] src/sys/dev

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Jun 24 00:23:39 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: TODO.ncq
src/sys/dev/usb [jdolecek-ncq]: umass.c umass_isdata.c umass_isdata.h

Log Message:
add detach code for umass_isdata; compile-tested only


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.24 -r1.1.2.25 src/sys/dev/ata/TODO.ncq
cvs rdiff -u -r1.157 -r1.157.4.1 src/sys/dev/usb/umass.c
cvs rdiff -u -r1.33.4.5 -r1.33.4.6 src/sys/dev/usb/umass_isdata.c
cvs rdiff -u -r1.3 -r1.3.6.1 src/sys/dev/usb/umass_isdata.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Jun 24 00:00:10 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: TODO.ncq wd.c

Log Message:
only limit the openings for I/O xfer if the drive actually supports NCQ; if
it's non-NCQ drive, the tag is not going to be used, so we can use any xfer


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.23 -r1.1.2.24 src/sys/dev/ata/TODO.ncq
cvs rdiff -u -r1.428.2.22 -r1.428.2.23 src/sys/dev/ata/wd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [jdolecek-ncq] src/sys/dev

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jun 23 23:49:20 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: TODO.ncq
src/sys/dev/ic [jdolecek-ncq]: siisata.c

Log Message:
fix dump for siisata(4) to work - need to call drv_done() callback in order to
not leak xfers

while here, reduce the DELAY() for polled bio to make it go much faster,
same value as used in ahcisata(4)

needs also rev. 1.252 src/sys/arch/x86/x86/pmap.c to not trigger the
assertion, the pmap.c fix committed only on HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/sys/dev/ata/TODO.ncq
cvs rdiff -u -r1.30.4.20 -r1.30.4.21 src/sys/dev/ic/siisata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [jdolecek-ncq] src/sys/dev/ic

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jun 23 23:45:56 UTC 2017

Modified Files:
src/sys/dev/ic [jdolecek-ncq]: siisata.c

Log Message:
ata/TODO.ncq


To generate a diff of this commit:
cvs rdiff -u -r1.30.4.19 -r1.30.4.20 src/sys/dev/ic/siisata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jun 23 23:45:09 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: wd.c

Log Message:
add debug printf if we fail to obtain xfer in wddump()


To generate a diff of this commit:
cvs rdiff -u -r1.428.2.21 -r1.428.2.22 src/sys/dev/ata/wd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/x86

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jun 23 23:40:00 UTC 2017

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
remove panicstr KASSERT() in pmap_kremove_local() - kernel dump can legitimely
invoked also without panic - via reboot -d

fixes PR kern/49610 by Manuel Bouyer


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/sys/arch/x86/x86/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jun 23 22:11:13 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: wd.c

Log Message:
change wd_standby() to remove the ata_channel_start() call - the purpose
of that particular command is to make the drive idle

fix locking bug in wddetach() exposed by calling ata_channel_start()
in wd_standby() - move wd_standby() call out of the section protected
by drive mutex, to avoid lock against itself should it need to get
the lock

change wd_flushcache() to only call ata_channel_start() when called from
the ioctl; particularly, don't call it when suspending, closing, or on shutdown


To generate a diff of this commit:
cvs rdiff -u -r1.428.2.20 -r1.428.2.21 src/sys/dev/ata/wd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2017-06-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Jun 23 21:28:39 UTC 2017

Modified Files:
src/sys/arch/amd64/include: vmparam.h
src/sys/arch/i386/include: vmparam.h
src/sys/arch/mips/include: vmparam.h
src/sys/arch/powerpc/include: vmparam.h
src/sys/arch/riscv/include: vmparam.h
src/sys/kern: exec_subr.c
src/sys/uvm: uvm_param.h

Log Message:
Recommit exec_subr.c revision 1.79:
  Always include a 1MB guard area beyond the end of stack. While ASLR will
  normally create a guard area as well, this provides a deterministic area
  for all binaries.

  Mitigates the rest of CVE-2017-1000374 and CVE-2017-1000375 from
  Qualys.

Additionally, change VM_DEFAULT_ADDRESS_TOPDOWN to include
user_stack_guard_size in the size reservation.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/amd64/include/vmparam.h
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/i386/include/vmparam.h
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/mips/include/vmparam.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/powerpc/include/vmparam.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/include/vmparam.h
cvs rdiff -u -r1.80 -r1.81 src/sys/kern/exec_subr.c
cvs rdiff -u -r1.35 -r1.36 src/sys/uvm/uvm_param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-06-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jun 23 20:40:51 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: TODO.ncq ata.c atavar.h wd.c wdvar.h

Log Message:
restart I/O processing after freeing xfer, i.e. now even after commands
like cache flush or standby; the command handling no longer use on-stack xfer,
hence use queue slot and compete with normal I/O for the xfers

the restart give change to all drives attached to the same channel
in round-robin fashion, for fair usage and to recover from situation
when disk is idle due to all xfers being consumed by other drives

make special concession for flush cache - ignore any new I/O requests
on the particular disk while the flush cache is waiting for xfer,
so that I/O queue won't starve the flush cache and the flush cache would
be done ASAP

tested on piixide(4), ahci(4), siisata(4)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 src/sys/dev/ata/TODO.ncq
cvs rdiff -u -r1.132.8.15 -r1.132.8.16 src/sys/dev/ata/ata.c
cvs rdiff -u -r1.92.8.14 -r1.92.8.15 src/sys/dev/ata/atavar.h
cvs rdiff -u -r1.428.2.19 -r1.428.2.20 src/sys/dev/ata/wd.c
cvs rdiff -u -r1.43.4.5 -r1.43.4.6 src/sys/dev/ata/wdvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/wsfontload

2017-06-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Jun 23 18:40:03 UTC 2017

Modified Files:
src/usr.sbin/wsfontload: wsfontload.c

Log Message:
- don't use embedded font name if -N is given
- assume mono bitmap font when reading from stdin


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/wsfontload/wsfontload.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/wsfontload

2017-06-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Jun 23 17:40:15 UTC 2017

Modified Files:
src/usr.sbin/wsfontload: wsfontload.c

Log Message:
avoid sign compare error


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/wsfontload/wsfontload.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/ld.elf_so

2017-06-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Jun 23 15:29:22 UTC 2017

Modified Files:
src/libexec/ld.elf_so: headers.c

Log Message:
Remove old assert that only two segments exist. The rest of the code has
been changed to cope with more and at least Go actively creates them.
Adjust the mapping size computation to use the maximum and not depend on
PT_LOAD segments to be in order.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/libexec/ld.elf_so/headers.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2017-06-23 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Fri Jun 23 15:24:36 UTC 2017

Modified Files:
src/share/man/man4: tc.4

Log Message:
Add vax.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/tc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2017-06-23 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Fri Jun 23 15:13:21 UTC 2017

Modified Files:
src/sys/netinet: sctp_input.c

Log Message:
Make arguments match debug message.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/netinet/sctp_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/opencrypto

2017-06-23 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Jun 23 11:41:58 UTC 2017

Modified Files:
src/sys/opencrypto: cryptosoft.c

Log Message:
fix cryptosoft.c:r1.51 mistake. swcrypto_attach() must not be called from 
module_init_class().

swcrypto_attach() will call softint_establish(), it must be called after cpus
attached. module_init_class() is too early to call softint_establish().


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/opencrypto/cryptosoft.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/ixgbe

2017-06-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jun 23 09:02:48 UTC 2017

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe_type.h

Log Message:
 Remove unused "cached_autoc". It was removed in ixgbe_82599.c rev.1.12
(FreeBSD r280182).


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/ixgbe/ixgbe_type.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/sdmmc

2017-06-23 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Jun 23 08:43:59 UTC 2017

Modified Files:
src/sys/dev/sdmmc: sdhc.c sdhcreg.h

Log Message:
fix problem for ESDHC/USDHC due to change of r1.96

on ESDHC/USDHC, even if the iosize is less than SDHC_HOST_CTL_VERSION,
specver must be an appropriate value.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/sdmmc/sdhcreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.