CVS commit: src/sys/dev/pci

2018-10-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct  5 05:37:49 UTC 2018

Modified Files:
src/sys/dev/pci: hifn7751.c

Log Message:
 Use pci_intr_establish_xname().


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/hifn7751.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/acpitools/acpidump

2018-10-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct  5 05:09:31 UTC 2018

Modified Files:
src/usr.sbin/acpitools/acpidump: acpi.c

Log Message:
 Remove extra newline in SPMI table.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/acpitools/acpidump/acpi.c

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



CVS commit: src/sys/kern

2018-10-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct  5 05:06:48 UTC 2018

Modified Files:
src/sys/kern: uipc_mbuf.c

Log Message:
 s/conver_to/convert_to/. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/sys/kern/uipc_mbuf.c

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



CVS commit: xsrc/external/mit/xf86-video-nv/dist/src

2018-10-04 Thread Michael Lorenz
Module Name:xsrc
Committed By:   macallan
Date:   Fri Oct  5 01:53:54 UTC 2018

Modified Files:
xsrc/external/mit/xf86-video-nv/dist/src: nv_exa.c

Log Message:
for some reason my 6800 Ultra stalls when drawing *some* off-screen rectangles
as a workaround, draw them by software until I figure out what's going on


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/xf86-video-nv/dist/src/nv_exa.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/aarch64/aarch64

2018-10-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Oct  5 01:54:10 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: pmapboot.c

Log Message:
fix build error without DDB


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/aarch64/pmapboot.c

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



CVS commit: src/sys/kern

2018-10-04 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Fri Oct  5 01:25:38 UTC 2018

Modified Files:
src/sys/kern: vfs_trans.c

Log Message:
Back out sftchg/fstcnt deadlock workaround

The change did prevent some system freeze, but caused spurious
unmount failures reporter by bouyer@.

hannken@ is working on the right fix, see kern/53624


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/kern/vfs_trans.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/aarch64

2018-10-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Oct  4 23:53:14 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: aarch64_machdep.c locore.S pmap.c
src/sys/arch/aarch64/conf: files.aarch64
src/sys/arch/aarch64/include: pmap.h
Added Files:
src/sys/arch/aarch64/aarch64: pmapboot.c

Log Message:
cleanup locore, and changed the way to map memories during boot.
- add functions bootpage_enter() and bootpage_alloc() to adapt various layout
  of physical memory map. especially for 64bit physical memory layout.
  pmapboot_alloc() allocates pagetable pages from _end[].
- changed to map only the required amount for PA=VA identity mapping
  (kernel image, UART device, and FDT blob) with L2_BLOCK(2Mbyte).
- changing page permission for kernel image, and making KSEG mapping are done
  at cpu_kernel_vm_init() instead of at locore.
- optimize PTE entries with PTE Contiguous bit. it is enabled on devmap only 
for now.

reviewed by skrll@, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/aarch64/aarch64_machdep.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/aarch64/aarch64/pmapboot.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/conf/files.aarch64
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/include/pmap.h

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



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

2018-10-04 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Oct  4 19:42:01 UTC 2018

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

Log Message:
relax the NOERROR + C_CHAOS, just rerun the xfer instead of panic, to handle
another variant of bad/missing AHCI error recovery, this time under Parallels


To generate a diff of this commit:
cvs rdiff -u -r1.4.2.10 -r1.4.2.11 src/sys/dev/ata/TODO.ncq
cvs rdiff -u -r1.441.2.8 -r1.441.2.9 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/lib/libcurses

2018-10-04 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Oct  4 19:11:09 UTC 2018

Modified Files:
src/lib/libcurses: slk.c

Log Message:
curses: once __slk_init is called, reset slk_fmt

This allows soft label keys to be used on more than one terminal.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libcurses/slk.c

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



CVS commit: src/lib/libcurses

2018-10-04 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Oct  4 18:40:41 UTC 2018

Modified Files:
src/lib/libcurses: curses_private.h slk.c

Log Message:
curses: declare SLK format as invalid until slk_init(3) called

If we don't, then when __slk_init with a valid format of 0 it sets
up labels to be drawn without a window.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/lib/libcurses/curses_private.h
cvs rdiff -u -r1.2 -r1.3 src/lib/libcurses/slk.c

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



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

2018-10-04 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Oct  4 17:59:35 UTC 2018

Modified Files:
src/sys/dev/ic [jdolecek-ncqfixes]: ahcisata_core.c mvsata.c siisata.c

Log Message:
further channel locking pass for reset


To generate a diff of this commit:
cvs rdiff -u -r1.62.2.6 -r1.62.2.7 src/sys/dev/ic/ahcisata_core.c
cvs rdiff -u -r1.41.2.5 -r1.41.2.6 src/sys/dev/ic/mvsata.c
cvs rdiff -u -r1.35.6.6 -r1.35.6.7 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-ncqfixes] src/sys/dev/ata

2018-10-04 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Oct  4 17:53:23 UTC 2018

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

Log Message:
don't add +1 to retry on error


To generate a diff of this commit:
cvs rdiff -u -r1.441.2.7 -r1.441.2.8 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/mips/cavium/dev

2018-10-04 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Oct  4 15:21:23 UTC 2018

Modified Files:
src/sys/arch/mips/cavium/dev: octeon_fpa.c

Log Message:
Remove duplicate #include


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/cavium/dev/octeon_fpa.c

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



CVS commit: src/crypto/external/bsd/openssl/dist/test/testutil

2018-10-04 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Oct  4 13:38:41 UTC 2018

Modified Files:
src/crypto/external/bsd/openssl/dist/test/testutil: tests.c

Log Message:
Add missing format string annotation.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/crypto/external/bsd/openssl/dist/test/testutil/tests.c

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



CVS commit: src/etc

2018-10-04 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Oct  4 11:50:34 UTC 2018

Modified Files:
src/etc: security

Log Message:
Fix an obvious botch in the previous rev, found by martin@


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/etc/security

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



CVS commit: [netbsd-8] src/doc

2018-10-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Oct  4 10:21:11 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.1

Log Message:
Ticket #1047


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.28 -r1.1.2.29 src/doc/CHANGES-8.1

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



CVS commit: [netbsd-8] src/lib/libcurses

2018-10-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Oct  4 10:20:13 UTC 2018

Modified Files:
src/lib/libcurses [netbsd-8]: curses_private.h curses_screen.3 fileio.c
initscr.c newwin.c resize.c ripoffline.c screen.c setterm.c

Log Message:
Pull up following revision(s) (requested by roy in ticket #1047):

lib/libcurses/curses_private.h: revision 1.64
lib/libcurses/curses_private.h: revision 1.65
lib/libcurses/initscr.c: revision 1.33
lib/libcurses/curses_screen.3: revision 1.24
lib/libcurses/curses_screen.3: revision 1.25
lib/libcurses/newwin.c: revision 1.52
lib/libcurses/fileio.c: revision 1.6
lib/libcurses/ripoffline.c: revision 1.4
lib/libcurses/resize.c: revision 1.28
lib/libcurses/ripoffline.c: revision 1.5
lib/libcurses/resize.c: revision 1.29
lib/libcurses/screen.c: revision 1.34
lib/libcurses/setterm.c: revision 1.67

curses: fix ripoffline

When creating stdscr, ensure it's placed and sized in accordance with
lines ripped off.

LINES is no longer adjusted for lines ripped off.
POSIX makes no mention that it should be adjusted.
Bottom lines are now placed correctly.
Lines ripped off are now displayed after calling initscr.

ok kamil@

Fixes PR #53635

 -

curses: resize ripped off windows
The application must still redraw them though.

 -

Fix typos in curses_screen.3
Fn -> Ft in the resize_term(3) prototype
funcion -> function


To generate a diff of this commit:
cvs rdiff -u -r1.62.4.1 -r1.62.4.2 src/lib/libcurses/curses_private.h
cvs rdiff -u -r1.23 -r1.23.4.1 src/lib/libcurses/curses_screen.3
cvs rdiff -u -r1.5 -r1.5.6.1 src/lib/libcurses/fileio.c
cvs rdiff -u -r1.32 -r1.32.6.1 src/lib/libcurses/initscr.c
cvs rdiff -u -r1.50 -r1.50.6.1 src/lib/libcurses/newwin.c
cvs rdiff -u -r1.26.4.1 -r1.26.4.2 src/lib/libcurses/resize.c
cvs rdiff -u -r1.3 -r1.3.6.1 src/lib/libcurses/ripoffline.c
cvs rdiff -u -r1.33 -r1.33.4.1 src/lib/libcurses/screen.c
cvs rdiff -u -r1.66 -r1.66.4.1 src/lib/libcurses/setterm.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/aarch64

2018-10-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Oct  4 09:09:29 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: genassym.cf locore.S pmap.c
src/sys/arch/aarch64/include: pmap.h pte.h

Log Message:
* define LX_BLKPAG_{OS,ATTR}_* for OS dependent PTE attributes in pmap.h
* cleanup macros


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/aarch64/genassym.cf
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/include/pmap.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/include/pte.h

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



CVS commit: src/sys/arch/arm/fdt

2018-10-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Oct  4 08:58:13 UTC 2018

Modified Files:
src/sys/arch/arm/fdt: cpu_fdt.c

Log Message:
fix to boot APs of RPI3 with GENERIC64.
if no psci, try other methods.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/fdt/cpu_fdt.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

2018-10-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Oct  4 07:43:12 UTC 2018

Modified Files:
src/sys/dev/pci: pci_subr.c

Log Message:
 Don't print extra newline if the PCI extended configuration space doesn't 
exist.


To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.206 src/sys/dev/pci/pci_subr.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/aarch64/aarch64

2018-10-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Oct  4 07:40:09 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: disasm.c

Log Message:
disassemblable sha512 insns


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/aarch64/aarch64/disasm.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/aarch64/aarch64

2018-10-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Oct  4 07:36:10 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: cpu.c

Log Message:
remove XXX delay to attach cpus in order


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/aarch64/cpu.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/evbarm/fdt

2018-10-04 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Oct  4 07:33:54 UTC 2018

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
don't call plat->ap_early_putchar if not defined EARLYCONS


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/evbarm/fdt/fdt_machdep.c

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