svn commit: r358308 - in head/sys/dev: mpr mps

2020-02-24 Thread Warner Losh
Author: imp Date: Tue Feb 25 04:27:23 2020 New Revision: 358308 URL: https://svnweb.freebsd.org/changeset/base/358308 Log: Before issing the REMOVE_DEVICE command to the firmware, make sure that all commands have completed. It's not OK to force complete any pending commands before we send

svn commit: r358307 - in head/sys: contrib/ncsw/inc contrib/ncsw/user/env dev/dpaa

2020-02-24 Thread Brandon Bergren
Author: bdragon Date: Tue Feb 25 03:35:52 2020 New Revision: 358307 URL: https://svnweb.freebsd.org/changeset/base/358307 Log: [PowerPC] [Book-E] Fix dpaa interrupt binding. After the network epoch was added, we lost the ability to migrate the ithread in the middle of dispatch, as being i

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

2020-02-24 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 25 02:42:43 2020 New Revision: 358306 URL: https://svnweb.freebsd.org/changeset/base/358306 Log: Unbreak the 32-bit powerpc builds Force unsigned integer usage by casting to vm_offset_t, to avoid integer overflow, from r358305 Modified: head/sys/powerpc/b

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

2020-02-24 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 25 01:40:22 2020 New Revision: 358305 URL: https://svnweb.freebsd.org/changeset/base/358305 Log: powerpc/booke: Use a pseudo-DMAP for the device mappings on booke64 Since powerpc64 has such a large virtual address space, significantly larger than its physica

svn commit: r358304 - head/stand/powerpc/ofw

2020-02-24 Thread Brandon Bergren
Author: bdragon Date: Tue Feb 25 00:45:09 2020 New Revision: 358304 URL: https://svnweb.freebsd.org/changeset/base/358304 Log: [PowerPC] Fix LLD10 linking of ofw loader on ppc Before this change, LLD10 was creating several extra PT_LOAD sections, which OFW does not understand. Like w

svn commit: r358303 - stable/12/release/tools

2020-02-24 Thread Colin Percival
Author: cperciva Date: Tue Feb 25 00:37:13 2020 New Revision: 358303 URL: https://svnweb.freebsd.org/changeset/base/358303 Log: MFC r357750: Mount /dev while deinstalling pkg inside EC2 AMIs. Modified: stable/12/release/tools/ec2.conf Directory Properties: stable/12/ (props changed) Modi

svn commit: r358302 - stable/12/release/tools

2020-02-24 Thread Colin Percival
Author: cperciva Date: Tue Feb 25 00:36:16 2020 New Revision: 358302 URL: https://svnweb.freebsd.org/changeset/base/358302 Log: MFC r357749: Remove /qemu from EC2 ARM AMIs. Modified: stable/12/release/tools/ec2.conf Directory Properties: stable/12/ (props changed) Modified: stable/12/rel

Re: svn commit: r358167 - head/sys/netinet6

2020-02-24 Thread Hans Petter Selasky
On 2020-02-24 18:19, Bjoern A. Zeeb wrote: are you sure that this is the problem?  Or does https://reviews.freebsd.org/D23760 solve the actual problem? Yes, I'm confident this is the problem. I made traces with tcpdump and looked at it using wireshark. Just setup two -current machines on a n

svn commit: r358301 - in head/sys: dev/beri/virtio/network dev/dpaa dev/hyperv/netvsc dev/if_ndis dev/mlx5/mlx5_en dev/ntb/if_ntb dev/sbni dev/virtio/network mips/nlm/dev/net net

2020-02-24 Thread Gleb Smirnoff
Author: glebius Date: Mon Feb 24 21:07:30 2020 New Revision: 358301 URL: https://svnweb.freebsd.org/changeset/base/358301 Log: Although most of the NIC drivers are epoch ready, due to peer pressure switch over to opt-in instead of opt-out for epoch. Instead of IFF_NEEDSEPOCH, provide IFF_

svn commit: r358300 - head/sys/dev/usb/net

2020-02-24 Thread Ed Maste
Author: emaste Date: Mon Feb 24 19:50:28 2020 New Revision: 358300 URL: https://svnweb.freebsd.org/changeset/base/358300 Log: smsc: remove pre-FreeBSD-10 compat support Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/usb/net/if_smsc.c Modified: head/sys/dev/usb/net/if_smsc.c

svn commit: r358299 - head/sys/dev/usb/net

2020-02-24 Thread Ed Maste
Author: emaste Date: Mon Feb 24 19:48:29 2020 New Revision: 358299 URL: https://svnweb.freebsd.org/changeset/base/358299 Log: muge: fix rxcsum enable test if_capabilities indicates capabilities supported by the hardware; if_capenable which are enabled. Note that rx checksum is still disa

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-24 Thread Steffen Nurpmeso
Hello. Pedro Giffuni wrote in : |On 22/02/2020 20:09, Steffen Nurpmeso wrote: |> Hey, just so, because i posted to such a thing the last time. |> |> Pedro Giffuni wrote in |> : |>|On 22/02/2020 11:18, Florian Smeets wrote: |>|> On 20.02.20 04:54, Pedro F. Giffuni wrote: |>|>> Author: pfg

Re: svn commit: r358247 - in head/sys: conf riscv/include

2020-02-24 Thread Warner Losh
On Mon, Feb 24, 2020 at 11:08 AM John Baldwin wrote: > On 2/22/20 5:23 AM, Kristof Provost wrote: > > Author: kp > > Date: Sat Feb 22 13:23:27 2020 > > New Revision: 358247 > > URL: https://svnweb.freebsd.org/changeset/base/358247 > > > > Log: > > riscv: Set MACHINE_ARCH correctly > > > > MAC

svn commit: r358297 - head/sys/netinet6

2020-02-24 Thread Bjoern A. Zeeb
Author: bz Date: Mon Feb 24 19:12:20 2020 New Revision: 358297 URL: https://svnweb.freebsd.org/changeset/base/358297 Log: Fix IPv6 checksums when exthdrs are present. In two places in ip6_output we are doing (delayed) checksum calculations. The initial logic came from SCTP in r205075,2051

Re: svn commit: r358247 - in head/sys: conf riscv/include

2020-02-24 Thread John Baldwin
On 2/22/20 5:23 AM, Kristof Provost wrote: > Author: kp > Date: Sat Feb 22 13:23:27 2020 > New Revision: 358247 > URL: https://svnweb.freebsd.org/changeset/base/358247 > > Log: > riscv: Set MACHINE_ARCH correctly > > MACHINE_ARCH sets the hw.machine_arch sysctl in the kernel. In userspace >

Re: svn commit: r358167 - head/sys/netinet6

2020-02-24 Thread Bjoern A. Zeeb
On 24 Feb 2020, at 14:21, Hans Petter Selasky wrote: Hi Hans, On 2020-02-20 11:56, Bjoern A. Zeeb wrote: + + unfragpartlen = optlen + sizeof(struct ip6_hdr); + Hi Bjoren, This change introduces a slight regression when a host replies to IPv6 ping fragmented packets. The pro

svn commit: r358294 - in head/sys/arm64: arm64 include

2020-02-24 Thread Andrew Turner
Author: andrew Date: Mon Feb 24 16:45:31 2020 New Revision: 358294 URL: https://svnweb.freebsd.org/changeset/base/358294 Log: Split out the stage 1 pte bits and add the stage 2 bits In preperation for adding bhyve support to arm64 we need to split the stage 1 and stage 2 pte fields to all

svn commit: r358293 - in head/sys: conf riscv/conf

2020-02-24 Thread Warner Losh
Author: imp Date: Mon Feb 24 16:42:44 2020 New Revision: 358293 URL: https://svnweb.freebsd.org/changeset/base/358293 Log: Add a soft-float riscv kernel config GENERICSF is just like GENERIC, only creates a soft-float kernel. Omit it from the universe build for now. Reviewed by: phi

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

2020-02-24 Thread Warner Losh
Author: imp Date: Mon Feb 24 16:41:29 2020 New Revision: 358292 URL: https://svnweb.freebsd.org/changeset/base/358292 Log: Only compile clear_fpu state code when we're building with options FPE. Soft float kernels build without floating point, and will fail to build if we try to include f

svn commit: r358291 - head/usr.sbin/config

2020-02-24 Thread Warner Losh
Author: imp Date: Mon Feb 24 16:41:16 2020 New Revision: 358291 URL: https://svnweb.freebsd.org/changeset/base/358291 Log: Create ../compile Give up the battle to keep extra files in $MACHINE/compile to keep the file in the tree. Instead, create CDIR (usually ../compile) if it doesn't exi

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

2020-02-24 Thread Olivier Houchard
Author: cognet Date: Mon Feb 24 16:25:11 2020 New Revision: 358290 URL: https://svnweb.freebsd.org/changeset/base/358290 Log: debug_monitor: Avoid setting the PSR_D flag for 32bits binaries. In dbg_monitor_exit(), avoid setting the PSR_D bit if the process is a 32bits binary. PSR_D is an

svn commit: r358289 - head/sys/dev/ena

2020-02-24 Thread Marcin Wojtas
Author: mw Date: Mon Feb 24 15:35:31 2020 New Revision: 358289 URL: https://svnweb.freebsd.org/changeset/base/358289 Log: Rework and simplify Tx DMA mapping in ENA Driver working in LLQ mode in some cases can send only few last segments of the mbuf using DMA engine, and the rest of them a

Re: svn commit: r358167 - head/sys/netinet6

2020-02-24 Thread Hans Petter Selasky
On 2020-02-20 11:56, Bjoern A. Zeeb wrote: + + unfragpartlen = optlen + sizeof(struct ip6_hdr); + Hi Bjoren, This change introduces a slight regression when a host replies to IPv6 ping fragmented packets. The problem is the "unfragpartlen" must also be set in the else case of "

svn commit: r358288 - stable/12/sys/x86/x86

2020-02-24 Thread Konstantin Belousov
Author: kib Date: Mon Feb 24 12:35:58 2020 New Revision: 358288 URL: https://svnweb.freebsd.org/changeset/base/358288 Log: MFC r358226: x86/identcpu.c whitespace cleanup. Modified: stable/12/sys/x86/x86/identcpu.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys

svn commit: r358287 - stable/12/sys/x86/x86

2020-02-24 Thread Konstantin Belousov
Author: kib Date: Mon Feb 24 12:34:42 2020 New Revision: 358287 URL: https://svnweb.freebsd.org/changeset/base/358287 Log: MFC r358225: print_svm_info: decode a CPUID 0x800a.edx bit 20. Modified: stable/12/sys/x86/x86/identcpu.c Directory Properties: stable/12/ (props changed) Modi

Re: svn commit: r358286 - in head/sys/dev: e1000 ixgbe ixl

2020-02-24 Thread Paweł Biernacki
Approved by: kib (mentor, blanket) Differential Revision: https://reviews.freebsd.org/D23630 > On 24 Feb 2020, at 11:51, Pawel Biernacki wrote: > > Author: kaktus > Date: Mon Feb 24 10:51:26 2020 > New Revision: 358286 > URL: https://svnweb.freebsd.org/c

svn commit: r358286 - in head/sys/dev: e1000 ixgbe ixl

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:51:26 2020 New Revision: 358286 URL: https://svnweb.freebsd.org/changeset/base/358286 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (15 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358285 - in head/sys: netinet netinet/libalias netinet6

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:47:18 2020 New Revision: 358285 URL: https://svnweb.freebsd.org/changeset/base/358285 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (14 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358284 - in head/sys: arm/allwinner arm64/rockchip

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:45:22 2020 New Revision: 358284 URL: https://svnweb.freebsd.org/changeset/base/358284 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (13 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358283 - head/sys/geom/eli

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:42:56 2020 New Revision: 358283 URL: https://svnweb.freebsd.org/changeset/base/358283 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (12 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358282 - stable/11/sys/dev/mlx5/mlx5_ib

2020-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 24 10:42:37 2020 New Revision: 358282 URL: https://svnweb.freebsd.org/changeset/base/358282 Log: MFC r358220: Fix broken MLX5_IB_INDEX() macro in mlx5ib(4). The index should be computed as distance from arg[0] and not the beginning of struct mlx5_ib_conges

svn commit: r358280 - head/sys/dev/ofw

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:41:22 2020 New Revision: 358280 URL: https://svnweb.freebsd.org/changeset/base/358280 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (11 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358281 - stable/12/sys/dev/mlx5/mlx5_ib

2020-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 24 10:41:36 2020 New Revision: 358281 URL: https://svnweb.freebsd.org/changeset/base/358281 Log: MFC r358220: Fix broken MLX5_IB_INDEX() macro in mlx5ib(4). The index should be computed as distance from arg[0] and not the beginning of struct mlx5_ib_conges

svn commit: r358279 - head/sys/arm64/rockchip

2020-02-24 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 24 10:40:35 2020 New Revision: 358279 URL: https://svnweb.freebsd.org/changeset/base/358279 Log: arm64: rockchip: rk808: Only init regulator not enabled If a regulator is already enabled, do not set its value to the minimum supported on the board. This fixes b

svn commit: r358277 - head/sys/fs/pseudofs

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:37:56 2020 New Revision: 358277 URL: https://svnweb.freebsd.org/changeset/base/358277 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (10 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or a

svn commit: r358278 - head/sys/arm64/rockchip

2020-02-24 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 24 10:38:38 2020 New Revision: 358278 URL: https://svnweb.freebsd.org/changeset/base/358278 Log: arm64: rockchip: rk_i2c: Bump to DELAY to 1000 In polling mode with use DELAY to wait for interrupts. The value was too low for RK3328. MFC after:1 week Mo

svn commit: r358276 - head/sys/contrib/ipfilter/netinet

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:35:58 2020 New Revision: 358276 URL: https://svnweb.freebsd.org/changeset/base/358276 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (8 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r358275 - head/sys/fs/fuse

2020-02-24 Thread Pawel Biernacki
Author: kaktus Date: Mon Feb 24 10:33:51 2020 New Revision: 358275 URL: https://svnweb.freebsd.org/changeset/base/358275 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (8 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or al

svn commit: r358274 - in stable/11/sys: net netinet netinet6

2020-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 24 09:58:57 2020 New Revision: 358274 URL: https://svnweb.freebsd.org/changeset/base/358274 Log: MFC r358013: Fix kernel panic while trying to read multicast stream. When VIMAGE is enabled make sure the "m_pkthdr.rcvif" pointer is set for all mbufs being i

svn commit: r358273 - in stable/12/sys: net netinet netinet6

2020-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 24 09:57:47 2020 New Revision: 358273 URL: https://svnweb.freebsd.org/changeset/base/358273 Log: MFC r358013: Fix kernel panic while trying to read multicast stream. When VIMAGE is enabled make sure the "m_pkthdr.rcvif" pointer is set for all mbufs being i

svn commit: r358272 - stable/11/sys/net

2020-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 24 09:50:19 2020 New Revision: 358272 URL: https://svnweb.freebsd.org/changeset/base/358272 Log: MFC r357799: Make sure the so-called end of receive interrupts don't starve in iflib. When the receive ring cannot be filled with mbufs, due to lack of memory,

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

2020-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 24 09:38:47 2020 New Revision: 358271 URL: https://svnweb.freebsd.org/changeset/base/358271 Log: MFC r357799: Make sure the so-called end of receive interrupts don't starve in iflib. When the receive ring cannot be filled with mbufs, due to lack of memory,

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

2020-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 24 09:31:30 2020 New Revision: 358270 URL: https://svnweb.freebsd.org/changeset/base/358270 Log: Always check return value from acpi_GetInteger() after r358219. If a failure happens reading the lid state, assume the lid is opened. Suggested by: cem @ Diffe