Re: svn commit: r354347 - in head: contrib/compiler-rt/lib/builtins contrib/libunwind/include lib/libcompiler_rt lib/libgcc_s lib/libgcc_s/arm

2019-11-28 Thread Michal Meloun
On 05.11.2019 4:20, Conrad Meyer wrote: > Author: cem > Date: Tue Nov 5 03:20:40 2019 > New Revision: 354347 > URL: https://svnweb.freebsd.org/changeset/base/354347 > > Log: > Fix llvm-libunwind userspace build on ARM > > GCC's libgcc exports a few ARM-specific symbols for ARM EABI,

svn commit: r355208 - head/sys/conf

2019-11-28 Thread Ryan Libby
Author: rlibby Date: Fri Nov 29 06:25:07 2019 New Revision: 355208 URL: https://svnweb.freebsd.org/changeset/base/355208 Log: kern.mk: -Wno-error=stringop-overflow for gcc due to false positives Demote gcc's Wstringop-overflow to Wno-error due to false positives. E.g. the riscv64 build

svn commit: r355207 - head/sys/kern

2019-11-28 Thread Ryan Libby
Author: rlibby Date: Fri Nov 29 06:25:03 2019 New Revision: 355207 URL: https://svnweb.freebsd.org/changeset/base/355207 Log: ktls_session zone: don't need to specify uma trash The use of the uma trash procedures is automatic, there's no need to pass them explicitly here. Reviewed

svn commit: r355206 - head/sys/kern

2019-11-28 Thread Kyle Evans
Author: kevans Date: Fri Nov 29 03:56:01 2019 New Revision: 355206 URL: https://svnweb.freebsd.org/changeset/base/355206 Log: tty_pts: don't rely on tty header pollution for sys/mutex.h tty_pts.c relies on sys/tty.h for sys/mutex.h. Include it directly instead of relying on this

svn commit: r355205 - head/sys/dev/snp

2019-11-28 Thread Kyle Evans
Author: kevans Date: Fri Nov 29 03:51:01 2019 New Revision: 355205 URL: https://svnweb.freebsd.org/changeset/base/355205 Log: snp: don't reference tp->t_mtx directly This is the only part of snp(4) that pokes around in struct tty directly; replace it with the tty_getlock accessor to

svn commit: r355204 - head/sbin/dhclient

2019-11-28 Thread Conrad Meyer
Author: cem Date: Fri Nov 29 03:31:47 2019 New Revision: 355204 URL: https://svnweb.freebsd.org/changeset/base/355204 Log: Fix braino in previous bugfix r300174 The previous revision missed the exact same error in a copy paste block of the same code in another function. Fix the

svn commit: r355203 - in head/sys: kern vm

2019-11-28 Thread Jeff Roberson
Author: jeff Date: Fri Nov 29 03:14:10 2019 New Revision: 355203 URL: https://svnweb.freebsd.org/changeset/base/355203 Log: Handle large mallocs by going directly to kmem. Taking a detour through UMA does not provide any additional value. Reviewed by: markj Differential Revision:

svn commit: r355202 - stable/12/lib/libc/sys

2019-11-28 Thread Mark Johnston
Author: markj Date: Fri Nov 29 02:16:45 2019 New Revision: 355202 URL: https://svnweb.freebsd.org/changeset/base/355202 Log: MFC r355000: Fix typos in the cpuset_{get,set}domain() man page. Modified: stable/12/lib/libc/sys/cpuset_getdomain.2 Directory Properties: stable/12/ (props

svn commit: r355201 - head/sys/vm

2019-11-28 Thread Doug Moore
Author: dougm Date: Fri Nov 29 02:06:45 2019 New Revision: 355201 URL: https://svnweb.freebsd.org/changeset/base/355201 Log: Functions that call vm_map_splay_merge sometimes set data fields (e.g. root->left = NULL) to affect the behavior of that function. This change stops that data

svn commit: r355200 - stable/12/sys/dev/ioat

2019-11-28 Thread Alexander Motin
Author: mav Date: Fri Nov 29 01:00:06 2019 New Revision: 355200 URL: https://svnweb.freebsd.org/changeset/base/355200 Log: MFC r354752: Cleanup address range checks in ioat(4). - Deduce allowed address range for bus_dma(9) from the hardware version. Different versions (CPU generations)

svn commit: r355199 - stable/12/sys/dev/ioat

2019-11-28 Thread Alexander Motin
Author: mav Date: Fri Nov 29 00:58:18 2019 New Revision: 355199 URL: https://svnweb.freebsd.org/changeset/base/355199 Log: MFC r345813 (by tychon): ioat(4) should use bus_dma(9) for the operation source and destination addresses Modified: stable/12/sys/dev/ioat/ioat.c

svn commit: r355197 - in stable/12: sys/dev/ioat tools/tools/ioat

2019-11-28 Thread Alexander Motin
Author: mav Date: Fri Nov 29 00:38:16 2019 New Revision: 355197 URL: https://svnweb.freebsd.org/changeset/base/355197 Log: MFC r345812 (by tychon): ioatcontrol(8) could exercise 8k-aligned copy with page-break, crc and crc-copy modes. Modified: stable/12/sys/dev/ioat/ioat_test.c

svn commit: r355198 - in stable/11: sys/dev/ioat tools/tools/ioat

2019-11-28 Thread Alexander Motin
Author: mav Date: Fri Nov 29 00:38:34 2019 New Revision: 355198 URL: https://svnweb.freebsd.org/changeset/base/355198 Log: MFC r345812 (by tychon): ioatcontrol(8) could exercise 8k-aligned copy with page-break, crc and crc-copy modes. Modified: stable/11/sys/dev/ioat/ioat_test.c

svn commit: r355195 - stable/12/sys/dev/ioat

2019-11-28 Thread Alexander Motin
Author: mav Date: Fri Nov 29 00:25:39 2019 New Revision: 355195 URL: https://svnweb.freebsd.org/changeset/base/355195 Log: MFC r354753: Initialize *comp_update with valid value. I've noticed that sometimes with enabled DMAR initial write from device to this address is somehow getting

svn commit: r355196 - stable/11/sys/dev/ioat

2019-11-28 Thread Alexander Motin
Author: mav Date: Fri Nov 29 00:26:05 2019 New Revision: 355196 URL: https://svnweb.freebsd.org/changeset/base/355196 Log: MFC r354753: Initialize *comp_update with valid value. I've noticed that sometimes with enabled DMAR initial write from device to this address is somehow getting

svn commit: r355194 - head/sys/fs/nfs

2019-11-28 Thread Rick Macklem
Author: rmacklem Date: Thu Nov 28 23:34:23 2019 New Revision: 355194 URL: https://svnweb.freebsd.org/changeset/base/355194 Log: Fix two races while handling nfsuserd daemon start/stop. A crash was reported where the nr_client field was NULL during an upcall to the nfsuserd daemon. Since

svn commit: r355193 - head/sys/arm/freescale/imx

2019-11-28 Thread Ian Lepore
Author: ian Date: Thu Nov 28 21:50:34 2019 New Revision: 355193 URL: https://svnweb.freebsd.org/changeset/base/355193 Log: Implement the ofw_bus_get_node method in the imx_gpio driver so that ofw_gpiobus can find its fdt metadata and instantiate child devices. Modified:

svn commit: r355192 - head/usr.bin/calendar/calendars

2019-11-28 Thread Greg Lehey
Author: grog Date: Thu Nov 28 21:22:04 2019 New Revision: 355192 URL: https://svnweb.freebsd.org/changeset/base/355192 Log: Clarify name of Pau Casals (it's Catalonian) Get correct birthday (from Wikipedia). Modified: head/usr.bin/calendar/calendars/calendar.music Modified:

svn commit: r355191 - head/sys/arm64/rockchip/clk

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 20:46:24 2019 New Revision: 355191 URL: https://svnweb.freebsd.org/changeset/base/355191 Log: arm64: rockchip: rk3328: Add TSADC clocks Add the clocks so we can use the rk_tsadc driver to monitor the cpu temperature. Modified:

svn commit: r355190 - head/sys/arm64/rockchip

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 20:17:03 2019 New Revision: 355190 URL: https://svnweb.freebsd.org/changeset/base/355190 Log: arm64: rockchip: tsadc: Do not free the sysctl context is it wasn't created MFC after:3 weeks X-MFC-With: r355173 Modified:

svn commit: r355189 - in stable: 11/lib/clang/libclang 11/lib/clang/libllvm 12/lib/clang/libclang 12/lib/clang/libllvm

2019-11-28 Thread Dimitry Andric
Author: dim Date: Thu Nov 28 20:09:19 2019 New Revision: 355189 URL: https://svnweb.freebsd.org/changeset/base/355189 Log: MFC r354908: Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out

svn commit: r355189 - in stable: 11/lib/clang/libclang 11/lib/clang/libllvm 12/lib/clang/libclang 12/lib/clang/libllvm

2019-11-28 Thread Dimitry Andric
Author: dim Date: Thu Nov 28 20:09:19 2019 New Revision: 355189 URL: https://svnweb.freebsd.org/changeset/base/355189 Log: MFC r354908: Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out

svn commit: r355188 - in head/riscv: . sifive

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 19:38:57 2019 New Revision: 355188 URL: https://svnweb.freebsd.org/changeset/base/355188 Log: Import riscv DTS files Requested by: mhorne Added: head/riscv/ - copied from r355184, vendor/device-tree/dist/src/riscv/ Replaced:

svn commit: r355187 - in head/sys/gnu/dts: arm arm64/allwinner arm64/altera arm64/amlogic arm64/arm arm64/bitmain arm64/broadcom/stingray arm64/freescale arm64/intel arm64/marvell arm64/mediatek ar...

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 19:30:41 2019 New Revision: 355187 URL: https://svnweb.freebsd.org/changeset/base/355187 Log: Import DTS files from Linux 5.4 MFC after:2 months Added: head/sys/gnu/dts/arm/aspeed-ast2600-evb.dts - copied unchanged from r355185,

svn commit: r355186 - vendor/device-tree/5.4

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 19:05:51 2019 New Revision: 355186 URL: https://svnweb.freebsd.org/changeset/base/355186 Log: Tag import of DTS files from Linux 5.4 Added: vendor/device-tree/5.4/ - copied from r355185, vendor/device-tree/dist/

svn commit: r355185 - in vendor/device-tree/dist: . Bindings Bindings/arm Bindings/arm/amlogic Bindings/arm/freescale Bindings/arm/marvell Bindings/arm/mediatek Bindings/ata Bindings/bus Bindings/c...

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 19:05:03 2019 New Revision: 355185 URL: https://svnweb.freebsd.org/changeset/base/355185 Log: Import devicetree files from Linux 5.4 Added: vendor/device-tree/dist/Bindings/arm/actions.yaml

svn commit: r355184 - stable/12/lib/libpmc

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:50:33 2019 New Revision: 355184 URL: https://svnweb.freebsd.org/changeset/base/355184 Log: MFC r354549-r354550 r354549: libpmc: Match on the cpuid with a regex The CPUID is, or can be, a regex to be matched. Use regex from libc instead of strcmp

svn commit: r355183 - in stable/12/sys: arm/allwinner arm64/rockchip dev/extres/regulator

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:44:06 2019 New Revision: 355183 URL: https://svnweb.freebsd.org/changeset/base/355183 Log: MFC r353917-r353919, r354396-r354397 r353917: regulator: Add a regnode_method_init This is a default init method for regulator that don't really need one.

svn commit: r355182 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-11-28 Thread Alexander Motin
Author: mav Date: Thu Nov 28 18:28:35 2019 New Revision: 355182 URL: https://svnweb.freebsd.org/changeset/base/355182 Log: Fix use-after-free in case of L2ARC prefetch failure. In case L2ARC read failed, l2arc_read_done() creates _different_ ZIO to read data from the original storage

svn commit: r355181 - stable/12/sys/dev/mmc/host

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:18:10 2019 New Revision: 355181 URL: https://svnweb.freebsd.org/changeset/base/355181 Log: MFC r353354: dwmmc: Reset the dma controller at attach If the bootloader enabled DMA we need to fully reset the DMA controller otherwise we might have some

svn commit: r355180 - in stable/12/sys/gnu/dts: arm arm64/allwinner arm64/altera arm64/amlogic arm64/apm arm64/arm arm64/bitmain arm64/broadcom arm64/broadcom/stingray arm64/cavium arm64/exynos arm...

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:15:05 2019 New Revision: 355180 URL: https://svnweb.freebsd.org/changeset/base/355180 Log: MFC r352858, r352860, r353172 r352858: Import DTS files from Linux 5.2 r352860: Import DTS files from Linux 5.3 r353172: arm: dts: ti: Fix mmc3

svn commit: r355179 - in stable/12/sys: arm/allwinner arm/allwinner/clkng conf

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:02:13 2019 New Revision: 355179 URL: https://svnweb.freebsd.org/changeset/base/355179 Log: MFC r353524-r353527, r353534 r353524: aw_ccung: Add more debug printfs No functional changes r353525: arm64: allwinner: Add new clock aw_clk_np

svn commit: r355178 - in stable/12/sys: arm/allwinner arm64/conf arm64/rockchip conf dev/usb/controller

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:52:25 2019 New Revision: 355178 URL: https://svnweb.freebsd.org/changeset/base/355178 Log: MFC r352940-r352941, r352943-r352944, r353062-r353063, r353125 r352940: generic_ohci: Look for the phy based on the id phy-names was never in the bindings

svn commit: r355177 - in stable/12/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf dev/iicbus

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:45:57 2019 New Revision: 355177 URL: https://svnweb.freebsd.org/changeset/base/355177 Log: MFC r352853, r352903-r352904, r352936-r352937 r352853: arm64: rockchip: Add usb2phy driver This driver is for the usb phy present on rockchip SoC. It only

svn commit: r355176 - in stable/12/sys: arm64/rockchip arm64/rockchip/clk dev/dwc

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:42:11 2019 New Revision: 355176 URL: https://svnweb.freebsd.org/changeset/base/355176 Log: MFC r347097, r351187, r351551-r351552, r352849-r352852 r347097 by ganbold: Add emmc clock definitions for Rockchip RK3399 SoC. r351187 by mmel: Improve

svn commit: r355175 - in stable/12/sys: dev/iicbus/twsi dts/arm/overlays modules/dtb/allwinner

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:34:49 2019 New Revision: 355175 URL: https://svnweb.freebsd.org/changeset/base/355175 Log: MFC r350180, r351100 r350180: dtso: allwinner: Add an overlay for H3 i2c0 Most of the H3 boards don't enable i2c as it is unused. Add an overlay so it's

svn commit: r355174 - in stable/12/sys: arm/allwinner arm/allwinner/a20 arm/allwinner/clkng conf dev/extres/clk

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:30:16 2019 New Revision: 355174 URL: https://svnweb.freebsd.org/changeset/base/355174 Log: MFC r350842, r350844-r350846, r351099, r352848, r352859 r350842: allwinner: Rework the BUS_PASS on drivers - Put all clock and control unit driver in

svn commit: r355173 - in head/sys: arm64/rockchip conf

2019-11-28 Thread Michal Meloun
Author: mmel Date: Thu Nov 28 17:01:31 2019 New Revision: 355173 URL: https://svnweb.freebsd.org/changeset/base/355173 Log: Add driver for temperature sensors found in RK32898, RK3328 and RK3399 SoC's. MFC after:3 weeks Reviewed by: manu Differential Revision:

Re: svn commit: r355145 - head/sys/arm64/arm64

2019-11-28 Thread Konstantin Belousov
On Thu, Nov 28, 2019 at 09:17:15AM +, Andrew Turner wrote: > > > > On 28 Nov 2019, at 08:48, Michal Meloun wrote: > > > > > > > > On 27.11.2019 21:33, Alan Cox wrote: > >> Author: alc > >> Date: Wed Nov 27 20:33:49 2019 > >> New Revision: 355145 > >> URL:

svn commit: r355172 - head/sys/netinet

2019-11-28 Thread Michael Tuexen
Author: tuexen Date: Thu Nov 28 12:50:25 2019 New Revision: 355172 URL: https://svnweb.freebsd.org/changeset/base/355172 Log: Really ignore the SCTP association identifier on 1-to-1 style sockets as requiresd by the socket API specification. Thanks to Inaki Baz Castillo, who found this bug

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-28 Thread Stefan Eßer
Am 28.11.19 um 05:29 schrieb Rodney W. Grimes: >> Author: scottl >> Date: Thu Nov 28 02:32:17 2019 >> New Revision: 355164 >> URL: https://svnweb.freebsd.org/changeset/base/355164 >> >> Log: >> Remove the trm(4) driver >> >> Differential Revision: https://reviews.freebsd.org/D22575 > >

Re: svn commit: r355145 - head/sys/arm64/arm64

2019-11-28 Thread Andrew Turner
> On 28 Nov 2019, at 08:48, Michal Meloun wrote: > > > > On 27.11.2019 21:33, Alan Cox wrote: >> Author: alc >> Date: Wed Nov 27 20:33:49 2019 >> New Revision: 355145 >> URL: https://svnweb.freebsd.org/changeset/base/355145 >> >> Log: >> There is no reason why we need to pin the

svn commit: r355171 - head/sys/kern

2019-11-28 Thread Jeff Roberson
Author: jeff Date: Thu Nov 28 08:56:14 2019 New Revision: 355171 URL: https://svnweb.freebsd.org/changeset/base/355171 Log: Fix DEBUG_REDZONE build after r355169 Modified: head/sys/kern/kern_malloc.c Modified: head/sys/kern/kern_malloc.c

Re: svn commit: r355145 - head/sys/arm64/arm64

2019-11-28 Thread Michal Meloun
On 27.11.2019 21:33, Alan Cox wrote: > Author: alc > Date: Wed Nov 27 20:33:49 2019 > New Revision: 355145 > URL: https://svnweb.freebsd.org/changeset/base/355145 > > Log: > There is no reason why we need to pin the underlying thread to its current > processor in

svn commit: r355170 - head/sys/kern

2019-11-28 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 28 08:47:36 2019 New Revision: 355170 URL: https://svnweb.freebsd.org/changeset/base/355170 Log: Factor out check for mounted root file system. Differential Revision:https://reviews.freebsd.org/D22571 PR: 241639 MFC after:1 week