svn commit: r362042 - head/sys/dev/iicbus

2020-06-10 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 05:34:31 2020 New Revision: 362042 URL: https://svnweb.freebsd.org/changeset/base/362042 Log: iicbb: rebuild the bit-banging algorithms using different primitives I2C_SET was quite inflexible, it used too long delays as well as some unnecessary delays. The ne

svn commit: r362041 - stable/12/sys/dev/superio

2020-06-10 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 05:28:08 2020 New Revision: 362041 URL: https://svnweb.freebsd.org/changeset/base/362041 Log: MFC r361788: superio: do not assume that current LDN cannot change after config exit That assumption should be true when superio(4) uses the hardware exlusively. Bu

svn commit: r362040 - stable/12/sbin/ifconfig

2020-06-10 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 05:26:23 2020 New Revision: 362040 URL: https://svnweb.freebsd.org/changeset/base/362040 Log: MFC r361787: ifconfig.8: fix cpability and flag descriptions for list scan / sta Some capability descriptions under list scan actually described flags. Some capabili

svn commit: r362039 - head/usr.bin/sed/tests

2020-06-10 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Thu Jun 11 03:03:52 2020 New Revision: 362039 URL: https://svnweb.freebsd.org/changeset/base/362039 Log: Remove duplicate lines from sed tests Reported by: yuripv Approved by: pfg (src) MFC after:2 weeks X-MFC-With: 362017 Modified: h

svn commit: r362038 - head/sys/modules/ice_ddp

2020-06-10 Thread Mark Johnston
Author: markj Date: Thu Jun 11 00:36:35 2020 New Revision: 362038 URL: https://svnweb.freebsd.org/changeset/base/362038 Log: Hard-code the ice_ddp firmware version. Like every other firmware image in the tree, the makefile will need to be updated to point to the newest import. Review

svn commit: r362037 - head/sys/compat/linux

2020-06-10 Thread Mark Johnston
Author: markj Date: Wed Jun 10 23:52:50 2020 New Revision: 362037 URL: https://svnweb.freebsd.org/changeset/base/362037 Log: Fix a couple of nits in Linux sysinfo(2) emulation. - Use the same definition of free memory as Linux. - Rename the totalbig and freebig fields to match the corresp

svn commit: r362035 - head/sys/kern

2020-06-10 Thread Mark Johnston
Author: markj Date: Wed Jun 10 23:52:29 2020 New Revision: 362035 URL: https://svnweb.freebsd.org/changeset/base/362035 Log: Remove the FIRMWARE_MAX limit. The firmware module arbitrarily limits us to at most 50 images. It is possible to hit this limit on platforms that preload many firm

svn commit: r362036 - head/sys/compat/linux

2020-06-10 Thread Mark Johnston
Author: markj Date: Wed Jun 10 23:52:39 2020 New Revision: 362036 URL: https://svnweb.freebsd.org/changeset/base/362036 Log: Add a comment reflecting the commit log for r361945. Suggested by: alc Reviewed by: alc MFC with: r361945 Modified: head/sys/compat/linux/linux_misc.c Mo

Re: svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-10 Thread Mateusz Piotrowski
On 6/10/20 11:44 PM, Yuri Pankov wrote: > Mateusz Piotrowski wrote: >> Author: 0mp (doc,ports committer) >> Date: Wed Jun 10 19:23:58 2020 >> New Revision: 362017 >> URL: https://svnweb.freebsd.org/changeset/base/362017 >> >> Log: >>    Read commands from stdin when -f - is passed to sed(1) [...] >

Re: svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-10 Thread Mateusz Piotrowski
Hi, On 6/11/20 12:06 AM, Steffen Nurpmeso wrote: > Yuri Pankov wrote in > : > |Mateusz Piotrowski wrote: > |> Author: 0mp (doc,ports committer) > |> Date: Wed Jun 10 19:23:58 2020 > |> New Revision: 362017 > |> URL: https://svnweb.freebsd.org/changeset/base/362017 > |> > |> Log: > |>R

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

2020-06-10 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 10 23:03:35 2020 New Revision: 362034 URL: https://svnweb.freebsd.org/changeset/base/362034 Log: powerpc/pmap: Fix pte_find_next() iterators for booke64 pmap After r361988 fixed the reference count leak on booke64, it became possible for an iteration somewhe

svn commit: r362033 - in head/sys: dev/acpica dev/xen/control kern

2020-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 22:30:32 2020 New Revision: 362033 URL: https://svnweb.freebsd.org/changeset/base/362033 Log: Remove double-calls to tc_get_timecount() to warm timecounters. It seems that second call does not add any useful state change for all implemented timecounters.

Re: svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-10 Thread Steffen Nurpmeso
Yuri Pankov wrote in : |Mateusz Piotrowski wrote: |> Author: 0mp (doc,ports committer) |> Date: Wed Jun 10 19:23:58 2020 |> New Revision: 362017 |> URL: https://svnweb.freebsd.org/changeset/base/362017 |> |> Log: |>Read commands from stdin when -f - is passed to sed(1) .. |Am I readi

svn commit: r362032 - in head: include lib/libc/include lib/libthr lib/libthr/thread share/man/man3

2020-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 22:13:24 2020 New Revision: 362032 URL: https://svnweb.freebsd.org/changeset/base/362032 Log: Add pthread_getname_np() and pthread_setname_np() aliases for pthread_get_name_np() and pthread_set_name_np(). This re-applies r361770 after compatibility fixes.

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

2020-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 22:07:57 2020 New Revision: 362031 URL: https://svnweb.freebsd.org/changeset/base/362031 Log: amd64 pmap: reorder IPI send and local TLB flush in TLB invalidations. Right now code first flushes all local TLB entries that needs to be flushed, then signals IPI t

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

2020-06-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jun 10 22:00:31 2020 New Revision: 362030 URL: https://svnweb.freebsd.org/changeset/base/362030 Log: Add mode selection to iMX6 IPU driver - Configure ipu1_di0 tob e sourced from the VIDEO_PLL(PLL5) and hardcode frequency to (45500/3)Mhz. This value, further

Re: svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-10 Thread Yuri Pankov
Mateusz Piotrowski wrote: Author: 0mp (doc,ports committer) Date: Wed Jun 10 19:23:58 2020 New Revision: 362017 URL: https://svnweb.freebsd.org/changeset/base/362017 Log: Read commands from stdin when -f - is passed to sed(1) This patch teaches sed to interpret a "-" in a special way w

svn commit: r362029 - head/sys/dev/hdmi

2020-06-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jun 10 21:38:35 2020 New Revision: 362029 URL: https://svnweb.freebsd.org/changeset/base/362029 Log: Fix reading EDID on TVs/monitors without E-DCC support Writing segment id to I2C device 0x30 only required if the segment is non-zero. On the devices without E-DCC

svn commit: r362028 - in head/sys: crypto/aesni crypto/blake2 crypto/via dev/glxsb opencrypto

2020-06-10 Thread John Baldwin
Author: jhb Date: Wed Jun 10 21:18:19 2020 New Revision: 362028 URL: https://svnweb.freebsd.org/changeset/base/362028 Log: Adjust crypto_apply function callbacks for OCF. - crypto_apply() is only used for reading a buffer to compute a digest, so change the data pointer to a const pointe

svn commit: r362027 - head/sys/dev/pci

2020-06-10 Thread Chuck Tuffli
Author: chuck Date: Wed Jun 10 20:12:45 2020 New Revision: 362027 URL: https://svnweb.freebsd.org/changeset/base/362027 Log: pci: loosen PCIe hot-plug requirements The original PCIe hot-plug code required a couple of things which cause PCI probing errors on the QEMU Q35 system and possibl

svn commit: r362026 - stable/12/sys/dev/netmap

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 20:05:53 2020 New Revision: 362026 URL: https://svnweb.freebsd.org/changeset/base/362026 Log: MFC r361760 netmap: vtnet: clean up rxsync disabled logs Modified: stable/12/sys/dev/netmap/if_vtnet_netmap.h Directory Properties: stable/12/ (props chang

svn commit: r362025 - stable/12/sys/dev/netmap

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 20:05:07 2020 New Revision: 362025 URL: https://svnweb.freebsd.org/changeset/base/362025 Log: MFC r361759 netmap: vtnet: fix race condition in rxsync This change prevents a race that happens when rxsync dequeues N-1 rx packets (with N being the size

svn commit: r362024 - in stable/12/sys/dev: netmap virtio/network

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 20:04:20 2020 New Revision: 362024 URL: https://svnweb.freebsd.org/changeset/base/362024 Log: MFC r361758 netmap: vtnet: add vtnrx_nm_refill index to receive queues The new index tracks the next netmap slot that is going to be enqueued into the virt

svn commit: r362023 - stable/12/sys/dev/netmap

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 20:03:11 2020 New Revision: 362023 URL: https://svnweb.freebsd.org/changeset/base/362023 Log: MFC r361746 netmap: vale: fix disabled logs Modified: stable/12/sys/dev/netmap/if_vtnet_netmap.h Directory Properties: stable/12/ (props changed) Modified

svn commit: r362022 - stable/12/sys/dev/virtio/network

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 20:02:38 2020 New Revision: 362022 URL: https://svnweb.freebsd.org/changeset/base/362022 Log: MFC r361745 netmap: vtnet: call netmap_rx_irq() under VQ lock The netmap_rx_irq() function normally wakes up user-space threads waiting for more packets. I

svn commit: r362021 - stable/12/sys/dev/virtio/network

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 19:59:11 2020 New Revision: 362021 URL: https://svnweb.freebsd.org/changeset/base/362021 Log: MFC r361744 netmap: vtnet: honor NM_IRQ_RESCHED The netmap_rx_irq() function may return NM_IRQ_RESCHED to inform the driver that more work is pending, and

svn commit: r362020 - stable/12/sys/dev/netmap

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 19:58:03 2020 New Revision: 362020 URL: https://svnweb.freebsd.org/changeset/base/362020 Log: MFC r361698 netmap: if_vtnet: avoid netmap ring wraparound netmap assumes the one "slot" is left unused to distinguish the empty ring and full ring conditi

svn commit: r362019 - stable/12/sys/dev/netmap

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 19:57:10 2020 New Revision: 362019 URL: https://svnweb.freebsd.org/changeset/base/362019 Log: MFC r361697 netmap: if_vtnet: replace vtnet_free_used() The functionality contained in this function is duplicated, as it is already available in vtnet_txq

svn commit: r362018 - stable/12/sys/dev/netmap

2020-06-10 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jun 10 19:55:36 2020 New Revision: 362018 URL: https://svnweb.freebsd.org/changeset/base/362018 Log: MFC r361696 netmap: vtnet: fix RX virtqueue initialization bug The vtnet_netmap_rxq_populate() function erroneously assumed that kring->nr_hwcur = 0, i.e.

svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-10 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Jun 10 19:23:58 2020 New Revision: 362017 URL: https://svnweb.freebsd.org/changeset/base/362017 Log: Read commands from stdin when -f - is passed to sed(1) This patch teaches sed to interpret a "-" in a special way when given as an argument to t

svn commit: r362016 - head/sys/net80211

2020-06-10 Thread Adrian Chadd
Author: adrian Date: Wed Jun 10 18:59:46 2020 New Revision: 362016 URL: https://svnweb.freebsd.org/changeset/base/362016 Log: [net80211] ok ok if_xname won't ever be NULL. Somewhere in net80211 if_xname is checked against NULL but it doesn't trigger a compiler warning, but this does. So

svn commit: r362015 - in head: share/man/man4 sys/compat/linux

2020-06-10 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 10 18:50:46 2020 New Revision: 362015 URL: https://svnweb.freebsd.org/changeset/base/362015 Log: Make linux(4) set the openfiles soft resource limit to 1024 for Linux applications, which often depend on this being the case. There's a new sysctl, compat.linux.defa

Re: svn commit: r362014 - head/sys/compat/linux

2020-06-10 Thread Edward Tomasz Napierala
On 0610T1843, Edward Tomasz Napierala wrote: > Author: trasz > Date: Wed Jun 10 18:43:43 2020 > New Revision: 362014 > URL: https://svnweb.freebsd.org/changeset/base/362014 > > Log: > Support SO_SNDBUFFORCE/SO_RCVBUFFORCE by aliasing them to the > standard SO_SNDBUF/SO_RCVBUF. Mostly cosmetic

svn commit: r362014 - head/sys/compat/linux

2020-06-10 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 10 18:43:43 2020 New Revision: 362014 URL: https://svnweb.freebsd.org/changeset/base/362014 Log: Support SO_SNDBUFFORCE/SO_RCVBUFFORCE by aliasing them to the standard SO_SNDBUF/SO_RCVBUF. Mostly cosmetics, to get rid of the warning during 'apt upgrade'. MFC

svn commit: r362013 - head/sys/kern

2020-06-10 Thread Ed Maste
Author: emaste Date: Wed Jun 10 16:00:43 2020 New Revision: 362013 URL: https://svnweb.freebsd.org/changeset/base/362013 Log: Fix arm64 kernel build with DEBUG on Submitted by: Greg V , andrew Differential Revision:https://reviews.freebsd.org/D24986 Modified: head/sys/kern/subr

Re: svn commit: r362012 - head/sys/dev/acpica

2020-06-10 Thread John Baldwin
On 6/10/20 7:39 AM, Ruslan Bukin wrote: > Author: br > Date: Wed Jun 10 14:39:54 2020 > New Revision: 362012 > URL: https://svnweb.freebsd.org/changeset/base/362012 > > Log: > All the ARM Coresight interconnect devices set ResourceProducer on memory > resources, ignore it. > > The devices

Re: svn commit: r361994 - in head/sys/mips: cavium/cryptocteon nlm/dev/sec

2020-06-10 Thread John Baldwin
On 6/9/20 5:13 PM, Kyle Evans wrote: > On Tue, Jun 9, 2020 at 7:09 PM John Baldwin wrote: >> >> Author: jhb >> Date: Wed Jun 10 00:09:31 2020 >> New Revision: 361994 >> URL: https://svnweb.freebsd.org/changeset/base/361994 >> >> Log: >> Add some default cases for unreachable code to silence comp

svn commit: r362012 - head/sys/dev/acpica

2020-06-10 Thread Ruslan Bukin
Author: br Date: Wed Jun 10 14:39:54 2020 New Revision: 362012 URL: https://svnweb.freebsd.org/changeset/base/362012 Log: All the ARM Coresight interconnect devices set ResourceProducer on memory resources, ignore it. The devices found in the ARM Neoverse N1 System Development Platform

svn commit: r362011 - in head/sys: arm64/coresight conf

2020-06-10 Thread Ruslan Bukin
Author: br Date: Wed Jun 10 14:28:36 2020 New Revision: 362011 URL: https://svnweb.freebsd.org/changeset/base/362011 Log: ARM Coresight Funnel device: o Split-out FDT attachment to a separate file; o Add ACPI attachment; o Add support for the Static Funnel device. Sponsored by: DARPA,

svn commit: r362010 - head/release/tools

2020-06-10 Thread Emmanuel Vadot
Author: manu Date: Wed Jun 10 14:10:48 2020 New Revision: 362010 URL: https://svnweb.freebsd.org/changeset/base/362010 Log: release: Fix arm GPT image msdosfs labels are capitalized, use EFI instead of efi. MFC after:3 days Modified: head/release/tools/arm.subr Modified: head/r

svn commit: r362009 - stable/12/sys/net

2020-06-10 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 10 13:06:13 2020 New Revision: 362009 URL: https://svnweb.freebsd.org/changeset/base/362009 Log: MFC r361749: Add if_reassign method to all tunneling interfaces. After r339550 tunneling interfaces have started handle appearing and disappearing of ingress I

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

2020-06-10 Thread Andrew Turner
Author: andrew Date: Wed Jun 10 09:31:37 2020 New Revision: 362008 URL: https://svnweb.freebsd.org/changeset/base/362008 Log: Fix the efi serial console in the Arm models. On some UEFI implementations the ConsOut EFI variable is not a device path end type so we never move to the next node

svn commit: r362007 - in head/sys/net: . route

2020-06-10 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Jun 10 07:46:22 2020 New Revision: 362007 URL: https://svnweb.freebsd.org/changeset/base/362007 Log: Switch rtsock code to using newly-create rib_action() KPI call. This simplifies the code and allows to further split rtentry and nexthop, removing one of the bl

svn commit: r362006 - head/sys/netinet/cc

2020-06-10 Thread Richard Scheffenegger
Author: rscheff Date: Wed Jun 10 07:32:02 2020 New Revision: 362006 URL: https://svnweb.freebsd.org/changeset/base/362006 Log: Prevent TCP Cubic to abruptly increase cwnd after app-limited Cubic calculates the new cwnd based on absolute time elapsed since the start of an epoch. A cubic ep