CVS commit: src/sys/dev/usb

2020-01-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jan 15 08:02:53 UTC 2020

Modified Files:
src/sys/dev/usb: if_axen.c

Log Message:
Use a define instead of a magic constant.  NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/usb/if_axen.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/usb

2020-01-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jan 15 08:13:20 UTC 2020

Modified Files:
src/sys/dev/usb: if_urtwn.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/usb/if_urtwn.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/usb

2020-01-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jan 15 08:20:13 UTC 2020

Modified Files:
src/sys/dev/usb: if_otus.c if_otusvar.h if_upgt.c if_upgtvar.h
if_urtwn.c if_urtwnvar.h if_zyd.c if_zydreg.h

Log Message:
Use modern interfaces and kill tsleep/wakeup.  From nick-nhusb branch.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_otusvar.h \
src/sys/dev/usb/if_zydreg.h
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/if_upgt.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/if_upgtvar.h
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/usb/if_urtwnvar.h
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/usb/if_zyd.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/usb

2020-01-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jan 15 08:21:00 UTC 2020

Modified Files:
src/sys/dev/usb: if_zyd.c

Log Message:
If malloc fails in zyd_node_alloc then return NULL.  From nick-nhusb


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/usb/if_zyd.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

2020-01-15 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Wed Jan 15 08:25:02 UTC 2020

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

Log Message:
Fix typo (s/txr_opackets/txr_obytes/)

pointed out by ryo@n.o, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/if_ixl.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

2020-01-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jan 15 08:34:04 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: cpu.c cpufunc.c locore.S
src/sys/arch/aarch64/conf: files.aarch64
src/sys/arch/aarch64/include: cpu.h cpufunc.h
src/sys/arch/arm/arm32: cpu.c
src/sys/arch/arm/conf: files.arm
src/sys/arch/arm/include: cpu.h
Added Files:
src/sys/arch/arm/arm: arm_cpu_topology.c
src/sys/arch/arm/include: cpu_topology.h

Log Message:
port the arm64 cpu topology setup for big.little to arm.

rename arm64 cpu_do_topology() to arm_cpu_do_topology() and
call it from both arm cpu_attach().

replace both aarch64_set_topology() inline code in arm
cpu_attach() with new arm_cpu_do_topology(), which is called
by the arm64 locore as well (possibly not needed, which would
allow it to become static.)

not yet tested on a real big.little armv7 system.  tested
on rockpro64 and pinebook pro.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/aarch64/aarch64/cpu.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/aarch64/aarch64/cpufunc.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/aarch64/conf/files.aarch64
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/aarch64/include/cpu.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/include/cpufunc.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/arm/arm_cpu_topology.c
cvs rdiff -u -r1.139 -r1.140 src/sys/arch/arm/arm32/cpu.c
cvs rdiff -u -r1.149 -r1.150 src/sys/arch/arm/conf/files.arm
cvs rdiff -u -r1.103 -r1.104 src/sys/arch/arm/include/cpu.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/include/cpu_topology.h

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



CVS commit: src/doc

2020-01-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jan 15 09:21:21 UTC 2020

Modified Files:
src/doc: CHANGES

Log Message:
add a note about arm* cpu topology support.


To generate a diff of this commit:
cvs rdiff -u -r1.2633 -r1.2634 src/doc/CHANGES

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/netwalker

2020-01-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jan 15 10:25:47 UTC 2020

Modified Files:
src/sys/arch/evbarm/netwalker: netwalker_lcd.c netwalker_spi.c
netwalker_usb.c

Log Message:
Fix build


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/netwalker/netwalker_lcd.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/netwalker/netwalker_spi.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/netwalker/netwalker_usb.c

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



CVS commit: src/common/lib/libc/arch/x86_64/string

2020-01-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Jan 15 10:56:49 UTC 2020

Modified Files:
src/common/lib/libc/arch/x86_64/string: bcmp.S memcmp.S

Log Message:
Rewrite bcmp() & memcmp() to not use REP CMPS.  Seems about 5-10x faster for
small strings on modern hardware.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/arch/x86_64/string/bcmp.S \
src/common/lib/libc/arch/x86_64/string/memcmp.S

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/imx/fdt

2020-01-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jan 15 11:35:58 UTC 2020

Modified Files:
src/sys/arch/arm/imx/fdt: imx6_i2c.c

Log Message:
Match the more generic fsl,imx21-i2c compat string


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/fdt/imx6_i2c.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/arm/imx/fdt

2020-01-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jan 15 11:36:34 UTC 2020

Modified Files:
src/sys/arch/arm/imx/fdt: imx8mq_ccm.c

Log Message:
Add i2c clocks


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/imx/fdt/imx8mq_ccm.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/conf

2020-01-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jan 15 11:36:48 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: GENERIC64

Log Message:
Add imxi2c


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/sys/arch/evbarm/conf/GENERIC64

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

2020-01-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Jan 15 13:22:04 UTC 2020

Modified Files:
src/sys/arch/x86/include: cpu.h
src/sys/arch/x86/x86: x86_tlb.c

Log Message:
Push the INVLPG limit for shootdowns up to 16 (for UBC).


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x86/x86/x86_tlb.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/fstyp

2020-01-15 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan 15 15:30:46 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer.c

Log Message:
fstyp: Use strlcpy(3) for HAMMER1

https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/fstyp/hammer.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/fstyp

2020-01-15 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan 15 15:32:05 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer2.c

Log Message:
fstyp: Remove redundant best_i check in HAMMER2

https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/hammer2.c

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



CVS commit: src

2020-01-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Jan 15 17:55:45 UTC 2020

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c
src/sys/external/bsd/drm2/dist/drm: drm_gem.c
src/sys/external/bsd/drm2/dist/drm/i915: i915_gem.c i915_gem_fence.c
src/sys/external/bsd/drm2/include/linux: mm.h
src/sys/miscfs/genfs: genfs_io.c genfs_node.h
src/sys/nfs: nfs_bio.c
src/sys/rump/librump/rumpkern: Makefile.rumpkern vm.c
src/sys/rump/librump/rumpvfs: vm_vfs.c
src/sys/sys: cpu_data.h
src/sys/ufs/lfs: lfs_pages.c lfs_segment.c lfs_vfsops.c ulfs_inode.c
src/sys/ufs/ufs: ufs_inode.c
src/sys/uvm: files.uvm uvm_anon.c uvm_aobj.c uvm_bio.c uvm_extern.h
uvm_fault.c uvm_loan.c uvm_meter.c uvm_object.c uvm_object.h
uvm_page.c uvm_page.h uvm_page_array.c uvm_pager.c uvm_pdaemon.c
uvm_vnode.c
Added Files:
src/sys/uvm: uvm_page_status.c

Log Message:
Merge from yamt-pagecache (after much testing):

- Reduce unnecessary page scan in putpages esp. when an object has a ton of
  pages cached but only a few of them are dirty.

- Reduce the number of pmap operations by tracking page dirtiness more
  precisely in uvm layer.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
cvs rdiff -u -r1.10 -r1.11 src/sys/external/bsd/drm2/dist/drm/drm_gem.c
cvs rdiff -u -r1.54 -r1.55 src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c
cvs rdiff -u -r1.5 -r1.6 \
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_fence.c
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm2/include/linux/mm.h
cvs rdiff -u -r1.83 -r1.84 src/sys/miscfs/genfs/genfs_io.c
cvs rdiff -u -r1.22 -r1.23 src/sys/miscfs/genfs/genfs_node.h
cvs rdiff -u -r1.192 -r1.193 src/sys/nfs/nfs_bio.c
cvs rdiff -u -r1.181 -r1.182 src/sys/rump/librump/rumpkern/Makefile.rumpkern
cvs rdiff -u -r1.182 -r1.183 src/sys/rump/librump/rumpkern/vm.c
cvs rdiff -u -r1.35 -r1.36 src/sys/rump/librump/rumpvfs/vm_vfs.c
cvs rdiff -u -r1.48 -r1.49 src/sys/sys/cpu_data.h
cvs rdiff -u -r1.19 -r1.20 src/sys/ufs/lfs/lfs_pages.c
cvs rdiff -u -r1.280 -r1.281 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -u -r1.367 -r1.368 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.23 -r1.24 src/sys/ufs/lfs/ulfs_inode.c
cvs rdiff -u -r1.107 -r1.108 src/sys/ufs/ufs/ufs_inode.c
cvs rdiff -u -r1.32 -r1.33 src/sys/uvm/files.uvm
cvs rdiff -u -r1.70 -r1.71 src/sys/uvm/uvm_anon.c
cvs rdiff -u -r1.133 -r1.134 src/sys/uvm/uvm_aobj.c
cvs rdiff -u -r1.102 -r1.103 src/sys/uvm/uvm_bio.c
cvs rdiff -u -r1.218 -r1.219 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.214 -r1.215 src/sys/uvm/uvm_fault.c
cvs rdiff -u -r1.93 -r1.94 src/sys/uvm/uvm_loan.c
cvs rdiff -u -r1.73 -r1.74 src/sys/uvm/uvm_meter.c
cvs rdiff -u -r1.19 -r1.20 src/sys/uvm/uvm_object.c
cvs rdiff -u -r1.35 -r1.36 src/sys/uvm/uvm_object.h
cvs rdiff -u -r1.223 -r1.224 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.95 -r1.96 src/sys/uvm/uvm_page.h
cvs rdiff -u -r1.2 -r1.3 src/sys/uvm/uvm_page_array.c
cvs rdiff -u -r0 -r1.2 src/sys/uvm/uvm_page_status.c
cvs rdiff -u -r1.119 -r1.120 src/sys/uvm/uvm_pager.c
cvs rdiff -u -r1.122 -r1.123 src/sys/uvm/uvm_pdaemon.c
cvs rdiff -u -r1.104 -r1.105 src/sys/uvm/uvm_vnode.c

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



CVS commit: src/usr.bin/vmstat

2020-01-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Jan 15 17:56:46 UTC 2020

Modified Files:
src/usr.bin/vmstat: vmstat.c

Log Message:
vmstat -s: report new stats:

0 per-cpu stats one synced
 7246 per-cpu stats all synced
 4092 anon pages possibly dirty
 8881 anon pages dirty
0 anon pages clean
   68 file pages possibly dirty
0 file pages dirty
  2367889 file pages clean


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/usr.bin/vmstat/vmstat.c

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



CVS commit: src/sys/sys

2020-01-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Jan 15 18:45:57 UTC 2020

Modified Files:
src/sys/sys: param.h

Log Message:
NetBSD 9.99.38 - VM system changes


To generate a diff of this commit:
cvs rdiff -u -r1.640 -r1.641 src/sys/sys/param.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

2020-01-15 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Jan 15 18:47:23 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S

Log Message:
Back out the cpu_switchto() workaround now that it's no longer needed.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.176 -r1.177 src/sys/arch/i386/i386/locore.S

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



CVS commit: src/usr.sbin/sysinst

2020-01-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 15 19:08:24 UTC 2020

Modified Files:
src/usr.sbin/sysinst: partman.c

Log Message:
Fix handling of inner/outer partitions (e.g. MBR and disklabel) in
extended partitioning:
 - when editing a disk with such a schme, offer both partitions in two
   steps
 - when commiting changes save the inner partitions after the outer ones


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/sysinst/partman.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/sysinst

2020-01-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 15 19:36:31 UTC 2020

Modified Files:
src/usr.sbin/sysinst: disklabel.c gpt.c mbr.c partitions.h

Log Message:
Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/sysinst/gpt.c
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/partitions.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/sysinst

2020-01-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jan 15 19:37:42 UTC 2020

Modified Files:
src/usr.sbin/sysinst: label.c

Log Message:
Avoid using the global "pm" variable in utility functions - during
extended partitioning they may point to a different device.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/sysinst/label.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/arm/arm

2020-01-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jan 16 06:34:24 UTC 2020

Modified Files:
src/sys/arch/arm/arm: arm_cpu_topology.c

Log Message:
make the topology support empty on non-SMP enabled kernels.
reduces kernel sizes and also fixes the builds.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/arm/arm_cpu_topology.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

2020-01-15 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jan 16 07:11:50 UTC 2020

Modified Files:
src/sys/dev/pci: files.pci if_ixl.c

Log Message:
Use def{flag,param} for parameters in ixl(4)


To generate a diff of this commit:
cvs rdiff -u -r1.419 -r1.420 src/sys/dev/pci/files.pci
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/if_ixl.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

2020-01-15 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jan 16 07:16:04 UTC 2020

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

Log Message:
Fix ixl(4) not to assign interrupts to cpu #0
if ncpu > queue pairs


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/if_ixl.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/dm

2020-01-15 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jan 16 07:18:08 UTC 2020

Modified Files:
src/sys/dev/dm: device-mapper.c

Log Message:
dm(8) doesn't cause problems on suspend, don't block it.

Tested by Matthias Petermann, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/dm/device-mapper.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

2020-01-15 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jan 16 07:19:47 UTC 2020

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

Log Message:
Fix wrong usage of PCI_PRODUCT(), ixl(4)


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

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