CVS commit: src/sys

2018-09-09 Thread Aymeric Vincent
Module Name:src
Committed By:   aymeric
Date:   Sun Sep  9 07:21:18 UTC 2018

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_aux.c bcm2835_cprman.c
src/sys/arch/arm/nvidia: tegra124_car.c tegra210_car.c
src/sys/arch/arm/rockchip: rk_cru.c rk_usb.c
src/sys/arch/arm/samsung: exynos5410_clock.c exynos5422_clock.c
src/sys/arch/arm/sunxi: sunxi_ccu.c sunxi_gates.c sunxi_gmacclk.c
src/sys/dev/fdt: fdt_clock.c fdtvar.h fixedclock.c fixedfactorclock.c

Log Message:
Pass clock provider's phandle to fdtbus_clock_controller_func.decode()
and update callers.

This allows to accomodate clock managers whose clocks are identified
directly by a clock instead of a pair (clock provider, index).

ok jmcneill@ on port-arm


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/broadcom/bcm2835_aux.c \
src/sys/arch/arm/broadcom/bcm2835_cprman.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/nvidia/tegra124_car.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/nvidia/tegra210_car.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/rockchip/rk_cru.c \
src/sys/arch/arm/rockchip/rk_usb.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/samsung/exynos5410_clock.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/samsung/exynos5422_clock.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/sunxi/sunxi_ccu.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_gates.c \
src/sys/arch/arm/sunxi/sunxi_gmacclk.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/fdt/fdt_clock.c
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/fdt/fdtvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/fdt/fixedclock.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/fdt/fixedfactorclock.c

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



CVS commit: src/lib/libpthread

2018-09-09 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Sep  9 07:24:59 UTC 2018

Modified Files:
src/lib/libpthread: shlib_version

Log Message:
Add a todo item for a future major bump (rename many symbols)


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libpthread/shlib_version

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Sep  9 11:51:48 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_mod.c

Log Message:
The compat_netbsd32 module requires compat_09 and above.  Since we
removed the alias names, we need to explicitly refer to the oldest
non-32 required compat module.


To generate a diff of this commit:
cvs rdiff -u -r1.13.16.2 -r1.13.16.3 src/sys/compat/netbsd32/netbsd32_mod.c

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



CVS commit: [pgoyette-compat] src/sys/kern

2018-09-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Sep  9 11:54:10 UTC 2018

Modified Files:
src/sys/kern [pgoyette-compat]: kern_module.c

Log Message:
When freeing the required list, make sure we calculate its size based
on the size of the contained elements, not on the size of a pointer to
those elements.


To generate a diff of this commit:
cvs rdiff -u -r1.130.2.22 -r1.130.2.23 src/sys/kern/kern_module.c

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



CVS commit: src/sys/arch/arm/fdt

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 13:22:50 UTC 2018

Modified Files:
src/sys/arch/arm/fdt: cpu_fdt.c

Log Message:
Ditch arm,arm-v8 compatible string (everything uses arm,armv8)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/fdt/cpu_fdt.c

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



CVS commit: src/sys/arch/arm/fdt

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 13:32:26 UTC 2018

Modified Files:
src/sys/arch/arm/fdt: psci_fdt.c

Log Message:
Fix previous; PSCI_CPU_ON requires an MPIDR!


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/fdt/psci_fdt.c

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



CVS commit: src/sys/stand/efiboot

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 13:37:54 UTC 2018

Modified Files:
src/sys/stand/efiboot: boot.c efiboot.h efifdt.c efifdt.h exec.c

Log Message:
Add "dtb" command for loading a custom .dtb file.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/stand/efiboot/boot.c
cvs rdiff -u -r1.4 -r1.5 src/sys/stand/efiboot/efiboot.h \
src/sys/stand/efiboot/exec.c
cvs rdiff -u -r1.8 -r1.9 src/sys/stand/efiboot/efifdt.c
cvs rdiff -u -r1.3 -r1.4 src/sys/stand/efiboot/efifdt.h

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



CVS commit: src/sys/arch/arm/fdt

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 13:40:28 UTC 2018

Modified Files:
src/sys/arch/arm/fdt: pcihost_fdt.c

Log Message:
Take interrupt-map-mask into consideration when mapping PCI interrupts.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/fdt/pcihost_fdt.c

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



CVS commit: src/sys/stand/efiboot

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 17:55:22 UTC 2018

Modified Files:
src/sys/stand/efiboot: Makefile.efiboot boot.c version
Added Files:
src/sys/stand/efiboot: efienv.c efienv.h

Log Message:
Add support for setting environment variables. Currently the following env
vars are supported: "fdtfile", "initrd", and "rootdev".


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/stand/efiboot/Makefile.efiboot
cvs rdiff -u -r1.7 -r1.8 src/sys/stand/efiboot/boot.c
cvs rdiff -u -r0 -r1.1 src/sys/stand/efiboot/efienv.c \
src/sys/stand/efiboot/efienv.h
cvs rdiff -u -r1.2 -r1.3 src/sys/stand/efiboot/version

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



CVS commit: src/sys/stand/efiboot

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 18:00:20 UTC 2018

Modified Files:
src/sys/stand/efiboot: boot.c efiboot.c efiboot.h

Log Message:
Add a reboot command to the bootloader


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/stand/efiboot/boot.c
cvs rdiff -u -r1.5 -r1.6 src/sys/stand/efiboot/efiboot.c \
src/sys/stand/efiboot/efiboot.h

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



CVS commit: src/tools/compat

2018-09-09 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Sun Sep  9 19:17:21 UTC 2018

Modified Files:
src/tools/compat: README

Log Message:
Add instructions for building NetBSD on modern Solaris 11 hosts


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tools/compat/README

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



CVS commit: src/sys/dev/fdt

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 21:14:04 UTC 2018

Modified Files:
src/sys/dev/fdt: fdtbus.c fdtvar.h

Log Message:
Add fdt_add_bus_match, which is like fdt_add_bus but allows for the caller to 
filter child nodes on their own


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/fdt/fdtbus.c
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/fdt/fdtvar.h

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



CVS commit: src/sys/dev/fdt

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 21:15:21 UTC 2018

Modified Files:
src/sys/dev/fdt: cpus.c

Log Message:
Attach cpu nodes with status "disabled" if they have an enable-method
property. This is a valid configuration according to the devicetree
specification.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/fdt/cpus.c

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



CVS commit: src/sys/arch/arm/fdt

2018-09-09 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  9 21:16:05 UTC 2018

Modified Files:
src/sys/arch/arm/fdt: psci_fdt.c

Log Message:
Boot APs with status "disabled" if they have an enable-method property


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/fdt/psci_fdt.c

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



CVS commit: [pgoyette-compat] src/sys/dev/raidframe

2018-09-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Sep  9 22:12:16 UTC 2018

Modified Files:
src/sys/dev/raidframe [pgoyette-compat]: rf_netbsdkintf.c

Log Message:
In the case of no compat modules (ENOSYS returned from the stubs), reset
the retcode to zero so we don't return the wrong value when there is
nothing to do for the particular command.  This was causing spurious
failures for RAIDFRAME_SET_COMPONENT_LABEL which is wrapped in

#if 0
...
#endif


To generate a diff of this commit:
cvs rdiff -u -r1.356.2.1 -r1.356.2.2 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: [pgoyette-compat] src/sys/conf

2018-09-09 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Sep  9 22:35:23 UTC 2018

Added Files:
src/sys/conf [pgoyette-compat]: compat_netbsd80.config

Log Message:
Add compat_netbsd80.config


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/conf/compat_netbsd80.config

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



CVS commit: src/sys/arch/x86/pci

2018-09-09 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Sep 10 02:49:23 UTC 2018

Modified Files:
src/sys/arch/x86/pci: pci_intr_machdep.c

Log Message:
In the NIOAPIC case, we do not need to support "legacy" irqs,
ie; We don't need to simultaneously pass back the irq in the
range 0 < irq < 16 (which are sometimes described as "legacy"
in src

This was non-obvious, until the semantics of "legacy" were
used in inconsistent ways in Xen (to also mean interrupts in
the 0 < irq < 256 range) which causes problems with attempting
to unify the sys/arch/x86/isa/isa_machdep.c:isa_intr_establish_xname()
function between XEN and !XEN

This commit should not affect current functionality on any
either native or Xen. It is needed for future code reorg, and
published now as a preview.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/x86/pci/pci_intr_machdep.c

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



CVS commit: src/sys/arch

2018-09-09 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Sep 10 05:08:55 UTC 2018

Modified Files:
src/sys/arch/x86/x86: intr.c
src/sys/arch/xen/include: intrdefs.h

Log Message:
Make the use of 'irqs' in the range 0 < irq < 255 by xen
as a handle for internal use explicit.

This allows us to pass up the handle as "legacy" irq while
establishing interrupt handlers for xen.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/x86/x86/intr.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/xen/include/intrdefs.h

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



CVS commit: src/sys/arch/aarch64/aarch64

2018-09-09 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Sep 10 05:14:42 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: locore.S

Log Message:
Fix typos and DEBUG_MMU output.  From Rin Okuyama.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/aarch64/aarch64/locore.S

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