CVS commit: src/sys/uvm

2020-04-08 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Apr  8 07:56:34 UTC 2020

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

Log Message:
Provide UVMHIST_CALLARGS


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/uvm/uvm_stat.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/powerpc/include/booke

2020-04-08 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Apr  8 10:57:16 UTC 2020

Modified Files:
src/sys/arch/powerpc/include/booke: pmap.h

Log Message:
Simplify #ifdefs


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/include/booke/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/opencrypto

2020-04-08 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Apr  8 15:27:18 UTC 2020

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

Log Message:
Revert previous change to use SYSCTL_SETUP since it breaks on macppc.

For some reason, the crypto module fails to link, and this results in
opencrypto sysctl failures.

Should resolve PR kern/55154


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/opencrypto/crypto.c

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



CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-08 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Apr  8 17:56:08 UTC 2020

Modified Files:
src/sys/arch/amd64/conf [bouyer-xenpvh]: XEN3_DOMU XEN3_PVHVM
src/sys/arch/i386/conf [bouyer-xenpvh]: XEN3PAE_DOM0 XEN3PAE_DOMU
XEN3PAE_PVHVM

Log Message:
Turn on -g by default on the branch


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.90.6.1 src/sys/arch/amd64/conf/XEN3_DOMU
cvs rdiff -u -r1.3 -r1.3.2.1 src/sys/arch/amd64/conf/XEN3_PVHVM
cvs rdiff -u -r1.21 -r1.21.2.1 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.8 -r1.8.2.1 src/sys/arch/i386/conf/XEN3PAE_DOMU
cvs rdiff -u -r1.3 -r1.3.2.1 src/sys/arch/i386/conf/XEN3PAE_PVHVM

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



CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-08 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Apr  8 17:59:17 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64 [bouyer-xenpvh]: genassym.cf locore.S
src/sys/arch/i386/i386 [bouyer-xenpvh]: genassym.cf locore.S
src/sys/arch/x86/include [bouyer-xenpvh]: cpu.h
src/sys/arch/x86/x86 [bouyer-xenpvh]: identcpu.c lapic.c x86_machdep.c
src/sys/arch/xen/x86 [bouyer-xenpvh]: autoconf.c
src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c

Log Message:
Remove VM_GUEST_XEN and define only Xen subtypes:
VM_GUEST_XENPV
VM_GUEST_XENPVH
VM_GUEST_XENHVM
VM_GUEST_XENPVHVM

Set vm_guest in the start routine, if it is hypervisor-specific (e.g Xen PV).
If vm_guest was not set early and we detect Xen in identify_hypervisor(),
assume it is VM_GUEST_XENHVM. Refine to VM_GUEST_PVXENHVM in
hypervisor_match().


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.82.4.1 src/sys/arch/amd64/amd64/genassym.cf
cvs rdiff -u -r1.200 -r1.200.4.1 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.119 -r1.119.4.1 src/sys/arch/i386/i386/genassym.cf
cvs rdiff -u -r1.179 -r1.179.2.1 src/sys/arch/i386/i386/locore.S
cvs rdiff -u -r1.117 -r1.117.4.1 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.102 -r1.102.2.1 src/sys/arch/x86/x86/identcpu.c
cvs rdiff -u -r1.76 -r1.76.6.1 src/sys/arch/x86/x86/lapic.c
cvs rdiff -u -r1.137 -r1.137.2.1 src/sys/arch/x86/x86/x86_machdep.c
cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/xen/x86/autoconf.c
cvs rdiff -u -r1.73 -r1.73.2.1 src/sys/arch/xen/xen/hypervisor.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-04-08 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Apr  8 21:51:43 UTC 2020

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

Log Message:
actually writing always the checksum offload context descriptor
makes the hw do extra processing, avoid doing that if possible -
on my computer with I219 this results in about 2% speedup in Tx performance

change adoped from FreeBSD

XXX should be also done for multiqueue case, but I don't have hw to test it


To generate a diff of this commit:
cvs rdiff -u -r1.670 -r1.671 src/sys/dev/pci/if_wm.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-04-08 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Apr  8 21:56:02 UTC 2020

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

Log Message:
fixup field names in previous


To generate a diff of this commit:
cvs rdiff -u -r1.671 -r1.672 src/sys/dev/pci/if_wm.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-04-08 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Apr  8 21:57:24 UTC 2020

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

Log Message:
wm_tx_offload() and wm_nq_tx_offload() actually always return 0, make them
return void and remove the check for their return value


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

2020-04-08 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Apr  8 23:01:52 UTC 2020

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

Log Message:
add a warning in checksum offload that hardware TCP segmentation might be
slow

on I219 I observe about 35% transmit performance drop when tso4 enabled


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man4/wm.4

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

2020-04-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  9 01:49:26 UTC 2020

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

Log Message:
Add EX2 for Vortex86 SoCs (Andrius V)


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/x86/x86/identcpu.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

2020-04-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  9 01:55:58 UTC 2020

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

Log Message:
use __arraycount, and fix comparison


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/arch/x86/x86/identcpu.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

2020-04-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  9 02:07:01 UTC 2020

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

Log Message:
flip the comparison again


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/x86/x86/identcpu.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/mips

2020-04-08 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr  9 06:47:50 UTC 2020

Modified Files:
src/sys/arch/mips/mips: trap.c

Log Message:
Fix UVMHIST build


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/sys/arch/mips/mips/trap.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/mips

2020-04-08 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr  9 06:49:37 UTC 2020

Modified Files:
src/sys/arch/mips/mips: trap.c

Log Message:
Wrap a REALLY long line


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/sys/arch/mips/mips/trap.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-04-08 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Apr  9 06:55:51 UTC 2020

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

Log Message:
adjust the condition for reusing checksum context, wm_tx_offload() can
be used even for multiqueue case

enable only when the chip supports exactly one queue (same as FreeBSD) -
anything multiqueue-capable later than 82574 should work, but I don't
have the hw to test


To generate a diff of this commit:
cvs rdiff -u -r1.673 -r1.674 src/sys/dev/pci/if_wm.c

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