Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2018 00:32:51 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r342155 - in projects/nfsv42/sys: amd64/amd64 amd64/conf amd64/ia32 amd64/vmm/intel arm/allwinner arm/arm arm/conf arm/include arm/mv arm/ti arm64/acpica arm64/arm64 arm64/conf arm64/ro...
Message-ID:  <201812170032.wBH0Wpd0036768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Mon Dec 17 00:32:50 2018
New Revision: 342155
URL: https://svnweb.freebsd.org/changeset/base/342155

Log:
  Merge in an up to date kernel from head.

Added:
  projects/nfsv42/sys/arm/allwinner/aw_pwm.c
     - copied unchanged from r342154, head/sys/arm/allwinner/aw_pwm.c
  projects/nfsv42/sys/arm/mv/mv_ap806_clock.c
     - copied unchanged from r342154, head/sys/arm/mv/mv_ap806_clock.c
  projects/nfsv42/sys/arm/mv/mv_ap806_gicp.c
     - copied unchanged from r342154, head/sys/arm/mv/mv_ap806_gicp.c
  projects/nfsv42/sys/arm/mv/mv_cp110_clock.c
     - copied unchanged from r342154, head/sys/arm/mv/mv_cp110_clock.c
  projects/nfsv42/sys/arm/mv/mv_cp110_clock.h
     - copied unchanged from r342154, head/sys/arm/mv/mv_cp110_clock.h
  projects/nfsv42/sys/arm/mv/mv_cp110_icu.c
     - copied unchanged from r342154, head/sys/arm/mv/mv_cp110_icu.c
  projects/nfsv42/sys/arm/mv/mv_spi.c
     - copied unchanged from r342154, head/sys/arm/mv/mv_spi.c
  projects/nfsv42/sys/arm/mv/mv_thermal.c
     - copied unchanged from r342154, head/sys/arm/mv/mv_thermal.c
  projects/nfsv42/sys/arm/mv/mvebu_pinctrl.c
     - copied unchanged from r342154, head/sys/arm/mv/mvebu_pinctrl.c
  projects/nfsv42/sys/arm64/rockchip/clk/rk3399_cru.c
     - copied unchanged from r342154, head/sys/arm64/rockchip/clk/rk3399_cru.c
  projects/nfsv42/sys/arm64/rockchip/clk/rk3399_pmucru.c
     - copied unchanged from r342154, head/sys/arm64/rockchip/clk/rk3399_pmucru.c
  projects/nfsv42/sys/arm64/rockchip/rk805.c
     - copied unchanged from r342154, head/sys/arm64/rockchip/rk805.c
  projects/nfsv42/sys/arm64/rockchip/rk805reg.h
     - copied unchanged from r342154, head/sys/arm64/rockchip/rk805reg.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/swap.h
     - copied unchanged from r342154, head/sys/compat/linuxkpi/common/include/linux/swap.h
  projects/nfsv42/sys/dev/acpica/acpi_pxm.c
     - copied unchanged from r342154, head/sys/dev/acpica/acpi_pxm.c
  projects/nfsv42/sys/dev/cxgbe/firmware/t4fw-1.22.0.3.bin.uu
     - copied unchanged from r342154, head/sys/dev/cxgbe/firmware/t4fw-1.22.0.3.bin.uu
  projects/nfsv42/sys/dev/cxgbe/firmware/t5fw-1.22.0.3.bin.uu
     - copied unchanged from r342154, head/sys/dev/cxgbe/firmware/t5fw-1.22.0.3.bin.uu
  projects/nfsv42/sys/dev/cxgbe/firmware/t6fw-1.22.0.3.bin.uu
     - copied unchanged from r342154, head/sys/dev/cxgbe/firmware/t6fw-1.22.0.3.bin.uu
  projects/nfsv42/sys/dev/cxgbe/t4_clip.c
     - copied unchanged from r342154, head/sys/dev/cxgbe/t4_clip.c
  projects/nfsv42/sys/dev/cxgbe/t4_clip.h
     - copied unchanged from r342154, head/sys/dev/cxgbe/t4_clip.h
  projects/nfsv42/sys/dev/extres/phy/phy_internal.h
     - copied unchanged from r342154, head/sys/dev/extres/phy/phy_internal.h
  projects/nfsv42/sys/dev/extres/phy/phy_usb.c
     - copied unchanged from r342154, head/sys/dev/extres/phy/phy_usb.c
  projects/nfsv42/sys/dev/extres/phy/phy_usb.h
     - copied unchanged from r342154, head/sys/dev/extres/phy/phy_usb.h
  projects/nfsv42/sys/dev/extres/phy/phynode_usb_if.m
     - copied unchanged from r342154, head/sys/dev/extres/phy/phynode_usb_if.m
  projects/nfsv42/sys/dev/fdt/simple_mfd.c
     - copied unchanged from r342154, head/sys/dev/fdt/simple_mfd.c
  projects/nfsv42/sys/dev/iicbus/syr827.c
     - copied unchanged from r342154, head/sys/dev/iicbus/syr827.c
  projects/nfsv42/sys/dev/mlx5/mlx5_accel/
     - copied from r342154, head/sys/dev/mlx5/mlx5_accel/
  projects/nfsv42/sys/dev/mlx5/mlx5_fpga/
     - copied from r342154, head/sys/dev/mlx5/mlx5_fpga/
  projects/nfsv42/sys/dev/mlx5/mlx5_fpga_tools/
     - copied from r342154, head/sys/dev/mlx5/mlx5_fpga_tools/
  projects/nfsv42/sys/dev/mlx5/mlx5_lib/
     - copied from r342154, head/sys/dev/mlx5/mlx5_lib/
  projects/nfsv42/sys/dev/netmap/netmap_kloop.c
     - copied unchanged from r342154, head/sys/dev/netmap/netmap_kloop.c
  projects/nfsv42/sys/dev/netmap/netmap_null.c
     - copied unchanged from r342154, head/sys/dev/netmap/netmap_null.c
  projects/nfsv42/sys/dev/pwm/
     - copied from r342154, head/sys/dev/pwm/
  projects/nfsv42/sys/dev/sfxge/common/ef10_image.c
     - copied unchanged from r342154, head/sys/dev/sfxge/common/ef10_image.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_signed_image_layout.h
     - copied unchanged from r342154, head/sys/dev/sfxge/common/ef10_signed_image_layout.h
  projects/nfsv42/sys/dev/sfxge/common/efx_annote.h
     - copied unchanged from r342154, head/sys/dev/sfxge/common/efx_annote.h
  projects/nfsv42/sys/dev/sfxge/common/efx_regs_mcdi_aoe.h
     - copied unchanged from r342154, head/sys/dev/sfxge/common/efx_regs_mcdi_aoe.h
  projects/nfsv42/sys/dev/sfxge/common/efx_regs_mcdi_strs.h
     - copied unchanged from r342154, head/sys/dev/sfxge/common/efx_regs_mcdi_strs.h
  projects/nfsv42/sys/dev/sfxge/common/efx_tunnel.c
     - copied unchanged from r342154, head/sys/dev/sfxge/common/efx_tunnel.c
  projects/nfsv42/sys/dev/sfxge/common/medford2_impl.h
     - copied unchanged from r342154, head/sys/dev/sfxge/common/medford2_impl.h
  projects/nfsv42/sys/dev/sfxge/common/medford2_nic.c
     - copied unchanged from r342154, head/sys/dev/sfxge/common/medford2_nic.c
  projects/nfsv42/sys/dev/tpm/tpm20.c
     - copied unchanged from r342154, head/sys/dev/tpm/tpm20.c
  projects/nfsv42/sys/dev/tpm/tpm20.h
     - copied unchanged from r342154, head/sys/dev/tpm/tpm20.h
  projects/nfsv42/sys/dev/tpm/tpm_crb.c
     - copied unchanged from r342154, head/sys/dev/tpm/tpm_crb.c
  projects/nfsv42/sys/dev/tpm/tpm_tis.c
     - copied unchanged from r342154, head/sys/dev/tpm/tpm_tis.c
  projects/nfsv42/sys/dts/arm/Makefile.inc
     - copied unchanged from r342154, head/sys/dts/arm/Makefile.inc
  projects/nfsv42/sys/dts/arm64/Makefile.inc
     - copied unchanged from r342154, head/sys/dts/arm64/Makefile.inc
  projects/nfsv42/sys/dts/arm64/overlays/sun50i-a64-opp.dtso
     - copied unchanged from r342154, head/sys/dts/arm64/overlays/sun50i-a64-opp.dtso
  projects/nfsv42/sys/dts/arm64/overlays/sun50i-a64-pwm.dtso
     - copied unchanged from r342154, head/sys/dts/arm64/overlays/sun50i-a64-pwm.dtso
  projects/nfsv42/sys/dts/arm64/overlays/sun50i-a64-rpwm.dtso
     - copied unchanged from r342154, head/sys/dts/arm64/overlays/sun50i-a64-rpwm.dtso
  projects/nfsv42/sys/modules/dtb/rockchip/
     - copied from r342154, head/sys/modules/dtb/rockchip/
  projects/nfsv42/sys/modules/mlx5fpga_tools/
     - copied from r342154, head/sys/modules/mlx5fpga_tools/
  projects/nfsv42/sys/modules/rockchip/rk805/
     - copied from r342154, head/sys/modules/rockchip/rk805/
  projects/nfsv42/sys/riscv/conf/QEMU
     - copied unchanged from r342154, head/sys/riscv/conf/QEMU
  projects/nfsv42/sys/sys/pwm.h
     - copied unchanged from r342154, head/sys/sys/pwm.h
Deleted:
  projects/nfsv42/sys/compat/freebsd32/capabilities.conf
  projects/nfsv42/sys/dev/cxgbe/firmware/t4fw-1.19.1.0.bin.uu
  projects/nfsv42/sys/dev/cxgbe/firmware/t5fw-1.19.1.0.bin.uu
  projects/nfsv42/sys/dev/cxgbe/firmware/t6fw-1.19.1.0.bin.uu
  projects/nfsv42/sys/dev/netmap/if_em_netmap.h
  projects/nfsv42/sys/dev/netmap/if_igb_netmap.h
  projects/nfsv42/sys/dev/netmap/if_ixl_netmap.h
  projects/nfsv42/sys/dev/netmap/if_lem_netmap.h
  projects/nfsv42/sys/dev/netmap/ixgbe_netmap.h
  projects/nfsv42/sys/mips/conf/ADM5120.hints
  projects/nfsv42/sys/mips/conf/IDT.hints
  projects/nfsv42/sys/net/altq/altq_cdnr.c
  projects/nfsv42/sys/sys/epoch_private.h
Modified:
  projects/nfsv42/sys/amd64/amd64/machdep.c
  projects/nfsv42/sys/amd64/amd64/pmap.c
  projects/nfsv42/sys/amd64/amd64/support.S
  projects/nfsv42/sys/amd64/conf/GENERIC
  projects/nfsv42/sys/amd64/conf/MINIMAL
  projects/nfsv42/sys/amd64/conf/NOTES
  projects/nfsv42/sys/amd64/ia32/ia32_reg.c
  projects/nfsv42/sys/amd64/ia32/ia32_signal.c
  projects/nfsv42/sys/amd64/vmm/intel/vmx.c
  projects/nfsv42/sys/arm/allwinner/a10_ehci.c
  projects/nfsv42/sys/arm/allwinner/aw_usbphy.c
  projects/nfsv42/sys/arm/allwinner/axp81x.c
  projects/nfsv42/sys/arm/arm/generic_timer.c
  projects/nfsv42/sys/arm/arm/machdep.c
  projects/nfsv42/sys/arm/arm/machdep_kdb.c
  projects/nfsv42/sys/arm/arm/physmem.c
  projects/nfsv42/sys/arm/arm/pmap-v6.c
  projects/nfsv42/sys/arm/conf/ARMADA38X
  projects/nfsv42/sys/arm/conf/GENERIC
  projects/nfsv42/sys/arm/include/atomic-v6.h
  projects/nfsv42/sys/arm/include/atomic.h
  projects/nfsv42/sys/arm/mv/files.arm7
  projects/nfsv42/sys/arm/mv/gpio.c
  projects/nfsv42/sys/arm/mv/mv_pci.c
  projects/nfsv42/sys/arm/mv/mv_pci_ctrl.c
  projects/nfsv42/sys/arm/ti/ti_pruss.c
  projects/nfsv42/sys/arm64/acpica/acpi_machdep.c
  projects/nfsv42/sys/arm64/arm64/gicv3_its.c
  projects/nfsv42/sys/arm64/arm64/machdep.c
  projects/nfsv42/sys/arm64/arm64/mp_machdep.c
  projects/nfsv42/sys/arm64/arm64/pmap.c
  projects/nfsv42/sys/arm64/conf/GENERIC
  projects/nfsv42/sys/arm64/rockchip/clk/rk3328_cru.c
  projects/nfsv42/sys/arm64/rockchip/clk/rk_clk_armclk.c
  projects/nfsv42/sys/arm64/rockchip/clk/rk_clk_composite.c
  projects/nfsv42/sys/arm64/rockchip/clk/rk_clk_pll.c
  projects/nfsv42/sys/arm64/rockchip/clk/rk_clk_pll.h
  projects/nfsv42/sys/arm64/rockchip/clk/rk_cru.c
  projects/nfsv42/sys/arm64/rockchip/clk/rk_cru.h
  projects/nfsv42/sys/arm64/rockchip/if_dwc_rk.c
  projects/nfsv42/sys/arm64/rockchip/rk_grf.c
  projects/nfsv42/sys/arm64/rockchip/rk_i2c.c
  projects/nfsv42/sys/arm64/rockchip/rk_pinctrl.c
  projects/nfsv42/sys/cam/ata/ata_da.c
  projects/nfsv42/sys/cam/cam_iosched.c
  projects/nfsv42/sys/cam/cam_iosched.h
  projects/nfsv42/sys/cam/cam_xpt.c
  projects/nfsv42/sys/cam/nvme/nvme_da.c
  projects/nfsv42/sys/cam/scsi/scsi_all.c
  projects/nfsv42/sys/cam/scsi/scsi_all.h
  projects/nfsv42/sys/cam/scsi/scsi_da.c
  projects/nfsv42/sys/cddl/compat/opensolaris/kern/opensolaris_policy.c
  projects/nfsv42/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c
  projects/nfsv42/sys/cddl/compat/opensolaris/kern/opensolaris_zone.c
  projects/nfsv42/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c
  projects/nfsv42/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
  projects/nfsv42/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
  projects/nfsv42/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
  projects/nfsv42/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
  projects/nfsv42/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h
  projects/nfsv42/sys/cddl/dev/dtrace/amd64/dtrace_asm.S
  projects/nfsv42/sys/cddl/dev/dtrace/amd64/dtrace_isa.c
  projects/nfsv42/sys/cddl/dev/fbt/powerpc/fbt_isa.c
  projects/nfsv42/sys/compat/cloudabi32/cloudabi32_module.c
  projects/nfsv42/sys/compat/cloudabi64/cloudabi64_module.c
  projects/nfsv42/sys/compat/freebsd32/Makefile
  projects/nfsv42/sys/compat/freebsd32/freebsd32_misc.c
  projects/nfsv42/sys/compat/freebsd32/freebsd32_syscall.h
  projects/nfsv42/sys/compat/freebsd32/freebsd32_syscalls.c
  projects/nfsv42/sys/compat/freebsd32/freebsd32_sysent.c
  projects/nfsv42/sys/compat/freebsd32/freebsd32_systrace_args.c
  projects/nfsv42/sys/compat/freebsd32/syscalls.conf
  projects/nfsv42/sys/compat/freebsd32/syscalls.master
  projects/nfsv42/sys/compat/linux/linux_event.c
  projects/nfsv42/sys/compat/linux/linux_fork.c
  projects/nfsv42/sys/compat/linux/linux_misc.c
  projects/nfsv42/sys/compat/linux/linux_socket.c
  projects/nfsv42/sys/compat/linux/linux_uid16.c
  projects/nfsv42/sys/compat/linuxkpi/common/include/asm/atomic.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/cdev.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/fs.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/idr.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/inetdevice.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/kernel.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/ktime.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/netdevice.h
  projects/nfsv42/sys/compat/linuxkpi/common/include/linux/pci.h
  projects/nfsv42/sys/compat/linuxkpi/common/src/linux_compat.c
  projects/nfsv42/sys/compat/linuxkpi/common/src/linux_pci.c
  projects/nfsv42/sys/conf/NOTES
  projects/nfsv42/sys/conf/dtb.mk
  projects/nfsv42/sys/conf/files
  projects/nfsv42/sys/conf/files.amd64
  projects/nfsv42/sys/conf/files.arm64
  projects/nfsv42/sys/conf/files.i386
  projects/nfsv42/sys/conf/files.powerpc
  projects/nfsv42/sys/conf/kern.mk
  projects/nfsv42/sys/conf/kern.pre.mk
  projects/nfsv42/sys/conf/ldscript.i386
  projects/nfsv42/sys/conf/newvers.sh
  projects/nfsv42/sys/conf/options
  projects/nfsv42/sys/conf/options.arm64
  projects/nfsv42/sys/contrib/ck/include/gcc/sparcv9/ck_pr.h
  projects/nfsv42/sys/contrib/dev/acpica/changes.txt
  projects/nfsv42/sys/contrib/dev/acpica/common/ahpredef.c
  projects/nfsv42/sys/contrib/dev/acpica/common/dmswitch.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/aslcodegen.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/aslcompile.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/aslcompiler.h
  projects/nfsv42/sys/contrib/dev/acpica/compiler/aslerror.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/aslglobal.h
  projects/nfsv42/sys/contrib/dev/acpica/compiler/aslhelp.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/asllength.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/aslopcodes.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/asloptions.c
  projects/nfsv42/sys/contrib/dev/acpica/compiler/asltransform.c
  projects/nfsv42/sys/contrib/dev/acpica/components/dispatcher/dsmethod.c
  projects/nfsv42/sys/contrib/dev/acpica/components/dispatcher/dsobject.c
  projects/nfsv42/sys/contrib/dev/acpica/components/dispatcher/dspkginit.c
  projects/nfsv42/sys/contrib/dev/acpica/components/dispatcher/dsutils.c
  projects/nfsv42/sys/contrib/dev/acpica/components/dispatcher/dswload.c
  projects/nfsv42/sys/contrib/dev/acpica/components/dispatcher/dswload2.c
  projects/nfsv42/sys/contrib/dev/acpica/components/dispatcher/dswstate.c
  projects/nfsv42/sys/contrib/dev/acpica/components/executer/exconvrt.c
  projects/nfsv42/sys/contrib/dev/acpica/components/executer/excreate.c
  projects/nfsv42/sys/contrib/dev/acpica/components/executer/exoparg2.c
  projects/nfsv42/sys/contrib/dev/acpica/components/executer/exserial.c
  projects/nfsv42/sys/contrib/dev/acpica/components/executer/exutils.c
  projects/nfsv42/sys/contrib/dev/acpica/components/namespace/nseval.c
  projects/nfsv42/sys/contrib/dev/acpica/components/namespace/nsload.c
  projects/nfsv42/sys/contrib/dev/acpica/components/namespace/nsparse.c
  projects/nfsv42/sys/contrib/dev/acpica/components/parser/psloop.c
  projects/nfsv42/sys/contrib/dev/acpica/components/parser/psparse.c
  projects/nfsv42/sys/contrib/dev/acpica/components/parser/psxface.c
  projects/nfsv42/sys/contrib/dev/acpica/components/utilities/utglobal.c
  projects/nfsv42/sys/contrib/dev/acpica/components/utilities/utmisc.c
  projects/nfsv42/sys/contrib/dev/acpica/components/utilities/utosi.c
  projects/nfsv42/sys/contrib/dev/acpica/include/acglobal.h
  projects/nfsv42/sys/contrib/dev/acpica/include/acoutput.h
  projects/nfsv42/sys/contrib/dev/acpica/include/acpixf.h
  projects/nfsv42/sys/contrib/dev/acpica/include/acstruct.h
  projects/nfsv42/sys/contrib/dev/acpica/include/actbl.h
  projects/nfsv42/sys/contrib/dev/acpica/include/actypes.h
  projects/nfsv42/sys/contrib/ipfilter/netinet/ip_compat.h
  projects/nfsv42/sys/contrib/ipfilter/netinet/ip_fil.h
  projects/nfsv42/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
  projects/nfsv42/sys/contrib/ipfilter/netinet/ip_log.c
  projects/nfsv42/sys/contrib/libnv/nvpair.c
  projects/nfsv42/sys/contrib/rdma/krping/krping_dev.c
  projects/nfsv42/sys/contrib/vchiq/interface/compat/vchi_bsd.h
  projects/nfsv42/sys/crypto/aesni/aesni.c
  projects/nfsv42/sys/dev/acpi_support/atk0110.c
  projects/nfsv42/sys/dev/acpica/acpi.c
  projects/nfsv42/sys/dev/acpica/acpi_battery.c
  projects/nfsv42/sys/dev/acpica/acpi_ec.c
  projects/nfsv42/sys/dev/acpica/acpi_hpet.c
  projects/nfsv42/sys/dev/acpica/acpi_pcib.c
  projects/nfsv42/sys/dev/acpica/acpi_resource.c
  projects/nfsv42/sys/dev/acpica/acpivar.h
  projects/nfsv42/sys/dev/ahci/ahci_pci.c
  projects/nfsv42/sys/dev/altera/avgen/altera_avgen.c
  projects/nfsv42/sys/dev/amdsmn/amdsmn.c
  projects/nfsv42/sys/dev/amdtemp/amdtemp.c
  projects/nfsv42/sys/dev/asmc/asmc.c
  projects/nfsv42/sys/dev/asmc/asmcvar.h
  projects/nfsv42/sys/dev/atkbdc/atkbdc.c
  projects/nfsv42/sys/dev/atkbdc/atkbdcreg.h
  projects/nfsv42/sys/dev/atkbdc/psm.c
  projects/nfsv42/sys/dev/bwn/if_bwn.c
  projects/nfsv42/sys/dev/cxgbe/adapter.h
  projects/nfsv42/sys/dev/cxgbe/common/common.h
  projects/nfsv42/sys/dev/cxgbe/common/t4_hw.c
  projects/nfsv42/sys/dev/cxgbe/crypto/t4_crypto.c
  projects/nfsv42/sys/dev/cxgbe/crypto/t4_crypto.h
  projects/nfsv42/sys/dev/cxgbe/cxgbei/cxgbei.c
  projects/nfsv42/sys/dev/cxgbe/firmware/t4fw_interface.h
  projects/nfsv42/sys/dev/cxgbe/t4_main.c
  projects/nfsv42/sys/dev/cxgbe/t4_netmap.c
  projects/nfsv42/sys/dev/cxgbe/t4_sge.c
  projects/nfsv42/sys/dev/cxgbe/tom/t4_connect.c
  projects/nfsv42/sys/dev/cxgbe/tom/t4_listen.c
  projects/nfsv42/sys/dev/cxgbe/tom/t4_tls.c
  projects/nfsv42/sys/dev/cxgbe/tom/t4_tls.h
  projects/nfsv42/sys/dev/cxgbe/tom/t4_tom.c
  projects/nfsv42/sys/dev/cxgbe/tom/t4_tom.h
  projects/nfsv42/sys/dev/efidev/efirt.c
  projects/nfsv42/sys/dev/evdev/evdev_utils.c
  projects/nfsv42/sys/dev/extres/clk/clk.c
  projects/nfsv42/sys/dev/extres/phy/phy.c
  projects/nfsv42/sys/dev/extres/regulator/regulator_fixed.c
  projects/nfsv42/sys/dev/fdt/simplebus.c
  projects/nfsv42/sys/dev/fdt/simplebus.h
  projects/nfsv42/sys/dev/filemon/filemon_wrapper.c
  projects/nfsv42/sys/dev/ichwd/ichwd.c
  projects/nfsv42/sys/dev/ichwd/ichwd.h
  projects/nfsv42/sys/dev/iicbus/twsi/mv_twsi.c
  projects/nfsv42/sys/dev/iicbus/twsi/twsi.c
  projects/nfsv42/sys/dev/iicbus/twsi/twsi.h
  projects/nfsv42/sys/dev/ipmi/ipmi.c
  projects/nfsv42/sys/dev/ixgbe/ix_txrx.c
  projects/nfsv42/sys/dev/ixl/ixl_txrx.c
  projects/nfsv42/sys/dev/md/md.c
  projects/nfsv42/sys/dev/mlx4/device.h
  projects/nfsv42/sys/dev/mlx4/driver.h
  projects/nfsv42/sys/dev/mlx4/mlx4_core/mlx4.h
  projects/nfsv42/sys/dev/mlx4/mlx4_core/mlx4_cmd.c
  projects/nfsv42/sys/dev/mlx4/mlx4_core/mlx4_eq.c
  projects/nfsv42/sys/dev/mlx4/mlx4_core/mlx4_icm.c
  projects/nfsv42/sys/dev/mlx4/mlx4_core/mlx4_intf.c
  projects/nfsv42/sys/dev/mlx4/mlx4_core/mlx4_main.c
  projects/nfsv42/sys/dev/mlx4/mlx4_en/en.h
  projects/nfsv42/sys/dev/mlx4/mlx4_en/mlx4_en_cq.c
  projects/nfsv42/sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
  projects/nfsv42/sys/dev/mlx4/mlx4_en/mlx4_en_port.c
  projects/nfsv42/sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
  projects/nfsv42/sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
  projects/nfsv42/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
  projects/nfsv42/sys/dev/mlx5/device.h
  projects/nfsv42/sys/dev/mlx5/driver.h
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_cmd.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_core.h
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_eq.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_health.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_main.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_mr.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_port.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/mlx5_vport.c
  projects/nfsv42/sys/dev/mlx5/mlx5_core/wq.h
  projects/nfsv42/sys/dev/mlx5/mlx5_en/en.h
  projects/nfsv42/sys/dev/mlx5/mlx5_en/en_rl.h
  projects/nfsv42/sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
  projects/nfsv42/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
  projects/nfsv42/sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
  projects/nfsv42/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
  projects/nfsv42/sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
  projects/nfsv42/sys/dev/mlx5/mlx5_ib/mlx5_ib_cong.c
  projects/nfsv42/sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
  projects/nfsv42/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
  projects/nfsv42/sys/dev/mlx5/mlx5_ib/mlx5_ib_srq.c
  projects/nfsv42/sys/dev/mlx5/mlx5_ifc.h
  projects/nfsv42/sys/dev/mlx5/mlx5io.h
  projects/nfsv42/sys/dev/mlx5/port.h
  projects/nfsv42/sys/dev/mlx5/vport.h
  projects/nfsv42/sys/dev/mmc/mmc.c
  projects/nfsv42/sys/dev/mpr/mpr.c
  projects/nfsv42/sys/dev/mps/mps.c
  projects/nfsv42/sys/dev/mrsas/mrsas.c
  projects/nfsv42/sys/dev/mrsas/mrsas.h
  projects/nfsv42/sys/dev/mrsas/mrsas_cam.c
  projects/nfsv42/sys/dev/mrsas/mrsas_fp.c
  projects/nfsv42/sys/dev/netmap/if_ptnet.c
  projects/nfsv42/sys/dev/netmap/if_vtnet_netmap.h
  projects/nfsv42/sys/dev/netmap/netmap.c
  projects/nfsv42/sys/dev/netmap/netmap_bdg.c
  projects/nfsv42/sys/dev/netmap/netmap_bdg.h
  projects/nfsv42/sys/dev/netmap/netmap_freebsd.c
  projects/nfsv42/sys/dev/netmap/netmap_generic.c
  projects/nfsv42/sys/dev/netmap/netmap_kern.h
  projects/nfsv42/sys/dev/netmap/netmap_legacy.c
  projects/nfsv42/sys/dev/netmap/netmap_mem2.c
  projects/nfsv42/sys/dev/netmap/netmap_mem2.h
  projects/nfsv42/sys/dev/netmap/netmap_pipe.c
  projects/nfsv42/sys/dev/netmap/netmap_vale.c
  projects/nfsv42/sys/dev/nfe/if_nfe.c
  projects/nfsv42/sys/dev/nfe/if_nfereg.h
  projects/nfsv42/sys/dev/nvme/nvme.c
  projects/nfsv42/sys/dev/nvme/nvme.h
  projects/nfsv42/sys/dev/nvme/nvme_ctrlr.c
  projects/nfsv42/sys/dev/nvme/nvme_ns.c
  projects/nfsv42/sys/dev/pci/pci.c
  projects/nfsv42/sys/dev/pci/pci_host_generic.c
  projects/nfsv42/sys/dev/pci/pci_host_generic.h
  projects/nfsv42/sys/dev/pci/pci_host_generic_acpi.c
  projects/nfsv42/sys/dev/pci/pci_host_generic_fdt.c
  projects/nfsv42/sys/dev/pci/pci_pci.c
  projects/nfsv42/sys/dev/pci/pci_user.c
  projects/nfsv42/sys/dev/proto/proto_core.c
  projects/nfsv42/sys/dev/rtwn/usb/rtwn_usb_attach.h
  projects/nfsv42/sys/dev/sdhci/sdhci.c
  projects/nfsv42/sys/dev/sdhci/sdhci.h
  projects/nfsv42/sys/dev/sdhci/sdhci_acpi.c
  projects/nfsv42/sys/dev/sdhci/sdhci_xenon.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_ev.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_filter.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_impl.h
  projects/nfsv42/sys/dev/sfxge/common/ef10_intr.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_mac.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_mcdi.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_nic.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_nvram.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_phy.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_rx.c
  projects/nfsv42/sys/dev/sfxge/common/ef10_tlv_layout.h
  projects/nfsv42/sys/dev/sfxge/common/ef10_tx.c   (contents, props changed)
  projects/nfsv42/sys/dev/sfxge/common/ef10_vpd.c
  projects/nfsv42/sys/dev/sfxge/common/efsys.h
  projects/nfsv42/sys/dev/sfxge/common/efx.h
  projects/nfsv42/sys/dev/sfxge/common/efx_bootcfg.c
  projects/nfsv42/sys/dev/sfxge/common/efx_check.h
  projects/nfsv42/sys/dev/sfxge/common/efx_ev.c
  projects/nfsv42/sys/dev/sfxge/common/efx_filter.c
  projects/nfsv42/sys/dev/sfxge/common/efx_impl.h
  projects/nfsv42/sys/dev/sfxge/common/efx_intr.c
  projects/nfsv42/sys/dev/sfxge/common/efx_lic.c
  projects/nfsv42/sys/dev/sfxge/common/efx_mac.c
  projects/nfsv42/sys/dev/sfxge/common/efx_mcdi.c
  projects/nfsv42/sys/dev/sfxge/common/efx_mcdi.h
  projects/nfsv42/sys/dev/sfxge/common/efx_mon.c
  projects/nfsv42/sys/dev/sfxge/common/efx_nic.c
  projects/nfsv42/sys/dev/sfxge/common/efx_nvram.c
  projects/nfsv42/sys/dev/sfxge/common/efx_phy.c
  projects/nfsv42/sys/dev/sfxge/common/efx_port.c
  projects/nfsv42/sys/dev/sfxge/common/efx_regs_ef10.h
  projects/nfsv42/sys/dev/sfxge/common/efx_regs_mcdi.h
  projects/nfsv42/sys/dev/sfxge/common/efx_rx.c
  projects/nfsv42/sys/dev/sfxge/common/efx_sram.c
  projects/nfsv42/sys/dev/sfxge/common/efx_tx.c
  projects/nfsv42/sys/dev/sfxge/common/efx_types.h
  projects/nfsv42/sys/dev/sfxge/common/efx_vpd.c
  projects/nfsv42/sys/dev/sfxge/common/hunt_nic.c
  projects/nfsv42/sys/dev/sfxge/common/mcdi_mon.c
  projects/nfsv42/sys/dev/sfxge/common/mcdi_mon.h
  projects/nfsv42/sys/dev/sfxge/common/medford_impl.h
  projects/nfsv42/sys/dev/sfxge/common/medford_nic.c
  projects/nfsv42/sys/dev/sfxge/common/siena_flash.h
  projects/nfsv42/sys/dev/sfxge/common/siena_impl.h
  projects/nfsv42/sys/dev/sfxge/common/siena_mac.c
  projects/nfsv42/sys/dev/sfxge/common/siena_mcdi.c
  projects/nfsv42/sys/dev/sfxge/common/siena_nic.c
  projects/nfsv42/sys/dev/sfxge/common/siena_nvram.c
  projects/nfsv42/sys/dev/sfxge/common/siena_phy.c
  projects/nfsv42/sys/dev/sfxge/common/siena_vpd.c
  projects/nfsv42/sys/dev/sfxge/sfxge.c
  projects/nfsv42/sys/dev/sfxge/sfxge.h
  projects/nfsv42/sys/dev/sfxge/sfxge_dma.c
  projects/nfsv42/sys/dev/sfxge/sfxge_ev.c
  projects/nfsv42/sys/dev/sfxge/sfxge_nvram.c
  projects/nfsv42/sys/dev/sfxge/sfxge_port.c
  projects/nfsv42/sys/dev/sfxge/sfxge_rx.c
  projects/nfsv42/sys/dev/sfxge/sfxge_tx.c
  projects/nfsv42/sys/dev/sfxge/sfxge_tx.h
  projects/nfsv42/sys/dev/sound/pcm/dsp.c
  projects/nfsv42/sys/dev/terasic/mtl/terasic_mtl_reg.c
  projects/nfsv42/sys/dev/terasic/mtl/terasic_mtl_text.c
  projects/nfsv42/sys/dev/tws/tws.c
  projects/nfsv42/sys/dev/tws/tws_cam.c
  projects/nfsv42/sys/dev/tws/tws_services.h
  projects/nfsv42/sys/dev/usb/usbdevs
  projects/nfsv42/sys/dev/usb/wlan/if_rsu.c
  projects/nfsv42/sys/dev/virtio/network/if_vtnet.c
  projects/nfsv42/sys/dev/virtio/network/if_vtnetvar.h
  projects/nfsv42/sys/dev/xen/gntdev/gntdev.c
  projects/nfsv42/sys/dts/Makefile.inc
  projects/nfsv42/sys/dts/arm/Makefile
  projects/nfsv42/sys/dts/arm/overlays/Makefile
  projects/nfsv42/sys/dts/arm64/Makefile
  projects/nfsv42/sys/dts/arm64/overlays/Makefile
  projects/nfsv42/sys/dts/mips/Makefile
  projects/nfsv42/sys/dts/powerpc/Makefile
  projects/nfsv42/sys/fs/autofs/autofs_vnops.c
  projects/nfsv42/sys/fs/cd9660/cd9660_vnops.c
  projects/nfsv42/sys/fs/devfs/devfs_devs.c
  projects/nfsv42/sys/fs/devfs/devfs_vnops.c
  projects/nfsv42/sys/fs/ext2fs/ext2_lookup.c
  projects/nfsv42/sys/fs/ext2fs/ext2_vnops.c
  projects/nfsv42/sys/fs/fdescfs/fdesc_vnops.c
  projects/nfsv42/sys/fs/fuse/fuse_internal.c
  projects/nfsv42/sys/fs/fuse/fuse_internal.h
  projects/nfsv42/sys/fs/fuse/fuse_vnops.c
  projects/nfsv42/sys/fs/msdosfs/msdosfs_vnops.c
  projects/nfsv42/sys/fs/nandfs/nandfs_vnops.c
  projects/nfsv42/sys/fs/nfs/nfs_commonsubs.c
  projects/nfsv42/sys/fs/nfsclient/nfs_clport.c
  projects/nfsv42/sys/fs/nfsclient/nfs_clrpcops.c
  projects/nfsv42/sys/fs/nfsserver/nfs_nfsdport.c
  projects/nfsv42/sys/fs/nfsserver/nfs_nfsdsocket.c
  projects/nfsv42/sys/fs/procfs/procfs_dbregs.c
  projects/nfsv42/sys/fs/procfs/procfs_fpregs.c
  projects/nfsv42/sys/fs/procfs/procfs_regs.c
  projects/nfsv42/sys/fs/pseudofs/pseudofs_vnops.c
  projects/nfsv42/sys/fs/smbfs/smbfs_io.c
  projects/nfsv42/sys/fs/tmpfs/tmpfs.h
  projects/nfsv42/sys/fs/tmpfs/tmpfs_subr.c
  projects/nfsv42/sys/fs/tmpfs/tmpfs_vfsops.c
  projects/nfsv42/sys/fs/tmpfs/tmpfs_vnops.c
  projects/nfsv42/sys/fs/udf/udf_vnops.c
  projects/nfsv42/sys/geom/geom_dev.c
  projects/nfsv42/sys/geom/journal/g_journal_ufs.c
  projects/nfsv42/sys/geom/label/g_label_ufs.c
  projects/nfsv42/sys/geom/mirror/g_mirror.c
  projects/nfsv42/sys/geom/mirror/g_mirror.h
  projects/nfsv42/sys/geom/part/g_part.c
  projects/nfsv42/sys/geom/part/g_part.h
  projects/nfsv42/sys/geom/part/g_part_mbr.c
  projects/nfsv42/sys/i386/conf/GENERIC
  projects/nfsv42/sys/i386/conf/MINIMAL
  projects/nfsv42/sys/i386/i386/locore.s
  projects/nfsv42/sys/i386/i386/machdep.c
  projects/nfsv42/sys/i386/i386/mpboot.s
  projects/nfsv42/sys/i386/i386/pmap.c
  projects/nfsv42/sys/kern/genoffset.c
  projects/nfsv42/sys/kern/imgact_binmisc.c
  projects/nfsv42/sys/kern/imgact_elf.c
  projects/nfsv42/sys/kern/imgact_shell.c
  projects/nfsv42/sys/kern/init_main.c
  projects/nfsv42/sys/kern/init_sysent.c
  projects/nfsv42/sys/kern/kern_clock.c
  projects/nfsv42/sys/kern/kern_context.c
  projects/nfsv42/sys/kern/kern_descrip.c
  projects/nfsv42/sys/kern/kern_environment.c
  projects/nfsv42/sys/kern/kern_event.c
  projects/nfsv42/sys/kern/kern_exec.c
  projects/nfsv42/sys/kern/kern_exit.c
  projects/nfsv42/sys/kern/kern_fork.c
  projects/nfsv42/sys/kern/kern_jail.c
  projects/nfsv42/sys/kern/kern_kthread.c
  projects/nfsv42/sys/kern/kern_lock.c
  projects/nfsv42/sys/kern/kern_loginclass.c
  projects/nfsv42/sys/kern/kern_mbuf.c
  projects/nfsv42/sys/kern/kern_mutex.c
  projects/nfsv42/sys/kern/kern_ntptime.c
  projects/nfsv42/sys/kern/kern_priv.c
  projects/nfsv42/sys/kern/kern_proc.c
  projects/nfsv42/sys/kern/kern_prot.c
  projects/nfsv42/sys/kern/kern_racct.c
  projects/nfsv42/sys/kern/kern_resource.c
  projects/nfsv42/sys/kern/kern_rmlock.c
  projects/nfsv42/sys/kern/kern_rwlock.c
  projects/nfsv42/sys/kern/kern_sig.c
  projects/nfsv42/sys/kern/kern_sx.c
  projects/nfsv42/sys/kern/kern_synch.c
  projects/nfsv42/sys/kern/kern_sysctl.c
  projects/nfsv42/sys/kern/kern_thread.c
  projects/nfsv42/sys/kern/kern_umtx.c
  projects/nfsv42/sys/kern/kern_xxx.c
  projects/nfsv42/sys/kern/makesyscalls.sh
  projects/nfsv42/sys/kern/subr_acl_nfs4.c
  projects/nfsv42/sys/kern/subr_acl_posix1e.c
  projects/nfsv42/sys/kern/subr_blist.c
  projects/nfsv42/sys/kern/subr_bus.c
  projects/nfsv42/sys/kern/subr_epoch.c
  projects/nfsv42/sys/kern/subr_syscall.c
  projects/nfsv42/sys/kern/subr_taskqueue.c
  projects/nfsv42/sys/kern/subr_trap.c
  projects/nfsv42/sys/kern/subr_unit.c
  projects/nfsv42/sys/kern/sys_capability.c
  projects/nfsv42/sys/kern/sys_pipe.c
  projects/nfsv42/sys/kern/sys_procdesc.c
  projects/nfsv42/sys/kern/sys_process.c
  projects/nfsv42/sys/kern/syscalls.c
  projects/nfsv42/sys/kern/syscalls.master
  projects/nfsv42/sys/kern/systrace_args.c
  projects/nfsv42/sys/kern/uipc_mqueue.c
  projects/nfsv42/sys/kern/uipc_sem.c
  projects/nfsv42/sys/kern/uipc_shm.c
  projects/nfsv42/sys/kern/uipc_sockbuf.c
  projects/nfsv42/sys/kern/uipc_socket.c
  projects/nfsv42/sys/kern/uipc_syscalls.c
  projects/nfsv42/sys/kern/uipc_usrreq.c
  projects/nfsv42/sys/kern/vfs_aio.c
  projects/nfsv42/sys/kern/vfs_bio.c
  projects/nfsv42/sys/kern/vfs_cache.c
  projects/nfsv42/sys/kern/vfs_export.c
  projects/nfsv42/sys/kern/vfs_lookup.c
  projects/nfsv42/sys/kern/vfs_mount.c
  projects/nfsv42/sys/kern/vfs_mountroot.c
  projects/nfsv42/sys/kern/vfs_subr.c
  projects/nfsv42/sys/kern/vfs_syscalls.c
  projects/nfsv42/sys/mips/conf/ERL
  projects/nfsv42/sys/mips/include/atomic.h
  projects/nfsv42/sys/mips/mediatek/mtk_machdep.c
  projects/nfsv42/sys/mips/mediatek/mtk_soc.c
  projects/nfsv42/sys/mips/mediatek/mtk_soc.h
  projects/nfsv42/sys/mips/mediatek/mtk_sysctl.h
  projects/nfsv42/sys/mips/mips/freebsd32_machdep.c
  projects/nfsv42/sys/modules/Makefile
  projects/nfsv42/sys/modules/cxgbe/if_cxgbe/Makefile
  projects/nfsv42/sys/modules/cxgbe/t4_firmware/Makefile
  projects/nfsv42/sys/modules/cxgbe/t5_firmware/Makefile
  projects/nfsv42/sys/modules/cxgbe/t6_firmware/Makefile
  projects/nfsv42/sys/modules/dtb/allwinner/Makefile
  projects/nfsv42/sys/modules/fxp/Makefile
  projects/nfsv42/sys/modules/iavf/Makefile
  projects/nfsv42/sys/modules/mlx5/Makefile
  projects/nfsv42/sys/modules/mlx5en/Makefile
  projects/nfsv42/sys/modules/mlx5ib/Makefile
  projects/nfsv42/sys/modules/netgraph/Makefile
  projects/nfsv42/sys/modules/netmap/Makefile
  projects/nfsv42/sys/modules/rockchip/Makefile
  projects/nfsv42/sys/modules/sfxge/Makefile
  projects/nfsv42/sys/net/altq/altq.h
  projects/nfsv42/sys/net/altq/altq_cbq.c
  projects/nfsv42/sys/net/altq/altq_cbq.h
  projects/nfsv42/sys/net/altq/altq_hfsc.c
  projects/nfsv42/sys/net/altq/altq_hfsc.h
  projects/nfsv42/sys/net/altq/altq_priq.c
  projects/nfsv42/sys/net/altq/altq_priq.h
  projects/nfsv42/sys/net/altq/altq_red.c
  projects/nfsv42/sys/net/altq/altq_red.h
  projects/nfsv42/sys/net/altq/altq_rio.c
  projects/nfsv42/sys/net/altq/altq_rio.h
  projects/nfsv42/sys/net/altq/altq_rmclass.c
  projects/nfsv42/sys/net/altq/altq_rmclass.h
  projects/nfsv42/sys/net/altq/altq_subr.c
  projects/nfsv42/sys/net/if.c
  projects/nfsv42/sys/net/if.h
  projects/nfsv42/sys/net/if_ipsec.c
  projects/nfsv42/sys/net/if_tap.c
  projects/nfsv42/sys/net/if_tun.c
  projects/nfsv42/sys/net/if_var.h
  projects/nfsv42/sys/net/if_vlan.c
  projects/nfsv42/sys/net/iflib.c
  projects/nfsv42/sys/net/iflib_private.h
  projects/nfsv42/sys/net/netmap.h
  projects/nfsv42/sys/net/netmap_user.h
  projects/nfsv42/sys/net/netmap_virt.h
  projects/nfsv42/sys/net/route.h
  projects/nfsv42/sys/net/rtsock.c
  projects/nfsv42/sys/netgraph/ng_source.c
  projects/nfsv42/sys/netinet/cc/cc.h
  projects/nfsv42/sys/netinet/cc/cc_cdg.c
  projects/nfsv42/sys/netinet/cc/cc_chd.c
  projects/nfsv42/sys/netinet/cc/cc_cubic.c
  projects/nfsv42/sys/netinet/cc/cc_cubic.h
  projects/nfsv42/sys/netinet/cc/cc_dctcp.c
  projects/nfsv42/sys/netinet/cc/cc_hd.c
  projects/nfsv42/sys/netinet/cc/cc_newreno.c
  projects/nfsv42/sys/netinet/cc/cc_vegas.c
  projects/nfsv42/sys/netinet/if_ether.c
  projects/nfsv42/sys/netinet/if_ether.h
  projects/nfsv42/sys/netinet/in_pcb.c
  projects/nfsv42/sys/netinet/in_pcb.h
  projects/nfsv42/sys/netinet/ip_divert.c
  projects/nfsv42/sys/netinet/ip_fw.h
  projects/nfsv42/sys/netinet/ip_reass.c
  projects/nfsv42/sys/netinet/ip_var.h
  projects/nfsv42/sys/netinet/raw_ip.c
  projects/nfsv42/sys/netinet/sctp_sysctl.c
  projects/nfsv42/sys/netinet/siftr.c
  projects/nfsv42/sys/netinet/tcp_output.c
  projects/nfsv42/sys/netinet/tcp_stacks/rack.c
  projects/nfsv42/sys/netinet/tcp_subr.c
  projects/nfsv42/sys/netinet/tcp_usrreq.c
  projects/nfsv42/sys/netinet/udp_usrreq.c
  projects/nfsv42/sys/netinet6/in6_pcb.c
  projects/nfsv42/sys/netinet6/ip6_mroute.c
  projects/nfsv42/sys/netinet6/ip6_output.c
  projects/nfsv42/sys/netinet6/ip_fw_nptv6.h
  projects/nfsv42/sys/netipsec/ipsec_pcb.c
  projects/nfsv42/sys/netpfil/ipfw/ip_fw_dynamic.c
  projects/nfsv42/sys/netpfil/ipfw/ip_fw_eaction.c
  projects/nfsv42/sys/netpfil/ipfw/ip_fw_private.h
  projects/nfsv42/sys/netpfil/ipfw/ip_fw_sockopt.c
  projects/nfsv42/sys/netpfil/ipfw/nat64/nat64lsn_control.c
  projects/nfsv42/sys/netpfil/ipfw/nat64/nat64stl_control.c
  projects/nfsv42/sys/netpfil/ipfw/nptv6/nptv6.c
  projects/nfsv42/sys/netpfil/ipfw/nptv6/nptv6.h
  projects/nfsv42/sys/netpfil/pf/if_pfsync.c
  projects/nfsv42/sys/netpfil/pf/pf.c
  projects/nfsv42/sys/netpfil/pf/pf_if.c
  projects/nfsv42/sys/netpfil/pf/pf_lb.c
  projects/nfsv42/sys/netsmb/smb_subr.h
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_addr.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_cm.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_cma.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_iwcm.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_mad.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_multicast.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_sysfs.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_user_mad.c
  projects/nfsv42/sys/ofed/drivers/infiniband/core/ib_verbs.c
  projects/nfsv42/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
  projects/nfsv42/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
  projects/nfsv42/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
  projects/nfsv42/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
  projects/nfsv42/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
  projects/nfsv42/sys/opencrypto/criov.c
  projects/nfsv42/sys/opencrypto/cryptodev.h
  projects/nfsv42/sys/opencrypto/cryptosoft.c
  projects/nfsv42/sys/powerpc/aim/aim_machdep.c
  projects/nfsv42/sys/powerpc/aim/locore32.S
  projects/nfsv42/sys/powerpc/aim/locore64.S
  projects/nfsv42/sys/powerpc/booke/booke_machdep.c
  projects/nfsv42/sys/powerpc/booke/locore.S
  projects/nfsv42/sys/powerpc/booke/pmap.c
  projects/nfsv42/sys/powerpc/booke/spe.c
  projects/nfsv42/sys/powerpc/conf/GENERIC
  projects/nfsv42/sys/powerpc/conf/GENERIC64
  projects/nfsv42/sys/powerpc/cpufreq/pmcr.c
  projects/nfsv42/sys/powerpc/fpu/fpu_emu.c
  projects/nfsv42/sys/powerpc/include/atomic.h
  projects/nfsv42/sys/powerpc/include/pcb.h
  projects/nfsv42/sys/powerpc/include/trap.h
  projects/nfsv42/sys/powerpc/include/vmparam.h
  projects/nfsv42/sys/powerpc/mpc85xx/platform_mpc85xx.c
  projects/nfsv42/sys/powerpc/ofw/ofw_pcib_pci.c
  projects/nfsv42/sys/powerpc/ofw/ofw_pcibus.c
  projects/nfsv42/sys/powerpc/ofw/openpic_ofw.c
  projects/nfsv42/sys/powerpc/powermac/cpcht.c
  projects/nfsv42/sys/powerpc/powermac/macgpio.c
  projects/nfsv42/sys/powerpc/powermac/macio.c
  projects/nfsv42/sys/powerpc/powermac/pmu.c
  projects/nfsv42/sys/powerpc/powermac/smu.c
  projects/nfsv42/sys/powerpc/powermac/uninorth.c
  projects/nfsv42/sys/powerpc/powermac/uninorthpci.c
  projects/nfsv42/sys/powerpc/powerpc/db_trace.c
  projects/nfsv42/sys/powerpc/powerpc/elf64_machdep.c
  projects/nfsv42/sys/powerpc/powerpc/exec_machdep.c
  projects/nfsv42/sys/powerpc/powerpc/genassym.c
  projects/nfsv42/sys/powerpc/powerpc/machdep.c
  projects/nfsv42/sys/powerpc/powerpc/mp_machdep.c
  projects/nfsv42/sys/powerpc/powerpc/trap.c
  projects/nfsv42/sys/riscv/conf/GENERIC
  projects/nfsv42/sys/riscv/include/cpu.h
  projects/nfsv42/sys/riscv/include/cpufunc.h
  projects/nfsv42/sys/riscv/include/riscvreg.h
  projects/nfsv42/sys/riscv/include/vmparam.h
  projects/nfsv42/sys/riscv/riscv/locore.S
  projects/nfsv42/sys/riscv/riscv/machdep.c
  projects/nfsv42/sys/riscv/riscv/pmap.c
  projects/nfsv42/sys/riscv/riscv/swtch.S
  projects/nfsv42/sys/riscv/riscv/trap.c
  projects/nfsv42/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
  projects/nfsv42/sys/security/audit/audit.c
  projects/nfsv42/sys/security/audit/audit.h
  projects/nfsv42/sys/security/audit/audit_syscalls.c
  projects/nfsv42/sys/security/mac/mac_net.c
  projects/nfsv42/sys/security/mac_bsdextended/mac_bsdextended.c
  projects/nfsv42/sys/security/mac_lomac/mac_lomac.c
  projects/nfsv42/sys/security/mac_partition/mac_partition.c
  projects/nfsv42/sys/security/mac_portacl/mac_portacl.c
  projects/nfsv42/sys/security/mac_seeotheruids/mac_seeotheruids.c
  projects/nfsv42/sys/sparc64/sparc64/machdep.c
  projects/nfsv42/sys/sparc64/sparc64/support.S
  projects/nfsv42/sys/sys/blist.h
  projects/nfsv42/sys/sys/bus.h
  projects/nfsv42/sys/sys/dirent.h
  projects/nfsv42/sys/sys/efi.h
  projects/nfsv42/sys/sys/epoch.h
  projects/nfsv42/sys/sys/event.h
  projects/nfsv42/sys/sys/filedesc.h
  projects/nfsv42/sys/sys/imgact.h
  projects/nfsv42/sys/sys/jail.h
  projects/nfsv42/sys/sys/mount.h
  projects/nfsv42/sys/sys/mutex.h
  projects/nfsv42/sys/sys/param.h
  projects/nfsv42/sys/sys/priv.h
  projects/nfsv42/sys/sys/proc.h
  projects/nfsv42/sys/sys/racct.h
  projects/nfsv42/sys/sys/refcount.h
  projects/nfsv42/sys/sys/resourcevar.h
  projects/nfsv42/sys/sys/sdt.h
  projects/nfsv42/sys/sys/sockbuf.h
  projects/nfsv42/sys/sys/sx.h
  projects/nfsv42/sys/sys/syscall.h
  projects/nfsv42/sys/sys/syscall.mk
  projects/nfsv42/sys/sys/sysproto.h
  projects/nfsv42/sys/sys/systm.h
  projects/nfsv42/sys/sys/taskqueue.h
  projects/nfsv42/sys/sys/time.h
  projects/nfsv42/sys/sys/types.h
  projects/nfsv42/sys/sys/user.h
  projects/nfsv42/sys/tools/fdt/make_dtb.sh
  projects/nfsv42/sys/tools/fdt/make_dtbo.sh
  projects/nfsv42/sys/ufs/ffs/ffs_alloc.c
  projects/nfsv42/sys/ufs/ffs/ffs_extern.h
  projects/nfsv42/sys/ufs/ffs/ffs_inode.c
  projects/nfsv42/sys/ufs/ffs/ffs_snapshot.c
  projects/nfsv42/sys/ufs/ffs/ffs_softdep.c
  projects/nfsv42/sys/ufs/ffs/ffs_subr.c
  projects/nfsv42/sys/ufs/ffs/ffs_vfsops.c
  projects/nfsv42/sys/ufs/ffs/ffs_vnops.c
  projects/nfsv42/sys/ufs/ufs/dinode.h
  projects/nfsv42/sys/ufs/ufs/ufs_quota.c
  projects/nfsv42/sys/ufs/ufs/ufs_vnops.c
  projects/nfsv42/sys/vm/device_pager.c
  projects/nfsv42/sys/vm/sg_pager.c
  projects/nfsv42/sys/vm/swap_pager.c
  projects/nfsv42/sys/vm/uma_core.c
  projects/nfsv42/sys/vm/uma_int.h
  projects/nfsv42/sys/vm/vm_map.c
  projects/nfsv42/sys/vm/vm_mmap.c
  projects/nfsv42/sys/vm/vm_object.c
  projects/nfsv42/sys/vm/vm_object.h
  projects/nfsv42/sys/vm/vm_page.c
  projects/nfsv42/sys/vm/vm_pageout.h
  projects/nfsv42/sys/x86/acpica/srat.c
  projects/nfsv42/sys/x86/include/intr_machdep.h
  projects/nfsv42/sys/x86/include/specialreg.h
  projects/nfsv42/sys/x86/include/x86_var.h
  projects/nfsv42/sys/x86/x86/cpu_machdep.c
  projects/nfsv42/sys/x86/x86/identcpu.c
  projects/nfsv42/sys/x86/x86/mp_x86.c
  projects/nfsv42/sys/x86/x86/msi.c
  projects/nfsv42/sys/x86/x86/ucode.c
  projects/nfsv42/sys/x86/xen/pvcpu_enum.c
  projects/nfsv42/sys/x86/xen/xen_intr.c
  projects/nfsv42/sys/x86/xen/xen_msi.c
Directory Properties:
  projects/nfsv42/sys/   (props changed)
  projects/nfsv42/sys/cddl/contrib/opensolaris/   (props changed)
  projects/nfsv42/sys/contrib/ck/   (props changed)
  projects/nfsv42/sys/contrib/dev/acpica/   (props changed)
  projects/nfsv42/sys/contrib/ipfilter/   (props changed)
  projects/nfsv42/sys/contrib/octeon-sdk/   (props changed)
  projects/nfsv42/sys/contrib/zstd/   (props changed)
  projects/nfsv42/sys/gnu/dts/arm/   (props changed)
  projects/nfsv42/sys/gnu/dts/arm64/   (props changed)
  projects/nfsv42/sys/gnu/dts/include/   (props changed)

Modified: projects/nfsv42/sys/amd64/amd64/machdep.c
==============================================================================
--- projects/nfsv42/sys/amd64/amd64/machdep.c	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/amd64/machdep.c	Mon Dec 17 00:32:50 2018	(r342155)
@@ -392,7 +392,6 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask
 	sf.sf_uc.uc_mcontext.mc_gsbase = pcb->pcb_gsbase;
 	bzero(sf.sf_uc.uc_mcontext.mc_spare,
 	    sizeof(sf.sf_uc.uc_mcontext.mc_spare));
-	bzero(sf.sf_uc.__spare__, sizeof(sf.sf_uc.__spare__));
 
 	/* Allocate space for the signal handler context. */
 	if ((td->td_pflags & TDP_ALTSTACK) != 0 && !oonstack &&
@@ -1581,6 +1580,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
 
 	identify_cpu1();
 	identify_hypervisor();
+	identify_cpu_fixup_bsp();
 	identify_cpu2();
 	initializecpucache();
 
@@ -2045,6 +2045,7 @@ fill_regs(struct thread *td, struct reg *regs)
 int
 fill_frame_regs(struct trapframe *tp, struct reg *regs)
 {
+
 	regs->r_r15 = tp->tf_r15;
 	regs->r_r14 = tp->tf_r14;
 	regs->r_r13 = tp->tf_r13;
@@ -2076,6 +2077,8 @@ fill_frame_regs(struct trapframe *tp, struct reg *regs
 		regs->r_fs = 0;
 		regs->r_gs = 0;
 	}
+	regs->r_err = 0;
+	regs->r_trapno = 0;
 	return (0);
 }
 

Modified: projects/nfsv42/sys/amd64/amd64/pmap.c
==============================================================================
--- projects/nfsv42/sys/amd64/amd64/pmap.c	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/amd64/pmap.c	Mon Dec 17 00:32:50 2018	(r342155)
@@ -8441,9 +8441,10 @@ pmap_large_unmap(void *svaa, vm_size_t len)
 			KASSERT((va & PDPMASK) == 0,
 			    ("PDPMASK bit set, va %#lx pdpe %#lx pdp %#lx", va,
 			    (u_long)pdpe, pdp));
-			KASSERT(len <= NBPDP,
-			    ("len < NBPDP, sva %#lx va %#lx pdpe %#lx pdp %#lx "
-			    "len %#lx", sva, va, (u_long)pdpe, pdp, len));
+			KASSERT(va + NBPDP <= sva + len,
+			    ("unmap covers partial 1GB page, sva %#lx va %#lx "
+			    "pdpe %#lx pdp %#lx len %#lx", sva, va,
+			    (u_long)pdpe, pdp, len));
 			*pdpe = 0;
 			inc = NBPDP;
 			continue;
@@ -8457,9 +8458,10 @@ pmap_large_unmap(void *svaa, vm_size_t len)
 			KASSERT((va & PDRMASK) == 0,
 			    ("PDRMASK bit set, va %#lx pde %#lx pd %#lx", va,
 			    (u_long)pde, pd));
-			KASSERT(len <= NBPDR,
-			    ("len < NBPDR, sva %#lx va %#lx pde %#lx pd %#lx "
-			    "len %#lx", sva, va, (u_long)pde, pd, len));
+			KASSERT(va + NBPDR <= sva + len,
+			    ("unmap covers partial 2MB page, sva %#lx va %#lx "
+			    "pde %#lx pd %#lx len %#lx", sva, va, (u_long)pde,
+			    pd, len));
 			pde_store(pde, 0);
 			inc = NBPDR;
 			m = PHYS_TO_VM_PAGE(DMAP_TO_PHYS((vm_offset_t)pde));

Modified: projects/nfsv42/sys/amd64/amd64/support.S
==============================================================================
--- projects/nfsv42/sys/amd64/amd64/support.S	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/amd64/support.S	Mon Dec 17 00:32:50 2018	(r342155)
@@ -197,8 +197,6 @@ END(memcmp)
 /*
  * memmove(dst, src, cnt)
  *         rdi, rsi, rdx
- * Adapted from bcopy written by:
- *  ws@tools.de     (Wolfgang Solfrank, TooLs GmbH) +49-228-985800
  */
 
 /*
@@ -207,11 +205,19 @@ END(memcmp)
  * rsi - source
  * rdx - count
  *
- * The macro possibly clobbers the above and: rcx, r8.
- * It does not clobber rax, r10 nor r11.
+ * The macro possibly clobbers the above and: rcx, r8, r9, 10
+ * It does not clobber rax nor r11.
  */
 .macro MEMMOVE erms overlap begin end
 	\begin
+
+	/*
+	 * For sizes 0..32 all data is read before it is written, so there
+	 * is no correctness issue with direction of copying.
+	 */
+	cmpq	$32,%rcx
+	jbe	101632f
+
 .if \overlap == 1
 	movq	%rdi,%r8
 	subq	%rsi,%r8
@@ -219,13 +225,10 @@ END(memcmp)
 	jb	2f
 .endif
 
-	cmpq	$32,%rcx
-	jb	1016f
-
 	cmpq	$256,%rcx
 	ja	1256f
 
-1032:
+103200:
 	movq	(%rsi),%rdx
 	movq	%rdx,(%rdi)
 	movq	8(%rsi),%rdx
@@ -238,61 +241,69 @@ END(memcmp)
 	leaq	32(%rdi),%rdi
 	subq	$32,%rcx
 	cmpq	$32,%rcx
-	jae	1032b
+	jae	103200b
 	cmpb	$0,%cl
-	jne	1016f
+	jne	101632f
 	\end
 	ret
 	ALIGN_TEXT
-1016:
+101632:
 	cmpb	$16,%cl
-	jl	1008f
+	jl	100816f
 	movq	(%rsi),%rdx
+	movq	8(%rsi),%r8
+	movq	-16(%rsi,%rcx),%r9
+	movq	-8(%rsi,%rcx),%r10
 	movq	%rdx,(%rdi)
-	movq	8(%rsi),%rdx
-	movq	%rdx,8(%rdi)
-	subb	$16,%cl
-	jz	1000f
-	leaq	16(%rsi),%rsi
-	leaq	16(%rdi),%rdi
-1008:
+	movq	%r8,8(%rdi)
+	movq	%r9,-16(%rdi,%rcx)
+	movq	%r10,-8(%rdi,%rcx)
+	\end
+	ret
+	ALIGN_TEXT
+100816:
 	cmpb	$8,%cl
-	jl	1004f
+	jl	100408f
 	movq	(%rsi),%rdx
+	movq	-8(%rsi,%rcx),%r8
 	movq	%rdx,(%rdi)
-	subb	$8,%cl
-	jz	1000f
-	leaq	8(%rsi),%rsi
-	leaq	8(%rdi),%rdi
-1004:
+	movq	%r8,-8(%rdi,%rcx,)
+	\end
+	ret
+	ALIGN_TEXT
+100408:
 	cmpb	$4,%cl
-	jl	1002f
+	jl	100204f
 	movl	(%rsi),%edx
+	movl	-4(%rsi,%rcx),%r8d
 	movl	%edx,(%rdi)
-	subb	$4,%cl
-	jz	1000f
-	leaq	4(%rsi),%rsi
-	leaq	4(%rdi),%rdi
-1002:
+	movl	%r8d,-4(%rdi,%rcx)
+	\end
+	ret
+	ALIGN_TEXT
+100204:
 	cmpb	$2,%cl
-	jl	1001f
-	movw	(%rsi),%dx
+	jl	100001f
+	movzwl	(%rsi),%edx
+	movzwl	-2(%rsi,%rcx),%r8d
 	movw	%dx,(%rdi)
-	subb	$2,%cl
-	jz	1000f
-	leaq	2(%rsi),%rsi
-	leaq	2(%rdi),%rdi
-1001:
+	movw	%r8w,-2(%rdi,%rcx)
+	\end
+	ret
+	ALIGN_TEXT
+100001:
 	cmpb	$1,%cl
-	jl	1000f
+	jl	100000f
 	movb	(%rsi),%dl
 	movb	%dl,(%rdi)
-1000:
+100000:
 	\end
 	ret
 
 	ALIGN_TEXT
 1256:
+	testb	$15,%dil
+	jnz	100f
 .if \erms == 1
 	rep
 	movsb
@@ -301,11 +312,39 @@ END(memcmp)
 	rep
 	movsq
 	movq	%rdx,%rcx
-	andb	$7,%cl                         /* any bytes left? */
-	jne	1004b
+	andl	$7,%ecx                         /* any bytes left? */
+	jne	100408b
 .endif
 	\end
 	ret
+100:
+	movq	(%rsi),%r8
+	movq	8(%rsi),%r9
+	movq	%rdi,%r10
+	movq	%rdi,%rcx
+	andq	$15,%rcx
+	leaq	-16(%rdx,%rcx),%rdx
+	neg	%rcx
+	leaq	16(%rdi,%rcx),%rdi
+	leaq	16(%rsi,%rcx),%rsi
+	movq	%rdx,%rcx
+.if \erms == 1
+	rep
+	movsb
+	movq	%r8,(%r10)
+	movq	%r9,8(%r10)
+.else
+	shrq	$3,%rcx                         /* copy by 64-bit words */
+	rep
+	movsq
+	movq	%r8,(%r10)
+	movq	%r9,8(%r10)
+	movq	%rdx,%rcx
+	andl	$7,%ecx                         /* any bytes left? */
+	jne	100408b
+.endif
+	\end
+	ret
 
 .if \overlap == 1
 	/*
@@ -313,24 +352,24 @@ END(memcmp)
 	 */
         ALIGN_TEXT
 2:
-	addq	%rcx,%rdi
-	addq	%rcx,%rsi
+	cmpq	$256,%rcx
+	ja	2256f
 
+	leaq	-8(%rdi,%rcx),%rdi
+	leaq	-8(%rsi,%rcx),%rsi
+
 	cmpq	$32,%rcx
 	jb	2016f
 
-	cmpq	$256,%rcx
-	ja	2256f
-
 2032:
+	movq	(%rsi),%rdx
+	movq	%rdx,(%rdi)
 	movq	-8(%rsi),%rdx
 	movq	%rdx,-8(%rdi)
 	movq	-16(%rsi),%rdx
 	movq	%rdx,-16(%rdi)
 	movq	-24(%rsi),%rdx
 	movq	%rdx,-24(%rdi)
-	movq	-32(%rsi),%rdx
-	movq	%rdx,-32(%rdi)
 	leaq	-32(%rsi),%rsi
 	leaq	-32(%rdi),%rdi
 	subq	$32,%rcx
@@ -344,10 +383,10 @@ END(memcmp)
 2016:
 	cmpb	$16,%cl
 	jl	2008f
+	movq	(%rsi),%rdx
+	movq	%rdx,(%rdi)
 	movq	-8(%rsi),%rdx
 	movq	%rdx,-8(%rdi)
-	movq	-16(%rsi),%rdx
-	movq	%rdx,-16(%rdi)
 	subb	$16,%cl
 	jz	2000f
 	leaq	-16(%rsi),%rsi
@@ -355,8 +394,8 @@ END(memcmp)
 2008:
 	cmpb	$8,%cl
 	jl	2004f
-	movq	-8(%rsi),%rdx
-	movq	%rdx,-8(%rdi)
+	movq	(%rsi),%rdx
+	movq	%rdx,(%rdi)
 	subb	$8,%cl
 	jz	2000f
 	leaq	-8(%rsi),%rsi
@@ -364,8 +403,8 @@ END(memcmp)
 2004:
 	cmpb	$4,%cl
 	jl	2002f
-	movl	-4(%rsi),%edx
-	movl	%edx,-4(%rdi)
+	movl	4(%rsi),%edx
+	movl	%edx,4(%rdi)
 	subb	$4,%cl
 	jz	2000f
 	leaq	-4(%rsi),%rsi
@@ -373,8 +412,8 @@ END(memcmp)
 2002:
 	cmpb	$2,%cl
 	jl	2001f
-	movw	-2(%rsi),%dx
-	movw	%dx,-2(%rdi)
+	movw	6(%rsi),%dx
+	movw	%dx,6(%rdi)
 	subb	$2,%cl
 	jz	2000f
 	leaq	-2(%rsi),%rsi
@@ -382,33 +421,31 @@ END(memcmp)
 2001:
 	cmpb	$1,%cl
 	jl	2000f
-	movb	-1(%rsi),%dl
-	movb	%dl,-1(%rdi)
+	movb	7(%rsi),%dl
+	movb	%dl,7(%rdi)
 2000:
 	\end
 	ret
 	ALIGN_TEXT
 2256:
-	decq	%rdi
-	decq	%rsi
 	std
 .if \erms == 1
+	leaq	-1(%rdi,%rcx),%rdi
+	leaq	-1(%rsi,%rcx),%rsi
 	rep
 	movsb
+	cld
 .else
-	andq	$7,%rcx                         /* any fractional bytes? */
-	je	3f
-	rep
-	movsb
-3:
-	movq	%rdx,%rcx                       /* copy remainder by 32-bit words */
+	leaq	-8(%rdi,%rcx),%rdi
+	leaq	-8(%rsi,%rcx),%rsi
 	shrq	$3,%rcx
-	subq	$7,%rsi
-	subq	$7,%rdi
 	rep
 	movsq
-.endif
 	cld
+	movq	%rdx,%rcx
+	andb	$7,%cl
+	jne	2004b
+.endif
 	\end
 	ret
 .endif
@@ -459,12 +496,12 @@ END(memcpy_erms)
 	imulq	%r8,%r10
 
 	cmpq	$32,%rcx
-	jb	1016f
+	jbe	101632f
 
 	cmpq	$256,%rcx
 	ja	1256f
 
-1032:
+103200:
 	movq	%r10,(%rdi)
 	movq	%r10,8(%rdi)
 	movq	%r10,16(%rdi)
@@ -472,43 +509,54 @@ END(memcpy_erms)
 	leaq	32(%rdi),%rdi
 	subq	$32,%rcx
 	cmpq	$32,%rcx
-	jae	1032b
-	cmpb	$0,%cl
-	je	1000f
-1016:
+	ja	103200b
 	cmpb	$16,%cl
-	jl	1008f
+	ja	201632f
+	movq	%r10,-16(%rdi,%rcx)
+	movq	%r10,-8(%rdi,%rcx)
+	POP_FRAME_POINTER
+	ret
+	ALIGN_TEXT
+101632:
+	cmpb	$16,%cl
+	jl	100816f
+201632:
 	movq	%r10,(%rdi)
 	movq	%r10,8(%rdi)
-	subb	$16,%cl
-	jz	1000f
-	leaq	16(%rdi),%rdi
-1008:
+	movq	%r10,-16(%rdi,%rcx)
+	movq	%r10,-8(%rdi,%rcx)
+	POP_FRAME_POINTER
+	ret
+	ALIGN_TEXT
+100816:
 	cmpb	$8,%cl
-	jl	1004f
+	jl	100408f
 	movq	%r10,(%rdi)
-	subb	$8,%cl
-	jz	1000f
-	leaq	8(%rdi),%rdi
-1004:
+	movq	%r10,-8(%rdi,%rcx)
+	POP_FRAME_POINTER
+	ret
+	ALIGN_TEXT
+100408:
 	cmpb	$4,%cl
-	jl	1002f
+	jl	100204f
 	movl	%r10d,(%rdi)
-	subb	$4,%cl
-	jz	1000f
-	leaq	4(%rdi),%rdi
-1002:
+	movl	%r10d,-4(%rdi,%rcx)
+	POP_FRAME_POINTER
+	ret
+	ALIGN_TEXT
+100204:
 	cmpb	$2,%cl
-	jl	1001f
+	jl	100001f
 	movw	%r10w,(%rdi)
-	subb	$2,%cl
-	jz	1000f
-	leaq	2(%rdi),%rdi
-1001:
-	cmpb	$1,%cl
-	jl	1000f
+	movw	%r10w,-2(%rdi,%rcx)
+	POP_FRAME_POINTER
+	ret
+	ALIGN_TEXT
+100001:
+	cmpb	$0,%cl
+	je	100000f
 	movb	%r10b,(%rdi)
-1000:
+100000:
 	POP_FRAME_POINTER
 	ret
 	ALIGN_TEXT
@@ -1107,7 +1155,6 @@ ENTRY(suword16_nosmap)
 
 	movw	%si,(%rdi)
 	xorl	%eax,%eax
-	movq	PCPU(CURPCB),%rcx		/* restore trashed register */
 	movq	%rax,PCB_ONFAULT(%rcx)
 	POP_FRAME_POINTER
 	ret
@@ -1126,7 +1173,6 @@ ENTRY(suword16_smap)
 	movw	%si,(%rdi)
 	clac
 	xorl	%eax,%eax
-	movq	PCPU(CURPCB),%rcx		/* restore trashed register */
 	movq	%rax,PCB_ONFAULT(%rcx)
 	POP_FRAME_POINTER
 	ret
@@ -1144,7 +1190,6 @@ ENTRY(subyte_nosmap)
 	movl	%esi,%eax
 	movb	%al,(%rdi)
 	xorl	%eax,%eax
-	movq	PCPU(CURPCB),%rcx		/* restore trashed register */
 	movq	%rax,PCB_ONFAULT(%rcx)
 	POP_FRAME_POINTER
 	ret
@@ -1164,7 +1209,6 @@ ENTRY(subyte_smap)
 	movb	%al,(%rdi)
 	clac
 	xorl	%eax,%eax
-	movq	PCPU(CURPCB),%rcx		/* restore trashed register */
 	movq	%rax,PCB_ONFAULT(%rcx)
 	POP_FRAME_POINTER
 	ret

Modified: projects/nfsv42/sys/amd64/conf/GENERIC
==============================================================================
--- projects/nfsv42/sys/amd64/conf/GENERIC	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/conf/GENERIC	Mon Dec 17 00:32:50 2018	(r342155)
@@ -372,3 +372,8 @@ device		vmx			# VMware VMXNET3 Ethernet
 
 # Netmap provides direct access to TX/RX rings on supported NICs
 device		netmap			# netmap(4) support
+
+# evdev interface
+options 	EVDEV_SUPPORT		# evdev support in legacy drivers
+device		evdev			# input event device support
+device		uinput			# install /dev/uinput cdev

Modified: projects/nfsv42/sys/amd64/conf/MINIMAL
==============================================================================
--- projects/nfsv42/sys/amd64/conf/MINIMAL	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/conf/MINIMAL	Mon Dec 17 00:32:50 2018	(r342155)
@@ -147,3 +147,8 @@ device		bpf			# Berkeley packet filter
 # NOTE: XENHVM depends on xenpci.  They must be added or removed together.
 options 	XENHVM			# Xen HVM kernel infrastructure
 device		xenpci			# Xen HVM Hypervisor services driver
+
+# evdev interface
+options 	EVDEV_SUPPORT		# evdev support in legacy drivers
+device		evdev			# input event device support
+device		uinput			# install /dev/uinput cdev

Modified: projects/nfsv42/sys/amd64/conf/NOTES
==============================================================================
--- projects/nfsv42/sys/amd64/conf/NOTES	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/conf/NOTES	Mon Dec 17 00:32:50 2018	(r342155)
@@ -642,6 +642,11 @@ options 	LINPROCFS
 options 	LINSYSFS
 
 #####################################################################
+# ZFS support
+
+options		ZFS
+
+#####################################################################
 # VM OPTIONS
 
 # KSTACK_PAGES is the number of memory pages to assign to the kernel

Modified: projects/nfsv42/sys/amd64/ia32/ia32_reg.c
==============================================================================
--- projects/nfsv42/sys/amd64/ia32/ia32_reg.c	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/ia32/ia32_reg.c	Mon Dec 17 00:32:50 2018	(r342155)
@@ -105,6 +105,8 @@ fill_regs32(struct thread *td, struct reg32 *regs)
 	regs->r_eflags = tp->tf_rflags;
 	regs->r_esp = tp->tf_rsp;
 	regs->r_ss = tp->tf_ss;
+	regs->r_err = 0;
+	regs->r_trapno = 0;
 	return (0);
 }
 

Modified: projects/nfsv42/sys/amd64/ia32/ia32_signal.c
==============================================================================
--- projects/nfsv42/sys/amd64/ia32/ia32_signal.c	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/ia32/ia32_signal.c	Mon Dec 17 00:32:50 2018	(r342155)
@@ -261,11 +261,11 @@ freebsd32_getcontext(struct thread *td, struct freebsd
 	if (uap->ucp == NULL)
 		ret = EINVAL;
 	else {
+		bzero(&uc, sizeof(uc));
 		ia32_get_mcontext(td, &uc.uc_mcontext, GET_MC_CLEAR_RET);
 		PROC_LOCK(td->td_proc);
 		uc.uc_sigmask = td->td_sigmask;
 		PROC_UNLOCK(td->td_proc);
-		bzero(&uc.__spare__, sizeof(uc.__spare__));
 		ret = copyout(&uc, uap->ucp, UC_COPY_SIZE);
 	}
 	return (ret);
@@ -275,7 +275,7 @@ int
 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap)
 {
 	struct ia32_ucontext uc;
-	int ret;	
+	int ret;
 
 	if (uap->ucp == NULL)
 		ret = EINVAL;
@@ -296,11 +296,12 @@ int
 freebsd32_swapcontext(struct thread *td, struct freebsd32_swapcontext_args *uap)
 {
 	struct ia32_ucontext uc;
-	int ret;	
+	int ret;
 
 	if (uap->oucp == NULL || uap->ucp == NULL)
 		ret = EINVAL;
 	else {
+		bzero(&uc, sizeof(uc));
 		ia32_get_mcontext(td, &uc.uc_mcontext, GET_MC_CLEAR_RET);
 		PROC_LOCK(td->td_proc);
 		uc.uc_sigmask = td->td_sigmask;
@@ -364,12 +365,14 @@ ia32_osendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t
 	/* Build the argument list for the signal handler. */
 	sf.sf_signum = sig;
 	sf.sf_scp = (register_t)&fp->sf_siginfo.si_sc;
+	bzero(&sf.sf_siginfo, sizeof(sf.sf_siginfo));
 	if (SIGISMEMBER(psp->ps_siginfo, sig)) {
 		/* Signal handler installed with SA_SIGINFO. */
 		sf.sf_arg2 = (register_t)&fp->sf_siginfo;
 		sf.sf_siginfo.si_signo = sig;
 		sf.sf_siginfo.si_code = ksi->ksi_code;
 		sf.sf_ah = (uintptr_t)catcher;
+		sf.sf_addr = 0;
 	} else {
 		/* Old FreeBSD-style arguments. */
 		sf.sf_arg2 = ksi->ksi_code;
@@ -618,7 +621,6 @@ ia32_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t 
 	fpstate_drop(td);
 	sf.sf_uc.uc_mcontext.mc_fsbase = td->td_pcb->pcb_fsbase;
 	sf.sf_uc.uc_mcontext.mc_gsbase = td->td_pcb->pcb_gsbase;
-	bzero(sf.sf_uc.__spare__, sizeof(sf.sf_uc.__spare__));
 
 	/* Allocate space for the signal handler context. */
 	if ((td->td_pflags & TDP_ALTSTACK) != 0 && !oonstack &&

Modified: projects/nfsv42/sys/amd64/vmm/intel/vmx.c
==============================================================================
--- projects/nfsv42/sys/amd64/vmm/intel/vmx.c	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/amd64/vmm/intel/vmx.c	Mon Dec 17 00:32:50 2018	(r342155)
@@ -814,7 +814,8 @@ vmx_init(int ipinum)
 		return (error);
 	}
 
-	guest_l1d_flush = (cpu_ia32_arch_caps & IA32_ARCH_CAP_RDCL_NO) == 0;
+	guest_l1d_flush = (cpu_ia32_arch_caps &
+	    IA32_ARCH_CAP_SKIP_L1DFL_VMENTRY) == 0;
 	TUNABLE_INT_FETCH("hw.vmm.l1d_flush", &guest_l1d_flush);
 
 	/*

Modified: projects/nfsv42/sys/arm/allwinner/a10_ehci.c
==============================================================================
--- projects/nfsv42/sys/arm/allwinner/a10_ehci.c	Sun Dec 16 23:45:46 2018	(r342154)
+++ projects/nfsv42/sys/arm/allwinner/a10_ehci.c	Mon Dec 17 00:32:50 2018	(r342155)
@@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$");
 #include <arm/allwinner/aw_machdep.h>
 #include <dev/extres/clk/clk.h>
 #include <dev/extres/hwreset/hwreset.h>
-#include <dev/extres/phy/phy.h>
+#include <dev/extres/phy/phy_usb.h>
 
 #define EHCI_HC_DEVSTR			"Allwinner Integrated USB 2.0 controller"
 
@@ -242,6 +242,11 @@ a10_ehci_attach(device_t self)
 
 	/* Enable USB PHY */
 	if (phy_get_by_ofw_name(self, 0, "usb", &aw_sc->phy) == 0) {
+		err = phy_usb_set_mode(aw_sc->phy, PHY_USB_MODE_HOST);
+		if (err != 0) {
+			device_printf(self, "Could not set phy to host mode\n");
+			goto error;
+		}
 		err = phy_enable(aw_sc->phy);
 		if (err != 0) {
 			device_printf(self, "Could not enable phy\n");

Copied: projects/nfsv42/sys/arm/allwinner/aw_pwm.c (from r342154, head/sys/arm/allwinner/aw_pwm.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/nfsv42/sys/arm/allwinner/aw_pwm.c	Mon Dec 17 00:32:50 2018	(r342155, copy of r342154, head/sys/arm/allwinner/aw_pwm.c)
@@ -0,0 +1,361 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2018 Emmanuel Vadot <manu@FreeBSD.org>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/bus.h>
+#include <sys/kernel.h>
+#include <sys/module.h>
+#include <sys/rman.h>
+#include <sys/resource.h>
+#include <machine/bus.h>
+
+#include <dev/ofw/ofw_bus.h>
+#include <dev/ofw/ofw_bus_subr.h>
+
+#include <dev/extres/clk/clk.h>
+
+#include <dev/pwm/pwmbus.h>
+
+#include "pwm_if.h"
+
+#define	AW_PWM_CTRL			0x00
+#define	 AW_PWM_CTRL_PRESCALE_MASK	0xF
+#define	 AW_PWM_CTRL_EN			(1 << 4)
+#define	 AW_PWM_CTRL_ACTIVE_LEVEL_HIGH	(1 << 5)
+#define	 AW_PWM_CTRL_GATE		(1 << 6)
+#define	 AW_PWM_CTRL_MODE_MASK		0x80
+#define	 AW_PWM_CTRL_PULSE_MODE		(1 << 7)
+#define	 AW_PWM_CTRL_CYCLE_MODE		(0 << 7)
+#define	 AW_PWM_CTRL_PULSE_START	(1 << 8)
+#define	 AW_PWM_CTRL_CLK_BYPASS		(1 << 9)
+#define	 AW_PWM_CTRL_PERIOD_BUSY	(1 << 28)
+
+#define	AW_PWM_PERIOD			0x04
+#define	AW_PWM_PERIOD_TOTAL_MASK	0xFFFF
+#define	AW_PWM_PERIOD_TOTAL_SHIFT	16
+#define	AW_PWM_PERIOD_ACTIVE_MASK	0xFFFF
+#define	AW_PWM_PERIOD_ACTIVE_SHIFT	0
+
+#define	AW_PWM_MAX_FREQ			24000000
+
+#define	NS_PER_SEC	1000000000
+
+static struct ofw_compat_data compat_data[] = {
+	{ "allwinner,sun5i-a13-pwm",		1 },
+	{ NULL,					0 }
+};
+
+static struct resource_spec aw_pwm_spec[] = {
+	{ SYS_RES_MEMORY,	0,	RF_ACTIVE },
+	{ -1, 0 }
+};
+
+struct aw_pwm_softc {
+	device_t	dev;
+	device_t	busdev;
+	clk_t		clk;
+	struct resource	*res;
+
+	uint64_t	clk_freq;
+	unsigned int	period;
+	unsigned int	duty;
+	uint32_t	flags;
+	bool		enabled;
+};
+
+static uint32_t aw_pwm_clk_prescaler[] = {
+	120,
+	180,
+	240,
+	360,
+	480,
+	0,
+	0,
+	0,
+	12000,
+	24000,
+	36000,
+	48000,
+	72000,
+	0,
+	0,
+	1,
+};
+
+#define	AW_PWM_READ(sc, reg)		bus_read_4((sc)->res, (reg))
+#define	AW_PWM_WRITE(sc, reg, val)	bus_write_4((sc)->res, (reg), (val))
+
+static int aw_pwm_probe(device_t dev);
+static int aw_pwm_attach(device_t dev);
+static int aw_pwm_detach(device_t dev);
+
+static int
+aw_pwm_probe(device_t dev)
+{
+	if (!ofw_bus_status_okay(dev))
+		return (ENXIO);
+
+	if (!ofw_bus_search_compatible(dev, compat_data)->ocd_data)
+		return (ENXIO);
+
+	device_set_desc(dev, "Allwinner PWM");
+	return (BUS_PROBE_DEFAULT);
+}
+
+static int
+aw_pwm_attach(device_t dev)
+{
+	struct aw_pwm_softc *sc;
+	uint64_t clk_freq;
+	uint32_t reg;
+	int error;
+
+	sc = device_get_softc(dev);
+	sc->dev = dev;
+
+	error = clk_get_by_ofw_index(dev, 0, 0, &sc->clk);
+	if (error != 0) {
+		device_printf(dev, "cannot get clock\n");
+		goto fail;
+	}
+	error = clk_enable(sc->clk);
+
+	error = clk_get_freq(sc->clk, &sc->clk_freq);
+
+	if (bus_alloc_resources(dev, aw_pwm_spec, &sc->res) != 0) {
+		device_printf(dev, "cannot allocate resources for device\n");
+		error = ENXIO;
+		goto fail;
+	}
+
+	if ((sc->busdev = pwmbus_attach_bus(dev)) == NULL)
+		device_printf(dev, "Cannot attach pwm bus\n");
+
+	/* Read the configuration left by U-Boot */
+	reg = AW_PWM_READ(sc, AW_PWM_CTRL);
+	if (reg & (AW_PWM_CTRL_GATE | AW_PWM_CTRL_EN))
+		sc->enabled = true;
+
+	reg = AW_PWM_READ(sc, AW_PWM_CTRL);
+	reg &= AW_PWM_CTRL_PRESCALE_MASK;
+	if (reg > nitems(aw_pwm_clk_prescaler)) {
+		device_printf(dev, "Bad prescaler %x, cannot guess current settings\n", reg);
+		goto out;
+	}
+	clk_freq = sc->clk_freq / aw_pwm_clk_prescaler[reg];
+
+	reg = AW_PWM_READ(sc, AW_PWM_PERIOD);
+	sc->period = NS_PER_SEC /
+		(clk_freq / ((reg >> AW_PWM_PERIOD_TOTAL_SHIFT) & AW_PWM_PERIOD_TOTAL_MASK));
+	sc->duty = NS_PER_SEC /
+		(clk_freq / ((reg >> AW_PWM_PERIOD_ACTIVE_SHIFT) & AW_PWM_PERIOD_ACTIVE_MASK));
+
+out:
+	return (0);
+
+fail:
+	aw_pwm_detach(dev);
+	return (error);
+}
+
+static int
+aw_pwm_detach(device_t dev)
+{
+	struct aw_pwm_softc *sc;
+
+	sc = device_get_softc(dev);
+
+	bus_generic_detach(sc->dev);
+
+	bus_release_resources(dev, aw_pwm_spec, &sc->res);
+
+	return (0);
+}
+
+static int
+aw_pwm_channel_max(device_t dev, int *nchannel)
+{
+
+	*nchannel = 1;
+
+	return (0);
+}
+
+static int
+aw_pwm_channel_config(device_t dev, int channel, unsigned int period, unsigned int duty)
+{
+	struct aw_pwm_softc *sc;
+	uint64_t period_freq, duty_freq;
+	uint64_t clk_rate, div;
+	uint32_t reg;
+	int prescaler;
+	int i;
+
+	sc = device_get_softc(dev);
+
+	period_freq = NS_PER_SEC / period;
+	if (period_freq > AW_PWM_MAX_FREQ)
+		return (EINVAL);
+	duty_freq = NS_PER_SEC / duty;
+	if (duty_freq < period_freq) {
+		device_printf(sc->dev, "duty < period\n");
+		return (EINVAL);
+	}
+
+	/* First test without prescaler */
+	clk_rate = AW_PWM_MAX_FREQ;
+	prescaler = AW_PWM_CTRL_PRESCALE_MASK;
+	div = AW_PWM_MAX_FREQ / period_freq;
+	if ((div - 1) > AW_PWM_PERIOD_TOTAL_MASK) {
+		/* Test all prescaler */
+		for (i = 0; i < nitems(aw_pwm_clk_prescaler); i++) {
+			if (aw_pwm_clk_prescaler[i] == 0)
+				continue;
+			div = (AW_PWM_MAX_FREQ * aw_pwm_clk_prescaler[i]) / period_freq;
+			if ((div - 1) < AW_PWM_PERIOD_TOTAL_MASK ) {
+				prescaler = i;
+				clk_rate = AW_PWM_MAX_FREQ / aw_pwm_clk_prescaler[i];
+				break;
+			}
+		}
+		if (prescaler == AW_PWM_CTRL_PRESCALE_MASK)
+			return (EINVAL);
+	}
+
+	reg = AW_PWM_READ(sc, AW_PWM_CTRL);
+	if (reg & AW_PWM_CTRL_PERIOD_BUSY) {
+		device_printf(sc->dev, "pwm busy\n");
+		return (EBUSY);
+	}
+
+	/* Write the prescalar */
+	reg &= ~AW_PWM_CTRL_PRESCALE_MASK;
+	reg |= prescaler;
+	AW_PWM_WRITE(sc, AW_PWM_CTRL, reg);
+
+	/* Write the total/active cycles */
+	reg = ((clk_rate / period_freq) << AW_PWM_PERIOD_TOTAL_SHIFT) |
+	  ((clk_rate / duty_freq) << AW_PWM_PERIOD_ACTIVE_SHIFT);
+	AW_PWM_WRITE(sc, AW_PWM_PERIOD, reg);
+
+	sc->period = period;
+	sc->duty = duty;
+
+	return (0);
+}
+
+static int
+aw_pwm_channel_get_config(device_t dev, int channel, unsigned int *period, unsigned int *duty)
+{
+	struct aw_pwm_softc *sc;
+
+	sc = device_get_softc(dev);
+
+	*period = sc->period;
+	*duty = sc->duty;
+
+	return (0);
+}
+
+static int
+aw_pwm_channel_enable(device_t dev, int channel, bool enable)
+{
+	struct aw_pwm_softc *sc;
+	uint32_t reg;
+
+	sc = device_get_softc(dev);
+
+	if (enable && sc->enabled)
+		return (0);
+
+	reg = AW_PWM_READ(sc, AW_PWM_CTRL);
+	if (enable)
+		reg |= AW_PWM_CTRL_GATE | AW_PWM_CTRL_EN;
+	else
+		reg &= ~(AW_PWM_CTRL_GATE | AW_PWM_CTRL_EN);
+
+	AW_PWM_WRITE(sc, AW_PWM_CTRL, reg);
+
+	sc->enabled = enable;
+
+	return (0);
+}
+
+static int
+aw_pwm_channel_is_enabled(device_t dev, int channel, bool *enabled)
+{
+	struct aw_pwm_softc *sc;
+
+	sc = device_get_softc(dev);
+
+	*enabled = sc->enabled;
+
+	return (0);
+}
+
+static device_t
+aw_pwm_get_bus(device_t dev)
+{
+	struct aw_pwm_softc *sc;
+
+	sc = device_get_softc(dev);
+
+	return (sc->busdev);
+}
+static device_method_t aw_pwm_methods[] = {
+	/* Device interface */
+	DEVMETHOD(device_probe,		aw_pwm_probe),
+	DEVMETHOD(device_attach,	aw_pwm_attach),
+	DEVMETHOD(device_detach,	aw_pwm_detach),
+
+	/* pwm interface */
+	DEVMETHOD(pwm_get_bus,			aw_pwm_get_bus),
+	DEVMETHOD(pwm_channel_max,		aw_pwm_channel_max),
+	DEVMETHOD(pwm_channel_config,		aw_pwm_channel_config),
+	DEVMETHOD(pwm_channel_get_config,	aw_pwm_channel_get_config),

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812170032.wBH0Wpd0036768>