Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej-i2c-spi-conf]: src/sys/uvm Sync w/ HEAD.
details: https://anonhg.NetBSD.org/src/rev/79e08aa0bbda
branches: thorpej-i2c-spi-conf
changeset: 378807:79e08aa0bbda
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Jun 17 04:46:16 2021 +0000
description:
Sync w/ HEAD.
diffstat:
sys/arch/aarch64/aarch64/aarch32_syscall.c | 28 +-
sys/arch/aarch64/aarch64/aarch64_machdep.c | 12 +-
sys/arch/aarch64/aarch64/db_interface.c | 37 +-
sys/arch/aarch64/aarch64/netbsd32_machdep.c | 61 +-
sys/arch/aarch64/aarch64/pmap.c | 14 +-
sys/arch/aarch64/aarch64/procfs_machdep.c | 6 +-
sys/arch/aarch64/conf/Makefile.aarch64 | 13 +-
sys/arch/aarch64/include/cpu.h | 21 +-
sys/arch/aarch64/include/cpufunc.h | 3 +-
sys/arch/aarch64/include/param.h | 3 +-
sys/arch/aarch64/include/pmap.h | 7 +-
sys/arch/algor/conf/std.algor64 | 4 +-
sys/arch/alpha/alpha/autoconf.c | 63 +-
sys/arch/alpha/alpha/locore.s | 14 +-
sys/arch/alpha/alpha/machdep.c | 15 +-
sys/arch/alpha/alpha/pmap.c | 720 +-
sys/arch/alpha/alpha/vm_machdep.c | 6 +-
sys/arch/alpha/conf/GENERIC | 5 +-
sys/arch/alpha/conf/GENERIC.QEMU | 10 +
sys/arch/alpha/include/alpha_cpu.h | 15 +-
sys/arch/alpha/include/mcontext.h | 4 +-
sys/arch/alpha/include/param.h | 6 +-
sys/arch/alpha/include/pci_machdep.h | 3 +-
sys/arch/alpha/include/pmap.h | 135 +-
sys/arch/alpha/pci/tsc.c | 6 +-
sys/arch/alpha/pci/tsp_dma.c | 119 +-
sys/arch/alpha/pci/tsreg.h | 25 +-
sys/arch/alpha/pci/tsvar.h | 3 +-
sys/arch/amd64/amd64/db_disasm.c | 29 +-
sys/arch/amd64/conf/GENERIC | 5 +-
sys/arch/amiga/dev/amidisplaycc.c | 137 +-
sys/arch/amiga/dev/kbd.c | 5 +-
sys/arch/amiga/dev/ms.c | 8 +-
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c | 7 +-
sys/arch/arm/arm32/arm32_boot.c | 20 +-
sys/arch/arm/arm32/cpuswitch.S | 6 +-
sys/arch/arm/broadcom/bcm53xx_eth.c | 11 +-
sys/arch/arm/include/arm32/param.h | 3 +-
sys/arch/arm/include/lock.h | 4 +-
sys/arch/arm/rockchip/rk3328_cru.c | 22 +-
sys/arch/arm/rockchip/rk3399_cru.c | 15 +-
sys/arch/arm/rockchip/rk3399_iomux.c | 8 +-
sys/arch/arm/rockchip/rk_cru_composite.c | 7 +-
sys/arch/arm/rockchip/rk_fb.c | 5 +-
sys/arch/arm/rockchip/rk_spi.c | 6 +-
sys/arch/arm/rockchip/rk_tsadc.c | 6 +-
sys/arch/arm/vfp/vfp_init.c | 25 +-
sys/arch/atari/stand/keymaps/Makefile.inc | 6 +-
sys/arch/atari/stand/keymaps/de/de-kbdmap.c | 293 +-
sys/arch/atari/stand/keymaps/fr/fr-kbdmap.c | 283 +-
sys/arch/atari/stand/keymaps/uk/uk-kbdmap.c | 167 +-
sys/arch/atari/stand/keymaps/us/us-kbdmap.c | 175 +-
sys/arch/atari/stand/libsa/diskio.c | 4 +-
sys/arch/cats/include/param.h | 6 +-
sys/arch/emips/include/types.h | 4 +-
sys/arch/epoc32/include/intr.h | 4 +-
sys/arch/evbmips/conf/MIPSSIM | 28 +-
sys/arch/evbppc/conf/DHT | 10 +-
sys/arch/hp300/conf/GENERIC | 57 +-
sys/arch/hp300/conf/INSTALL | 209 +-
sys/arch/hp300/dev/rdreg.h | 66 +-
sys/arch/hp300/dev/rdvar.h | 18 +-
sys/arch/hpcarm/include/intr.h | 4 +-
sys/arch/hpcmips/vr/vrgiu.c | 12 +-
sys/arch/hppa/include/param.h | 5 +-
sys/arch/i386/conf/GENERIC | 5 +-
sys/arch/i386/i386/db_disasm.c | 24 +-
sys/arch/i386/include/param.h | 6 +-
sys/arch/i386/stand/boot/boot2.c | 22 +-
sys/arch/i386/stand/efiboot/boot.c | 24 +-
sys/arch/i386/stand/lib/biosdisk.c | 3 +-
sys/arch/i386/stand/lib/biosdisk.h | 3 +-
sys/arch/i386/stand/lib/exec.c | 5 +-
sys/arch/ia64/include/param.h | 6 +-
sys/arch/landisk/stand/boot/biosdisk.c | 3 +-
sys/arch/luna68k/stand/boot/Makefile | 4 +-
sys/arch/luna68k/stand/boot/sc.c | 10 +-
sys/arch/luna68k/stand/boot/trap.c | 4 +-
sys/arch/luna68k/stand/boot/ufs_disksubr.c | 5 +-
sys/arch/luna68k/stand/boot/version | 3 +-
sys/arch/m68k/conf/std.m68k | 5 +-
sys/arch/m68k/include/param.h | 6 +-
sys/arch/mac68k/obio/iwm_fd.c | 136 +-
sys/arch/macppc/include/param.h | 6 +-
sys/arch/macppc/stand/ofwboot/ofdev.c | 6 +-
sys/arch/mips/README.models | 4 +-
sys/arch/mips/cavium/dev/if_cnmac.c | 55 +-
sys/arch/mips/cavium/dev/octeon_gmx.c | 6 +-
sys/arch/mips/conf/files.mips | 4 +-
sys/arch/mips/include/cpuregs.h | 63 +-
sys/arch/mips/include/db_machdep.h | 6 +-
sys/arch/mips/include/locore.h | 4 +-
sys/arch/mips/include/mips_param.h | 32 +-
sys/arch/mips/include/netbsd32_machdep.h | 15 +-
sys/arch/mips/include/types.h | 9 +-
sys/arch/mips/mips/cpu_exec.c | 6 +-
sys/arch/mips/mips/db_disasm.c | 29 +-
sys/arch/mips/mips/db_interface.c | 33 +-
sys/arch/mips/mips/fp.S | 320 +-
sys/arch/mips/mips/locore.S | 18 +-
sys/arch/mips/mips/mips_emul.c | 26 +-
sys/arch/mips/mips/mips_fpu.c | 10 +-
sys/arch/mips/mips/mips_fputrap.c | 18 +-
sys/arch/mips/mips/mips_machdep.c | 14 +-
sys/arch/mips/mips/netbsd32_machdep.c | 11 +-
sys/arch/mipsco/stand/Makefile.booters | 6 +-
sys/arch/ofppc/stand/ofwboot/mbr.c | 3 +-
sys/arch/ofppc/stand/ofwboot/rdb.c | 3 +-
sys/arch/playstation2/conf/std.playstation2 | 6 +-
sys/arch/playstation2/ee/timer.c | 8 +-
sys/arch/playstation2/playstation2/interrupt.c | 8 +-
sys/arch/powerpc/booke/dev/pq3etsec.c | 14 +-
sys/arch/powerpc/include/ibm4xx/cpu.h | 6 +-
sys/arch/powerpc/include/param.h | 3 +-
sys/arch/riscv/include/db_machdep.h | 29 +-
sys/arch/riscv/include/param.h | 6 +-
sys/arch/riscv/riscv/db_disasm.c | 18 +-
sys/arch/riscv/riscv/db_machdep.c | 32 +-
sys/arch/riscv/riscv/locore.S | 8 +-
sys/arch/sbmips/stand/netboot/dev_net.c | 252 +-
sys/arch/sgimips/include/param.h | 6 +-
sys/arch/sh3/conf/std.sh3 | 6 +-
sys/arch/sh3/include/param.h | 5 +-
sys/arch/sparc/conf/std.sparc | 6 +-
sys/arch/sparc/dev/ts102.c | 72 +-
sys/arch/sparc/sparc/cpu.c | 17 +-
sys/arch/sparc64/doc/TODO | 9 +-
sys/arch/sparc64/include/param.h | 3 +-
sys/arch/sun2/include/param.h | 6 +-
sys/arch/sun3/include/param.h | 6 +-
sys/arch/usermode/dev/if_veth.c | 13 +-
sys/arch/vax/conf/std.vax | 6 +-
sys/arch/vax/include/param.h | 6 +-
sys/arch/x68k/include/param.h | 6 +-
sys/arch/x86/acpi/acpi_wakeup.c | 5 +-
sys/arch/x86/pci/amdzentemp.c | 196 +-
sys/arch/x86/pci/dwiic_pci.c | 28 +-
sys/arch/x86/x86/tsc.c | 22 +-
sys/arch/x86/x86/tsc.h | 8 +-
sys/arch/xen/xenbus/xenbus_probe.c | 9 +-
sys/arch/zaurus/include/intr.h | 4 +-
sys/compat/common/Makefile | 4 +-
sys/conf/Makefile.kern.inc | 4 +-
sys/conf/files | 10 +-
sys/conf/newvers_stand.mk | 6 +-
sys/dev/acpi/thinkpad_acpi.c | 119 +-
sys/dev/audio/audio.c | 92 +-
sys/dev/dev_verbose.h | 93 +-
sys/dev/dkwedge/dk.c | 46 +-
sys/dev/fdt/dwc3_fdt.c | 30 +-
sys/dev/hpc/hpcfb.c | 17 +-
sys/dev/hyperv/hvs.c | 6 +-
sys/dev/hyperv/if_hvn.c | 11 +-
sys/dev/i2c/adm1021.c | 14 +-
sys/dev/i2c/adm1026.c | 63 +-
sys/dev/i2c/am2315.c | 8 +-
sys/dev/i2c/axppmic.c | 9 +-
sys/dev/i2c/dbcool.c | 9 +-
sys/dev/i2c/dstemp.c | 17 +-
sys/dev/i2c/hytp14.c | 7 +-
sys/dev/i2c/lm75.c | 31 +-
sys/dev/i2c/lm87.c | 7 +-
sys/dev/i2c/lm_i2c.c | 10 +-
sys/dev/i2c/m41st84.c | 6 +-
sys/dev/i2c/sdtemp.c | 5 +-
sys/dev/i2c/si70xx.c | 8 +-
sys/dev/i2c/spdmem_i2c.c | 11 +-
sys/dev/ic/an.c | 12 +-
sys/dev/ic/ath.c | 7 +-
sys/dev/ic/athn.c | 15 +-
sys/dev/ic/atw.c | 11 +-
sys/dev/ic/bwfm.c | 12 +-
sys/dev/ic/bwi.c | 11 +-
sys/dev/ic/dwc_gmac.c | 17 +-
sys/dev/ic/malo.c | 17 +-
sys/dev/ic/nvme.c | 96 +-
sys/dev/ic/nvmevar.h | 5 +-
sys/dev/ic/rt2560.c | 12 +-
sys/dev/ic/rt2661.c | 12 +-
sys/dev/ic/rt2860.c | 24 +-
sys/dev/ic/rtw.c | 10 +-
sys/dev/ic/tpm.c | 242 +-
sys/dev/ic/tpmreg.h | 36 +-
sys/dev/ic/wi.c | 15 +-
sys/dev/ipmi.c | 32 +-
sys/dev/isa/itesio_isavar.h | 3 +-
sys/dev/iscsi/iscsi_main.c | 20 +-
sys/dev/iscsi/iscsi_send.c | 5 +-
sys/dev/ld.c | 71 +-
sys/dev/ldvar.h | 3 +-
sys/dev/mii/mii_verbose.c | 6 +-
sys/dev/pad/pad.c | 424 +-
sys/dev/pad/padvar.h | 12 +-
sys/dev/pci/arcmsr.c | 8 +-
sys/dev/pci/if_aq.c | 18 +-
sys/dev/pci/if_cas.c | 8 +-
sys/dev/pci/if_iavf.c | 10 +-
sys/dev/pci/if_ipw.c | 12 +-
sys/dev/pci/if_iwi.c | 12 +-
sys/dev/pci/if_iwm.c | 12 +-
sys/dev/pci/if_iwmreg.h | 14 +-
sys/dev/pci/if_iwn.c | 12 +-
sys/dev/pci/if_iwnreg.h | 6 +-
sys/dev/pci/if_ixl.c | 10 +-
sys/dev/pci/if_rtwn.c | 17 +-
sys/dev/pci/if_ti.c | 63 +-
sys/dev/pci/if_tireg.h | 16 +-
sys/dev/pci/if_wm.c | 11 +-
sys/dev/pci/if_wpi.c | 12 +-
sys/dev/pci/ixgbe/ix_txrx.c | 30 +-
sys/dev/pci/ixgbe/ixgbe.c | 23 +-
sys/dev/pci/ixgbe/ixgbe_dcb_82598.h | 2 +
sys/dev/pci/ixgbe/ixgbe_netbsd.h | 6 +-
sys/dev/pci/ixgbe/ixgbe_type.h | 4 +-
sys/dev/pci/ixgbe/ixgbe_x540.c | 4 +-
sys/dev/pci/ixgbe/ixgbe_x550.c | 4 +-
sys/dev/pci/ixgbe/ixv.c | 17 +-
sys/dev/pci/nvme_pci.c | 36 +-
sys/dev/pci/pcireg.h | 6 +-
sys/dev/pci/voyager/voyagerfb.c | 13 +-
sys/dev/pckbport/synaptics.c | 47 +-
sys/dev/pcmcia/if_malo_pcmcia.c | 21 +-
sys/dev/raidframe/rf_compat80.c | 6 +-
sys/dev/raidframe/rf_driver.c | 20 +-
sys/dev/raidframe/rf_netbsdkintf.c | 153 +-
sys/dev/scsipi/if_se.c | 10 +-
sys/dev/scsipi/scsipi_verbose.c | 6 +-
sys/dev/scsipi/sd.c | 6 +-
sys/dev/scsipi/st.c | 36 +-
sys/dev/sdmmc/sdhc.c | 8 +-
sys/dev/sdmmc/sdmmc.c | 12 +-
sys/dev/sdmmc/sdmmc_mem.c | 13 +-
sys/dev/spi/m25p.c | 14 +-
sys/dev/spi/spi.c | 12 +-
sys/dev/usb/if_kue.c | 6 +-
sys/dev/usb/if_umb.c | 12 +-
sys/dev/usb/if_zyd.c | 7 +-
sys/dev/usb/ohci.c | 6 +-
sys/dev/usb/ualea.c | 8 +-
sys/dev/usb/uaudio.c | 23 +-
sys/dev/usb/ubsa.c | 41 +-
sys/dev/usb/ubsa_common.c | 10 +-
sys/dev/usb/uhso.c | 5 +-
sys/dev/usb/uhub.c | 58 +-
sys/dev/usb/umass.c | 6 +-
sys/dev/usb/umass_scsipi.c | 14 +-
sys/dev/usb/usb.c | 33 +-
sys/dev/usb/usb_mem.c | 19 +-
sys/dev/usb/usb_subr.c | 296 +-
sys/dev/usb/usbdevs | 21 +-
sys/dev/usb/usbdevs.h | 23 +-
sys/dev/usb/usbdevs_data.h | 9333 ++++-----
sys/dev/usb/usbdi.c | 109 +-
sys/dev/usb/usbdi.h | 4 +-
sys/dev/usb/usbdivar.h | 16 +-
sys/dev/usb/usbnet.c | 10 +-
sys/dev/usb/uthum.c | 11 +-
sys/dev/usb/uvideo.c | 18 +-
sys/dev/usb/xhci.c | 445 +-
sys/dev/usb/xhcireg.h | 6 +-
sys/dev/usb/xhcivar.h | 15 +-
sys/dev/vnd.c | 9 +-
sys/dev/wscons/wsdisplay_compat_usl.c | 22 +-
sys/dev/wscons/wsdisplay_vcons.c | 42 +-
sys/dev/wscons/wsemul_vt100.c | 14 +-
sys/dtb/arm64/rockchip/Makefile | 6 +-
sys/external/bsd/acpica/dist/namespace/nsaccess.c | 4 +-
sys/external/bsd/compiler_rt/abi.mk | 5 +
sys/external/bsd/compiler_rt/dist/lib/builtins/adddf3.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_div0.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_drsub.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_frsub.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/ashldi3.c | 6 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/ashrdi3.c | 6 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c | 11 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divsf3.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divsi3.c | 6 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/extendhfsf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/extendsfdf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfdi.c | 11 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfsi.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfdi.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfsi.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfdi.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfsi.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfdi.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfsi.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatdidf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatdisf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatsidf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatsisf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatundisf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsidf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsisf.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h | 21 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/lshrdi3.c | 6 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/muldf3.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/muldi3.c | 6 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulsf3.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/negdf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/negsf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/subdf3.c | 11 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/subsf3.c | 11 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfhf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/truncdfsf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/truncsfhf2.c | 12 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/udivsi3.c | 6 +-
sys/external/bsd/drm2/dist/drm/i915/i915_drv.h | 9 +-
sys/external/bsd/drm2/drm/files.drmkms | 6 +-
sys/external/bsd/drm2/i915drm/files.i915drmkms | 6 +-
sys/external/bsd/drm2/i915drm/intelfb.c | 8 +-
sys/external/bsd/drm2/include/asm/processor.h | 4 +-
sys/external/bsd/drm2/include/linux/delay.h | 4 +-
sys/external/bsd/drm2/nouveau/files.nouveau | 6 +-
sys/external/bsd/drm2/radeon/files.radeon | 6 +-
sys/external/bsd/ipf/netinet/ip_nat.c | 6 +-
sys/fs/ntfs/ntfs_subr.c | 7 +-
sys/kern/exec_elf.c | 12 +-
sys/kern/files.kern | 3 +-
sys/kern/kern_drvctl.c | 64 +-
sys/kern/kern_exec.c | 12 +-
sys/kern/kern_ksyms.c | 107 +-
sys/kern/kern_module.c | 6 +-
sys/kern/kern_tc.c | 9 +-
sys/kern/subr_autoconf.c | 185 +-
sys/kern/subr_disk.c | 27 +-
sys/kern/subr_disk_mbr.c | 101 +-
sys/kern/subr_hash.c | 14 +-
sys/kern/subr_kobj.c | 20 +-
sys/kern/subr_psref.c | 12 +-
sys/kern/vfs_lookup.c | 29 +-
sys/kern/vfs_vnops.c | 29 +-
sys/lib/libkern/Makefile.compiler-rt | 8 +-
sys/lib/libkern/Makefile.libkern | 5 +-
sys/lib/libkern/disklabel_swap.c | 135 +
sys/lib/libkern/dkcksum.c | 67 +
sys/lib/libkern/libkern.h | 7 +-
sys/lib/libsa/Makefile | 6 +-
sys/lib/libsa/bootcfg.c | 5 +-
sys/lib/libsa/bootcfg.h | 3 +-
sys/lib/libsa/disklabel.c | 9 +-
sys/lib/libsa/dkcksum.c | 52 -
sys/lib/libsa/ffs_bswap.c | 177 +
sys/lib/libsa/ffsv1.c | 6 +-
sys/lib/libsa/ffsv2.c | 6 +-
sys/lib/libsa/lfsv1.c | 4 +-
sys/lib/libsa/lfsv2.c | 4 +-
sys/lib/libsa/loadfile.c | 5 +-
sys/lib/libsa/loadfile.h | 3 +-
sys/lib/libsa/stand.h | 3 +-
sys/lib/libsa/ufs.c | 125 +-
sys/lib/libsa/ufs.h | 10 +-
sys/lib/libunwind/Registers.hpp | 71 +-
sys/lib/libunwind/unwind_registers.S | 24 +-
sys/modules/Makefile | 3 +-
sys/modules/drmkms/Makefile | 5 +-
sys/modules/i915drmkms/Makefile | 5 +-
sys/modules/if_lagg/Makefile | 20 +
sys/modules/if_lagg/lagg.ioconf | 7 +
sys/modules/radeondrm/Makefile | 5 +-
sys/net/Makefile | 4 +-
sys/net/bpf.c | 87 +-
sys/net/bpf.h | 41 +-
sys/net/bpfdesc.h | 11 +-
sys/net/dl_print.c | 64 +-
sys/net/files.net | 3 +-
sys/net/if.c | 14 +-
sys/net/if.h | 3 +-
sys/net/if_arcsubr.c | 9 +-
sys/net/if_bridge.c | 18 +-
sys/net/if_ethersubr.c | 23 +-
sys/net/if_faith.c | 11 +-
sys/net/if_gif.c | 9 +-
sys/net/if_l2tp.c | 9 +-
sys/net/if_loop.c | 11 +-
sys/net/if_mpls.c | 12 +-
sys/net/if_pppoe.c | 79 +-
sys/net/if_sppp.h | 3 +-
sys/net/if_spppsubr.c | 1697 +-
sys/net/if_spppvar.h | 23 +-
sys/net/if_srt.c | 13 +-
sys/net/if_stf.c | 15 +-
sys/net/if_tap.c | 14 +-
sys/net/if_vlan.c | 26 +-
sys/net/if_wg.c | 10 +-
sys/net/lagg/Makefile | 8 +
sys/net/lagg/files.lagg | 7 +
sys/net/lagg/if_lagg.c | 2451 ++
sys/net/lagg/if_lagg.h | 193 +
sys/net/lagg/if_lagg_lacp.c | 2621 ++
sys/net/lagg/if_lagg_lacp.h | 169 +
sys/net/lagg/if_laggproto.c | 646 +
sys/net/lagg/if_laggproto.h | 316 +
sys/net/lagg/if_laggvar.h | 39 +
sys/netinet/ip_carp.c | 15 +-
sys/netinet6/in6_ifattach.c | 5 +-
sys/nfs/nfs.h | 3 +-
sys/nfs/nfs_export.c | 50 +-
sys/nfs/nfs_syscalls.c | 9 +-
sys/nfs/nfs_var.h | 4 +-
sys/nfs/nfs_vfsops.c | 7 +-
sys/nfs/nfsnode.h | 3 +-
sys/rump/include/opt/lagg.h | 3 +
sys/rump/include/rump/rump_namei.h | 5 +-
sys/rump/librump/rumpnet/net_stub.c | 9 +-
sys/rump/net/Makefile.rumpnetcomp | 6 +-
sys/rump/net/lib/liblagg/LAGG.ioconf | 7 +
sys/rump/net/lib/liblagg/Makefile | 22 +
sys/rump/net/lib/liblagg/lagg_component.c | 43 +
sys/rump/net/lib/libshmif/if_shmem.c | 20 +-
sys/rump/net/lib/libvirtif/if_virt.c | 17 +-
sys/stand/efiboot/Makefile.efiboot | 4 +-
sys/stand/efiboot/boot.c | 22 +-
sys/stand/efiboot/efiacpi.c | 15 +-
sys/stand/efiboot/efiacpi.h | 4 +-
sys/stand/efiboot/efiblock.c | 21 +-
sys/stand/efiboot/efifdt.c | 4 +-
sys/stand/efiboot/exec.c | 7 +-
sys/stand/efiboot/version | 5 +-
sys/sys/cdefs_elf.h | 12 +-
sys/sys/device.h | 4 +-
sys/sys/disklabel.h | 4 +-
sys/sys/namei.h | 8 +-
sys/sys/namei.src | 5 +-
sys/sys/param.h | 4 +-
sys/sys/power.h | 6 +-
sys/sys/systm.h | 5 +-
sys/uvm/files.uvm | 3 +-
sys/uvm/uvm_extern.h | 4 +-
sys/uvm/uvm_swap.c | 14 +-
436 files changed, 19253 insertions(+), 9752 deletions(-)
diffs (truncated from 46911 to 300 lines):
diff -r b5bad4d25a49 -r 79e08aa0bbda sys/arch/aarch64/aarch64/aarch32_syscall.c
--- a/sys/arch/aarch64/aarch64/aarch32_syscall.c Wed May 19 14:17:08 2021 +0000
+++ b/sys/arch/aarch64/aarch64/aarch32_syscall.c Thu Jun 17 04:46:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch32_syscall.c,v 1.3 2019/04/12 09:29:26 ryo Exp $ */
+/* $NetBSD: aarch32_syscall.c,v 1.3.18.1 2021/06/17 04:46:16 thorpej Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aarch32_syscall.c,v 1.3 2019/04/12 09:29:26 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aarch32_syscall.c,v 1.3.18.1 2021/06/17 04:46:16 thorpej Exp $");
#include <sys/param.h>
#include <sys/ktrace.h>
@@ -91,9 +91,24 @@ EMULNAME(syscall)(struct trapframe *tf)
code %= EMULNAMEU(SYS_NSYSENT);
callp = p->p_emul->e_sysent + code;
if (__predict_false(callp->sy_flags & SYCALL_INDIRECT)) {
- nargs_reg -= 1;
- regstart = 1; /* args start from r1 */
- code = tf->tf_reg[0] % EMULNAMEU(SYS_NSYSENT);
+ int off = 1;
+#ifdef NETBSD32_SYS_netbsd32____syscall /* XXX ugly: apply only for NETBSD32 */
+ /*
+ * For __syscall(2), 1st argument is quad_t, which is
+ * stored in r0 and r1.
+ */
+ if (code == NETBSD32_SYS_netbsd32____syscall)
+ off = 2;
+#endif
+ nargs_reg -= off;
+ regstart = off; /* args start from r1 or r2 */
+#ifdef __AARCH64EB__
+ if (off == 2)
+ code = tf->tf_reg[1];
+ else
+#endif
+ code = tf->tf_reg[0];
+ code %= EMULNAMEU(SYS_NSYSENT);
callp = p->p_emul->e_sysent + code;
/* don't allow nested syscall */
@@ -136,7 +151,8 @@ EMULNAME(syscall)(struct trapframe *tf)
do_trace = p->p_trace_enabled &&
((callp->sy_flags & SYCALL_INDIRECT) == 0);
if (__predict_false(do_trace ||
- KDTRACE_ENTRY(callp->sy_entry) || KDTRACE_ENTRY(callp->sy_return))) {
+ KDTRACE_ENTRY(callp->sy_entry) ||
+ KDTRACE_ENTRY(callp->sy_return))) {
/* build 64bit args for trace_enter()/trace_exit() */
int nargs = callp->sy_narg;
for (i = 0; i < nargs; i++)
diff -r b5bad4d25a49 -r 79e08aa0bbda sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c Wed May 19 14:17:08 2021 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c Thu Jun 17 04:46:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.60 2021/03/25 07:31:56 skrll Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.60.2.1 2021/06/17 04:46:16 thorpej Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.60 2021/03/25 07:31:56 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.60.2.1 2021/06/17 04:46:16 thorpej Exp $");
#include "opt_arm_debug.h"
#include "opt_cpuoptions.h"
@@ -391,12 +391,15 @@ initarm_common(vaddr_t kvm_base, vsize_t
* order.
*/
paddr_t segend = end;
- for (size_t j = 0; j < nbp; j++) {
+ for (size_t j = 0; j < nbp && start < end; j++) {
paddr_t bp_start = bp[j].bp_start;
paddr_t bp_end = bp_start + bp[j].bp_pages;
+ VPRINTF(" bp %2zu start %08lx end %08lx\n",
+ j, ptoa(bp_start), ptoa(bp_end));
+
KASSERT(bp_start < bp_end);
- if (start > bp_end || segend < bp_start)
+ if (start >= bp_end || segend < bp_start)
continue;
if (start < bp_start)
@@ -414,6 +417,7 @@ initarm_common(vaddr_t kvm_base, vsize_t
uvm_page_physload(start, segend, start, segend,
vm_freelist);
+
memsize_total += ptoa(segend - start);
start = segend;
segend = end;
diff -r b5bad4d25a49 -r 79e08aa0bbda sys/arch/aarch64/aarch64/db_interface.c
--- a/sys/arch/aarch64/aarch64/db_interface.c Wed May 19 14:17:08 2021 +0000
+++ b/sys/arch/aarch64/aarch64/db_interface.c Thu Jun 17 04:46:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.12.4.1 2021/05/13 00:47:20 thorpej Exp $ */
+/* $NetBSD: db_interface.c,v 1.12.4.2 2021/06/17 04:46:16 thorpej Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.12.4.1 2021/05/13 00:47:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.12.4.2 2021/06/17 04:46:16 thorpej Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -360,15 +360,13 @@ db_pte_print(pt_entry_t pte, int level,
pr(", PA=%lx", l3pte_pa(pte));
- pr(", %s", (pte & LX_BLKPAG_UXN) ?
- "UXN" : "UX ");
- pr(", %s", (pte & LX_BLKPAG_PXN) ?
- "PXN" : "PX ");
+ pr(", %s", (pte & LX_BLKPAG_UXN) ? "UXN" : "UX");
+ pr(", %s", (pte & LX_BLKPAG_PXN) ? "PXN" : "PX");
if (pte & LX_BLKPAG_CONTIG)
pr(", CONTIG");
- pr(", %s", (pte & LX_BLKPAG_NG) ? "NG" : "global");
+ pr(", %s", (pte & LX_BLKPAG_NG) ? "nG" : "G");
pr(", %s", (pte & LX_BLKPAG_AF) ?
"accessible" :
"**fault** ");
@@ -403,24 +401,24 @@ db_pte_print(pt_entry_t pte, int level,
pr(", WT");
break;
case LX_BLKPAG_ATTR_DEVICE_MEM:
- pr(", DEVICE");
+ pr(", DEV");
break;
case LX_BLKPAG_ATTR_DEVICE_MEM_SO:
- pr(", DEVICE(SO)");
+ pr(", DEV(SO)");
break;
default:
pr(", ATTR(%lu)", __SHIFTOUT(pte, LX_BLKPAG_ATTR_INDX));
break;
}
- if (pte & LX_BLKPAG_OS_BOOT)
- pr(", boot");
- if (pte & LX_BLKPAG_OS_READ)
- pr(", pmap_read");
- if (pte & LX_BLKPAG_OS_WRITE)
- pr(", pmap_write");
- if (pte & LX_BLKPAG_OS_WIRED)
- pr(", wired");
+ if (pte & LX_BLKPAG_OS_0)
+ pr(", " PMAP_PTE_OS0);
+ if (pte & LX_BLKPAG_OS_1)
+ pr(", " PMAP_PTE_OS1);
+ if (pte & LX_BLKPAG_OS_2)
+ pr(", " PMAP_PTE_OS2);
+ if (pte & LX_BLKPAG_OS_3)
+ pr(", " PMAP_PTE_OS3);
} else {
pr(" **ILLEGAL TYPE**");
}
@@ -528,7 +526,6 @@ dump_ln_table(bool countmode, pd_entry_t
vaddr_t va, void (*pr)(const char *, ...) __printflike(1, 2))
{
struct vm_page *pg;
- struct vm_page_md *md;
pd_entry_t pde;
paddr_t pa;
int i, n;
@@ -537,13 +534,11 @@ dump_ln_table(bool countmode, pd_entry_t
pa = AARCH64_KVA_TO_PA((vaddr_t)pdp);
pg = PHYS_TO_VM_PAGE(pa);
- md = VM_PAGE_TO_MD(pg);
if (pg == NULL) {
pr("%sL%d: pa=%lx pg=NULL\n", spc, level, pa);
} else {
- pr("%sL%d: pa=%lx pg=%p, wire_count=%d, mdpg_ptep_parent=%p\n",
- spc, level, pa, pg, pg->wire_count, md->mdpg_ptep_parent);
+ pr("%sL%d: pa=%lx pg=%p", spc, level, pa, pg);
}
for (i = n = 0; i < Ln_ENTRIES; i++) {
diff -r b5bad4d25a49 -r 79e08aa0bbda sys/arch/aarch64/aarch64/netbsd32_machdep.c
--- a/sys/arch/aarch64/aarch64/netbsd32_machdep.c Wed May 19 14:17:08 2021 +0000
+++ b/sys/arch/aarch64/aarch64/netbsd32_machdep.c Thu Jun 17 04:46:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep.c,v 1.17 2020/12/11 18:03:33 skrll Exp $ */
+/* $NetBSD: netbsd32_machdep.c,v 1.17.4.1 2021/06/17 04:46:16 thorpej Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.17 2020/12/11 18:03:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.17.4.1 2021/06/17 04:46:16 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -158,7 +158,7 @@ netbsd32_process_read_fpregs(struct lwp
{
struct proc * const p = l->l_proc;
struct pcb * const pcb = lwp_getpcb(l);
- int i;
+ int i, j;
if ((p->p_flag & PK_32) == 0)
return EINVAL;
@@ -180,11 +180,17 @@ netbsd32_process_read_fpregs(struct lwp
fpregs->fpr_vfp.vfp_fpinst = 0;
fpregs->fpr_vfp.vfp_fpinst2 = 0;
- for (i = 0; i < 32; i++) {
+ for (i = j = 0; i < 16; i++) {
#ifdef __AARCH64EB__
- fpregs->fpr_vfp.vfp_regs[i] = pcb->pcb_fpregs.fp_reg[i].u64[1];
+ fpregs->fpr_vfp.vfp_regs[j++] =
+ pcb->pcb_fpregs.fp_reg[i].u64[1];
+ fpregs->fpr_vfp.vfp_regs[j++] =
+ pcb->pcb_fpregs.fp_reg[i].u64[0];
#else
- fpregs->fpr_vfp.vfp_regs[i] = pcb->pcb_fpregs.fp_reg[i].u64[0];
+ fpregs->fpr_vfp.vfp_regs[j++] =
+ pcb->pcb_fpregs.fp_reg[i].u64[0];
+ fpregs->fpr_vfp.vfp_regs[j++] =
+ pcb->pcb_fpregs.fp_reg[i].u64[1];
#endif
}
@@ -226,7 +232,7 @@ netbsd32_process_write_fpregs(struct lwp
{
struct proc * const p = l->l_proc;
struct pcb * const pcb = lwp_getpcb(l);
- int i;
+ int i, j;
if ((p->p_flag & PK_32) == 0)
return EINVAL;
@@ -237,17 +243,18 @@ netbsd32_process_write_fpregs(struct lwp
pcb->pcb_fpregs.fpsr = fpregs->fpr_vfp.vfp_fpscr & FPSR_BITS;
pcb->pcb_fpregs.fpcr = fpregs->fpr_vfp.vfp_fpscr & FPCR_BITS;
- CTASSERT(__arraycount(fpregs->fpr_vfp.vfp_regs) ==
- __arraycount(pcb->pcb_fpregs.fp_reg) + 1);
- for (i = 0; i < __arraycount(pcb->pcb_fpregs.fp_reg); i++) {
+ for (i = j = 0; i < 16; i++) {
#ifdef __AARCH64EB__
- pcb->pcb_fpregs.fp_reg[i].u64[0] = 0;
pcb->pcb_fpregs.fp_reg[i].u64[1] =
+ fpregs->fpr_vfp.vfp_regs[j++];
+ pcb->pcb_fpregs.fp_reg[i].u64[0] =
+ fpregs->fpr_vfp.vfp_regs[j++];
#else
- pcb->pcb_fpregs.fp_reg[i].u64[1] = 0;
pcb->pcb_fpregs.fp_reg[i].u64[0] =
+ fpregs->fpr_vfp.vfp_regs[j++];
+ pcb->pcb_fpregs.fp_reg[i].u64[1] =
+ fpregs->fpr_vfp.vfp_regs[j++];
#endif
- fpregs->fpr_vfp.vfp_regs[i];
}
return 0;
@@ -458,18 +465,21 @@ cpu_getmcontext32(struct lwp *l, mcontex
/* fpu context */
if (fpu_used_p(l)) {
const struct pcb * const pcb = lwp_getpcb(l);
- int i;
+ int i, j;
fpu_save(l);
- CTASSERT(__arraycount(mcp->__vfpregs.__vfp_fstmx) ==
- __arraycount(pcb->pcb_fpregs.fp_reg));
- for (i = 0; i < __arraycount(pcb->pcb_fpregs.fp_reg); i++) {
- mcp->__vfpregs.__vfp_fstmx[i] =
+ for (i = j = 0; i < 16; i++) {
#ifdef __AARCH64EB__
+ mcp->__vfpregs.__vfp_fstmx[j++] =
pcb->pcb_fpregs.fp_reg[i].u64[1];
+ mcp->__vfpregs.__vfp_fstmx[j++] =
+ pcb->pcb_fpregs.fp_reg[i].u64[0];
#else
+ mcp->__vfpregs.__vfp_fstmx[j++] =
pcb->pcb_fpregs.fp_reg[i].u64[0];
+ mcp->__vfpregs.__vfp_fstmx[j++] =
Home |
Main Index |
Thread Index |
Old Index