CVS commit: src/lib/libc/atomic
Module Name:src Committed By: dholland Date: Sat Jun 16 08:11:33 UTC 2018 Modified Files: src/lib/libc/atomic: atomic_and.3 atomic_ops.3 atomic_or.3 Log Message: atomic_and/atomic_or do bitwise ops, not logical ops. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/atomic/atomic_and.3 \ src/lib/libc/atomic/atomic_or.3 cvs rdiff -u -r1.7 -r1.8 src/lib/libc/atomic/atomic_ops.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: nakayama Date: Sat Jun 16 08:24:55 UTC 2018 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Change aprint_error_dev to aprint_normal_dev for normal completion case. To generate a diff of this commit: cvs rdiff -u -r1.155 -r1.156 src/sys/dev/usb/uaudio.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/virt
Module Name:src Committed By: jmcneill Date: Sat Jun 16 10:42:41 UTC 2018 Modified Files: src/sys/arch/arm/virt: virt_platform.c Log Message: incldue -> include To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/virt/virt_platform.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/rockchip
Module Name:src Committed By: jmcneill Date: Sat Jun 16 12:49:46 UTC 2018 Modified Files: src/sys/arch/arm/rockchip: rk_gpio.c Log Message: Fix reading through /dev/gpio and use the same style for writing registers in both fdt and /dev/gpio cases To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/rockchip/rk_gpio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/ndp
Module Name:src Committed By: christos Date: Sat Jun 16 13:09:41 UTC 2018 Modified Files: src/usr.sbin/ndp: ndp.c Log Message: PR/53371: Thomas Barabosch: Potential memory leak in usr.sbin/ndp/ndp.c To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/ndp/ndp.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/rockchip
Module Name:src Committed By: jmcneill Date: Sat Jun 16 13:24:04 UTC 2018 Modified Files: src/sys/arch/arm/rockchip: rk_cru_pll.c Log Message: Fix rate calculation of fractional mode PLLs To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/rockchip/rk_cru_pll.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/aarch64/aarch64
Module Name:src Committed By: jmcneill Date: Sat Jun 16 13:53:45 UTC 2018 Modified Files: src/sys/arch/aarch64/aarch64: bus_space.c Log Message: initialize bs_cookie for generic_dsb tags To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/aarch64/bus_space.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/evbarm/conf
Module Name:src Committed By: jmcneill Date: Sat Jun 16 14:41:25 UTC 2018 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: Comment out EARLYCONS To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/conf/GENERIC64 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: jdolecek Date: Sat Jun 16 15:00:35 UTC 2018 Modified Files: src/sys/dev/pci: if_ena.c if_enavar.h src/sys/external/bsd/ena-com: ena_plat.h Log Message: make ena(4) compile, with best efford exercised to convert code to NetBSD equivalents; where possible left the original code intact to make it easier to compare against FreeBSD original made non-working stubs for some functions which don't have direct equivalent yet - this includes all of , m_getjcl(), m_append, and m_collapse(); these need to be adressed left XXX/TODO in if_enavar.h, colocated with the non-working stubs To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/if_ena.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_enavar.h cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/ena-com/ena_plat.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/amd64/conf
Module Name:src Committed By: jdolecek Date: Sat Jun 16 15:04:29 UTC 2018 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: uncomment ena(4) now that it compiles; even though it's not working yet, this ensures it's included in eventual subsystem rototils To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/amd64/conf/ALL Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs
Module Name:src Committed By: gson Date: Sat Jun 16 15:18:33 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ioctl.c Log Message: Use space between words To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: maxv Date: Sat Jun 16 17:11:13 UTC 2018 Modified Files: src/sys/arch/x86/x86: fpu.c x86_machdep.c Log Message: Need IPIs when enabling eager fpu switch, to clear each fpu and get us started. Otherwise it is possible that the first context switch on one of the cpus will restore an invalid fpu state in the new lwp, if that lwp had its fpu state stored on another cpu that didn't have time to do an fpu save since eager-fpu was enabled. Use barriers and all the related crap. The point is that we want to ensure that no context switch occurs between [each fpu is cleared] and [x86_fpu_eager is set to 'true']. Also add KASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/x86/x86/fpu.c cvs rdiff -u -r1.116 -r1.117 src/sys/arch/x86/x86/x86_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/dev/mii
Module Name:src Committed By: jdolecek Date: Sat Jun 16 17:44:53 UTC 2018 Modified Files: src/sys/dev/mii: makphy.c Added Files: src/sys/dev/mii: e1000phyreg.h Removed Files: src/sys/dev/mii: makphyreg.h Log Message: switch to using OpenBSD eehpy(4) code to drive maphy(4), synchronizing support for several special PHY conditions, particularly: - Properly re-initialise the PHY upon resume - Store next page in the Link Partner Next Page register for compatibility with 802.3ab on 88E3016 PHYs. Fixes some autonegotiation problems on msk(4) - Make 88E3016 actually work - Make sure page 0 is selected when we initialize the PHY. Fixes problems with the eephy(4) that attaches to nfe(4) on machines like the Sun Ultra 40. (we had condition for this, now the page 0 is selected for any PHY type) - Disable fiber/copper auto-selection on the 88E if it is in RGMII mode, to work around the fact that the onboard PHYs attached to nfe(4) on the Sun X4100 M2 have fiber/copper auto-selection enabled even though the interfaces are clearly copper-only make sure to also add appropriate licenses, since basically nothing really significant remains out of previous code use FreeBSD for register definitions as a base instead of OpenBSD , since it has some extra definitions for some 3016 bits, but add the several extra bits from OpenBSD needed by the code; removed no longed used tested with PHY 88E, there no particular change observed - the link status works as it did before, just now it does media nego even before the interface is up should however fix 88E3016 support and hence PR kern/49270 and PR kern/53301 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/dev/mii/e1000phyreg.h cvs rdiff -u -r1.43 -r1.44 src/sys/dev/mii/makphy.c cvs rdiff -u -r1.6 -r0 src/sys/dev/mii/makphyreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/heimdal/dist/lib/krb5
Module Name:src Committed By: kamil Date: Sat Jun 16 18:51:36 UTC 2018 Modified Files: src/crypto/external/bsd/heimdal/dist/lib/krb5: config_file.c Log Message: Do not reference buffer after the code scope {} rk_getpwuid_r() returns a pointer pwd->pw_dir to a buffer pwbuf[]. It's not safe to store another a copy of pwd->pw_dir in outter scope and use it out of the scope where there exists pwbuf[]. This fixes a problem reported by ASan under MKSANITIZER. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/heimdal/dist/lib/krb5/config_file.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/nvi/dist/common
Module Name:src Committed By: kamil Date: Sat Jun 16 18:54:52 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: log.c Log Message: Do not cause Undefined Behavior in vi(1) Replace unportable manual calculation of alignof() that causes UB, with a GCC extension __alignof__. This fixes a problem reported by UBSan with the MKSANITIZER distribution. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/common/log.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/csu
Module Name:src Committed By: kamil Date: Sat Jun 16 18:58:00 UTC 2018 Modified Files: src/lib/csu: Makefile Log Message: Disable MKSANITIZER in lib/csu These low-level libraries are expected to be not touched by a sanitizer. Every libc program not using sanitizers cannot work with sanitized csu. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/csu/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/mk
Module Name:src Committed By: mrg Date: Sat Jun 16 19:05:17 UTC 2018 Modified Files: src/share/mk: bsd.own.mk Log Message: check MK{FOO} defaults for $MACHINE as well as $MACHINE_ARCH. should restore firmware files for some platforms that were missing them. To generate a diff of this commit: cvs rdiff -u -r1.1064 -r1.1065 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/nvi/dist/common
Module Name:src Committed By: kamil Date: Sat Jun 16 21:00:12 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: log.c Log Message: Correct previous change to CHAR_T_OFFSET The intended operation is offsetof(), not alignof(). Noted by To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/dist/common/log.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: thorpej Date: Sat Jun 16 21:22:14 UTC 2018 Modified Files: src/sys/arch/evbmips/loongson/dev: stvii.c src/sys/arch/hpcarm/dev: nbppcon.c src/sys/arch/macppc/dev: deq.c smusat.c videopll.c src/sys/arch/sparc64/dev: pcf8591_envctrl.c tda.c src/sys/arch/zaurus/dev: ioexp.c wm8731_zaudio.c wm8750_zaudio.c src/sys/dev/i2c: ac100.c act8846.c adadc.c adm1021.c adm1026.c am2315.c as3722.c at24cxx.c axp20x.c axp22x.c axp809.c axppmic.c dbcool.c ddc.c dstemp.c em3027.c fcu.c g760a.c i2c.c i2cvar.h ibmhawk.c ihidev.c lm75.c lm87.c lm_i2c.c m41st84.c m41t00.c max6900.c max77620.c mcp980x.c mpl115a.c pcf8563.c pcf8583.c r2025.c rs5c372.c s390.c sdtemp.c sgsmix.c si70xx.c smscmon.c spdmem_i2c.c sy8106a.c tcagpio.c tcakp.c titemp.c tps65217pmic.c tps65950.c tsl256x.c w83795g.c x1226.c Log Message: More cleanup to i2c autoconfiguration: - Get all of the drivers onto the new match quality constants. - Introduce a new helper function, iic_use_direct_match(), that has all of the logic for direct-config matching. If it returns true, the driver returns the match result (which may be 0). If it returns false, the driver does indirect-config matching. - iic_compat_match() now returns a weighted match quality; matches to lower-indexed "compatible" device property are more-specific matches, and return a better match quality accordingly. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/loongson/dev/stvii.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hpcarm/dev/nbppcon.c cvs rdiff -u -r1.13 -r1.14 src/sys/arch/macppc/dev/deq.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/macppc/dev/smusat.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/macppc/dev/videopll.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sparc64/dev/pcf8591_envctrl.c cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sparc64/dev/tda.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/zaurus/dev/ioexp.c \ src/sys/arch/zaurus/dev/wm8731_zaudio.c \ src/sys/arch/zaurus/dev/wm8750_zaudio.c cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/ac100.c src/sys/dev/i2c/axp809.c \ src/sys/dev/i2c/dstemp.c src/sys/dev/i2c/em3027.c \ src/sys/dev/i2c/mpl115a.c src/sys/dev/i2c/sy8106a.c \ src/sys/dev/i2c/tcagpio.c cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/act8846.c src/sys/dev/i2c/g760a.c \ src/sys/dev/i2c/lm_i2c.c src/sys/dev/i2c/titemp.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/adadc.c src/sys/dev/i2c/axp22x.c \ src/sys/dev/i2c/fcu.c src/sys/dev/i2c/s390.c src/sys/dev/i2c/si70xx.c \ src/sys/dev/i2c/tsl256x.c cvs rdiff -u -r1.16 -r1.17 src/sys/dev/i2c/adm1021.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/adm1026.c src/sys/dev/i2c/am2315.c \ src/sys/dev/i2c/ihidev.c src/sys/dev/i2c/max77620.c \ src/sys/dev/i2c/smscmon.c src/sys/dev/i2c/w83795g.c cvs rdiff -u -r1.12 -r1.13 src/sys/dev/i2c/as3722.c cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/at24cxx.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/axp20x.c src/sys/dev/i2c/axppmic.c cvs rdiff -u -r1.48 -r1.49 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/ddc.c src/sys/dev/i2c/ibmhawk.c \ src/sys/dev/i2c/tcakp.c cvs rdiff -u -r1.61 -r1.62 src/sys/dev/i2c/i2c.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/i2c/i2cvar.h cvs rdiff -u -r1.30 -r1.31 src/sys/dev/i2c/lm75.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/lm87.c src/sys/dev/i2c/r2025.c cvs rdiff -u -r1.23 -r1.24 src/sys/dev/i2c/m41st84.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/i2c/m41t00.c src/sys/dev/i2c/x1226.c cvs rdiff -u -r1.15 -r1.16 src/sys/dev/i2c/max6900.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/mcp980x.c src/sys/dev/i2c/tps65950.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/pcf8563.c src/sys/dev/i2c/sgsmix.c cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2c/pcf8583.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/i2c/rs5c372.c \ src/sys/dev/i2c/spdmem_i2c.c cvs rdiff -u -r1.33 -r1.34 src/sys/dev/i2c/sdtemp.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/i2c/tps65217pmic.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Sat Jun 16 21:28:07 UTC 2018 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: More cleanup to i2c autoconfiguration: - Get all of the drivers onto the new match quality constants. - Introduce a new helper function, iic_use_direct_match(), that has all of the logic for direct-config matching. If it returns true, the driver returns the match result (which may be 0). If it returns false, the driver does indirect-config matching. - iic_compat_match() now returns a weighted match quality; matches to lower-indexed "compatible" device property are more-specific matches, and return a better match quality accordingly. In addition to the above: - Add support for direct-config matching this driver based on "compatible" properties. - Address-only matching is now done based on the specific addresses the requested model supports. - "compatible" property can specify to the driver which model is to be used, so that using config "flags" directives aren't required in the direct-config case. XXX More changes coming that require re-factoring some other code. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/ds1307.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Sat Jun 16 21:24:36 UTC 2018 Modified Files: src/sys/dev/i2c: hytp14.c Log Message: More cleanup to i2c autoconfiguration: - Get all of the drivers onto the new match quality constants. - Introduce a new helper function, iic_use_direct_match(), that has all of the logic for direct-config matching. If it returns true, the driver returns the match result (which may be 0). If it returns false, the driver does indirect-config matching. - iic_compat_match() now returns a weighted match quality; matches to lower-indexed "compatible" device property are more-specific matches, and return a better match quality accordingly. XXX This driver is an odd-ball with respect to the hardware device. See comments in the match routine. Unclear how best to handle it. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/hytp14.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/rockchip
Module Name:src Committed By: jmcneill Date: Sat Jun 16 23:13:29 UTC 2018 Modified Files: src/sys/arch/arm/rockchip: rk_iomux.c Log Message: Remove unused defines To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/rockchip/rk_iomux.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/rockchip
Module Name:src Committed By: jmcneill Date: Sat Jun 16 23:14:47 UTC 2018 Modified Files: src/sys/arch/arm/rockchip: rk3328_cru.c Log Message: Replace register numbers with defines, fixing a bunch of typos in the process. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/rockchip/rk3328_cru.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/fdt
Module Name:src Committed By: jmcneill Date: Sat Jun 16 23:44:26 UTC 2018 Modified Files: src/sys/dev/fdt: dwc2_fdt.c Log Message: Match generic snps,dwc2 compat string To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/fdt/dwc2_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/rockchip
Module Name:src Committed By: jmcneill Date: Sun Jun 17 00:33:06 UTC 2018 Modified Files: src/sys/arch/arm/rockchip: rk_gmac.c Log Message: Enable gpio reset logic To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/rockchip/rk_gmac.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Sun Jun 17 01:07:06 UTC 2018 Modified Files: src/sys/dev/i2c: am2315.c Log Message: Remove now-unused variable. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/am2315.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Sun Jun 17 01:08:15 UTC 2018 Modified Files: src/sys/dev/i2c: am2315.c Log Message: Oops, another one. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/am2315.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: maxv Date: Sun Jun 17 06:03:41 UTC 2018 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: No, I meant to put the panic in fpudna not fputrap. Also appease it: panic only if the fpu already has a state. We're fine with getting a DNA, what we're not fine with is if the DNA is received while the FPU is busy. I believe (even though I couldn't trigger it) that the panic would otherwise fire if PT_SETFPREGS is used. And also ACPI sleep/wakeup, probably. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.