svn commit: r347088 - head/sys/compat/linuxkpi/common/src

2019-05-04 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 4 09:30:03 2019 New Revision: 347088 URL: https://svnweb.freebsd.org/changeset/base/347088 Log: Fix regression issue after r346645 in the LinuxKPI. Properly handle error case when mapping DMA address fails. Sponsored by: Mellanox Technologies Modif

svn commit: r347089 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2019-05-04 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 4 09:47:01 2019 New Revision: 347089 URL: https://svnweb.freebsd.org/changeset/base/347089 Log: Fix regression issue after r346645 in the LinuxKPI. The S/G list must be mapped AS-IS without any optimisations. This also implies that sg_dma_len() must be equa

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

2019-05-04 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Sat May 4 10:48:44 2019 New Revision: 347097 URL: https://svnweb.freebsd.org/changeset/base/347097 Log: Add emmc clock definitions for Rockchip RK3399 SoC. Modified: head/sys/arm64/rockchip/clk/rk3399_cru.c Modified: head/sys/arm64/rockchip/clk/rk3399_cru.c ===

svn commit: r347127 - head/sys/powerpc/mpc85xx

2019-05-04 Thread Justin Hibbits
Author: jhibbits Date: Sat May 4 16:24:43 2019 New Revision: 347127 URL: https://svnweb.freebsd.org/changeset/base/347127 Log: powerpc/mpc85xx: Attach MPC85xx PCI bus and root complex at the right pass No signifcant change, just matches other PCI attachments, attaching at BUS_PASS_BUS.

svn commit: r347129 - in head/sys: amd64/include i386/include x86/x86

2019-05-04 Thread Conrad Meyer
Author: cem Date: Sat May 4 17:35:13 2019 New Revision: 347129 URL: https://svnweb.freebsd.org/changeset/base/347129 Log: x86: Define pc_monitorbuf as a logical structure Rather than just accessing it via pointer cast. No functional change intended. Discussed with: kib (ear

svn commit: r347130 - head/sys/ufs/ufs

2019-05-04 Thread Kirk McKusick
Author: mckusick Date: Sat May 4 18:00:57 2019 New Revision: 347130 URL: https://svnweb.freebsd.org/changeset/base/347130 Log: Zero out the file directory entry metadata to reduce disk scavenging disclosure. Submitted by: David G. Lawrence MFC after:1 week Modified: head/sys/uf

svn commit: r347131 - head/sys/kern

2019-05-04 Thread Mateusz Guzik
Author: mjg Date: Sat May 4 19:04:17 2019 New Revision: 347131 URL: https://svnweb.freebsd.org/changeset/base/347131 Log: Annotate nprocs with __exclusive_cache_line Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_fork.c Modified: head/sys/kern/kern_fork.c ===

svn commit: r347132 - head/sys/kern

2019-05-04 Thread Mateusz Guzik
Author: mjg Date: Sat May 4 19:05:30 2019 New Revision: 347132 URL: https://svnweb.freebsd.org/changeset/base/347132 Log: sysv: get rid of fork/exit hooks if the code is compiled in Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/sysv_ipc.c head/sys/kern/sysv_shm.c Modif

svn commit: r347133 - head/sys/arm64/arm64

2019-05-04 Thread Konstantin Belousov
Author: kib Date: Sat May 4 19:40:30 2019 New Revision: 347133 URL: https://svnweb.freebsd.org/changeset/base/347133 Log: arm64: Properly restore PAN when done with userspace access in casueword. Approved by: andrew Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r347134 - in head/sys: amd64/include i386/include kern x86/include x86/x86

2019-05-04 Thread Conrad Meyer
Author: cem Date: Sat May 4 20:34:26 2019 New Revision: 347134 URL: https://svnweb.freebsd.org/changeset/base/347134 Log: x86: Implement MWAIT support for stopping a CPU IPI_STOP is used after panic or when ddb is entered manually. MONITOR/ MWAIT allows CPUs that support the feature to

svn commit: r347139 - in head/contrib/sqlite3: . tea tea/generic

2019-05-04 Thread Cy Schubert
Author: cy Date: Sun May 5 04:14:17 2019 New Revision: 347139 URL: https://svnweb.freebsd.org/changeset/base/347139 Log: MFV r347136: Update sqlite3-3.27.2 (3270200) --> sqlite3-3.28.0 (328) MFC after:3 days Security: CVE-2019-9937, CVE-2019-9936 Modified: head/contri

svn commit: r347140 - in head/sys/dev/ath: . ath_rate/amrr ath_rate/onoe ath_rate/sample

2019-05-04 Thread Adrian Chadd
Author: adrian Date: Sun May 5 04:56:37 2019 New Revision: 347140 URL: https://svnweb.freebsd.org/changeset/base/347140 Log: [ath] [ath_rate] Fix ANI calibration during non-ACTIVE states; start poking at rate control These are some fun issues I've found with my upstairs wifi link at such

svn commit: r347141 - head/sys/dev/ath/ath_rate/sample

2019-05-04 Thread Adrian Chadd
Author: adrian Date: Sun May 5 06:32:40 2019 New Revision: 347141 URL: https://svnweb.freebsd.org/changeset/base/347141 Log: [ath_rate_sample] Have the final attempted rate in 11n modes to be the lowest one. Right now ath_rate_sample has a fixed rate schedule, rather than the minstrel_ht

svn commit: r347142 - head/stand/common

2019-05-04 Thread Toomas Soome
Author: tsoome Date: Sun May 5 06:38:47 2019 New Revision: 347142 URL: https://svnweb.freebsd.org/changeset/base/347142 Log: loader: validate sectorsize argument in disk_open() The bug and patch is reported against 11.2, but it is good idea to have the check in place for all versions.