Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Stefan Esser
Am 10.12.18 um 07:47 schrieb Warner Losh: > > > On Sun, Dec 9, 2018, 11:40 PM Cy Schubert wrote: > > In message <201812100619.wba6jb0c064...@pdx.rh.cn85.dnsmgr.net > >, > "Rodney W. Gri >

svn commit: r341782 - head/sys/dev/sfxge

2018-12-10 Thread Andrew Rybchenko
Author: arybchik Date: Mon Dec 10 09:35:33 2018 New Revision: 341782 URL: https://svnweb.freebsd.org/changeset/base/341782 Log: sfxge(4): populate per-event queue stats in sysctl In order to find out why the first event queue and corresponding interrupt is triggered more frequent, it is u

svn commit: r341783 - head/sys/dev/sfxge/common

2018-12-10 Thread Andrew Rybchenko
Author: arybchik Date: Mon Dec 10 09:35:45 2018 New Revision: 341783 URL: https://svnweb.freebsd.org/changeset/base/341783 Log: sfxge(4): report support for Tx checksum op descriptors FreeBSD driver needs a patch to provide a means for packets which do not need checksum offload but have f

Re: svn commit: r341768 - head/sbin/ping

2018-12-10 Thread Bruce Evans
On Sun, 9 Dec 2018, Eugene Grosbein wrote: Log: ping(8): remove needless comparision with LONG_MAX after unsigned long ultmp changed to long ltmp in r340245. MFC after: 1 week A range check is needed, and is now not even attempted for large positive values. The logic for the range che

svn commit: r341784 - head/sys/dev/sfxge

2018-12-10 Thread Andrew Rybchenko
Author: arybchik Date: Mon Dec 10 09:35:53 2018 New Revision: 341784 URL: https://svnweb.freebsd.org/changeset/base/341784 Log: sfxge(4): prepare the number of Tx queues on event queue 0 to become variable The number of Tx queues on event queue 0 can depend on the NIC family type, and thi

svn commit: r341785 - head/sys/dev/sfxge

2018-12-10 Thread Andrew Rybchenko
Author: arybchik Date: Mon Dec 10 09:36:05 2018 New Revision: 341785 URL: https://svnweb.freebsd.org/changeset/base/341785 Log: sfxge(4): use n Tx queues instead of n + 2 on EF10 HW On EF10 HW we can avoid sending packets without checksum offload or with IP-only checksum offload to dedica

svn commit: r341786 - in head/sys/dev: rtwn/usb usb usb/wlan

2018-12-10 Thread Andriy Voskoboinyk
Author: avos Date: Mon Dec 10 09:45:57 2018 New Revision: 341786 URL: https://svnweb.freebsd.org/changeset/base/341786 Log: rtwn, rsu: add more USB ids. PR: 233638 Submitted by: cezary.sl...@gmail.com MFC after:3 days Modified: head/sys/dev/rtwn/usb/rtwn_usb_attach.h

svn commit: r341787 - in head/sys: arm/include mips/include powerpc/include

2018-12-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 10 13:38:13 2018 New Revision: 341787 URL: https://svnweb.freebsd.org/changeset/base/341787 Log: Implement atomic_swap_xxx() for all platforms. Differential Revision:https://reviews.freebsd.org/D18450 Reviewed by: kib@ MFC after:

svn commit: r341789 - head/sys/compat/linuxkpi/common/include/asm

2018-12-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 10 13:41:33 2018 New Revision: 341789 URL: https://svnweb.freebsd.org/changeset/base/341789 Log: Remove no longer needed ifdefs in the LinuxKPI, after r341787. Differential Revision:https://reviews.freebsd.org/D18450 Reviewed by: kib@ MFC

svn commit: r341795 - head/sbin/ping

2018-12-10 Thread Eugene Grosbein
Author: eugen Date: Mon Dec 10 14:39:21 2018 New Revision: 341795 URL: https://svnweb.freebsd.org/changeset/base/341795 Log: ping(8): add space after "<=" as per style(9). MFC after:1 week X-MFC-with: r341768 Modified: head/sbin/ping/ping.c Modified: head/sbin/ping/ping.c ==

svn commit: r341796 - head

2018-12-10 Thread Ed Maste
Author: emaste Date: Mon Dec 10 14:50:11 2018 New Revision: 341796 URL: https://svnweb.freebsd.org/changeset/base/341796 Log: Clean stale wpa dependencies and objects after r341759 The wpa update added some source files with the same name as a file in another directory (found via .PATH in

svn commit: r341797 - in head/sys/powerpc: aim include powerpc

2018-12-10 Thread Leandro Lupori
Author: luporl Date: Mon Dec 10 14:54:28 2018 New Revision: 341797 URL: https://svnweb.freebsd.org/changeset/base/341797 Log: ppc64: handle exception 0x1500 (soft patch) This change adds a hypervisor trap handler for exception 0x1500 (soft patch), normalizing all VSX registers and returni

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Ed Maste
On Sun, 9 Dec 2018 at 02:08, Cy Schubert wrote: > > In message <201812090645.wb96jnso066...@repo.freebsd.org>, Cy Schubert > writes: > > Author: cy > > Date: Sun Dec 9 06:45:49 2018 > > New Revision: 341759 > > URL: https://svnweb.freebsd.org/changeset/base/341759 > > > > Log: > > MFV r341618:

svn commit: r341798 - head/sbin/ipfw

2018-12-10 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 10 15:42:13 2018 New Revision: 341798 URL: https://svnweb.freebsd.org/changeset/base/341798 Log: Use correct size for IPv4 address in gethostbyaddr(). When u_long is 8 bytes, it returns EINVAL and 'ipfw -N show' doesn't work. Reported by: Claudio Eichenberger

svn commit: r341799 - head/sbin/ipfw

2018-12-10 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 10 16:23:11 2018 New Revision: 341799 URL: https://svnweb.freebsd.org/changeset/base/341799 Log: Rework how protocol number is tracked in rule. Save it when O_PROTO opcode will be printed. This should solve the problem, when protocol name is not printed in `ipfw -N s

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Ian Lepore
On Sun, 2018-12-09 at 23:47 -0700, Warner Losh wrote: > On Sun, Dec 9, 2018, 11:40 PM Cy Schubert wrote: > > > > > In message <201812100619.wba6jb0c064...@pdx.rh.cn85.dnsmgr.net>, > > "Rodney W. Gri > > mes" writes: > > > > > > > > > > > On Sun, Dec 9, 2018 at 2:03 PM Oliver Pinter < > > olive

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Rodney W. Grimes
> On Sun, 2018-12-09 at 23:47 -0700, Warner Losh wrote: > > On Sun, Dec 9, 2018, 11:40 PM Cy Schubert > wrote: > > > > > > > > In message <201812100619.wba6jb0c064...@pdx.rh.cn85.dnsmgr.net>, > > > "Rodney W. Gri > > > mes" writes: > > > > > > > > > > > > > > On Sun, Dec 9, 2018 at 2:03 PM Oli

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Warner Losh
On Mon, Dec 10, 2018 at 10:14 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Sun, 2018-12-09 at 23:47 -0700, Warner Losh wrote: > > > On Sun, Dec 9, 2018, 11:40 PM Cy Schubert > > wrote: > > > > > > > > > > > In message <201812100619.wba6jb0c064...@pdx.rh.cn85.dnsmgr.net>, >

svn commit: r341800 - in head: sys/kern tests/sys/kern

2018-12-10 Thread John Baldwin
Author: jhb Date: Mon Dec 10 19:39:24 2018 New Revision: 341800 URL: https://svnweb.freebsd.org/changeset/base/341800 Log: Don't report stale signal information for non-signal events in ptrace_lwpinfo. Once a signal's siginfo was copied to 'td_si' as part of the signal exchange in issigna

svn commit: r341801 - head/sys/mips/conf

2018-12-10 Thread Warner Losh
Author: imp Date: Mon Dec 10 21:33:01 2018 New Revision: 341801 URL: https://svnweb.freebsd.org/changeset/base/341801 Log: Remove stray hints files. Deleted: head/sys/mips/conf/ADM5120.hints head/sys/mips/conf/IDT.hints ___ svn-src-head@freebsd.or

svn commit: r341802 - head/usr.bin/truss

2018-12-10 Thread John Baldwin
Author: jhb Date: Mon Dec 10 21:47:19 2018 New Revision: 341802 URL: https://svnweb.freebsd.org/changeset/base/341802 Log: Validate the string size parameter passed to -s. Use strtonum() to reject negative sizes instead of core dumping. PR: 232206 Submitted by: David Carlie

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread John Baldwin
On 12/8/18 7:43 PM, Warner Losh wrote: > > > On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling wrote: > > On Sat, Dec 8, 2018 at 12:09 AM Mateusz Guzik > wrote: > > > > > Fully satisfying solution would be that all architectures

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Konstantin Belousov
On Mon, Dec 10, 2018 at 02:15:20PM -0800, John Baldwin wrote: > On 12/8/18 7:43 PM, Warner Losh wrote: > > > > > > On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling > wrote: > > > > On Sat, Dec 8, 2018 at 12:09 AM Mateusz Guzik > > wrote

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Ian Lepore
On Mon, 2018-12-10 at 14:15 -0800, John Baldwin wrote: > On 12/8/18 7:43 PM, Warner Losh wrote: > > > > > > > > On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling > m wrote: > > > > On Sat, Dec 8, 2018 at 12:09 AM Mateusz Guzik > m > wro

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Kevin Bowling
Right we are talking about a polyfill for systems that have 1-2 cores in practice. You're not going to crank high parallelism on these global locks in practice and the common lock may help performance due to cache residence for all we know. This is a lot of ballyhoo for a decision that should fav

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Justin Hibbits
On Mon, Dec 10, 2018, 17:57 Ian Lepore On Mon, 2018-12-10 at 14:15 -0800, John Baldwin wrote: > > On 12/8/18 7:43 PM, Warner Losh wrote: > > > > > > > > > > > > On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling > > m wrote: > > > > > > On Sat, Dec 8, 2018 at 12:09 A

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Warner Losh
On Mon, Dec 10, 2018, 5:27 PM Justin Hibbits > > On Mon, Dec 10, 2018, 17:57 Ian Lepore >> On Mon, 2018-12-10 at 14:15 -0800, John Baldwin wrote: >> > On 12/8/18 7:43 PM, Warner Losh wrote: >> > > >> > > >> > > >> > > On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling > > > m

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Kevin Bowling
Humor me with a kernel feature that will sue 64b atomics while both instruction streams are ping ponging on the hypothetical lock because this thread is getting pretty far out there.. On Mon, Dec 10, 2018 at 5:27 PM Justin Hibbits wrote: > > > > On Mon, Dec 10, 2018, 17:57 Ian Lepore > >> On Mon,

svn commit: r341803 - head/libexec/rc

2018-12-10 Thread Conrad Meyer
Author: cem Date: Tue Dec 11 01:38:50 2018 New Revision: 341803 URL: https://svnweb.freebsd.org/changeset/base/341803 Log: rc.subr: Implement list_vars without using 'read' 'read' pessimistically read(2)s one byte at a time, which can be quite silly for large environments in slow emulator

svn commit: r341805 - head/sys/powerpc/booke

2018-12-10 Thread Justin Hibbits
Author: jhibbits Date: Tue Dec 11 02:03:00 2018 New Revision: 341805 URL: https://svnweb.freebsd.org/changeset/base/341805 Log: powerpc/booke: Don't get and use the load offset for TOC on APs The code was a near exact copy of the code in startup, but it doesn't need the complexity since t

svn commit: r341806 - head/share/vt/keymaps

2018-12-10 Thread David Bright
Author: dab Date: Tue Dec 11 02:14:40 2018 New Revision: 341806 URL: https://svnweb.freebsd.org/changeset/base/341806 Log: Add uk.macbook.kbd keymap (vt) PR: 215185 Submitted by: James Wright Reported by: James Wright Reviewed by: emaste (earlier version) MFC after:

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

2018-12-10 Thread Mark Johnston
Author: markj Date: Tue Dec 11 02:15:56 2018 New Revision: 341807 URL: https://svnweb.freebsd.org/changeset/base/341807 Log: Use inline tests for individual PTE bits in the RISC-V pmap. Inline tests for PTE_* bits are easy to read and don't really require a predicate function, and predica

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

2018-12-10 Thread Mark Johnston
Author: markj Date: Tue Dec 11 02:16:27 2018 New Revision: 341808 URL: https://svnweb.freebsd.org/changeset/base/341808 Log: Remove an unused malloc(9) type. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/riscv/riscv/pmap.c Modified: head/sys/riscv/riscv/

svn commit: r341809 - in head: lib/libc/sys sys/kern

2018-12-10 Thread Konstantin Belousov
Author: kib Date: Tue Dec 11 02:48:49 2018 New Revision: 341809 URL: https://svnweb.freebsd.org/changeset/base/341809 Log: Remove special case handling for getfhat(fd, NULL, handle). There is no reason for it to behave differently from openat(fd, NULL). Also the handling did not worked be

svn commit: r341810 - in head/sys: kern x86/x86

2018-12-10 Thread Konstantin Belousov
Author: kib Date: Tue Dec 11 02:54:36 2018 New Revision: 341810 URL: https://svnweb.freebsd.org/changeset/base/341810 Log: Free bootstacks after AP startup. Bootstacks are unused after APs executed sched_throw() in init_secondary_tail() and started executing on proper idle thread stack.

svn commit: r341811 - head/sys/dev/ahci

2018-12-10 Thread Xin LI
Author: delphij Date: Tue Dec 11 05:10:22 2018 New Revision: 341811 URL: https://svnweb.freebsd.org/changeset/base/341811 Log: Remove questionable initialization for ICH8M, rely on BIOS to properly initialize the controller. According to the datasheet, the old code checks if port 2 (P2E,

Re: svn commit: r341682 - head/sys/sys

2018-12-10 Thread Scott Long
> On Dec 10, 2018, at 4:47 PM, Konstantin Belousov wrote: > > On Mon, Dec 10, 2018 at 02:15:20PM -0800, John Baldwin wrote: >> On 12/8/18 7:43 PM, Warner Losh wrote: >>> >>> >>> On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling >> wrote: >>> >>>On Sat, Dec 8, 2