Re: svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Peter Jeremy
On 2019-May-16 20:41:29 +, Tycho Nightingale wrote: >Author: tychon >Date: Thu May 16 20:41:28 2019 >New Revision: 347890 >URL: https://svnweb.freebsd.org/changeset/base/347890 > >Log: > reinstate 4GB DMA boundary workarounds for bge and aac > > Reviewed by: kib > Sponsored by:Del

Re: svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Tycho Nightingale
> On May 16, 2019, at 5:23 PM, Hans Petter Selasky wrote: > > On 2019-05-16 22:41, Tycho Nightingale wrote: >> Author: tychon >> Date: Thu May 16 20:41:28 2019 >> New Revision: 347890 >> URL: https://svnweb.freebsd.org/changeset/base/347890 >> Log: >> reinstate 4GB DMA boundary workarounds fo

svn commit: r347896 - head/sys/dev/bge

2019-05-16 Thread Tycho Nightingale
Author: tychon Date: Thu May 16 22:27:38 2019 New Revision: 347896 URL: https://svnweb.freebsd.org/changeset/base/347896 Log: Fix integer overflow in r346386. Sponsored by: Dell EMC Isilon Modified: head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bgereg.h

svn commit: r347895 - in head: lib/libc/amd64/sys lib/libc/x86/gen lib/libc/x86/sys sys/amd64/amd64 sys/amd64/linux sys/amd64/linux32 sys/arm64/include sys/cddl/dev/dtrace/amd64 sys/dev/random sys/...

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 22:20:54 2019 New Revision: 347895 URL: https://svnweb.freebsd.org/changeset/base/347895 Log: Remove resolver_qual from DEFINE_IFUNC/DEFINE_UIFUNC macros. In all practical situations, the resolver visibility is static. Requested by: markj Sponsored by: Th

svn commit: r347893 - in head/usr.sbin: etcupdate mergemaster

2019-05-16 Thread Brad Davis
Author: brd Date: Thu May 16 21:50:12 2019 New Revision: 347893 URL: https://svnweb.freebsd.org/changeset/base/347893 Log: Fix mergemaster after r347638 and the master.passwd / group move. Check the legacy directory and use it instead if present. Install these first if using beinstall.

Re: svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Hans Petter Selasky
On 2019-05-16 22:41, Tycho Nightingale wrote: Author: tychon Date: Thu May 16 20:41:28 2019 New Revision: 347890 URL: https://svnweb.freebsd.org/changeset/base/347890 Log: reinstate 4GB DMA boundary workarounds for bge and aac Reviewed by: kib Sponsored by:Dell EMC Isilon

svn commit: r347892 - in head/sys: compat/linuxkpi/common/include/linux modules/linuxkpi

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 21:17:18 2019 New Revision: 347892 URL: https://svnweb.freebsd.org/changeset/base/347892 Log: LinuxKPI: Finalize import of seq_file. seq_file.h and linux_seq_file.c was imported form ports earlier but linux_seq_file.c was never compiled in with the module.

svn commit: r347891 - head/sys/compat/linuxkpi/common/include/linux

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 21:07:37 2019 New Revision: 347891 URL: https://svnweb.freebsd.org/changeset/base/347891 Log: LinuxKPI: Add in_task macro. This patch is part of D19565 Reviewed by: hps, bwidawsk Approved by: imp (mentor), hps Obtained from:bwidawsk MFC

svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Tycho Nightingale
Author: tychon Date: Thu May 16 20:41:28 2019 New Revision: 347890 URL: https://svnweb.freebsd.org/changeset/base/347890 Log: reinstate 4GB DMA boundary workarounds for bge and aac Reviewed by: kib Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.org/

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

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 19:32:11 2019 New Revision: 347889 URL: https://svnweb.freebsd.org/changeset/base/347889 Log: LinuxKPI: Fix build on powerpc/sparc. Use cmpset instead of testandset in tasklet lock code. Reviewed by: hps Approved by: imp (mentor), hps Obtained fro

svn commit: r347887 - head/sys/netinet6

2019-05-16 Thread Hiroki Sato
Author: hrs Date: Thu May 16 19:09:41 2019 New Revision: 347887 URL: https://svnweb.freebsd.org/changeset/base/347887 Log: Fix hostname to be returned in an ICMPv6 NI Reply message defined in RFC 4620, ICMPv6 Node Information Queries. A vnet jail with an IPv6 address sent a hostname of the

svn commit: r347888 - in head/sys/mips: include mips

2019-05-16 Thread Conrad Meyer
Author: cem Date: Thu May 16 19:10:48 2019 New Revision: 347888 URL: https://svnweb.freebsd.org/changeset/base/347888 Log: mips: Implement basic pmap_kenter_device, pmap_kremove_device Unbreak mips.BERI_DE4_SDROOT build, which uses device xdma. Device xdma depends on the pmap_kenter_devic

svn commit: r347886 - head/share/misc

2019-05-16 Thread Ollivier Robert
Author: roberto Date: Thu May 16 18:54:20 2019 New Revision: 347886 URL: https://svnweb.freebsd.org/changeset/base/347886 Log: Announce OpenBSD 6.5. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree ===

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

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 18:03:08 2019 New Revision: 347852 URL: https://svnweb.freebsd.org/changeset/base/347852 Log: LinuxKPI: Updates to tasklets for Linux 5.0. DRM drivers expect tasklets to have a counter for enable/disable calls. Also, add a few more tasklet locking function

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

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 17:53:36 2019 New Revision: 347843 URL: https://svnweb.freebsd.org/changeset/base/347843 Log: LinuxKPI: Add group_leader member to struct task_struct. Assign self as group leader at creation to act as the only member of a new process group. This patch is

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

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 17:44:17 2019 New Revision: 347837 URL: https://svnweb.freebsd.org/changeset/base/347837 Log: LinuxKPI: Update access_ok macro for v5.0. Check LINUXKPI_VERSION macro for backwards compatibility. It's recommended to update any drivers that depend on the old

svn commit: r347836 - in head: sys/arm64/arm64 sys/arm64/include sys/compat/linuxkpi/common/src sys/sys sys/x86/include sys/x86/iommu sys/x86/x86 usr.sbin/camdd

2019-05-16 Thread Tycho Nightingale
Author: tychon Date: Thu May 16 17:41:16 2019 New Revision: 347836 URL: https://svnweb.freebsd.org/changeset/base/347836 Log: Allow loading the same DMA address multiple times without any prior unload for the LinuxKPI. Reviewed by: kib, zeising Sponsored by: Dell EMC Isilon Different

svn commit: r347828 - head/sys/dev/xdma

2019-05-16 Thread Conrad Meyer
Author: cem Date: Thu May 16 17:34:36 2019 New Revision: 347828 URL: https://svnweb.freebsd.org/changeset/base/347828 Log: xdma(4): Fix invalid pointer use (breaks arm.SOCFPGA build) In xdma_handle_mem_node(), vmem_size_t and vmem_addr_t pointers were passed to an FDT API that emits u_lon

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

2019-05-16 Thread Justin Hibbits
Author: jhibbits Date: Thu May 16 17:04:29 2019 New Revision: 347795 URL: https://svnweb.freebsd.org/changeset/base/347795 Log: arm64: Add the rename interpreter path for compat32 ld-elf Let arm64 and arm32 dynamic binaries coexist. Match all other compat32 archs. Reviewed by: manu

svn commit: r347703 - head/sys/dev/ae

2019-05-16 Thread Brooks Davis
Author: brooks Date: Thu May 16 15:22:17 2019 New Revision: 347703 URL: https://svnweb.freebsd.org/changeset/base/347703 Log: FCP-101: ae(4) is sufficently popular to be moved to the keep list. Modified: head/sys/dev/ae/if_ae.c Modified: head/sys/dev/ae/if_ae.c ==

Re: svn commit: r347638 - in head: . etc lib/libc/gen

2019-05-16 Thread Bryan Drewery
usr.sbin/etcupdate/tests/preworld_test.sh: $SRC/etc/master.passwd usr.sbin/mergemaster/mergemaster.sh: cp -p ${SOURCEDIR}/etc/master.passwd ${TEMPROOT}/etc && I suspect there are more places than these 2 that need to be fixed still. This was a very lazy grep. Sadly I think it s

Re: svn commit: r347638 - in head: . etc lib/libc/gen

2019-05-16 Thread Conrad Meyer
Hi Brad, Can you revert this? It seems to break every config-management tool we have (mergemaster, etcupdate, beinstall ...). Additionally, I don't believe this move has been justified — the cons seem to outweigh the pros, if there are any. I skimmed the differential and it was not immediately

svn commit: r347698 - head/sys/amd64/amd64

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 14:33:32 2019 New Revision: 347698 URL: https://svnweb.freebsd.org/changeset/base/347698 Log: amd64 pmap: sysctl vm.pmap.pcid_save_cnt should be read-only. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/amd64/amd64/pmap.c Modi

svn commit: r347697 - head/sys/amd64/amd64

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 14:29:09 2019 New Revision: 347697 URL: https://svnweb.freebsd.org/changeset/base/347697 Log: amd64 pmap: Add tunable vm.pmap.di_locked to set DI mode. This is done mostly for debugging in field. Also added the sysctl of the same name to report used mode.

svn commit: r347696 - head/sys/amd64/amd64

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 13:40:54 2019 New Revision: 347696 URL: https://svnweb.freebsd.org/changeset/base/347696 Log: amd64 pmap: Rename DI functions. pmap_delayed_invl_started -> pmap_delayed_invl_start pmap_delayed_invl_finished -> pmap_delayed_invl_finish Requested by: markj

svn commit: r347695 - in head/sys: amd64/amd64 amd64/include kern

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 13:28:48 2019 New Revision: 347695 URL: https://svnweb.freebsd.org/changeset/base/347695 Log: amd64 pmap: rework delayed invalidation, removing global mutex. For machines having cmpxcgh16b instruction, i.e. everything but very early Athlons, provide lockless i

Re: svn commit: r347691 - in head/sys: netinet netinet6

2019-05-16 Thread Hans Petter Selasky
On 2019-05-16 15:04, Mark Johnston wrote: Author: markj Date: Thu May 16 13:04:26 2019 New Revision: 347691 URL: https://svnweb.freebsd.org/changeset/base/347691 Log: Revert r347582 for now. The inp lock still needs to be dropped when calling into the driver ioctl handler, as some

svn commit: r347694 - head/sys/kern

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 13:17:57 2019 New Revision: 347694 URL: https://svnweb.freebsd.org/changeset/base/347694 Log: subr_turnstile: Extract some common code to a helper. Code walks the list of contested turnstiles to calculate the priority to unlend. Reviewed by: markj Tes

svn commit: r347693 - head/libexec/rtld-elf

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 13:13:33 2019 New Revision: 347693 URL: https://svnweb.freebsd.org/changeset/base/347693 Log: rtld_malloc.c: cleanup morepages(). Use roundup2() and rounddown2() instead of inlining them. Get rid of the fd local variable, use literal -1 for the mmap argument.

svn commit: r347692 - head/libexec/rtld-elf

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 13:07:26 2019 New Revision: 347692 URL: https://svnweb.freebsd.org/changeset/base/347692 Log: Remove more dead definitions from rtld_malloc.c after r347019. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/libexec/rtld-elf/rtld_mallo

svn commit: r347691 - in head/sys: netinet netinet6

2019-05-16 Thread Mark Johnston
Author: markj Date: Thu May 16 13:04:26 2019 New Revision: 347691 URL: https://svnweb.freebsd.org/changeset/base/347691 Log: Revert r347582 for now. The inp lock still needs to be dropped when calling into the driver ioctl handler, as some drivers expect to be able to sleep. Reported

svn commit: r347690 - head/sys/kern

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 13:03:54 2019 New Revision: 347690 URL: https://svnweb.freebsd.org/changeset/base/347690 Log: imgact_elf.c: Add comment explaining the malloc/VOP_UNLOCK() dance from r347148. Requested by: alc Sponsored by: The FreeBSD Foundation MFC after:3 days Modi

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

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 13:00:35 2019 New Revision: 347689 URL: https://svnweb.freebsd.org/changeset/base/347689 Log: arm64: bzero buffer for ucontext in freebsd32_swapcontext(). This change is the same as r340994 for amd64. PR: 237922 Submitted by: Young MFC after:3 da

svn commit: r347682 - head/share/man/man7

2019-05-16 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 16 09:49:19 2019 New Revision: 347682 URL: https://svnweb.freebsd.org/changeset/base/347682 Log: The "apropos ''" command no longer works; change development(7) to suggest "apropos ." instead. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/