Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 19:58:44 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r304632 - in projects/powernv: amd64/amd64 amd64/cloudabi64 amd64/conf amd64/include amd64/include/pc amd64/linux amd64/linux32 amd64/vmm amd64/vmm/io arm/allwinner arm/allwinner/a10 ar...
Message-ID:  <201608221958.u7MJwiXB090875@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Mon Aug 22 19:58:42 2016
New Revision: 304632
URL: https://svnweb.freebsd.org/changeset/base/304632

Log:
  IFC @ r304631

Added:
  projects/powernv/arm/allwinner/a10/a10_padconf.c
     - copied unchanged from r304631, head/sys/arm/allwinner/a10/a10_padconf.c
  projects/powernv/arm/allwinner/a10/files.a10
     - copied unchanged from r304631, head/sys/arm/allwinner/a10/files.a10
  projects/powernv/arm/allwinner/a64/
     - copied from r304631, head/sys/arm/allwinner/a64/
  projects/powernv/arm/allwinner/aw_machdep.c
     - copied unchanged from r304631, head/sys/arm/allwinner/aw_machdep.c
  projects/powernv/arm/allwinner/aw_machdep.h
     - copied unchanged from r304631, head/sys/arm/allwinner/aw_machdep.h
  projects/powernv/arm/allwinner/files.allwinner_up
     - copied unchanged from r304631, head/sys/arm/allwinner/files.allwinner_up
  projects/powernv/arm/allwinner/std.allwinner_up
     - copied unchanged from r304631, head/sys/arm/allwinner/std.allwinner_up
  projects/powernv/arm/arm/gic.h
     - copied unchanged from r304631, head/sys/arm/arm/gic.h
  projects/powernv/arm/arm/gic_fdt.c
     - copied unchanged from r304631, head/sys/arm/arm/gic_fdt.c
  projects/powernv/arm/broadcom/bcm2835/bcm2835_rng.c
     - copied unchanged from r304631, head/sys/arm/broadcom/bcm2835/bcm2835_rng.c
  projects/powernv/arm/conf/ALLWINNER_UP
     - copied unchanged from r304631, head/sys/arm/conf/ALLWINNER_UP
  projects/powernv/boot/fdt/dts/arm/pcduino3.dts
     - copied unchanged from r304631, head/sys/boot/fdt/dts/arm/pcduino3.dts
  projects/powernv/cddl/boot/zfs/skein_zfs.c
     - copied unchanged from r304631, head/sys/cddl/boot/zfs/skein_zfs.c
  projects/powernv/cddl/dev/dtrace/x86/instr_size.c
     - copied unchanged from r304631, head/sys/cddl/dev/dtrace/x86/instr_size.c
  projects/powernv/compat/cloudabi/cloudabi_vdso.c
     - copied unchanged from r304631, head/sys/compat/cloudabi/cloudabi_vdso.c
  projects/powernv/compat/cloudabi/cloudabi_vdso.lds
     - copied unchanged from r304631, head/sys/compat/cloudabi/cloudabi_vdso.lds
  projects/powernv/compat/cloudabi32/
     - copied from r304631, head/sys/compat/cloudabi32/
  projects/powernv/contrib/cloudabi/cloudabi32_types.h
     - copied unchanged from r304631, head/sys/contrib/cloudabi/cloudabi32_types.h
  projects/powernv/contrib/cloudabi/cloudabi_types.h
     - copied unchanged from r304631, head/sys/contrib/cloudabi/cloudabi_types.h
  projects/powernv/contrib/cloudabi/cloudabi_vdso_aarch64.S
     - copied unchanged from r304631, head/sys/contrib/cloudabi/cloudabi_vdso_aarch64.S
  projects/powernv/contrib/cloudabi/cloudabi_vdso_i686.S
     - copied unchanged from r304631, head/sys/contrib/cloudabi/cloudabi_vdso_i686.S
  projects/powernv/contrib/cloudabi/cloudabi_vdso_x86_64.S
     - copied unchanged from r304631, head/sys/contrib/cloudabi/cloudabi_vdso_x86_64.S
  projects/powernv/contrib/cloudabi/syscalls32.master
     - copied unchanged from r304631, head/sys/contrib/cloudabi/syscalls32.master
  projects/powernv/contrib/cloudabi/syscalls64.master
     - copied unchanged from r304631, head/sys/contrib/cloudabi/syscalls64.master
  projects/powernv/contrib/dev/iwm/iwm-3160-16.fw.uu
     - copied unchanged from r304631, head/sys/contrib/dev/iwm/iwm-3160-16.fw.uu
  projects/powernv/contrib/dev/iwm/iwm-7260-16.fw.uu
     - copied unchanged from r304631, head/sys/contrib/dev/iwm/iwm-7260-16.fw.uu
  projects/powernv/contrib/dev/iwm/iwm-7265-16.fw.uu
     - copied unchanged from r304631, head/sys/contrib/dev/iwm/iwm-7265-16.fw.uu
  projects/powernv/contrib/dev/iwm/iwm-8000C-16.fw.uu
     - copied unchanged from r304631, head/sys/contrib/dev/iwm/iwm-8000C-16.fw.uu
  projects/powernv/dev/bhnd/nvram/bhnd_nvram.c
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram.c
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_cfe.c
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram_cfe.c
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_common.c
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram_common.c
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_common.h
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram_common.h
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_parser.c
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram_parser.c
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_parser.h
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram_parser.h
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_parserreg.h
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram_parserreg.h
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_parservar.h
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvram_parservar.h
  projects/powernv/dev/bhnd/nvram/bhnd_nvramvar.h
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_nvramvar.h
  projects/powernv/dev/bhnd/nvram/bhnd_sprom_parser.c
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_sprom_parser.c
  projects/powernv/dev/bhnd/nvram/bhnd_sprom_parser.h
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_sprom_parser.h
  projects/powernv/dev/bhnd/nvram/bhnd_sprom_parservar.h
     - copied unchanged from r304631, head/sys/dev/bhnd/nvram/bhnd_sprom_parservar.h
  projects/powernv/dev/cxgbe/t4_if.m
     - copied unchanged from r304631, head/sys/dev/cxgbe/t4_if.m
  projects/powernv/dev/cxgbe/t4_iov.c
     - copied unchanged from r304631, head/sys/dev/cxgbe/t4_iov.c
  projects/powernv/dev/hyperv/include/vmbus.h
     - copied unchanged from r304631, head/sys/dev/hyperv/include/vmbus.h
  projects/powernv/dev/hyperv/include/vmbus_xact.h
     - copied unchanged from r304631, head/sys/dev/hyperv/include/vmbus_xact.h
  projects/powernv/dev/hyperv/netvsc/if_hnreg.h
     - copied unchanged from r304631, head/sys/dev/hyperv/netvsc/if_hnreg.h
  projects/powernv/dev/hyperv/netvsc/if_hnvar.h
     - copied unchanged from r304631, head/sys/dev/hyperv/netvsc/if_hnvar.h
  projects/powernv/dev/hyperv/utilities/hv_utilreg.h
     - copied unchanged from r304631, head/sys/dev/hyperv/utilities/hv_utilreg.h
  projects/powernv/dev/hyperv/vmbus/vmbus_br.c
     - copied unchanged from r304631, head/sys/dev/hyperv/vmbus/vmbus_br.c
  projects/powernv/dev/hyperv/vmbus/vmbus_brvar.h
     - copied unchanged from r304631, head/sys/dev/hyperv/vmbus/vmbus_brvar.h
  projects/powernv/dev/hyperv/vmbus/vmbus_chan.c
     - copied unchanged from r304631, head/sys/dev/hyperv/vmbus/vmbus_chan.c
  projects/powernv/dev/hyperv/vmbus/vmbus_chanvar.h
     - copied unchanged from r304631, head/sys/dev/hyperv/vmbus/vmbus_chanvar.h
  projects/powernv/dev/hyperv/vmbus/vmbus_if.m
     - copied unchanged from r304631, head/sys/dev/hyperv/vmbus/vmbus_if.m
  projects/powernv/dev/hyperv/vmbus/vmbus_xact.c
     - copied unchanged from r304631, head/sys/dev/hyperv/vmbus/vmbus_xact.c
  projects/powernv/dev/ixl/ixl_pf_iov.c
     - copied unchanged from r304631, head/sys/dev/ixl/ixl_pf_iov.c
  projects/powernv/dev/ixl/ixl_pf_iov.h
     - copied unchanged from r304631, head/sys/dev/ixl/ixl_pf_iov.h
  projects/powernv/dev/ixl/ixl_pf_main.c
     - copied unchanged from r304631, head/sys/dev/ixl/ixl_pf_main.c
  projects/powernv/dev/ixl/ixl_pf_qmgr.c
     - copied unchanged from r304631, head/sys/dev/ixl/ixl_pf_qmgr.c
  projects/powernv/dev/ixl/ixl_pf_qmgr.h
     - copied unchanged from r304631, head/sys/dev/ixl/ixl_pf_qmgr.h
  projects/powernv/dev/nvme/nvme_sim.c
     - copied unchanged from r304631, head/sys/dev/nvme/nvme_sim.c
  projects/powernv/dev/nvram2env/nvram2env.h
     - copied unchanged from r304631, head/sys/dev/nvram2env/nvram2env.h
  projects/powernv/dev/nvram2env/nvram2env_mips.c
     - copied unchanged from r304631, head/sys/dev/nvram2env/nvram2env_mips.c
  projects/powernv/dev/qlxgbe/ql_minidump.h
     - copied unchanged from r304631, head/sys/dev/qlxgbe/ql_minidump.h
  projects/powernv/dev/uart/uart_cpu_acpi.h
     - copied unchanged from r304631, head/sys/dev/uart/uart_cpu_acpi.h
  projects/powernv/dev/usb/controller/generic_ehci.c
     - copied unchanged from r304631, head/sys/dev/usb/controller/generic_ehci.c
  projects/powernv/i386/cloudabi32/
     - copied from r304631, head/sys/i386/cloudabi32/
  projects/powernv/kern/subr_gtaskqueue.c
     - copied unchanged from r304631, head/sys/kern/subr_gtaskqueue.c
  projects/powernv/mips/conf/std.AR933X
     - copied unchanged from r304631, head/sys/mips/conf/std.AR933X
  projects/powernv/mips/conf/std.AR934X
     - copied unchanged from r304631, head/sys/mips/conf/std.AR934X
  projects/powernv/modules/ipfw_nat64/
     - copied from r304631, head/sys/modules/ipfw_nat64/
  projects/powernv/modules/ipfw_nptv6/
     - copied from r304631, head/sys/modules/ipfw_nptv6/
  projects/powernv/modules/iwmfw/iwm8000Cfw/
     - copied from r304631, head/sys/modules/iwmfw/iwm8000Cfw/
  projects/powernv/modules/netgraph/checksum/
     - copied from r304631, head/sys/modules/netgraph/checksum/
  projects/powernv/netgraph/ng_checksum.c
     - copied unchanged from r304631, head/sys/netgraph/ng_checksum.c
  projects/powernv/netgraph/ng_checksum.h
     - copied unchanged from r304631, head/sys/netgraph/ng_checksum.h
  projects/powernv/netinet/in_jail.c
     - copied unchanged from r304631, head/sys/netinet/in_jail.c
  projects/powernv/netinet/in_prot.c
     - copied unchanged from r304631, head/sys/netinet/in_prot.c
  projects/powernv/netinet6/in6_jail.c
     - copied unchanged from r304631, head/sys/netinet6/in6_jail.c
  projects/powernv/netinet6/ip_fw_nat64.h
     - copied unchanged from r304631, head/sys/netinet6/ip_fw_nat64.h
  projects/powernv/netinet6/ip_fw_nptv6.h
     - copied unchanged from r304631, head/sys/netinet6/ip_fw_nptv6.h
  projects/powernv/netpfil/ipfw/ip_fw_bpf.c
     - copied unchanged from r304631, head/sys/netpfil/ipfw/ip_fw_bpf.c
  projects/powernv/netpfil/ipfw/nat64/
     - copied from r304631, head/sys/netpfil/ipfw/nat64/
  projects/powernv/netpfil/ipfw/nptv6/
     - copied from r304631, head/sys/netpfil/ipfw/nptv6/
  projects/powernv/riscv/include/sbi.h
     - copied unchanged from r304631, head/sys/riscv/include/sbi.h
  projects/powernv/riscv/riscv/riscv_console.c
     - copied unchanged from r304631, head/sys/riscv/riscv/riscv_console.c
  projects/powernv/riscv/riscv/sbi.S
     - copied unchanged from r304631, head/sys/riscv/riscv/sbi.S
  projects/powernv/sys/gtaskqueue.h
     - copied unchanged from r304631, head/sys/sys/gtaskqueue.h
  projects/powernv/x86/x86/mp_watchdog.c
     - copied unchanged from r304631, head/sys/x86/x86/mp_watchdog.c
Deleted:
  projects/powernv/amd64/amd64/mp_watchdog.c
  projects/powernv/arm/allwinner/a10_padconf.c
  projects/powernv/arm/allwinner/allwinner_machdep.c
  projects/powernv/arm/allwinner/allwinner_machdep.h
  projects/powernv/arm/allwinner/files.a10
  projects/powernv/arm/allwinner/std.a10
  projects/powernv/arm/conf/A10
  projects/powernv/boot/fdt/dts/arm/pcduino3b.dts
  projects/powernv/cddl/dev/dtrace/amd64/instr_size.c
  projects/powernv/cddl/dev/dtrace/i386/instr_size.c
  projects/powernv/contrib/cloudabi/syscalls.master
  projects/powernv/dev/bhnd/nvram/bhnd_sprom_subr.c
  projects/powernv/dev/bhnd/nvram/bhnd_spromreg.h
  projects/powernv/dev/bhnd/nvram/nvram_subr.c
  projects/powernv/dev/bhnd/nvram/nvramvar.h
  projects/powernv/dev/hyperv/vmbus/hv_channel.c
  projects/powernv/dev/hyperv/vmbus/hv_channel_mgmt.c
  projects/powernv/dev/hyperv/vmbus/hv_connection.c
  projects/powernv/dev/hyperv/vmbus/hv_ring_buffer.c
  projects/powernv/dev/hyperv/vmbus/hv_vmbus_priv.h
  projects/powernv/dev/ie/
  projects/powernv/dev/mcd/
  projects/powernv/dev/mlx5/mlx5_en/tcp_tlro.c
  projects/powernv/dev/mlx5/mlx5_en/tcp_tlro.h
  projects/powernv/dev/scd/
  projects/powernv/dev/si/
  projects/powernv/dev/wds/
  projects/powernv/dev/wl/
  projects/powernv/i386/i386/mp_watchdog.c
  projects/powernv/i386/isa/spic.c
  projects/powernv/i386/isa/spicreg.h
  projects/powernv/mips/conf/AR933X_BASE
  projects/powernv/mips/conf/AR934X_BASE
  projects/powernv/modules/ie/
  projects/powernv/modules/mcd/
  projects/powernv/modules/scd/
  projects/powernv/modules/si/
  projects/powernv/modules/wds/
  projects/powernv/modules/wl/
  projects/powernv/ofed/drivers/infiniband/ulp/sdp/Kconfig
  projects/powernv/ofed/drivers/infiniband/ulp/sdp/Makefile
  projects/powernv/riscv/htif/
Modified:
  projects/powernv/amd64/amd64/initcpu.c
  projects/powernv/amd64/amd64/machdep.c
  projects/powernv/amd64/amd64/mem.c
  projects/powernv/amd64/amd64/pmap.c
  projects/powernv/amd64/amd64/support.S
  projects/powernv/amd64/amd64/trap.c
  projects/powernv/amd64/cloudabi64/cloudabi64_sysvec.c
  projects/powernv/amd64/conf/NOTES
  projects/powernv/amd64/include/intr_machdep.h
  projects/powernv/amd64/include/pc/bios.h
  projects/powernv/amd64/linux/Makefile
  projects/powernv/amd64/linux32/Makefile
  projects/powernv/amd64/vmm/io/vhpet.c
  projects/powernv/amd64/vmm/io/vioapic.c
  projects/powernv/amd64/vmm/vmm.c
  projects/powernv/arm/allwinner/a10_ehci.c
  projects/powernv/arm/allwinner/a10_gpio.c
  projects/powernv/arm/allwinner/a10_mmc.c
  projects/powernv/arm/allwinner/a20/a20_padconf.c
  projects/powernv/arm/allwinner/aw_ccu.c
  projects/powernv/arm/allwinner/aw_if_dwc.c
  projects/powernv/arm/allwinner/aw_mp.c
  projects/powernv/arm/allwinner/aw_nmi.c
  projects/powernv/arm/allwinner/aw_rsb.c
  projects/powernv/arm/allwinner/aw_rtc.c
  projects/powernv/arm/allwinner/aw_sid.c
  projects/powernv/arm/allwinner/aw_sid.h
  projects/powernv/arm/allwinner/aw_usbphy.c
  projects/powernv/arm/allwinner/axp209.c
  projects/powernv/arm/allwinner/clk/aw_ahbclk.c
  projects/powernv/arm/allwinner/clk/aw_pll.c
  projects/powernv/arm/allwinner/files.allwinner
  projects/powernv/arm/allwinner/if_awg.c
  projects/powernv/arm/allwinner/if_awgreg.h
  projects/powernv/arm/allwinner/if_emac.c
  projects/powernv/arm/allwinner/timer.c
  projects/powernv/arm/altera/socfpga/files.socfpga
  projects/powernv/arm/arm/elf_trampoline.c
  projects/powernv/arm/arm/generic_timer.c
  projects/powernv/arm/arm/gic.c
  projects/powernv/arm/arm/machdep.c
  projects/powernv/arm/arm/nexus.c
  projects/powernv/arm/broadcom/bcm2835/bcm2835_vcio.c
  projects/powernv/arm/broadcom/bcm2835/files.bcm283x
  projects/powernv/arm/conf/BEAGLEBONE
  projects/powernv/arm/include/elf.h
  projects/powernv/arm/include/md_var.h
  projects/powernv/arm/include/vdso.h
  projects/powernv/arm/nvidia/tegra_lic.c
  projects/powernv/arm/nvidia/tegra_pcie.c
  projects/powernv/arm/ti/am335x/am335x_pwmss.c
  projects/powernv/arm/ti/omap4/omap4_wugen.c
  projects/powernv/arm/xscale/ixp425/avila_ata.c
  projects/powernv/arm/xscale/pxa/pxa_smi.c
  projects/powernv/arm/xscale/pxa/pxa_space.c
  projects/powernv/arm64/arm64/autoconf.c
  projects/powernv/arm64/arm64/gic_v3.c
  projects/powernv/arm64/arm64/gic_v3_fdt.c
  projects/powernv/arm64/arm64/gic_v3_var.h
  projects/powernv/arm64/arm64/gicv3_its.c
  projects/powernv/arm64/arm64/identcpu.c
  projects/powernv/arm64/arm64/machdep.c
  projects/powernv/arm64/arm64/mem.c
  projects/powernv/arm64/arm64/mp_machdep.c
  projects/powernv/arm64/arm64/nexus.c
  projects/powernv/arm64/arm64/pmap.c
  projects/powernv/arm64/arm64/trap.c
  projects/powernv/arm64/arm64/vm_machdep.c
  projects/powernv/arm64/cavium/thunder_pcie_pem_fdt.c
  projects/powernv/arm64/cloudabi64/cloudabi64_sysvec.c
  projects/powernv/arm64/conf/GENERIC
  projects/powernv/arm64/include/armreg.h
  projects/powernv/arm64/include/intr.h
  projects/powernv/arm64/include/machdep.h
  projects/powernv/arm64/include/md_var.h
  projects/powernv/arm64/include/memdev.h
  projects/powernv/arm64/include/pmap.h
  projects/powernv/arm64/include/vdso.h
  projects/powernv/boot/common/bcache.c
  projects/powernv/boot/common/boot.c
  projects/powernv/boot/common/bootstrap.h
  projects/powernv/boot/common/commands.c
  projects/powernv/boot/common/interp.c
  projects/powernv/boot/common/interp_parse.c
  projects/powernv/boot/common/ls.c
  projects/powernv/boot/common/module.c
  projects/powernv/boot/efi/boot1/Makefile
  projects/powernv/boot/efi/boot1/boot1.c
  projects/powernv/boot/efi/boot1/ufs_module.c
  projects/powernv/boot/efi/boot1/zfs_module.c
  projects/powernv/boot/efi/libefi/Makefile
  projects/powernv/boot/efi/libefi/efi_console.c
  projects/powernv/boot/efi/loader/Makefile
  projects/powernv/boot/efi/loader/arch/amd64/framebuffer.c
  projects/powernv/boot/fdt/dts/arm/bananapi.dts
  projects/powernv/boot/fdt/dts/arm/bcm2835.dtsi
  projects/powernv/boot/fdt/dts/arm/bcm2836.dtsi
  projects/powernv/boot/fdt/dts/arm/zynq-7000.dtsi
  projects/powernv/boot/fdt/dts/riscv/qemu.dts
  projects/powernv/boot/fdt/dts/riscv/rocket.dts
  projects/powernv/boot/fdt/dts/riscv/spike.dts
  projects/powernv/boot/fdt/fdt_loader_cmd.c
  projects/powernv/boot/i386/boot2/Makefile
  projects/powernv/boot/i386/btx/btxldr/btxldr.S
  projects/powernv/boot/i386/gptboot/Makefile
  projects/powernv/boot/i386/gptboot/gptldr.S
  projects/powernv/boot/i386/gptzfsboot/Makefile
  projects/powernv/boot/i386/libi386/biosdisk.c
  projects/powernv/boot/i386/libi386/smbios.c
  projects/powernv/boot/i386/zfsboot/Makefile
  projects/powernv/boot/i386/zfsboot/zfsboot.c
  projects/powernv/boot/i386/zfsboot/zfsldr.S
  projects/powernv/boot/userboot/ficl/Makefile
  projects/powernv/boot/userboot/userboot/Makefile
  projects/powernv/boot/userboot/zfs/Makefile
  projects/powernv/boot/zfs/Makefile
  projects/powernv/boot/zfs/libzfs.h
  projects/powernv/boot/zfs/zfs.c
  projects/powernv/boot/zfs/zfsimpl.c
  projects/powernv/cam/ata/ata_all.c
  projects/powernv/cam/ata/ata_da.c
  projects/powernv/cam/ata/ata_xpt.c
  projects/powernv/cam/cam.c
  projects/powernv/cam/cam_ccb.h
  projects/powernv/cam/cam_xpt.c
  projects/powernv/cam/cam_xpt_internal.h
  projects/powernv/cam/nvme/nvme_xpt.c
  projects/powernv/cam/scsi/scsi_all.c
  projects/powernv/cam/scsi/scsi_da.c
  projects/powernv/cam/scsi/scsi_xpt.c
  projects/powernv/cddl/boot/zfs/fletcher.c
  projects/powernv/cddl/boot/zfs/sha256.c
  projects/powernv/cddl/boot/zfs/zfsimpl.h
  projects/powernv/cddl/boot/zfs/zfssubr.c
  projects/powernv/cddl/compat/opensolaris/sys/vnode.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dbuf.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_dir.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_vfsops.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_sa.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
  projects/powernv/cddl/contrib/opensolaris/uts/common/sys/dtrace.h
  projects/powernv/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h
  projects/powernv/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c
  projects/powernv/cddl/dev/dtrace/powerpc/dtrace_asm.S
  projects/powernv/cddl/dev/dtrace/powerpc/dtrace_isa.c
  projects/powernv/cddl/dev/dtrace/riscv/dtrace_asm.S
  projects/powernv/cddl/dev/dtrace/riscv/dtrace_subr.c
  projects/powernv/cddl/dev/fbt/riscv/fbt_isa.c
  projects/powernv/compat/cloudabi/cloudabi_clock.c
  projects/powernv/compat/cloudabi/cloudabi_fd.c
  projects/powernv/compat/cloudabi/cloudabi_thread.c
  projects/powernv/compat/cloudabi/cloudabi_util.h
  projects/powernv/compat/cloudabi64/Makefile
  projects/powernv/compat/cloudabi64/cloudabi64_fd.c
  projects/powernv/compat/cloudabi64/cloudabi64_module.c
  projects/powernv/compat/cloudabi64/cloudabi64_poll.c
  projects/powernv/compat/cloudabi64/cloudabi64_proto.h
  projects/powernv/compat/cloudabi64/cloudabi64_sock.c
  projects/powernv/compat/cloudabi64/cloudabi64_syscall.h
  projects/powernv/compat/cloudabi64/cloudabi64_syscalls.c
  projects/powernv/compat/cloudabi64/cloudabi64_sysent.c
  projects/powernv/compat/cloudabi64/cloudabi64_systrace_args.c
  projects/powernv/compat/cloudabi64/cloudabi64_util.h
  projects/powernv/compat/freebsd32/Makefile
  projects/powernv/compat/freebsd32/freebsd32_ipc.h
  projects/powernv/compat/freebsd32/freebsd32_proto.h
  projects/powernv/compat/freebsd32/freebsd32_syscall.h
  projects/powernv/compat/freebsd32/freebsd32_syscalls.c
  projects/powernv/compat/freebsd32/freebsd32_sysent.c
  projects/powernv/compat/freebsd32/freebsd32_systrace_args.c
  projects/powernv/compat/freebsd32/syscalls.master
  projects/powernv/compat/linprocfs/linprocfs.c
  projects/powernv/compat/linux/linux_file.c
  projects/powernv/compat/svr4/Makefile
  projects/powernv/compat/svr4/svr4_sockio.c
  projects/powernv/conf/NOTES
  projects/powernv/conf/config.mk
  projects/powernv/conf/files
  projects/powernv/conf/files.amd64
  projects/powernv/conf/files.arm
  projects/powernv/conf/files.arm64
  projects/powernv/conf/files.i386
  projects/powernv/conf/files.mips
  projects/powernv/conf/files.pc98
  projects/powernv/conf/files.powerpc
  projects/powernv/conf/files.riscv
  projects/powernv/conf/kern.mk
  projects/powernv/conf/kern.post.mk
  projects/powernv/conf/kern.pre.mk
  projects/powernv/conf/ldscript.amd64
  projects/powernv/conf/ldscript.arm
  projects/powernv/conf/ldscript.arm64
  projects/powernv/conf/ldscript.i386
  projects/powernv/conf/ldscript.mips
  projects/powernv/conf/ldscript.mips.cfe
  projects/powernv/conf/ldscript.mips.mips64
  projects/powernv/conf/ldscript.mips.octeon1
  projects/powernv/conf/ldscript.powerpc
  projects/powernv/conf/ldscript.powerpc64
  projects/powernv/conf/ldscript.riscv
  projects/powernv/conf/ldscript.sparc64
  projects/powernv/conf/options
  projects/powernv/conf/options.arm64
  projects/powernv/conf/options.powerpc
  projects/powernv/contrib/cloudabi/cloudabi64_types.h
  projects/powernv/contrib/cloudabi/cloudabi_types_common.h
  projects/powernv/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c
  projects/powernv/contrib/dev/iwm/iwm-3160-9.fw.uu
  projects/powernv/contrib/dev/iwm/iwm-7260-9.fw.uu
  projects/powernv/contrib/dev/iwm/iwm-7265-9.fw.uu
  projects/powernv/contrib/libnv/nvlist.c
  projects/powernv/contrib/libnv/nvpair.c
  projects/powernv/contrib/ncsw/user/env/xx.c
  projects/powernv/contrib/octeon-sdk/cvmx-twsi.c
  projects/powernv/ddb/db_ps.c
  projects/powernv/ddb/db_run.c
  projects/powernv/dev/acpica/acpi.c
  projects/powernv/dev/acpica/acpi_hpet.c
  projects/powernv/dev/acpica/acpi_hpet.h
  projects/powernv/dev/ahci/ahci.c
  projects/powernv/dev/ahci/ahci_pci.c
  projects/powernv/dev/aic7xxx/aic7xxx_osm.c
  projects/powernv/dev/alc/if_alc.c
  projects/powernv/dev/alc/if_alcreg.h
  projects/powernv/dev/alc/if_alcvar.h
  projects/powernv/dev/ath/ath_hal/ah.c
  projects/powernv/dev/ath/ath_hal/ah.h
  projects/powernv/dev/ath/ath_hal/ar5212/ar5212_attach.c
  projects/powernv/dev/ath/ath_hal/ar5212/ar5212_reset.c
  projects/powernv/dev/ath/ath_hal/ar5416/ar5416_attach.c
  projects/powernv/dev/ath/ath_rate/sample/sample.h
  projects/powernv/dev/ath/if_ath_beacon.c
  projects/powernv/dev/ath/if_ath_tdma.c
  projects/powernv/dev/ath/if_ath_tx.c
  projects/powernv/dev/ath/if_ath_tx_ht.c
  projects/powernv/dev/ath/if_athioctl.h
  projects/powernv/dev/auxio/auxio.c
  projects/powernv/dev/bhnd/bhnd.c
  projects/powernv/dev/bhnd/bhnd.h
  projects/powernv/dev/bhnd/bhnd_bus_if.m
  projects/powernv/dev/bhnd/bhnd_subr.c
  projects/powernv/dev/bhnd/bhnd_types.h
  projects/powernv/dev/bhnd/bhndb/bhndb.c
  projects/powernv/dev/bhnd/bhndb/bhndb_private.h
  projects/powernv/dev/bhnd/bhndb/bhndb_subr.c
  projects/powernv/dev/bhnd/bhndvar.h
  projects/powernv/dev/bhnd/cores/chipc/chipc.c
  projects/powernv/dev/bhnd/cores/chipc/chipc_spi.c
  projects/powernv/dev/bhnd/nvram/bhnd_nvram.h
  projects/powernv/dev/bhnd/nvram/bhnd_nvram_if.m
  projects/powernv/dev/bhnd/nvram/bhnd_sprom.c
  projects/powernv/dev/bhnd/nvram/bhnd_spromvar.h
  projects/powernv/dev/bhnd/tools/nvram_map_gen.awk
  projects/powernv/dev/bktr/bktr_os.c
  projects/powernv/dev/bktr/bktr_reg.h
  projects/powernv/dev/bwn/bwn_mac.c
  projects/powernv/dev/bxe/bxe.c
  projects/powernv/dev/cfe/cfe_api.c
  projects/powernv/dev/cfe/cfe_api.h
  projects/powernv/dev/cfe/cfe_api_int.h
  projects/powernv/dev/cfe/cfe_error.h
  projects/powernv/dev/cfe/cfe_ioctl.h
  projects/powernv/dev/cxgbe/adapter.h
  projects/powernv/dev/cxgbe/common/common.h
  projects/powernv/dev/cxgbe/common/t4_hw.c
  projects/powernv/dev/cxgbe/iw_cxgbe/cq.c
  projects/powernv/dev/cxgbe/iw_cxgbe/qp.c
  projects/powernv/dev/cxgbe/offload.h
  projects/powernv/dev/cxgbe/t4_main.c
  projects/powernv/dev/cxgbe/t4_netmap.c
  projects/powernv/dev/cxgbe/t4_sge.c
  projects/powernv/dev/cxgbe/tom/t4_cpl_io.c
  projects/powernv/dev/cxgbe/tom/t4_ddp.c
  projects/powernv/dev/cxgbe/tom/t4_listen.c
  projects/powernv/dev/cxgbe/tom/t4_tom.c
  projects/powernv/dev/cxgbe/tom/t4_tom.h
  projects/powernv/dev/drm2/drm_os_freebsd.h
  projects/powernv/dev/e1000/e1000_api.c
  projects/powernv/dev/e1000/e1000_hw.h
  projects/powernv/dev/e1000/e1000_ich8lan.c
  projects/powernv/dev/e1000/e1000_ich8lan.h
  projects/powernv/dev/e1000/e1000_osdep.h
  projects/powernv/dev/e1000/e1000_phy.c
  projects/powernv/dev/e1000/if_em.c
  projects/powernv/dev/e1000/if_em.h
  projects/powernv/dev/e1000/if_igb.c
  projects/powernv/dev/e1000/if_igb.h
  projects/powernv/dev/e1000/if_lem.c
  projects/powernv/dev/e1000/if_lem.h
  projects/powernv/dev/etherswitch/arswitch/arswitch.c
  projects/powernv/dev/etherswitch/arswitch/arswitch_7240.c
  projects/powernv/dev/etherswitch/arswitch/arswitch_8316.c
  projects/powernv/dev/etherswitch/arswitch/arswitch_8327.c
  projects/powernv/dev/etherswitch/arswitch/arswitch_8327.h
  projects/powernv/dev/etherswitch/arswitch/arswitch_phy.c
  projects/powernv/dev/etherswitch/arswitch/arswitch_reg.c
  projects/powernv/dev/etherswitch/arswitch/arswitchvar.h
  projects/powernv/dev/etherswitch/etherswitch.h
  projects/powernv/dev/etherswitch/ip17x/ip17x.c
  projects/powernv/dev/fb/vesa.c
  projects/powernv/dev/fdt/fdt_common.c
  projects/powernv/dev/fdt/fdt_common.h
  projects/powernv/dev/fdt/simplebus.c
  projects/powernv/dev/filemon/filemon.c
  projects/powernv/dev/flash/mx25l.c
  projects/powernv/dev/gpio/gpiobus.c
  projects/powernv/dev/gpio/gpiobusvar.h
  projects/powernv/dev/gpio/gpioled.c
  projects/powernv/dev/gpio/ofw_gpiobus.c
  projects/powernv/dev/hwpmc/hwpmc_core.c
  projects/powernv/dev/hyperv/include/hyperv.h
  projects/powernv/dev/hyperv/include/hyperv_busdma.h
  projects/powernv/dev/hyperv/netvsc/hv_net_vsc.c
  projects/powernv/dev/hyperv/netvsc/hv_net_vsc.h
  projects/powernv/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
  projects/powernv/dev/hyperv/netvsc/hv_rndis.h
  projects/powernv/dev/hyperv/netvsc/hv_rndis_filter.c
  projects/powernv/dev/hyperv/netvsc/hv_rndis_filter.h
  projects/powernv/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
  projects/powernv/dev/hyperv/storvsc/hv_vstorage.h
  projects/powernv/dev/hyperv/utilities/hv_heartbeat.c
  projects/powernv/dev/hyperv/utilities/hv_kvp.c
  projects/powernv/dev/hyperv/utilities/hv_shutdown.c
  projects/powernv/dev/hyperv/utilities/hv_timesync.c
  projects/powernv/dev/hyperv/utilities/hv_util.c
  projects/powernv/dev/hyperv/utilities/hv_util.h
  projects/powernv/dev/hyperv/vmbus/hyperv.c
  projects/powernv/dev/hyperv/vmbus/hyperv_reg.h
  projects/powernv/dev/hyperv/vmbus/hyperv_var.h
  projects/powernv/dev/hyperv/vmbus/vmbus.c
  projects/powernv/dev/hyperv/vmbus/vmbus_et.c
  projects/powernv/dev/hyperv/vmbus/vmbus_reg.h
  projects/powernv/dev/hyperv/vmbus/vmbus_var.h
  projects/powernv/dev/iicbus/ofw_iicbus.c
  projects/powernv/dev/ioat/ioat.c
  projects/powernv/dev/ioat/ioat.h
  projects/powernv/dev/ioat/ioat_hw.h
  projects/powernv/dev/ioat/ioat_internal.h
  projects/powernv/dev/iwm/if_iwm.c
  projects/powernv/dev/iwm/if_iwm_led.c
  projects/powernv/dev/iwm/if_iwm_led.h
  projects/powernv/dev/iwm/if_iwm_mac_ctxt.c
  projects/powernv/dev/iwm/if_iwm_pcie_trans.c
  projects/powernv/dev/iwm/if_iwm_phy_ctxt.c
  projects/powernv/dev/iwm/if_iwm_phy_db.c
  projects/powernv/dev/iwm/if_iwm_power.c
  projects/powernv/dev/iwm/if_iwm_scan.c
  projects/powernv/dev/iwm/if_iwm_scan.h
  projects/powernv/dev/iwm/if_iwm_time_event.c
  projects/powernv/dev/iwm/if_iwm_util.c
  projects/powernv/dev/iwm/if_iwm_util.h
  projects/powernv/dev/iwm/if_iwmreg.h
  projects/powernv/dev/iwm/if_iwmvar.h
  projects/powernv/dev/ixgb/if_ixgb.h
  projects/powernv/dev/ixgb/if_ixgb_osdep.h
  projects/powernv/dev/ixgbe/ixgbe.h
  projects/powernv/dev/ixgbe/ixgbe_phy.c
  projects/powernv/dev/ixl/i40e_adminq.c
  projects/powernv/dev/ixl/i40e_adminq.h
  projects/powernv/dev/ixl/i40e_adminq_cmd.h
  projects/powernv/dev/ixl/i40e_common.c
  projects/powernv/dev/ixl/i40e_devids.h
  projects/powernv/dev/ixl/i40e_nvm.c
  projects/powernv/dev/ixl/i40e_osdep.c
  projects/powernv/dev/ixl/i40e_osdep.h
  projects/powernv/dev/ixl/i40e_prototype.h
  projects/powernv/dev/ixl/i40e_register.h
  projects/powernv/dev/ixl/i40e_type.h
  projects/powernv/dev/ixl/i40e_virtchnl.h
  projects/powernv/dev/ixl/if_ixl.c
  projects/powernv/dev/ixl/if_ixlv.c
  projects/powernv/dev/ixl/ixl.h
  projects/powernv/dev/ixl/ixl_pf.h
  projects/powernv/dev/ixl/ixl_txrx.c
  projects/powernv/dev/ixl/ixlv.h
  projects/powernv/dev/ixl/ixlvc.c
  projects/powernv/dev/kbd/kbd.c
  projects/powernv/dev/mii/micphy.c
  projects/powernv/dev/mii/miidevs
  projects/powernv/dev/mlx5/mlx5_en/en.h
  projects/powernv/dev/mlx5/mlx5_en/mlx5_en_main.c
  projects/powernv/dev/mlx5/mlx5_en/mlx5_en_rx.c
  projects/powernv/dev/mpr/mpr.c
  projects/powernv/dev/mpr/mpr_sas.c
  projects/powernv/dev/mpr/mprvar.h
  projects/powernv/dev/mps/mps.c
  projects/powernv/dev/mps/mps_sas.c
  projects/powernv/dev/mps/mpsvar.h
  projects/powernv/dev/mpt/mpt_pci.c
  projects/powernv/dev/msk/if_msk.c
  projects/powernv/dev/nand/nand_generic.c
  projects/powernv/dev/nand/nandsim_chip.c
  projects/powernv/dev/netmap/netmap_mem2.c
  projects/powernv/dev/ntb/if_ntb/if_ntb.c
  projects/powernv/dev/ntb/ntb.c
  projects/powernv/dev/ntb/ntb.h
  projects/powernv/dev/ntb/ntb_hw/ntb_hw.c
  projects/powernv/dev/ntb/ntb_if.m
  projects/powernv/dev/ntb/ntb_transport.c
  projects/powernv/dev/ntb/ntb_transport.h
  projects/powernv/dev/nvd/nvd.c
  projects/powernv/dev/nvme/nvme.h
  projects/powernv/dev/nvme/nvme_ns_cmd.c
  projects/powernv/dev/nvme/nvme_private.h
  projects/powernv/dev/nvram2env/nvram2env.c
  projects/powernv/dev/ofw/ofw_bus_subr.c
  projects/powernv/dev/ofw/ofw_bus_subr.h
  projects/powernv/dev/ofw/ofw_fdt.c
  projects/powernv/dev/ofw/ofwbus.c
  projects/powernv/dev/ofw/ofwpci.c
  projects/powernv/dev/ofw/ofwpci.h
  projects/powernv/dev/ofw/openfirmio.c
  projects/powernv/dev/ofw/openpromio.c
  projects/powernv/dev/pci/pci.c
  projects/powernv/dev/pci/pci_host_generic.c
  projects/powernv/dev/pci/pci_if.m
  projects/powernv/dev/pci/pci_iov.c
  projects/powernv/dev/pci/pci_iov.h
  projects/powernv/dev/pci/pci_pci.c
  projects/powernv/dev/pci/pci_private.h
  projects/powernv/dev/pci/pci_user.c
  projects/powernv/dev/pci/pcivar.h
  projects/powernv/dev/pty/pty.c
  projects/powernv/dev/qlxgbe/ql_boot.c
  projects/powernv/dev/qlxgbe/ql_dbg.h
  projects/powernv/dev/qlxgbe/ql_def.h
  projects/powernv/dev/qlxgbe/ql_fw.c
  projects/powernv/dev/qlxgbe/ql_glbl.h
  projects/powernv/dev/qlxgbe/ql_hw.c
  projects/powernv/dev/qlxgbe/ql_hw.h
  projects/powernv/dev/qlxgbe/ql_ioctl.c
  projects/powernv/dev/qlxgbe/ql_ioctl.h
  projects/powernv/dev/qlxgbe/ql_isr.c
  projects/powernv/dev/qlxgbe/ql_minidump.c
  projects/powernv/dev/qlxgbe/ql_os.c
  projects/powernv/dev/qlxgbe/ql_reset.c
  projects/powernv/dev/qlxgbe/ql_ver.h
  projects/powernv/dev/sound/sbus/cs4231.c
  projects/powernv/dev/syscons/syscons.c
  projects/powernv/dev/syscons/syscons.h
  projects/powernv/dev/tpm/tpm.c
  projects/powernv/dev/tws/tws.c
  projects/powernv/dev/uart/uart_bus_acpi.c
  projects/powernv/dev/uart/uart_bus_fdt.c
  projects/powernv/dev/uart/uart_cpu_fdt.c
  projects/powernv/dev/uart/uart_cpu_fdt.h
  projects/powernv/dev/uart/uart_dev_pl011.c
  projects/powernv/dev/urtwn/if_urtwn.c
  projects/powernv/dev/urtwn/if_urtwnreg.h
  projects/powernv/dev/usb/controller/ehci_ixp4xx.c
  projects/powernv/dev/usb/controller/xhci.c
  projects/powernv/dev/usb/input/ukbd.c
  projects/powernv/dev/usb/net/if_axge.c
  projects/powernv/dev/usb/net/if_axgereg.h
  projects/powernv/dev/usb/serial/u3g.c
  projects/powernv/dev/usb/serial/uark.c
  projects/powernv/dev/usb/serial/ubsa.c
  projects/powernv/dev/usb/serial/uchcom.c
  projects/powernv/dev/usb/serial/ufoma.c
  projects/powernv/dev/usb/serial/umcs.c
  projects/powernv/dev/usb/serial/umct.c
  projects/powernv/dev/usb/serial/umodem.c
  projects/powernv/dev/usb/serial/umoscom.c
  projects/powernv/dev/usb/serial/uplcom.c
  projects/powernv/dev/usb/serial/uslcom.c
  projects/powernv/dev/usb/template/usb_template_mtp.c
  projects/powernv/dev/usb/usb_device.c
  projects/powernv/dev/usb/usbdevs
  projects/powernv/dev/virtio/network/if_vtnet.c
  projects/powernv/dev/virtio/network/if_vtnetvar.h
  projects/powernv/dev/vmware/vmxnet3/if_vmx.c
  projects/powernv/dev/vnic/mrml_bridge.c
  projects/powernv/dev/vnic/thunder_mdio_fdt.c
  projects/powernv/dev/vt/hw/fb/vt_fb.c
  projects/powernv/dev/vt/vt.h
  projects/powernv/dev/vt/vt_core.c
  projects/powernv/dev/xen/netfront/netfront.c
  projects/powernv/fs/autofs/autofs_vnops.c
  projects/powernv/fs/devfs/devfs_vnops.c
  projects/powernv/fs/ext2fs/ext2_dinode.h
  projects/powernv/fs/ext2fs/ext2fs.h
  projects/powernv/fs/fdescfs/fdesc_vnops.c
  projects/powernv/fs/msdosfs/msdosfs_vnops.c
  projects/powernv/fs/nfs/nfs_commonkrpc.c
  projects/powernv/fs/nfs/nfs_commonport.c
  projects/powernv/fs/nfs/nfsport.h
  projects/powernv/fs/nfs/nfsproto.h
  projects/powernv/fs/nfsclient/nfs_clbio.c
  projects/powernv/fs/nfsclient/nfs_clcomsubs.c
  projects/powernv/fs/nfsclient/nfs_clstate.c
  projects/powernv/fs/nfsclient/nfs_clsubs.c
  projects/powernv/fs/nfsclient/nfs_clvfsops.c
  projects/powernv/fs/nfsclient/nfs_clvnops.c
  projects/powernv/fs/nfsclient/nfsnode.h
  projects/powernv/fs/nfsserver/nfs_nfsdcache.c
  projects/powernv/fs/nfsserver/nfs_nfsdport.c
  projects/powernv/fs/nfsserver/nfs_nfsdsocket.c
  projects/powernv/fs/nfsserver/nfs_nfsdstate.c
  projects/powernv/fs/procfs/procfs_status.c
  projects/powernv/fs/pseudofs/pseudofs.c
  projects/powernv/fs/pseudofs/pseudofs.h
  projects/powernv/fs/pseudofs/pseudofs_fileno.c
  projects/powernv/fs/pseudofs/pseudofs_vncache.c
  projects/powernv/fs/smbfs/smbfs_node.c
  projects/powernv/fs/tmpfs/tmpfs_subr.c
  projects/powernv/fs/unionfs/union_vnops.c
  projects/powernv/geom/geom_disk.c
  projects/powernv/geom/geom_subr.c
  projects/powernv/geom/label/g_label_ufs.c
  projects/powernv/geom/mirror/g_mirror.c
  projects/powernv/i386/conf/NOTES
  projects/powernv/i386/i386/db_trace.c
  projects/powernv/i386/i386/pmap.c
  projects/powernv/i386/i386/trap.c
  projects/powernv/i386/ibcs2/Makefile
  projects/powernv/i386/include/db_machdep.h
  projects/powernv/i386/include/intr_machdep.h
  projects/powernv/i386/include/md_var.h
  projects/powernv/i386/include/pc/bios.h
  projects/powernv/i386/isa/pmtimer.c
  projects/powernv/i386/linux/Makefile
  projects/powernv/i386/linux/linux_ptrace.c
  projects/powernv/kern/Makefile
  projects/powernv/kern/bus_if.m
  projects/powernv/kern/capabilities.conf
  projects/powernv/kern/imgact_elf.c
  projects/powernv/kern/init_sysent.c
  projects/powernv/kern/kern_acct.c
  projects/powernv/kern/kern_clock.c
  projects/powernv/kern/kern_descrip.c
  projects/powernv/kern/kern_event.c
  projects/powernv/kern/kern_exec.c
  projects/powernv/kern/kern_exit.c
  projects/powernv/kern/kern_fork.c
  projects/powernv/kern/kern_jail.c
  projects/powernv/kern/kern_kthread.c
  projects/powernv/kern/kern_ktrace.c
  projects/powernv/kern/kern_mutex.c
  projects/powernv/kern/kern_ntptime.c
  projects/powernv/kern/kern_proc.c
  projects/powernv/kern/kern_prot.c
  projects/powernv/kern/kern_rwlock.c
  projects/powernv/kern/kern_sig.c
  projects/powernv/kern/kern_sx.c
  projects/powernv/kern/kern_tc.c
  projects/powernv/kern/kern_thr.c
  projects/powernv/kern/kern_thread.c
  projects/powernv/kern/kern_time.c
  projects/powernv/kern/kern_timeout.c
  projects/powernv/kern/kern_umtx.c
  projects/powernv/kern/makesyscalls.sh
  projects/powernv/kern/pic_if.m
  projects/powernv/kern/sched_4bsd.c
  projects/powernv/kern/subr_bus.c
  projects/powernv/kern/subr_intr.c
  projects/powernv/kern/subr_lock.c
  projects/powernv/kern/subr_param.c
  projects/powernv/kern/subr_pcpu.c
  projects/powernv/kern/subr_prf.c
  projects/powernv/kern/subr_rtc.c
  projects/powernv/kern/subr_sleepqueue.c
  projects/powernv/kern/subr_syscall.c
  projects/powernv/kern/subr_taskqueue.c
  projects/powernv/kern/subr_trap.c
  projects/powernv/kern/sys_generic.c
  projects/powernv/kern/sys_procdesc.c
  projects/powernv/kern/sys_process.c
  projects/powernv/kern/syscalls.c
  projects/powernv/kern/syscalls.master
  projects/powernv/kern/systrace_args.c
  projects/powernv/kern/sysv_shm.c
  projects/powernv/kern/uipc_shm.c
  projects/powernv/kern/uipc_usrreq.c
  projects/powernv/kern/vfs_aio.c
  projects/powernv/kern/vfs_bio.c
  projects/powernv/kern/vfs_cluster.c
  projects/powernv/kern/vfs_default.c
  projects/powernv/kern/vfs_lookup.c
  projects/powernv/kern/vfs_mount.c
  projects/powernv/kern/vfs_subr.c
  projects/powernv/kern/vfs_syscalls.c
  projects/powernv/kern/vfs_vnops.c
  projects/powernv/kern/vnode_if.src
  projects/powernv/mips/atheros/ar71xx_gpio.c
  projects/powernv/mips/atheros/if_arge.c
  projects/powernv/mips/broadcom/bcm_machdep.c
  projects/powernv/mips/broadcom/uart_cpu_chipc.c
  projects/powernv/mips/conf/ALFA_HORNET_UB
  projects/powernv/mips/conf/AP121
  projects/powernv/mips/conf/BCM
  projects/powernv/mips/conf/BCM.hints
  projects/powernv/mips/conf/CARAMBOLA2
  projects/powernv/mips/conf/DB120
  projects/powernv/mips/conf/DIR-825C1
  projects/powernv/mips/conf/ONIONOMEGA
  projects/powernv/mips/conf/SENTRY5
  projects/powernv/mips/conf/SENTRY5.hints
  projects/powernv/mips/conf/TL-WDR4300
  projects/powernv/mips/conf/TL-WDR4300.hints
  projects/powernv/mips/conf/TL-WR740Nv4
  projects/powernv/mips/conf/TP-MR3020
  projects/powernv/mips/include/cpufunc.h
  projects/powernv/mips/include/cpuinfo.h
  projects/powernv/mips/include/cpuregs.h
  projects/powernv/mips/mips/cpu.c
  projects/powernv/mips/mips/db_trace.c
  projects/powernv/mips/mips/elf_machdep.c
  projects/powernv/mips/mips/genassym.c
  projects/powernv/mips/mips/nexus.c
  projects/powernv/mips/mips/swtch.S
  projects/powernv/mips/mips/sys_machdep.c
  projects/powernv/mips/mips/trap.c
  projects/powernv/mips/mips/vm_machdep.c
  projects/powernv/mips/nlm/dev/net/xlpge.c
  projects/powernv/mips/rmi/dev/nlge/if_nlge.c
  projects/powernv/modules/Makefile
  projects/powernv/modules/bhnd/Makefile
  projects/powernv/modules/cam/Makefile
  projects/powernv/modules/cloudabi/Makefile
  projects/powernv/modules/cloudabi64/Makefile
  projects/powernv/modules/cxgbe/if_cxgbe/Makefile
  projects/powernv/modules/dtb/allwinner/Makefile
  projects/powernv/modules/dtrace/Makefile
  projects/powernv/modules/dtrace/dtrace/Makefile
  projects/powernv/modules/dtrace/dtraceall/dtraceall.c
  projects/powernv/modules/hyperv/netvsc/Makefile
  projects/powernv/modules/hyperv/storvsc/Makefile
  projects/powernv/modules/hyperv/utilities/Makefile
  projects/powernv/modules/hyperv/vmbus/Makefile
  projects/powernv/modules/i2c/iicbb/Makefile
  projects/powernv/modules/ipfw/Makefile
  projects/powernv/modules/iwmfw/Makefile
  projects/powernv/modules/iwmfw/iwm3160fw/Makefile
  projects/powernv/modules/iwmfw/iwm7260fw/Makefile
  projects/powernv/modules/iwmfw/iwm7265fw/Makefile
  projects/powernv/modules/ixl/Makefile
  projects/powernv/modules/ixlv/Makefile   (contents, props changed)
  projects/powernv/modules/linux64/Makefile
  projects/powernv/modules/mlx5/Makefile
  projects/powernv/modules/mlx5en/Makefile
  projects/powernv/modules/uart/Makefile
  projects/powernv/net/altq/altq_subr.c
  projects/powernv/net/bpf.c
  projects/powernv/net/ethernet.h
  projects/powernv/net/if.c
  projects/powernv/net/if_bridge.c
  projects/powernv/net/if_epair.c
  projects/powernv/net/if_ethersubr.c
  projects/powernv/net/if_gif.c
  projects/powernv/net/ifdi_if.m
  projects/powernv/net/iflib.c
  projects/powernv/net/iflib.h
  projects/powernv/net/netisr.c
  projects/powernv/net/route.h
  projects/powernv/net80211/ieee80211_crypto_wep.c
  projects/powernv/net80211/ieee80211_input.c
  projects/powernv/net80211/ieee80211_ioctl.c
  projects/powernv/netgraph/ng_base.c
  projects/powernv/netgraph/ng_patch.c
  projects/powernv/netgraph/ng_patch.h
  projects/powernv/netinet/cc/cc.c
  projects/powernv/netinet/if_ether.c
  projects/powernv/netinet/in.c
  projects/powernv/netinet/in.h
  projects/powernv/netinet/in_systm.h
  projects/powernv/netinet/ip_fw.h
  projects/powernv/netinet/ip_ipsec.c
  projects/powernv/netinet/ip_output.c
  projects/powernv/netinet/sctp_auth.c
  projects/powernv/netinet/sctp_constants.h
  projects/powernv/netinet/sctp_header.h
  projects/powernv/netinet/sctp_indata.c
  projects/powernv/netinet/sctp_input.c
  projects/powernv/netinet/sctp_output.c
  projects/powernv/netinet/sctp_pcb.c
  projects/powernv/netinet/sctp_ss_functions.c
  projects/powernv/netinet/sctp_structs.h
  projects/powernv/netinet/sctp_sysctl.c
  projects/powernv/netinet/sctp_uio.h
  projects/powernv/netinet/sctp_usrreq.c
  projects/powernv/netinet/sctputil.c
  projects/powernv/netinet/tcp_fastopen.c
  projects/powernv/netinet/tcp_lro.c
  projects/powernv/netinet/tcp_lro.h
  projects/powernv/netinet/tcp_subr.c
  projects/powernv/netinet/tcp_syncache.c
  projects/powernv/netinet/tcp_timer.c
  projects/powernv/netinet/tcp_timer.h
  projects/powernv/netinet/tcp_usrreq.c
  projects/powernv/netinet/tcp_var.h
  projects/powernv/netinet/udp_usrreq.c
  projects/powernv/netinet6/icmp6.c
  projects/powernv/netinet6/in6.h
  projects/powernv/netinet6/ip6_forward.c
  projects/powernv/netinet6/ip6_input.c
  projects/powernv/netinet6/ip6_ipsec.c
  projects/powernv/netinet6/ip6_output.c
  projects/powernv/netinet6/nd6.c
  projects/powernv/netinet6/udp6_usrreq.c
  projects/powernv/netpfil/ipfw/dn_sched_fq_pie.c
  projects/powernv/netpfil/ipfw/ip_fw2.c
  projects/powernv/netpfil/ipfw/ip_fw_dynamic.c
  projects/powernv/netpfil/ipfw/ip_fw_log.c
  projects/powernv/netpfil/ipfw/ip_fw_private.h
  projects/powernv/netpfil/ipfw/ip_fw_sockopt.c
  projects/powernv/netpfil/ipfw/ip_fw_table.c
  projects/powernv/netpfil/pf/pf.c
  projects/powernv/nfs/nfs_lock.c
  projects/powernv/ofed/drivers/infiniband/core/cma.c
  projects/powernv/ofed/drivers/infiniband/core/ucma.c
  projects/powernv/ofed/drivers/infiniband/hw/mthca/mthca_cmd.c
  projects/powernv/ofed/drivers/infiniband/hw/mthca/mthca_cmd.h
  projects/powernv/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
  projects/powernv/ofed/drivers/infiniband/ulp/sdp/sdp.h
  projects/powernv/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
  projects/powernv/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c
  projects/powernv/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
  projects/powernv/opencrypto/xform_aes_icm.c
  projects/powernv/pc98/conf/NOTES
  projects/powernv/powerpc/aim/locore.S
  projects/powernv/powerpc/booke/booke_machdep.c
  projects/powernv/powerpc/booke/locore.S
  projects/powernv/powerpc/booke/machdep_ppc4xx.c
  projects/powernv/powerpc/booke/pmap.c
  projects/powernv/powerpc/conf/MPC85XX
  projects/powernv/powerpc/conf/dpaa/DPAA
  projects/powernv/powerpc/include/hid.h
  projects/powernv/powerpc/include/machdep.h
  projects/powernv/powerpc/mpc85xx/mpc85xx.c
  projects/powernv/powerpc/mpc85xx/mpc85xx.h
  projects/powernv/powerpc/mpc85xx/pci_mpc85xx.c
  projects/powernv/powerpc/mpc85xx/platform_mpc85xx.c
  projects/powernv/powerpc/powerpc/busdma_machdep.c
  projects/powernv/powerpc/powerpc/machdep.c
  projects/powernv/powerpc/powerpc/mmu_if.m
  projects/powernv/powerpc/powerpc/pmap_dispatch.c
  projects/powernv/riscv/conf/GENERIC
  projects/powernv/riscv/conf/QEMU
  projects/powernv/riscv/conf/ROCKET
  projects/powernv/riscv/conf/SPIKE
  projects/powernv/riscv/include/cpu.h
  projects/powernv/riscv/include/cpufunc.h
  projects/powernv/riscv/include/db_machdep.h
  projects/powernv/riscv/include/intr.h
  projects/powernv/riscv/include/pcpu.h
  projects/powernv/riscv/include/pte.h
  projects/powernv/riscv/include/riscvreg.h
  projects/powernv/riscv/include/vmparam.h
  projects/powernv/riscv/riscv/exception.S
  projects/powernv/riscv/riscv/identcpu.c
  projects/powernv/riscv/riscv/intr_machdep.c
  projects/powernv/riscv/riscv/locore.S
  projects/powernv/riscv/riscv/machdep.c
  projects/powernv/riscv/riscv/mp_machdep.c
  projects/powernv/riscv/riscv/pmap.c
  projects/powernv/riscv/riscv/swtch.S
  projects/powernv/riscv/riscv/timer.c
  projects/powernv/riscv/riscv/trap.c
  projects/powernv/riscv/riscv/vm_machdep.c
  projects/powernv/rpc/rpcsec_gss/svc_rpcsec_gss.c
  projects/powernv/security/audit/audit.h
  projects/powernv/security/audit/audit_bsm.c
  projects/powernv/sparc64/conf/NOTES
  projects/powernv/sparc64/fhc/clkbrd.c
  projects/powernv/sparc64/pci/fire.c
  projects/powernv/sys/_task.h
  projects/powernv/sys/buf.h
  projects/powernv/sys/bus.h
  projects/powernv/sys/callout.h
  projects/powernv/sys/cpuset.h
  projects/powernv/sys/efi.h
  projects/powernv/sys/elf_common.h
  projects/powernv/sys/intr.h
  projects/powernv/sys/jail.h
  projects/powernv/sys/ktrace.h
  projects/powernv/sys/lock.h
  projects/powernv/sys/lockmgr.h
  projects/powernv/sys/mman.h
  projects/powernv/sys/msg.h
  projects/powernv/sys/mutex.h
  projects/powernv/sys/param.h
  projects/powernv/sys/pmc.h
  projects/powernv/sys/proc.h
  projects/powernv/sys/procfs.h
  projects/powernv/sys/ptrace.h
  projects/powernv/sys/queue.h
  projects/powernv/sys/random.h
  projects/powernv/sys/rman.h
  projects/powernv/sys/shm.h
  projects/powernv/sys/syscall.h
  projects/powernv/sys/syscall.mk
  projects/powernv/sys/syscallsubr.h
  projects/powernv/sys/sysent.h
  projects/powernv/sys/sysproto.h
  projects/powernv/sys/systm.h
  projects/powernv/sys/taskqueue.h
  projects/powernv/sys/time.h
  projects/powernv/sys/timetc.h
  projects/powernv/sys/unpcb.h
  projects/powernv/sys/vdso.h
  projects/powernv/sys/vmmeter.h
  projects/powernv/sys/vnode.h
  projects/powernv/tools/embed_mfs.sh
  projects/powernv/ufs/ffs/ffs_balloc.c
  projects/powernv/ufs/ffs/ffs_extern.h
  projects/powernv/ufs/ffs/ffs_snapshot.c
  projects/powernv/ufs/ffs/ffs_softdep.c
  projects/powernv/ufs/ffs/ffs_vnops.c
  projects/powernv/ufs/ffs/softdep.h
  projects/powernv/ufs/ufs/ufs_lookup.c
  projects/powernv/ufs/ufs/ufs_quota.c
  projects/powernv/ufs/ufs/ufs_vnops.c
  projects/powernv/vm/swap_pager.c
  projects/powernv/vm/uma_core.c
  projects/powernv/vm/vm_fault.c
  projects/powernv/vm/vm_glue.c
  projects/powernv/vm/vm_object.c
  projects/powernv/vm/vm_page.c
  projects/powernv/vm/vm_pageout.c
  projects/powernv/vm/vm_phys.c
  projects/powernv/x86/acpica/acpi_wakeup.c
  projects/powernv/x86/cpufreq/powernow.c
  projects/powernv/x86/include/vdso.h
  projects/powernv/x86/iommu/intel_drv.c
  projects/powernv/x86/iommu/intel_reg.h
  projects/powernv/x86/x86/identcpu.c
  projects/powernv/x86/x86/intr_machdep.c
  projects/powernv/x86/x86/local_apic.c
  projects/powernv/x86/x86/mp_x86.c
  projects/powernv/x86/x86/msi.c
  projects/powernv/x86/x86/tsc.c
  projects/powernv/x86/xen/hvm.c
  projects/powernv/x86/xen/xen_intr.c
Directory Properties:
  projects/powernv/   (props changed)
  projects/powernv/cddl/contrib/opensolaris/   (props changed)
  projects/powernv/contrib/octeon-sdk/   (props changed)

Modified: projects/powernv/amd64/amd64/initcpu.c
==============================================================================
--- projects/powernv/amd64/amd64/initcpu.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/amd64/initcpu.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -94,6 +94,20 @@ init_amd(void)
 			wrmsr(MSR_NB_CFG1, msr);
 		}
 	}
+
+	/*
+	 * BIOS may configure Family 10h processors to convert WC+ cache type
+	 * to CD.  That can hurt performance of guest VMs using nested paging.
+	 * The relevant MSR bit is not documented in the BKDG,
+	 * the fix is borrowed from Linux.
+	 */
+	if (CPUID_TO_FAMILY(cpu_id) == 0x10) {
+		if ((cpu_feature2 & CPUID2_HV) == 0) {
+			msr = rdmsr(0xc001102a);
+			msr &= ~((uint64_t)1 << 24);
+			wrmsr(0xc001102a, msr);
+		}
+	}
 }
 
 /*

Modified: projects/powernv/amd64/amd64/machdep.c
==============================================================================
--- projects/powernv/amd64/amd64/machdep.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/amd64/machdep.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -1090,7 +1090,8 @@ add_efi_map_entries(struct efi_map_heade
 		"ACPIMemoryNVS",
 		"MemoryMappedIO",
 		"MemoryMappedIOPortSpace",
-		"PalCode"
+		"PalCode",
+		"PersistentMemory"
 	};
 
 	/*
@@ -1111,7 +1112,7 @@ add_efi_map_entries(struct efi_map_heade
 	for (i = 0, p = map; i < ndesc; i++,
 	    p = efi_next_descriptor(p, efihdr->descriptor_size)) {
 		if (boothowto & RB_VERBOSE) {
-			if (p->md_type <= EFI_MD_TYPE_PALCODE)
+			if (p->md_type < nitems(types))
 				type = types[p->md_type];
 			else
 				type = "<INVALID>";
@@ -1133,6 +1134,12 @@ add_efi_map_entries(struct efi_map_heade
 				printf("RP ");
 			if (p->md_attr & EFI_MD_ATTR_XP)
 				printf("XP ");
+			if (p->md_attr & EFI_MD_ATTR_NV)
+				printf("NV ");
+			if (p->md_attr & EFI_MD_ATTR_MORE_RELIABLE)
+				printf("MORE_RELIABLE ");
+			if (p->md_attr & EFI_MD_ATTR_RO)
+				printf("RO ");
 			if (p->md_attr & EFI_MD_ATTR_RT)
 				printf("RUNTIME");
 			printf("\n");

Modified: projects/powernv/amd64/amd64/mem.c
==============================================================================
--- projects/powernv/amd64/amd64/mem.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/amd64/mem.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -168,9 +168,11 @@ int
 memmmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
     int prot __unused, vm_memattr_t *memattr __unused)
 {
-	if (dev2unit(dev) == CDEV_MINOR_MEM)
+	if (dev2unit(dev) == CDEV_MINOR_MEM) {
+		if (offset >= (1ULL << cpu_maxphyaddr))
+			return (-1);
 		*paddr = offset;
-	else if (dev2unit(dev) == CDEV_MINOR_KMEM)
+	} else if (dev2unit(dev) == CDEV_MINOR_KMEM)
         	*paddr = vtophys(offset);
 	/* else panic! */
 	return (0);

Modified: projects/powernv/amd64/amd64/pmap.c
==============================================================================
--- projects/powernv/amd64/amd64/pmap.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/amd64/pmap.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -561,9 +561,9 @@ pmap_delayed_invl_wait(vm_page_t m)
  * block to complete before proceeding.
  *
  * The function works by setting the DI generation number for m's PV
- * list to at least * the number for the current thread.  This forces
- * a caller to pmap_delayed_invl_wait() to spin until current thread
- * calls pmap_delayed_invl_finished().
+ * list to at least the DI generation number of the current thread.
+ * This forces a caller of pmap_delayed_invl_wait() to block until
+ * current thread calls pmap_delayed_invl_finished().
  */
 static void
 pmap_delayed_invl_page(vm_page_t m)
@@ -1224,7 +1224,7 @@ pmap_init(void)
 	 * include at least one feature that is only supported by older Intel
 	 * or newer AMD processors.
 	 */
-	if (vm_guest == VM_GUEST_VM && (cpu_feature & CPUID_SS) == 0 &&
+	if (vm_guest != VM_GUEST_NO && (cpu_feature & CPUID_SS) == 0 &&
 	    (cpu_feature2 & (CPUID2_SSSE3 | CPUID2_SSE41 | CPUID2_AESNI |
 	    CPUID2_AVX | CPUID2_XSAVE)) == 0 && (amd_feature2 & (AMDID2_XOP |
 	    AMDID2_FMA4)) == 0)

Modified: projects/powernv/amd64/amd64/support.S
==============================================================================
--- projects/powernv/amd64/amd64/support.S	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/amd64/support.S	Mon Aug 22 19:58:42 2016	(r304632)
@@ -64,17 +64,10 @@ END(bzero)
 /* Address: %rdi */
 ENTRY(pagezero)
 	PUSH_FRAME_POINTER
-	movq	$-PAGE_SIZE,%rdx
-	subq	%rdx,%rdi
+	movq	$PAGE_SIZE/8,%rcx
 	xorl	%eax,%eax
-1:
-	movnti	%rax,(%rdi,%rdx)
-	movnti	%rax,8(%rdi,%rdx)
-	movnti	%rax,16(%rdi,%rdx)
-	movnti	%rax,24(%rdi,%rdx)
-	addq	$32,%rdx
-	jne	1b
-	sfence
+	rep
+	stosq
 	POP_FRAME_POINTER
 	ret
 END(pagezero)

Modified: projects/powernv/amd64/amd64/trap.c
==============================================================================
--- projects/powernv/amd64/amd64/trap.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/amd64/trap.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -443,8 +443,8 @@ trap(struct trapframe *frame)
 			goto out;
 
 		case T_DNA:
-			KASSERT(!PCB_USER_FPU(td->td_pcb),
-			    ("Unregistered use of FPU in kernel"));
+			if (PCB_USER_FPU(td->td_pcb))
+				panic("Unregistered use of FPU in kernel");
 			fpudna();
 			goto out;
 

Modified: projects/powernv/amd64/cloudabi64/cloudabi64_sysvec.c
==============================================================================
--- projects/powernv/amd64/cloudabi64/cloudabi64_sysvec.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/cloudabi64/cloudabi64_sysvec.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -196,7 +196,6 @@ static struct sysentvec cloudabi64_elf_s
 	.sv_pagesize		= PAGE_SIZE,
 	.sv_minuser		= VM_MIN_ADDRESS,
 	.sv_maxuser		= VM_MAXUSER_ADDRESS,
-	.sv_usrstack		= USRSTACK,
 	.sv_stackprot		= VM_PROT_READ | VM_PROT_WRITE,
 	.sv_copyout_strings	= cloudabi64_copyout_strings,
 	.sv_setregs		= cloudabi64_proc_setregs,

Modified: projects/powernv/amd64/conf/NOTES
==============================================================================
--- projects/powernv/amd64/conf/NOTES	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/conf/NOTES	Mon Aug 22 19:58:42 2016	(r304632)
@@ -542,7 +542,6 @@ hint.pbio.0.port="0x360"
 device		smbios
 device		vpd
 device		asmc
-device		si
 device		tpm
 device		padlock_rng	# VIA Padlock RNG
 device		rdrand_rng	# Intel Bull Mountain RNG

Modified: projects/powernv/amd64/include/intr_machdep.h
==============================================================================
--- projects/powernv/amd64/include/intr_machdep.h	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/include/intr_machdep.h	Mon Aug 22 19:58:42 2016	(r304632)
@@ -149,6 +149,8 @@ extern cpuset_t intr_cpus;
 extern struct mtx icu_lock;
 extern int elcr_found;
 
+extern int msix_disable_migration;
+
 #ifndef DEV_ATPIC
 void	atpic_reset(void);
 #endif

Modified: projects/powernv/amd64/include/pc/bios.h
==============================================================================
--- projects/powernv/amd64/include/pc/bios.h	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/include/pc/bios.h	Mon Aug 22 19:58:42 2016	(r304632)
@@ -40,6 +40,9 @@
 #define	SMAP_TYPE_ACPI_RECLAIM	3
 #define	SMAP_TYPE_ACPI_NVS	4
 #define	SMAP_TYPE_ACPI_ERROR	5
+#define	SMAP_TYPE_DISABLED	6
+#define	SMAP_TYPE_PMEM		7
+#define	SMAP_TYPE_PRAM		12
 
 #define	SMAP_XATTR_ENABLED	0x00000001
 #define	SMAP_XATTR_NON_VOLATILE	0x00000002

Modified: projects/powernv/amd64/linux/Makefile
==============================================================================
--- projects/powernv/amd64/linux/Makefile	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/linux/Makefile	Mon Aug 22 19:58:42 2016	(r304632)
@@ -9,9 +9,4 @@ sysent:  linux_sysent.c linux_syscall.h 
 
 linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c: \
 		../../kern/makesyscalls.sh syscalls.master syscalls.conf
-	-mv -f linux_sysent.c linux_sysent.c.bak
-	-mv -f linux_syscall.h linux_syscall.h.bak
-	-mv -f linux_proto.h linux_proto.h.bak
-	-mv -f linux_syscalls.c linux_syscalls.c.bak
-	-mv -f linux_systrace_args.c linux_systrace_args.c.bak
 	sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf

Modified: projects/powernv/amd64/linux32/Makefile
==============================================================================
--- projects/powernv/amd64/linux32/Makefile	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/linux32/Makefile	Mon Aug 22 19:58:42 2016	(r304632)
@@ -9,9 +9,4 @@ sysent:  linux32_sysent.c linux32_syscal
 
 linux32_sysent.c linux32_syscall.h linux32_proto.h linux32_syscalls.c linux32_systrace_args.c: ../../kern/makesyscalls.sh \
 		syscalls.master syscalls.conf
-	-mv -f linux32_sysent.c linux32_sysent.c.bak
-	-mv -f linux32_syscall.h linux32_syscall.h.bak
-	-mv -f linux32_proto.h linux32_proto.h.bak
-	-mv -f linux32_syscalls.c linux32_syscalls.c.bak
-	-mv -f linux32_systrace_args.c linux32_systrace_args.c.bak
 	sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf

Modified: projects/powernv/amd64/vmm/io/vhpet.c
==============================================================================
--- projects/powernv/amd64/vmm/io/vhpet.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/vmm/io/vhpet.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -715,8 +715,10 @@ vhpet_init(struct vm *vm)
 	vhpet->freq_sbt = bttosbt(bt);
 
 	pincount = vioapic_pincount(vm);
-	if (pincount >= 24)
-		allowed_irqs = 0x00f00000;	/* irqs 20, 21, 22 and 23 */
+	if (pincount >= 32)
+		allowed_irqs = 0xff000000;	/* irqs 24-31 */
+	else if (pincount >= 20)
+		allowed_irqs = 0xf << (pincount - 4);	/* 4 upper irqs */
 	else
 		allowed_irqs = 0;
 

Modified: projects/powernv/amd64/vmm/io/vioapic.c
==============================================================================
--- projects/powernv/amd64/vmm/io/vioapic.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/vmm/io/vioapic.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$");
 #define	IOREGSEL	0x00
 #define	IOWIN		0x10
 
-#define	REDIR_ENTRIES	24
+#define	REDIR_ENTRIES	32
 #define	RTBL_RO_BITS	((uint64_t)(IOART_REM_IRR | IOART_DELIVS))
 
 struct vioapic {

Modified: projects/powernv/amd64/vmm/vmm.c
==============================================================================
--- projects/powernv/amd64/vmm/vmm.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/amd64/vmm/vmm.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -914,7 +914,7 @@ vm_gpa_hold(struct vm *vm, int vcpuid, v
 	 * guaranteed if at least one vcpu is in the VCPU_FROZEN state.
 	 */
 	int state;
-	KASSERT(vcpuid >= -1 || vcpuid < VM_MAXCPU, ("%s: invalid vcpuid %d",
+	KASSERT(vcpuid >= -1 && vcpuid < VM_MAXCPU, ("%s: invalid vcpuid %d",
 	    __func__, vcpuid));
 	for (i = 0; i < VM_MAXCPU; i++) {
 		if (vcpuid != -1 && vcpuid != i)

Copied: projects/powernv/arm/allwinner/a10/a10_padconf.c (from r304631, head/sys/arm/allwinner/a10/a10_padconf.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/powernv/arm/allwinner/a10/a10_padconf.c	Mon Aug 22 19:58:42 2016	(r304632, copy of r304631, head/sys/arm/allwinner/a10/a10_padconf.c)
@@ -0,0 +1,231 @@
+/*-
+ * Copyright (c) 2016 Emmanuel Vadot <manu@bidouilliste.com>
+ * All rights reserved.
+ *
+ * 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 AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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.
+ *
+ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+#include <sys/types.h>
+
+#include <arm/allwinner/allwinner_pinctrl.h>
+
+#ifdef SOC_ALLWINNER_A10
+
+const static struct allwinner_pins a10_pins[] = {
+	{"PA0",  0, 0,  {"gpio_in", "gpio_out", "emac", "spi1", "uart2", NULL, NULL, NULL}},
+	{"PA1",  0, 1,  {"gpio_in", "gpio_out", "emac", "spi1", "uart2", NULL, NULL, NULL}},
+	{"PA2",  0, 2,  {"gpio_in", "gpio_out", "emac", "spi1", "uart2", NULL, NULL, NULL}},
+	{"PA3",  0, 3,  {"gpio_in", "gpio_out", "emac", "spi1", "uart2", NULL, NULL, NULL}},
+	{"PA4",  0, 4,  {"gpio_in", "gpio_out", "emac", "spi1", NULL, NULL, NULL, NULL}},
+	{"PA5",  0, 5,  {"gpio_in", "gpio_out", "emac", "spi3", NULL, NULL, NULL, NULL}},
+	{"PA6",  0, 6,  {"gpio_in", "gpio_out", "emac", "spi3", NULL, NULL, NULL, NULL}},
+	{"PA7",  0, 7,  {"gpio_in", "gpio_out", "emac", "spi3", NULL, NULL, NULL, NULL}},
+	{"PA8",  0, 8,  {"gpio_in", "gpio_out", "emac", "spi3", NULL, NULL, NULL, NULL}},
+	{"PA9",  0, 9,  {"gpio_in", "gpio_out", "emac", "spi3", NULL, NULL, NULL, NULL}},
+	{"PA10", 0, 10, {"gpio_in", "gpio_out", "emac", NULL, "uart1", NULL, NULL, NULL}},
+	{"PA11", 0, 11, {"gpio_in", "gpio_out", "emac", NULL, "uart1", NULL, NULL, NULL}},
+	{"PA12", 0, 12, {"gpio_in", "gpio_out", "emac", "uart6", "uart1", NULL, NULL, NULL}},
+	{"PA13", 0, 13, {"gpio_in", "gpio_out", "emac", "uart6", "uart1", NULL, NULL, NULL}},
+	{"PA14", 0, 14, {"gpio_in", "gpio_out", "emac", "uart7", "uart1", NULL, NULL, NULL}},
+	{"PA15", 0, 15, {"gpio_in", "gpio_out", "emac", "uart7", "uart1", NULL, NULL, NULL}},
+	{"PA16", 0, 16, {"gpio_in", "gpio_out", NULL, "can", "uart1", NULL, NULL, NULL}},
+	{"PA17", 0, 17, {"gpio_in", "gpio_out", NULL, "can", "uart1", NULL, NULL, NULL}},
+
+	{"PB0",  1, 0,  {"gpio_in", "gpio_out", "i2c0", NULL, NULL, NULL, NULL, NULL}},
+	{"PB1",  1, 1,  {"gpio_in", "gpio_out", "i2c0", NULL, NULL, NULL, NULL, NULL}},
+	{"PB2",  1, 2,  {"gpio_in", "gpio_out", "pwm", NULL, NULL, NULL, NULL, NULL}},
+	{"PB3",  1, 3,  {"gpio_in", "gpio_out", "ir0", NULL, NULL, NULL, NULL, NULL}},
+	{"PB4",  1, 4,  {"gpio_in", "gpio_out", "ir0", NULL, NULL, NULL, NULL, NULL}},
+	{"PB5",  1, 5,  {"gpio_in", "gpio_out", "i2s", "ac97", NULL, NULL, NULL, NULL}},
+	{"PB6",  1, 6,  {"gpio_in", "gpio_out", "i2s", "ac97", NULL, NULL, NULL, NULL}},
+	{"PB7",  1, 7,  {"gpio_in", "gpio_out", "i2s", "ac97", NULL, NULL, NULL, NULL}},
+	{"PB8",  1, 8,  {"gpio_in", "gpio_out", "i2s", "ac97", NULL, NULL, NULL, NULL}},
+	{"PB9",  1, 9,  {"gpio_in", "gpio_out", "i2s", NULL, NULL, NULL, NULL, NULL}},
+	{"PB10", 1, 10, {"gpio_in", "gpio_out", "i2s", NULL, NULL, NULL, NULL, NULL}},
+	{"PB11", 1, 11, {"gpio_in", "gpio_out", "i2s", NULL, NULL, NULL, NULL, NULL}},
+	{"PB12", 1, 12, {"gpio_in", "gpio_out", "i2s", "ac97", NULL, NULL, NULL, NULL}},
+	{"PB13", 1, 13, {"gpio_in", "gpio_out", "spi2", NULL, NULL, NULL, NULL, NULL}},
+	{"PB14", 1, 14, {"gpio_in", "gpio_out", "spi2", "jtag", NULL, NULL, NULL, NULL}},
+	{"PB15", 1, 15, {"gpio_in", "gpio_out", "spi2", "jtag", NULL, NULL, NULL, NULL}},
+	{"PB16", 1, 16, {"gpio_in", "gpio_out", "spi2", "jtag", NULL, NULL, NULL, NULL}},
+	{"PB17", 1, 17, {"gpio_in", "gpio_out", "spi2", "jtag", NULL, NULL, NULL, NULL}},
+	{"PB18", 1, 18, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
+	{"PB19", 1, 19, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
+	{"PB20", 1, 20, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
+	{"PB21", 1, 21, {"gpio_in", "gpio_out", "i2c1", NULL, NULL, NULL, NULL, NULL}},
+	{"PB22", 1, 22, {"gpio_in", "gpio_out", "uart0", "ir1", NULL, NULL, NULL, NULL}},
+	{"PB23", 1, 23, {"gpio_in", "gpio_out", "uart0", "ir1", NULL, NULL, NULL, NULL}},
+
+	{"PC0",  2,  0, {"gpio_in", "gpio_out", "nand", "spi0", NULL, NULL, NULL, NULL}},
+	{"PC1",  2,  1, {"gpio_in", "gpio_out", "nand", "spi0", NULL, NULL, NULL, NULL}},
+	{"PC2",  2,  2, {"gpio_in", "gpio_out", "nand", "spi0", NULL, NULL, NULL, NULL}},
+	{"PC3",  2,  3, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC4",  2,  4, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC5",  2,  5, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC6",  2,  6, {"gpio_in", "gpio_out", "nand", "mmc2", NULL, NULL, NULL, NULL}},
+	{"PC7",  2,  7, {"gpio_in", "gpio_out", "nand", "mmc2", NULL, NULL, NULL, NULL}},
+	{"PC8",  2,  8, {"gpio_in", "gpio_out", "nand", "mmc2", NULL, NULL, NULL, NULL}},
+	{"PC9",  2,  9, {"gpio_in", "gpio_out", "nand", "mmc2", NULL, NULL, NULL, NULL}},
+	{"PC10", 2, 10, {"gpio_in", "gpio_out", "nand", "mmc2", NULL, NULL, NULL, NULL}},
+	{"PC11", 2, 11, {"gpio_in", "gpio_out", "nand", "mmc2", NULL, NULL, NULL, NULL}},
+	{"PC12", 2, 12, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC13", 2, 13, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC14", 2, 14, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC15", 2, 15, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC16", 2, 16, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC17", 2, 17, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC18", 2, 18, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+	{"PC19", 2, 19, {"gpio_in", "gpio_out", "nand", "spi2", NULL, NULL, NULL, NULL}},
+	{"PC20", 2, 20, {"gpio_in", "gpio_out", "nand", "spi2", NULL, NULL, NULL, NULL}},
+	{"PC21", 2, 21, {"gpio_in", "gpio_out", "nand", "spi2", NULL, NULL, NULL, NULL}},
+	{"PC22", 2, 22, {"gpio_in", "gpio_out", "nand", "spi2", NULL, NULL, NULL, NULL}},
+	{"PC23", 2, 23, {"gpio_in", "gpio_out", "spi0", NULL, NULL, NULL, NULL, NULL}},
+	{"PC24", 2, 24, {"gpio_in", "gpio_out", "nand", NULL, NULL, NULL, NULL, NULL}},
+
+	{"PD0",  3,  0, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD1",  3,  1, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD2",  3,  2, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD3",  3,  3, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD4",  3,  4, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD5",  3,  5, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD6",  3,  6, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD7",  3,  7, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD8",  3,  8, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD9",  3,  9, {"gpio_in", "gpio_out", "lcd0", "lvds0", NULL, NULL, NULL, NULL}},
+	{"PD10", 3, 10, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD11", 3, 11, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD12", 3, 12, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD13", 3, 13, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD14", 3, 14, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD15", 3, 15, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD16", 3, 16, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD17", 3, 17, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD18", 3, 18, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD19", 3, 19, {"gpio_in", "gpio_out", "lcd0", "lvds1", NULL, NULL, NULL, NULL}},
+	{"PD20", 3, 20, {"gpio_in", "gpio_out", "lcd0", "csi1", NULL, NULL, NULL, NULL}},
+	{"PD21", 3, 21, {"gpio_in", "gpio_out", "lcd0", "sim", NULL, NULL, NULL, NULL}},
+	{"PD22", 3, 22, {"gpio_in", "gpio_out", "lcd0", "sim", NULL, NULL, NULL, NULL}},
+	{"PD23", 3, 23, {"gpio_in", "gpio_out", "lcd0", "sim", NULL, NULL, NULL, NULL}},
+	{"PD24", 3, 24, {"gpio_in", "gpio_out", "lcd0", "sim", NULL, NULL, NULL, NULL}},
+	{"PD25", 3, 25, {"gpio_in", "gpio_out", "lcd0", "sim", NULL, NULL, NULL, NULL}},
+	{"PD26", 3, 26, {"gpio_in", "gpio_out", "lcd0", "sim", NULL, NULL, NULL, NULL}},
+	{"PD27", 3, 27, {"gpio_in", "gpio_out", "lcd0", "sim", NULL, NULL, NULL, NULL}},
+
+	{"PE0",  4,  0, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE1",  4,  1, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE2",  4,  2, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE3",  4,  3, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE4",  4,  4, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE5",  4,  5, {"gpio_in", "gpio_out", "ts0", "csi0", "sim", NULL, NULL, NULL}},
+	{"PE6",  4,  6, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE7",  4,  7, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE8",  4,  8, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE9",  4,  9, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE10", 4, 10, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+	{"PE11", 4, 11, {"gpio_in", "gpio_out", "ts0", "csi0", NULL, NULL, NULL, NULL}},
+
+	{"PF0",  5,  0, {"gpio_in", "gpio_out", "mmc0", NULL, "jtag", NULL, NULL, NULL}},
+	{"PF1",  5,  1, {"gpio_in", "gpio_out", "mmc0", NULL, "jtag", NULL, NULL, NULL}},
+	{"PF2",  5,  2, {"gpio_in", "gpio_out", "mmc0", NULL, "uart0", NULL, NULL, NULL}},
+	{"PF3",  5,  3, {"gpio_in", "gpio_out", "mmc0", NULL, "jtag", NULL, NULL, NULL}},
+	{"PF4",  5,  4, {"gpio_in", "gpio_out", "mmc0", NULL, "jtag", NULL, NULL, NULL}},
+	{"PF5",  5,  5, {"gpio_in", "gpio_out", "mmc0", NULL, "jtag", NULL, NULL, NULL}},
+
+	{"PG0",  6,  0, {"gpio_in", "gpio_out", "ts1", "csi1", "mmc1", NULL, NULL, NULL}},
+	{"PG1",  6,  1, {"gpio_in", "gpio_out", "ts1", "csi1", "mmc1", NULL, NULL, NULL}},
+	{"PG2",  6,  2, {"gpio_in", "gpio_out", "ts1", "csi1", "mmc1", NULL, NULL, NULL}},
+	{"PG3",  6,  3, {"gpio_in", "gpio_out", "ts1", "csi1", "mmc1", NULL, NULL, NULL}},
+	{"PG4",  6,  4, {"gpio_in", "gpio_out", "ts1", "csi1", "mmc1", "csi0", NULL, NULL}},
+	{"PG5",  6,  5, {"gpio_in", "gpio_out", "ts1", "csi1", "mmc1", "csi0", NULL, NULL}},
+	{"PG6",  6,  6, {"gpio_in", "gpio_out", "ts1", "csi1", "uart3", "csi0", NULL, NULL}},
+	{"PG7",  6,  7, {"gpio_in", "gpio_out", "ts1", "csi1", "uart3", "csi0", NULL, NULL}},
+	{"PG8",  6,  8, {"gpio_in", "gpio_out", "ts1", "csi1", "uart3", "csi0", NULL, NULL}},
+	{"PG9",  6,  9, {"gpio_in", "gpio_out", "ts1", "csi1", "uart3", "csi0", NULL, NULL}},
+	{"PG10", 6, 10, {"gpio_in", "gpio_out", "ts1", "csi1", "uart4", "csi0", NULL, NULL}},
+	{"PG11", 6, 11, {"gpio_in", "gpio_out", "ts1", "csi1", "uart4", "csi0", NULL, NULL}},
+
+	{"PH0",  7,  0, {"gpio_in", "gpio_out", "lcd1", "pata", "uart3", NULL, "eint", "csi1"}},
+	{"PH1",  7,  1, {"gpio_in", "gpio_out", "lcd1", "pata", "uart3", NULL, "eint", "csi1"}},
+	{"PH2",  7,  2, {"gpio_in", "gpio_out", "lcd1", "pata", "uart3", NULL, "eint", "csi1"}},
+	{"PH3",  7,  3, {"gpio_in", "gpio_out", "lcd1", "pata", "uart3", NULL, "eint", "csi1"}},
+	{"PH4",  7,  4, {"gpio_in", "gpio_out", "lcd1", "pata", "uart4", NULL, "eint", "csi1"}},
+	{"PH5",  7,  5, {"gpio_in", "gpio_out", "lcd1", "pata", "uart4", NULL, "eint", "csi1"}},
+	{"PH6",  7,  6, {"gpio_in", "gpio_out", "lcd1", "pata", "uart5", "ms", "eint", "csi1"}},
+	{"PH7",  7,  7, {"gpio_in", "gpio_out", "lcd1", "pata", "uart5", "ms", "eint", "csi1"}},
+	{"PH8",  7,  8, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "ms", "eint", "csi1"}},
+	{"PH9",  7,  9, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "ms", "eint", "csi1"}},
+	{"PH10", 7, 10, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "ms", "eint", "csi1"}},
+	{"PH11", 7, 11, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "ms", "eint", "csi1"}},
+	{"PH12", 7, 12, {"gpio_in", "gpio_out", "lcd1", "pata", "ps2", NULL, "eint", "csi1"}},
+	{"PH13", 7, 13, {"gpio_in", "gpio_out", "lcd1", "pata", "ps2", "sim", "eint", "csi1"}},
+	{"PH14", 7, 14, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "sim", "eint", "csi1"}},
+	{"PH15", 7, 15, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "sim", "eint", "csi1"}},
+	{"PH16", 7, 16, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", NULL, "eint", "csi1"}},
+	{"PH17", 7, 17, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "sim", "eint", "csi1"}},
+	{"PH18", 7, 18, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "sim", "eint", "csi1"}},
+	{"PH19", 7, 19, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "sim", "eint", "csi1"}},
+	{"PH20", 7, 20, {"gpio_in", "gpio_out", "lcd1", "pata", "can", NULL, "eint", "csi1"}},
+	{"PH21", 7, 21, {"gpio_in", "gpio_out", "lcd1", "pata", "can", NULL, "eint", "csi1"}},
+	{"PH22", 7, 22, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "mmc1", NULL, "csi1"}},
+	{"PH23", 7, 23, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "mmc1", NULL, "csi1"}},
+	{"PH24", 7, 24, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "mmc1", NULL, "csi1"}},
+	{"PH25", 7, 25, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "mmc1", NULL, "csi1"}},
+	{"PH26", 7, 26, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "mmc1", NULL, "csi1"}},
+	{"PH27", 7, 27, {"gpio_in", "gpio_out", "lcd1", "pata", "keypad", "mmc1", NULL, "csi1"}},
+
+	{"PI0",  8,  0, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
+	{"PI1",  8,  1, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
+	{"PI2",  8,  2, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
+	{"PI3",  8,  3, {"gpio_in", "gpio_out", "pwm", NULL, NULL, NULL, NULL, NULL}},
+	{"PI4",  8,  4, {"gpio_in", "gpio_out", "mmc3", NULL, NULL, NULL, NULL, NULL}},
+	{"PI5",  8,  5, {"gpio_in", "gpio_out", "mmc3", NULL, NULL, NULL, NULL, NULL}},
+	{"PI6",  8,  6, {"gpio_in", "gpio_out", "mmc3", NULL, NULL, NULL, NULL, NULL}},
+	{"PI7",  8,  7, {"gpio_in", "gpio_out", "mmc3", NULL, NULL, NULL, NULL, NULL}},
+	{"PI8",  8,  8, {"gpio_in", "gpio_out", "mmc3", NULL, NULL, NULL, NULL, NULL}},
+	{"PI9",  8,  9, {"gpio_in", "gpio_out", "mmc3", NULL, NULL, NULL, NULL, NULL}},
+	{"PI10", 8, 10, {"gpio_in", "gpio_out", "spi0", "uart5", NULL, NULL, "eint", NULL}},
+	{"PI11", 8, 11, {"gpio_in", "gpio_out", "spi0", "uart5", NULL, NULL, "eint", NULL}},
+	{"PI12", 8, 12, {"gpio_in", "gpio_out", "spi0", "uart6", NULL, NULL, "eint", NULL}},
+	{"PI13", 8, 13, {"gpio_in", "gpio_out", "spi0", "uart6", NULL, NULL, "eint", NULL}},
+	{"PI14", 8, 14, {"gpio_in", "gpio_out", "spi0", "ps2", "timer4", NULL, "eint", NULL}},
+	{"PI15", 8, 15, {"gpio_in", "gpio_out", "spi1", "ps2", "timer5", NULL, "eint", NULL}},
+	{"PI16", 8, 16, {"gpio_in", "gpio_out", "spi1", "uart2", NULL, NULL, "eint", NULL}},
+	{"PI17", 8, 17, {"gpio_in", "gpio_out", "spi1", "uart2", NULL, NULL, "eint", NULL}},
+	{"PI18", 8, 18, {"gpio_in", "gpio_out", "spi1", "uart2", NULL, NULL, "eint", NULL}},
+	{"PI19", 8, 19, {"gpio_in", "gpio_out", "spi1", "uart2", NULL, NULL, "eint", NULL}},
+	{"PI20", 8, 20, {"gpio_in", "gpio_out", "ps2", "uart7", "hdmi", NULL, NULL, NULL}},
+	{"PI21", 8, 21, {"gpio_in", "gpio_out", "ps2", "uart7", "hdmi", NULL, NULL, NULL}},
+};
+
+const struct allwinner_padconf a10_padconf = {
+	.npins = sizeof(a10_pins) / sizeof(struct allwinner_pins),
+	.pins = a10_pins,
+};
+
+#endif /* SOC_ALLWINNER_A10 */

Copied: projects/powernv/arm/allwinner/a10/files.a10 (from r304631, head/sys/arm/allwinner/a10/files.a10)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/powernv/arm/allwinner/a10/files.a10	Mon Aug 22 19:58:42 2016	(r304632, copy of r304631, head/sys/arm/allwinner/a10/files.a10)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+arm/allwinner/a10/a10_intc.c		standard
+arm/allwinner/a10/a10_padconf.c		standard

Modified: projects/powernv/arm/allwinner/a10_ehci.c
==============================================================================
--- projects/powernv/arm/allwinner/a10_ehci.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/arm/allwinner/a10_ehci.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$");
 #include <dev/usb/controller/ehci.h>
 #include <dev/usb/controller/ehcireg.h>
 
-#include <arm/allwinner/allwinner_machdep.h>
+#include <arm/allwinner/aw_machdep.h>
 #include <dev/extres/clk/clk.h>
 #include <dev/extres/hwreset/hwreset.h>
 #include <dev/extres/phy/phy.h>
@@ -88,9 +88,6 @@ __FBSDID("$FreeBSD$");
 static device_attach_t a10_ehci_attach;
 static device_detach_t a10_ehci_detach;
 
-bs_r_1_proto(reversed);
-bs_w_1_proto(reversed);
-
 struct aw_ehci_softc {
 	ehci_softc_t	sc;
 	clk_t		clk;
@@ -361,7 +358,7 @@ static device_method_t ehci_methods[] = 
 static driver_t ehci_driver = {
 	.name = "ehci",
 	.methods = ehci_methods,
-	.size = sizeof(ehci_softc_t),
+	.size = sizeof(struct aw_ehci_softc),
 };
 
 static devclass_t ehci_devclass;

Modified: projects/powernv/arm/allwinner/a10_gpio.c
==============================================================================
--- projects/powernv/arm/allwinner/a10_gpio.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/arm/allwinner/a10_gpio.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -52,11 +52,17 @@ __FBSDID("$FreeBSD$");
 #include <dev/ofw/ofw_bus.h>
 #include <dev/ofw/ofw_bus_subr.h>
 
-#include <arm/allwinner/allwinner_machdep.h>
+#include <arm/allwinner/aw_machdep.h>
 #include <arm/allwinner/allwinner_pinctrl.h>
 #include <dev/extres/clk/clk.h>
 #include <dev/extres/hwreset/hwreset.h>
 
+#include <dt-bindings/pinctrl/sun4i-a10.h>
+
+#if defined(__aarch64__)
+#include "opt_soc.h"
+#endif
+
 #include "gpio_if.h"
 
 #define	A10_GPIO_DEFAULT_CAPS	(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT |	\
@@ -116,6 +122,12 @@ extern const struct allwinner_padconf a8
 extern const struct allwinner_padconf a83t_r_padconf;
 #endif
 
+/* Defined in a64_padconf.c */
+#ifdef SOC_ALLWINNER_A64
+extern const struct allwinner_padconf a64_padconf;
+extern const struct allwinner_padconf a64_r_padconf;
+#endif
+
 static struct ofw_compat_data compat_data[] = {
 #ifdef SOC_ALLWINNER_A10
 	{"allwinner,sun4i-a10-pinctrl",		(uintptr_t)&a10_padconf},
@@ -143,6 +155,10 @@ static struct ofw_compat_data compat_dat
 	{"allwinner,sun8i-h3-pinctrl",		(uintptr_t)&h3_padconf},
 	{"allwinner,sun8i-h3-r-pinctrl",	(uintptr_t)&h3_r_padconf},
 #endif
+#ifdef SOC_ALLWINNER_A64
+	{"allwinner,sun50i-a64-pinctrl",	(uintptr_t)&a64_padconf},
+	{"allwinner,sun50i-a64-r-pinctrl",	(uintptr_t)&a64_r_padconf},
+#endif
 	{NULL,	0}
 };
 
@@ -196,14 +212,8 @@ a10_gpio_get_function(struct a10_gpio_so
 	offset = ((pin & 0x07) << 2);
 
 	func = A10_GPIO_READ(sc, A10_GPIO_GP_CFG(bank, pin >> 3));
-	switch ((func >> offset) & 0x7) {
-	case A10_GPIO_INPUT:
-		return (GPIO_PIN_INPUT);
-	case A10_GPIO_OUTPUT:
-		return (GPIO_PIN_OUTPUT);
-	}
 
-	return (0);
+	return ((func >> offset) & 0x7);
 }
 
 static int
@@ -243,14 +253,8 @@ a10_gpio_get_pud(struct a10_gpio_softc *
 	offset = ((pin & 0x0f) << 1);
 
 	val = A10_GPIO_READ(sc, A10_GPIO_GP_PUL(bank, pin >> 4));
-	switch ((val >> offset) & 0x3) {
-	case A10_GPIO_PULLDOWN:
-		return (GPIO_PIN_PULLDOWN);
-	case A10_GPIO_PULLUP:
-		return (GPIO_PIN_PULLUP);
-	}
 
-	return (0);
+	return ((val >> offset) & AW_GPIO_PUD_MASK);
 }
 
 static void
@@ -271,6 +275,23 @@ a10_gpio_set_pud(struct a10_gpio_softc *
 	A10_GPIO_WRITE(sc, A10_GPIO_GP_PUL(bank, pin >> 4), val);
 }
 
+static uint32_t
+a10_gpio_get_drv(struct a10_gpio_softc *sc, uint32_t pin)
+{
+	uint32_t bank, offset, val;
+
+	/* Must be called with lock held. */
+	A10_GPIO_LOCK_ASSERT(sc);
+
+	bank = sc->padconf->pins[pin].port;
+	pin = sc->padconf->pins[pin].pin;
+	offset = ((pin & 0x0f) << 1);
+
+	val = A10_GPIO_READ(sc, A10_GPIO_GP_DRV(bank, pin >> 4));
+
+	return ((val >> offset) & AW_GPIO_DRV_MASK);
+}
+
 static void
 a10_gpio_set_drv(struct a10_gpio_softc *sc, uint32_t pin, uint32_t drive)
 {
@@ -359,14 +380,39 @@ static int
 a10_gpio_pin_getflags(device_t dev, uint32_t pin, uint32_t *flags)
 {
 	struct a10_gpio_softc *sc;
+	uint32_t func;
+	uint32_t pud;
 
 	sc = device_get_softc(dev);
 	if (pin >= sc->padconf->npins)
 		return (EINVAL);
 
 	A10_GPIO_LOCK(sc);
-	*flags = a10_gpio_get_function(sc, pin);
-	*flags |= a10_gpio_get_pud(sc, pin);
+	func = a10_gpio_get_function(sc, pin);
+	switch (func) {
+	case A10_GPIO_INPUT:
+		*flags = GPIO_PIN_INPUT;
+		break;
+	case A10_GPIO_OUTPUT:
+		*flags = GPIO_PIN_OUTPUT;
+		break;
+	default:
+		*flags = 0;
+		break;
+	}
+
+	pud = a10_gpio_get_pud(sc, pin);
+	switch (pud) {
+	case A10_GPIO_PULLDOWN:
+		*flags |= GPIO_PIN_PULLDOWN;
+		break;
+	case A10_GPIO_PULLUP:
+		*flags |= GPIO_PIN_PULLUP;
+		break;
+	default:
+		break;
+	}
+
 	A10_GPIO_UNLOCK(sc);
 
 	return (0);
@@ -550,9 +596,15 @@ aw_fdt_configure_pins(device_t dev, phan
 		}
 
 		A10_GPIO_LOCK(sc);
-		a10_gpio_set_function(sc, pin_num, pin_func);
-		a10_gpio_set_drv(sc, pin_num, pin_drive);
-		a10_gpio_set_pud(sc, pin_num, pin_pull);
+
+		if (a10_gpio_get_function(sc, pin_num) != pin_func)
+			a10_gpio_set_function(sc, pin_num, pin_func);
+		if (a10_gpio_get_drv(sc, pin_num) != pin_drive)
+			a10_gpio_set_drv(sc, pin_num, pin_drive);
+		if (a10_gpio_get_pud(sc, pin_num) != pin_pull &&
+			(pin_pull == SUN4I_PINCTRL_PULL_UP ||
+			    pin_pull == SUN4I_PINCTRL_PULL_DOWN))
+			a10_gpio_set_pud(sc, pin_num, pin_pull);
 		A10_GPIO_UNLOCK(sc);
 	}
 
@@ -729,4 +781,4 @@ static driver_t a10_gpio_driver = {
 };
 
 EARLY_DRIVER_MODULE(a10_gpio, simplebus, a10_gpio_driver, a10_gpio_devclass, 0, 0,
-    BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
+    BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);

Modified: projects/powernv/arm/allwinner/a10_mmc.c
==============================================================================
--- projects/powernv/arm/allwinner/a10_mmc.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/arm/allwinner/a10_mmc.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
 #include <dev/mmc/mmcreg.h>
 #include <dev/mmc/mmcbrvar.h>
 
-#include <arm/allwinner/allwinner_machdep.h>
+#include <arm/allwinner/aw_machdep.h>
 #include <arm/allwinner/a10_mmc.h>
 #include <dev/extres/clk/clk.h>
 #include <dev/extres/hwreset/hwreset.h>
@@ -182,6 +182,7 @@ a10_mmc_attach(device_t dev)
 	    MTX_DEF);
 	callout_init_mtx(&sc->a10_timeoutc, &sc->a10_mtx, 0);
 
+#if defined(__arm__)
 	/*
 	 * Later chips use a different FIFO offset. Unfortunately the FDT
 	 * uses the same compatible string for old and new implementations.
@@ -196,6 +197,9 @@ a10_mmc_attach(device_t dev)
 		sc->a10_fifo_reg = A31_MMC_FIFO;
 		break;
 	}
+#else /* __aarch64__ */
+	sc->a10_fifo_reg = A31_MMC_FIFO;
+#endif
 
 	/* De-assert reset */
 	if (hwreset_get_by_ofw_name(dev, 0, "ahb", &sc->a10_rst_ahb) == 0) {
@@ -360,6 +364,10 @@ a10_dma_cb(void *arg, bus_dma_segment_t 
 
 	sc = (struct a10_mmc_softc *)arg;
 	sc->a10_dma_map_err = err;
+
+	if (err)
+		return;
+
 	dma_desc = sc->a10_dma_desc;
 	/* Note nsegs is guaranteed to be zero if err is non-zero. */
 	for (i = 0; i < nsegs; i++) {

Modified: projects/powernv/arm/allwinner/a20/a20_padconf.c
==============================================================================
--- projects/powernv/arm/allwinner/a20/a20_padconf.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/arm/allwinner/a20/a20_padconf.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -87,7 +87,7 @@ const static struct allwinner_pins a20_p
 	{"PC2",  2, 2,  {"gpio_in", "gpio_out", "nand0", "spi0", NULL, NULL, NULL, NULL}},
 	{"PC3",  2, 3,  {"gpio_in", "gpio_out", "nand0", NULL, NULL, NULL, NULL, NULL}},
 	{"PC4",  2, 4,  {"gpio_in", "gpio_out", "nand0", NULL, NULL, NULL, NULL, NULL}},
-	{"PC5",  2, 5,  {"gpio_in", "gpio_out", "nand0", "mmc2", NULL, NULL, NULL, NULL}},
+	{"PC5",  2, 5,  {"gpio_in", "gpio_out", "nand0", NULL, NULL, NULL, NULL, NULL}},
 	{"PC6",  2, 6,  {"gpio_in", "gpio_out", "nand0", "mmc2", NULL, NULL, NULL, NULL}},
 	{"PC7",  2, 7,  {"gpio_in", "gpio_out", "nand0", "mmc2", NULL, NULL, NULL, NULL}},
 	{"PC8",  2, 8,  {"gpio_in", "gpio_out", "nand0", "mmc2", NULL, NULL, NULL, NULL}},

Modified: projects/powernv/arm/allwinner/aw_ccu.c
==============================================================================
--- projects/powernv/arm/allwinner/aw_ccu.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/arm/allwinner/aw_ccu.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -80,6 +80,7 @@ static struct ofw_compat_data compat_dat
 	{ "allwinner,sun7i-a20",	CLOCK_CCU },
 	{ "allwinner,sun6i-a31",	CLOCK_CCU },
 	{ "allwinner,sun6i-a31s",	CLOCK_CCU },
+	{ "allwinner,sun50i-a64",	CLOCK_CCU },
 	{ "allwinner,sun8i-a83t",	CLOCK_CCU|CLOCK_PRCM|CLOCK_SYSCTRL },
 	{ "allwinner,sun8i-h3",		CLOCK_CCU },
 	{ NULL, 0 }

Modified: projects/powernv/arm/allwinner/aw_if_dwc.c
==============================================================================
--- projects/powernv/arm/allwinner/aw_if_dwc.c	Mon Aug 22 19:47:29 2016	(r304631)
+++ projects/powernv/arm/allwinner/aw_if_dwc.c	Mon Aug 22 19:58:42 2016	(r304632)
@@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
 #include <dev/ofw/ofw_bus.h>
 #include <dev/ofw/ofw_bus_subr.h>
 
-#include <arm/allwinner/allwinner_machdep.h>
+#include <arm/allwinner/aw_machdep.h>
 #include <dev/extres/clk/clk.h>
 #include <dev/extres/regulator/regulator.h>
 

Copied: projects/powernv/arm/allwinner/aw_machdep.c (from r304631, head/sys/arm/allwinner/aw_machdep.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/powernv/arm/allwinner/aw_machdep.c	Mon Aug 22 19:58:42 2016	(r304632, copy of r304631, head/sys/arm/allwinner/aw_machdep.c)
@@ -0,0 +1,277 @@
+/*-
+ * Copyright (c) 2012 Ganbold Tsagaankhuu <ganbold@freebsd.org>
+ * Copyright (c) 2015-2016 Emmanuel Vadot <manu@freebsd.org>
+ * All rights reserved.
+ *
+ * This code is derived from software written for Brini by Mark Brinicombe
+ *
+ * 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 AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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.
+ *
+
+ * from: FreeBSD: //depot/projects/arm/src/sys/arm/ti/ti_machdep.c
+ */
+
+#include "opt_ddb.h"
+#include "opt_platform.h"
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+#define _ARM32_BUS_DMA_PRIVATE
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/bus.h>
+#include <sys/devmap.h>
+
+#include <vm/vm.h>
+#include <vm/pmap.h>
+
+#include <machine/bus.h>
+#include <machine/machdep.h>
+#include <machine/platformvar.h>
+
+#include <dev/fdt/fdt_common.h>
+
+#include <arm/allwinner/aw_mp.h>
+#include <arm/allwinner/aw_wdog.h>
+#include <arm/allwinner/aw_machdep.h>
+
+#include "platform_if.h"
+
+static u_int soc_type;
+static u_int soc_family;
+
+static int
+a10_attach(platform_t plat)
+{
+	soc_type = ALLWINNERSOC_A10;
+	soc_family = ALLWINNERSOC_SUN4I;
+	return (0);
+}
+
+static int
+a13_attach(platform_t plat)
+{
+	soc_type = ALLWINNERSOC_A13;
+	soc_family = ALLWINNERSOC_SUN5I;
+	return (0);
+}
+
+static int
+a20_attach(platform_t plat)
+{
+	soc_type = ALLWINNERSOC_A20;
+	soc_family = ALLWINNERSOC_SUN7I;
+
+	return (0);
+}
+
+static int
+a31_attach(platform_t plat)
+{
+	soc_type = ALLWINNERSOC_A31;
+	soc_family = ALLWINNERSOC_SUN6I;
+
+	return (0);
+}
+
+static int
+a31s_attach(platform_t plat)
+{
+	soc_type = ALLWINNERSOC_A31S;
+	soc_family = ALLWINNERSOC_SUN6I;
+
+	return (0);
+}
+
+static int
+a83t_attach(platform_t plat)
+{
+	soc_type = ALLWINNERSOC_A83T;
+	soc_family = ALLWINNERSOC_SUN8I;
+
+	return (0);
+}
+
+static int
+h3_attach(platform_t plat)
+{
+	soc_type = ALLWINNERSOC_H3;
+	soc_family = ALLWINNERSOC_SUN8I;
+
+	return (0);
+}
+
+static vm_offset_t
+allwinner_lastaddr(platform_t plat)
+{
+
+	return (devmap_lastaddr());
+}
+
+/*
+ * Set up static device mappings.
+ *
+ * This covers all the on-chip device with 1MB section mappings, which is good
+ * for performance (uses fewer TLB entries for device access).
+ *
+ * XXX It also covers a block of SRAM and some GPU (mali400) stuff that maybe
+ * shouldn't be device-mapped.  The original code mapped a 4MB block, but
+ * perhaps a 1MB block would be more appropriate.
+ */
+static int
+allwinner_devmap_init(platform_t plat)
+{
+
+	devmap_add_entry(0x01C00000, 0x00400000); /* 4MB */
+
+	return (0);
+}
+
+struct arm32_dma_range *
+bus_dma_get_range(void)
+{
+	return (NULL);
+}
+
+int
+bus_dma_get_range_nb(void)
+{
+	return (0);
+}
+
+void
+cpu_reset()
+{
+	aw_wdog_watchdog_reset();
+	printf("Reset failed!\n");
+	while (1);
+}
+
+#if defined(SOC_ALLWINNER_A10)
+static platform_method_t a10_methods[] = {
+	PLATFORMMETHOD(platform_attach,         a10_attach),
+	PLATFORMMETHOD(platform_lastaddr,       allwinner_lastaddr),
+	PLATFORMMETHOD(platform_devmap_init,    allwinner_devmap_init),
+
+	PLATFORMMETHOD_END,
+};
+FDT_PLATFORM_DEF(a10, "a10", 0, "allwinner,sun4i-a10", 200);
+#endif
+
+#if defined(SOC_ALLWINNER_A13)
+static platform_method_t a13_methods[] = {
+	PLATFORMMETHOD(platform_attach,         a13_attach),
+	PLATFORMMETHOD(platform_lastaddr,       allwinner_lastaddr),
+	PLATFORMMETHOD(platform_devmap_init,    allwinner_devmap_init),
+
+	PLATFORMMETHOD_END,
+};
+FDT_PLATFORM_DEF(a13, "a13", 0, "allwinner,sun5i-a13", 200);
+#endif
+
+#if defined(SOC_ALLWINNER_A20)
+static platform_method_t a20_methods[] = {
+	PLATFORMMETHOD(platform_attach,         a20_attach),
+	PLATFORMMETHOD(platform_lastaddr,       allwinner_lastaddr),
+	PLATFORMMETHOD(platform_devmap_init,    allwinner_devmap_init),
+
+#ifdef SMP
+	PLATFORMMETHOD(platform_mp_start_ap,	aw_mp_start_ap),
+	PLATFORMMETHOD(platform_mp_setmaxid,	aw_mp_setmaxid),
+#endif
+	PLATFORMMETHOD_END,
+};
+FDT_PLATFORM_DEF(a20, "a20", 0, "allwinner,sun7i-a20", 200);
+#endif
+
+#if defined(SOC_ALLWINNER_A31)
+static platform_method_t a31_methods[] = {
+	PLATFORMMETHOD(platform_attach,         a31_attach),
+	PLATFORMMETHOD(platform_lastaddr,       allwinner_lastaddr),
+	PLATFORMMETHOD(platform_devmap_init,    allwinner_devmap_init),
+
+#ifdef SMP
+	PLATFORMMETHOD(platform_mp_start_ap,	aw_mp_start_ap),
+	PLATFORMMETHOD(platform_mp_setmaxid,	aw_mp_setmaxid),
+#endif
+	PLATFORMMETHOD_END,
+};
+FDT_PLATFORM_DEF(a31, "a31", 0, "allwinner,sun6i-a31", 200);
+#endif
+
+#if defined(SOC_ALLWINNER_A31S)
+static platform_method_t a31s_methods[] = {
+	PLATFORMMETHOD(platform_attach,         a31s_attach),
+	PLATFORMMETHOD(platform_lastaddr,       allwinner_lastaddr),
+	PLATFORMMETHOD(platform_devmap_init,    allwinner_devmap_init),
+
+#ifdef SMP
+	PLATFORMMETHOD(platform_mp_start_ap,	aw_mp_start_ap),
+	PLATFORMMETHOD(platform_mp_setmaxid,	aw_mp_setmaxid),
+#endif
+	PLATFORMMETHOD_END,
+};
+FDT_PLATFORM_DEF(a31s, "a31s", 0, "allwinner,sun6i-a31s", 200);
+#endif
+
+#if defined(SOC_ALLWINNER_A83T)
+static platform_method_t a83t_methods[] = {
+	PLATFORMMETHOD(platform_attach,         a83t_attach),
+	PLATFORMMETHOD(platform_lastaddr,       allwinner_lastaddr),
+	PLATFORMMETHOD(platform_devmap_init,    allwinner_devmap_init),
+
+#ifdef SMP
+	PLATFORMMETHOD(platform_mp_start_ap,	a83t_mp_start_ap),
+	PLATFORMMETHOD(platform_mp_setmaxid,	aw_mp_setmaxid),
+#endif
+	PLATFORMMETHOD_END,
+};
+FDT_PLATFORM_DEF(a83t, "a83t", 0, "allwinner,sun8i-a83t", 200);

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



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