svn commit: r337282 - head/contrib/llvm/tools/lld/ELF/Arch

2018-08-03 Thread Alan Cox
Author: alc Date: Sat Aug 4 02:30:51 2018 New Revision: 337282 URL: https://svnweb.freebsd.org/changeset/base/337282 Log: Set the default image base on arm64 and i386 to a superpage-aligned address. Reviewed by: emaste, markj Discussed with: dim Differential Revision:

svn commit: r337281 - head/sys/net

2018-08-03 Thread Patrick Kelsey
Author: pkelsey Date: Sat Aug 4 01:45:17 2018 New Revision: 337281 URL: https://svnweb.freebsd.org/changeset/base/337281 Log: Mark the send queue ready so ALTQ is available. Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c

Re: svn commit: r336892 - head/sys/arm/arm

2018-08-03 Thread John Baldwin
On 7/30/18 2:50 AM, Andrew Turner wrote: > Author: andrew > Date: Mon Jul 30 09:50:26 2018 > New Revision: 336892 > URL: https://svnweb.freebsd.org/changeset/base/336892 > > Log: > Require ARMv5 for arm. All current kernels are for ARMv5 or later, and it > will allow us to clean out old ARMv4

svn commit: r337279 - in head/sys: netinet sys

2018-08-03 Thread Gleb Smirnoff
Author: glebius Date: Sat Aug 4 00:03:21 2018 New Revision: 337279 URL: https://svnweb.freebsd.org/changeset/base/337279 Log: Now that after r335979 the kernel addresses in API structures are fixed size, there is no reason left for the unions. Discussed with: brooks Modified:

Re: svn commit: r336221 - head/sys/net

2018-08-03 Thread Gleb Smirnoff
Kristof, On Thu, Jul 12, 2018 at 04:35:35PM +, Kristof Provost wrote: K> Author: kp K> Date: Thu Jul 12 16:35:35 2018 K> New Revision: 336221 K> URL: https://svnweb.freebsd.org/changeset/base/336221 K> K> Log: K> pf: Increate default state table size K> K> The typical system now has

svn commit: r337278 - head/sys/netgraph

2018-08-03 Thread Gleb Smirnoff
Author: glebius Date: Fri Aug 3 22:55:58 2018 New Revision: 337278 URL: https://svnweb.freebsd.org/changeset/base/337278 Log: Use if_tunnel_check_nesting() for ng_iface(4). Modified: head/sys/netgraph/ng_iface.c head/sys/netgraph/ng_iface.h Modified: head/sys/netgraph/ng_iface.c

Re: svn commit: r335979 - in head: . lib/libkvm sys/kern sys/netinet sys/sys usr.bin/netstat usr.bin/sockstat

2018-08-03 Thread Gleb Smirnoff
Hi Brooks, On Thu, Jul 05, 2018 at 01:13:49PM +, Brooks Davis wrote: B> Author: brooks B> Date: Thu Jul 5 13:13:48 2018 B> New Revision: 335979 B> URL: https://svnweb.freebsd.org/changeset/base/335979 B> B> Log: B> Make struct xinpcb and friends word-size independent. B> B> Replace

Re: svn commit: r336047 - in head/sys: amd64/include i386/include sys

2018-08-03 Thread Gleb Smirnoff
Hi Konstantin, On Fri, Jul 06, 2018 at 07:50:44PM +, Konstantin Belousov wrote: K> Author: kib K> Date: Fri Jul 6 19:50:44 2018 K> New Revision: 336047 K> URL: https://svnweb.freebsd.org/changeset/base/336047 K> K> Log: K> Expand x86 struct pcpus to UMA_PCPU_ALLOC_SIZE AKA PAGE_SIZE. K>

svn commit: r337277 - head/sys/arm/conf

2018-08-03 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 3 22:15:58 2018 New Revision: 337277 URL: https://svnweb.freebsd.org/changeset/base/337277 Log: arm: Remove ALLWINNER_UP kernel config This was needed when we GENERIC couldn't boot on UP system. Deleted: head/sys/arm/conf/ALLWINNER_UP

svn commit: r337276 - head/sys/modules/dtb/rpi

2018-08-03 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 3 22:06:15 2018 New Revision: 337276 URL: https://svnweb.freebsd.org/changeset/base/337276 Log: dtb: rpi: Only compile and copy the DTSO The DTB is now loaded via the firmware, passed to u-boot then to loader.efi Only compile and copy the dts overlays.

svn commit: r337275 - head/sys/modules/dtb/am335x

2018-08-03 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 3 22:04:00 2018 New Revision: 337275 URL: https://svnweb.freebsd.org/changeset/base/337275 Log: dtb: am335x: Remove links and add more dts The links were to cope with the switch to upstream dts. We don't need them anymore. While here add the rest of the

Re: svn commit: r335873 - in head: . sys/amd64/amd64 sys/amd64/include sys/conf sys/i386/i386 sys/i386/include sys/sys sys/vm

2018-08-03 Thread Mark Millard via svn-src-head
On 2018-Aug-1, at 12:57 AM, Konstantin Belousov wrote: > > On Tue, Jul 31, 2018 at 06:46:31PM -0700, Mark Millard via freebsd-amd64 > wrote: >>> Author: mmacy >>> Date: Mon Jul 2 19:48:38 2018 >>> New Revision: 335873 >>> URL: >>> https://svnweb.freebsd.org/changeset/base/335873 >>> >>> >>>

svn commit: r337273 - head/sys/dev/nvme

2018-08-03 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 3 20:04:06 2018 New Revision: 337273 URL: https://svnweb.freebsd.org/changeset/base/337273 Log: nvme(4): Add bus_dmamap_sync() at the end of the request path Summary: Some architectures, in this case powerpc64, need explicit synchronization barriers vs

Re: svn commit: r336905 - head/tests/sys/kqueue/libkqueue

2018-08-03 Thread David A. Bright
On 07/30/2018 09:21 AM, David Bright wrote: > Author: dab > Date: Mon Jul 30 14:21:49 2018 > New Revision: 336905 > URL: https://svnweb.freebsd.org/changeset/base/336905 > > Log: > Correct possible misleading error message in kqtest. > > ian@ pointed out that in the test_abstime() function

Re: svn commit: r336802 - head/tests/sys/kqueue/libkqueue

2018-08-03 Thread David A. Bright
On 07/27/2018 09:53 PM, David Bright wrote: > Author: dab > Date: Sat Jul 28 02:53:36 2018 > New Revision: 336802 > URL: https://svnweb.freebsd.org/changeset/base/336802 > > Log: > Fix compilation error on some arches after r336761 & r336781. > > Another cast for printing an intmax_t was

svn commit: r337272 - head/sys/dev/filemon

2018-08-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 3 19:24:04 2018 New Revision: 337272 URL: https://svnweb.freebsd.org/changeset/base/337272 Log: Fix some filemon path logging issues. - Properly handle snprintf return value for truncation and avoid overflowing the later write with the bogus length. -

svn commit: r337271 - head/stand/i386/libi386

2018-08-03 Thread Cy Schubert
Author: cy Date: Fri Aug 3 19:11:00 2018 New Revision: 337271 URL: https://svnweb.freebsd.org/changeset/base/337271 Log: Some drives report a geometry that is inconsisetent with the total number of sectors reported through the BIOS. Cylinders * heads * sectors may not necessarily be equal

svn commit: r337270 - in head: . lib/libclang_rt

2018-08-03 Thread John Baldwin
Author: jhb Date: Fri Aug 3 18:52:51 2018 New Revision: 337270 URL: https://svnweb.freebsd.org/changeset/base/337270 Log: Install the 32-bit compat sanitizer libraries. The lib32 build was already building the i386 version of the clang sanitizers (libclang_rt) but they were not being

svn commit: r337269 - in head: sys/dev/pci usr.sbin/pciconf

2018-08-03 Thread Konstantin Belousov
Author: kib Date: Fri Aug 3 18:35:20 2018 New Revision: 337269 URL: https://svnweb.freebsd.org/changeset/base/337269 Log: Require write access when mmapping BAR. This actually makes the rights requirements for accessing PCI config space and BARs using /dev/pci same. Since unchanged

svn commit: r337268 - head/usr.sbin/pciconf

2018-08-03 Thread Konstantin Belousov
Author: kib Date: Fri Aug 3 18:30:02 2018 New Revision: 337268 URL: https://svnweb.freebsd.org/changeset/base/337268 Log: Fix word-size dumping. Sponsored by: The FreeBSD Foundation MFC after:12 days Modified: head/usr.sbin/pciconf/pciconf.c Modified:

svn commit: r337266 - head/sys/riscv/riscv

2018-08-03 Thread Ruslan Bukin
Author: br Date: Fri Aug 3 16:44:56 2018 New Revision: 337266 URL: https://svnweb.freebsd.org/changeset/base/337266 Log: Return ENAMETOOLONG if the latest copied character is not null terminator. Sponsored by: DARPA, AFRL Modified: head/sys/riscv/riscv/copyinout.S Modified:

svn commit: r337265 - head/sys/vm

2018-08-03 Thread Mark Johnston
Author: markj Date: Fri Aug 3 16:35:37 2018 New Revision: 337265 URL: https://svnweb.freebsd.org/changeset/base/337265 Log: Add the required page accounting to kmem_bootstrap_free(). Reviewed by: alc, kib MFC after:3 days Sponsored by: The FreeBSD Foundation Differential

svn commit: r337264 - head/lib/libc/sys

2018-08-03 Thread Ruslan Bukin
Author: br Date: Fri Aug 3 16:05:03 2018 New Revision: 337264 URL: https://svnweb.freebsd.org/changeset/base/337264 Log: MAXLOGNAME changed to 33 in r243023. Update man pages. Sponsored by: DARPA, AFRL Modified: head/lib/libc/sys/getlogin.2 head/lib/libc/sys/getloginclass.2

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

2018-08-03 Thread Konstantin Belousov
Author: kib Date: Fri Aug 3 15:35:29 2018 New Revision: 337261 URL: https://svnweb.freebsd.org/changeset/base/337261 Log: Fix typo in copyinstr_smap, resulting in mis-handling of too long strings. Reported and tested by: pho PR: 230286 Sponsored by: The FreeBSD Foundation

svn commit: r337255 - in head/sys: kern sys

2018-08-03 Thread Andriy Gapon
Author: avg Date: Fri Aug 3 14:27:28 2018 New Revision: 337255 URL: https://svnweb.freebsd.org/changeset/base/337255 Log: safer wait-free iteration of shared interrupt handlers The code that iterates a list of interrupt handlers for a (shared) interrupt, whether in the ISR context or in

svn commit: r337238 - head/contrib/netbsd-tests/lib/libc/sys

2018-08-03 Thread Ruslan Bukin
Author: br Date: Fri Aug 3 12:47:54 2018 New Revision: 337238 URL: https://svnweb.freebsd.org/changeset/base/337238 Log: Replace __riscv__ with __riscv. __riscv__ is not pre-defined anymore by latest version of GNU compiler. Sponsored by: DARPA, AFRL Modified:

svn commit: r337237 - head/tests/sys/geom/class/nop

2018-08-03 Thread Ruslan Bukin
Author: br Date: Fri Aug 3 12:16:02 2018 New Revision: 337237 URL: https://svnweb.freebsd.org/changeset/base/337237 Log: Increase timeout for nop_test:stripesize. It takes 49s to complete this test in QEMU/RISC-V. Sponsored by: DARPA, AFRL Modified:

svn commit: r337236 - head/share/man/man9

2018-08-03 Thread Konstantin Belousov
Author: kib Date: Fri Aug 3 12:14:29 2018 New Revision: 337236 URL: https://svnweb.freebsd.org/changeset/base/337236 Log: Some updates to vm_map(9). Remove min_offset, max_offset. Mention the busy flag. Prodded by: https://reviews.freebsd.org/D16105. Sponsored by: The FreeBSD

svn commit: r337234 - head/libexec/getty

2018-08-03 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 3 10:59:05 2018 New Revision: 337234 URL: https://svnweb.freebsd.org/changeset/base/337234 Log: Remove pointless comment. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/libexec/getty/ttys.5 Modified: head/libexec/getty/ttys.5

svn commit: r337233 - head/libexec/getty

2018-08-03 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 3 10:58:13 2018 New Revision: 337233 URL: https://svnweb.freebsd.org/changeset/base/337233 Log: .Xr pam_securetty(8) from ttys(5), to hint the users as to what actually enforces the 'secure' tty flag. MFC after:2 weeks Sponsored by: DARPA, AFRL

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

2018-08-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 3 09:02:57 2018 New Revision: 337232 URL: https://svnweb.freebsd.org/changeset/base/337232 Log: Implement ktime_add_ms() and ktime_before() in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Mellanox Technologies

Re: svn commit: r337231 - head/stand/efi/loader

2018-08-03 Thread Toomas Soome via svn-src-head
> On 3 Aug 2018, at 11:32, Warner Losh wrote: > > Any reason why efipart_inithandles() should even return an error in this > case? Seems to cause us nothing but trouble so we have to filter some, but > not all errors which strikes me as a bad design. We should only return errors > for real

Re: svn commit: r337231 - head/stand/efi/loader

2018-08-03 Thread Warner Losh
Any reason why efipart_inithandles() should even return an error in this case? Seems to cause us nothing but trouble so we have to filter some, but not all errors which strikes me as a bad design. We should only return errors for real errors, like not having enough memory for the arrays we need.

svn commit: r337231 - head/stand/efi/loader

2018-08-03 Thread Toomas Soome
Author: tsoome Date: Fri Aug 3 07:59:29 2018 New Revision: 337231 URL: https://svnweb.freebsd.org/changeset/base/337231 Log: loader.efi: clean up misleading noise from missing block devices If there are no block devices, there is no need to printout error (ENOENT). In case of