Re: svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Enji Cooper
> On Oct 14, 2020, at 5:28 AM, Alex Richardson wrote: > > Author: arichardson > Date: Wed Oct 14 12:28:41 2020 > New Revision: 366697 > URL: https://svnweb.freebsd.org/changeset/base/366697 > > Log: > install(1): Avoid unncessary fstatfs() calls and use mmap() based on size > > According

svn commit: r366720 - head/sys/dev/hyperv/pcib

2020-10-14 Thread Wei Hu
Author: whu Date: Thu Oct 15 05:57:20 2020 New Revision: 366720 URL: https://svnweb.freebsd.org/changeset/base/366720 Log: Hyper-V: pcib: Check revoke status during device attach It is possible that the vmbus pcib channel is revoked during attach path. The attach path could be waiting

svn commit: r366719 - head/sys/sys

2020-10-14 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 15 05:11:16 2020 New Revision: 366719 URL: https://svnweb.freebsd.org/changeset/base/366719 Log: Bump __FreeBSD_version after addition of VOP_EAGAIN Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r366718 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-10-14 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 15 05:04:57 2020 New Revision: 366718 URL: https://svnweb.freebsd.org/changeset/base/366718 Log: zfs: g/c unused vop_vector zfsctl_ops_shares_dir Modified: head/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c Modified:

svn commit: r366717 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-10-14 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 15 04:49:34 2020 New Revision: 366717 URL: https://svnweb.freebsd.org/changeset/base/366717 Log: zfs: add missing fplookup vops Some vnodes come with a hack which inherits the fplookup flag despite having vops which don't provide the routine. Reported by:

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

2020-10-14 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 15 04:48:14 2020 New Revision: 366716 URL: https://svnweb.freebsd.org/changeset/base/366716 Log: vfs: add VOP_EAGAIN Can be used to stub fplookup for example. Modified: head/sys/kern/vfs_default.c head/sys/sys/vnode.h Modified: head/sys/kern/vfs_default.c

svn commit: r366715 - head/sys/arm64/include

2020-10-14 Thread D Scott Phillips
Author: scottph Date: Thu Oct 15 03:12:00 2020 New Revision: 366715 URL: https://svnweb.freebsd.org/changeset/base/366715 Log: arm64: Increase NIRQ to 16k Ampere Altra in a dual socket configuration has 12 ITSes for the 12 PCIe root complexes. The NIRQ interrupts are statically split

svn commit: r366714 - stable/12/sys/ufs/ffs

2020-10-14 Thread Konstantin Belousov
Author: kib Date: Thu Oct 15 00:50:26 2020 New Revision: 366714 URL: https://svnweb.freebsd.org/changeset/base/366714 Log: MFC r366551: Do not leak B_BARRIER. Modified: stable/12/sys/ufs/ffs/ffs_vfsops.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366713 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2020-10-14 Thread Konstantin Belousov
Author: kib Date: Wed Oct 14 23:01:41 2020 New Revision: 366713 URL: https://svnweb.freebsd.org/changeset/base/366713 Log: Fix for mis-interpretation of PCB_KERNFPU. RIght now PCB_KERNFPU is used both as indication that kernel prepared hardware FPU context to use and that the thread is

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

2020-10-14 Thread Konstantin Belousov
Author: kib Date: Wed Oct 14 22:57:50 2020 New Revision: 366712 URL: https://svnweb.freebsd.org/changeset/base/366712 Log: Limit workaround for errata E400 to appropriate AMD cpus. From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on

svn commit: r366711 - in head/sys: amd64/amd64 arm/arm arm64/arm64 i386/i386 kern mips/atheros mips/atheros/ar531x mips/beri mips/broadcom mips/cavium mips/ingenic mips/malta mips/mediatek mips/mip...

2020-10-14 Thread Konstantin Belousov
Author: kib Date: Wed Oct 14 22:51:40 2020 New Revision: 366711 URL: https://svnweb.freebsd.org/changeset/base/366711 Log: Avoid dump_avail[] redefinition. Move dump_avail[] extern declaration and inlines into a new header vm/vm_dumpset.h. This fixes default gcc build for mips.

svn commit: r366710 - head/sys/dev/iommu

2020-10-14 Thread Ruslan Bukin
Author: br Date: Wed Oct 14 21:22:23 2020 New Revision: 366710 URL: https://svnweb.freebsd.org/changeset/base/366710 Log: Split-out iommu type definitions to a separate header. Reviewed by: kib Sponsored by: Innovate DSbD Differential Revision:

svn commit: r366709 - head/sys/crypto/skein/amd64

2020-10-14 Thread Adrian Chadd
Author: adrian Date: Wed Oct 14 20:55:31 2020 New Revision: 366709 URL: https://svnweb.freebsd.org/changeset/base/366709 Log: [skein] Fix compile issue with unknown symbol SKEIN_ASM_UNROLL1024 Weirdly, I needed to sprinkle more parens here to get gcc-as in 6.4 to correctly generate

Re: svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Brooks Davis
On Wed, Oct 14, 2020 at 02:40:42PM +0100, Jessica Clarke wrote: > On 14 Oct 2020, at 14:28, Mateusz Guzik wrote: > > > > This should use copy_file_range (also available on Linux). > > I assume this is a bootstrap tool and hence the system OS and version > is relevant. macOS does not have

svn commit: r366708 - in head/sbin/pfctl/tests: . files

2020-10-14 Thread Alex Richardson
Author: arichardson Date: Wed Oct 14 17:39:50 2020 New Revision: 366708 URL: https://svnweb.freebsd.org/changeset/base/366708 Log: Rewrite pfctl_test in C to reduce testsuite run time The new C test takes 25 seconds on QEMU-RISC-V, wheras the shell version takes 332 seconds. Even

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

2020-10-14 Thread Alexander Motin
Author: mav Date: Wed Oct 14 15:50:28 2020 New Revision: 366707 URL: https://svnweb.freebsd.org/changeset/base/366707 Log: Use RTD3 Entry Latency value as shutdown timeout. This field was not in specs when the driver was written, but now there are SSDs with the reported latency of 10s,

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

2020-10-14 Thread Andrew Turner
Author: andrew Date: Wed Oct 14 15:31:42 2020 New Revision: 366706 URL: https://svnweb.freebsd.org/changeset/base/366706 Log: Remove direct user access from the arm64 copyinstr These already use the load variant that simulates userspace access. Remove the macros that enable normal loads

svn commit: r366705 - stable/12/sys/arm64/conf

2020-10-14 Thread Ed Maste
Author: emaste Date: Wed Oct 14 15:26:19 2020 New Revision: 366705 URL: https://svnweb.freebsd.org/changeset/base/366705 Log: MFC r366313: Add cd device to arm64 GENERIC Big-iron arm64 machines might have a CD, possibly provided by some IPMI emulation. Modified:

Sensitive Security Alert

2020-10-14 Thread WellsFargo Online via svn-src-all
Wells Fargo logo ( https://www.wellsfargo.com ) Recently, we discovered some unusual activity or updates on your account that we believe may be unauthorised. For your protection, we have temporarily suspended use of this account until you verify the activity. you will not be able to use

svn commit: r366704 - in head/sys: dev/iommu i386/include

2020-10-14 Thread Ruslan Bukin
Author: br Date: Wed Oct 14 14:51:11 2020 New Revision: 366704 URL: https://svnweb.freebsd.org/changeset/base/366704 Log: Add a per-each macro IOMMU_DOMAIN_UNLOAD_SLEEP which allows to sleep during iommu guest address space entries unload. Suggested by: kib Sponsored by: Innovate DSbD

svn commit: r366703 - head/sys/crypto/skein/amd64

2020-10-14 Thread Adrian Chadd
Author: adrian Date: Wed Oct 14 14:29:56 2020 New Revision: 366703 URL: https://svnweb.freebsd.org/changeset/base/366703 Log: [skein] Fix compilation on gnu assembler with gcc-6 and gcc-9 For some reason I don't want to really understand, the following happens with gnu as.

svn commit: r366702 - head/sys/dev/iommu

2020-10-14 Thread Ruslan Bukin
Author: br Date: Wed Oct 14 14:12:15 2020 New Revision: 366702 URL: https://svnweb.freebsd.org/changeset/base/366702 Log: Add iommu_get_ctx_domain() that allows to get iommu domain for a given iommu context. Submitted by: andrew Sponsored by: Innovate DSbD Modified:

Re: svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Mateusz Guzik
On 10/14/20, Alexander Richardson wrote: > On Wed, 14 Oct 2020 at 14:29, Mateusz Guzik wrote: >> >> This should use copy_file_range (also available on Linux). >> > > I agree. I even mentioned this in > https://reviews.freebsd.org/D26041#589287. > This change avoids the two unnecessary syscalls,

Re: svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Jessica Clarke
On 14 Oct 2020, at 14:28, Mateusz Guzik wrote: > > This should use copy_file_range (also available on Linux). I assume this is a bootstrap tool and hence the system OS and version is relevant. macOS does not have copy_file_range, and FreeBSD only has it in -CURRENT so that would break building

svn commit: r366701 - head/sys/dev/iommu

2020-10-14 Thread Ruslan Bukin
Author: br Date: Wed Oct 14 13:39:50 2020 New Revision: 366701 URL: https://svnweb.freebsd.org/changeset/base/366701 Log: Rename a header protection macro. Sponsored by: DARPA, AFRL Modified: head/sys/dev/iommu/iommu.h Modified: head/sys/dev/iommu/iommu.h

Re: svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Alexander Richardson
On Wed, 14 Oct 2020 at 14:29, Mateusz Guzik wrote: > > This should use copy_file_range (also available on Linux). > I agree. I even mentioned this in https://reviews.freebsd.org/D26041#589287. This change avoids the two unnecessary syscalls, but I agree that longer-term install should share the

Re: svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Mateusz Guzik
This should use copy_file_range (also available on Linux). On 10/14/20, Alex Richardson wrote: > Author: arichardson > Date: Wed Oct 14 12:28:41 2020 > New Revision: 366697 > URL: https://svnweb.freebsd.org/changeset/base/366697 > > Log: > install(1): Avoid unncessary fstatfs() calls and use

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

2020-10-14 Thread Michal Meloun
Author: mmel Date: Wed Oct 14 13:13:14 2020 New Revision: 366700 URL: https://svnweb.freebsd.org/changeset/base/366700 Log: Add 'netserver' command to EFI loader. In some environments is difficult to access bootp/dhcp configuration as "standard user". Add a command that allows to set

svn commit: r366698 - head/sys/modules

2020-10-14 Thread Alex Richardson
Author: arichardson Date: Wed Oct 14 12:28:48 2020 New Revision: 366698 URL: https://svnweb.freebsd.org/changeset/base/366698 Log: Don't build the malo module with clang 10 Compiling it with LLVM 10 triggers https://bugs.llvm.org/show_bug.cgi?id=44351 While LLVM 11 is the default

svn commit: r366699 - in head: kerberos5/include tools/build tools/build/cross-build/include/common/sys

2020-10-14 Thread Alex Richardson
Author: arichardson Date: Wed Oct 14 12:28:54 2020 New Revision: 366699 URL: https://svnweb.freebsd.org/changeset/base/366699 Log: Fix more -Wundef warnings during bootstrap Modified: head/kerberos5/include/config.h head/tools/build/Makefile

svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Alex Richardson
Author: arichardson Date: Wed Oct 14 12:28:41 2020 New Revision: 366697 URL: https://svnweb.freebsd.org/changeset/base/366697 Log: install(1): Avoid unncessary fstatfs() calls and use mmap() based on size According to git blame the trymmap() function was added in 1996 to skip mmap()

svn commit: r366696 - head/sys/dev/cxgbe/common

2020-10-14 Thread Navdeep Parhar
Author: np Date: Wed Oct 14 10:12:39 2020 New Revision: 366696 URL: https://svnweb.freebsd.org/changeset/base/366696 Log: cxgbe(4): Do not request FEC when requesting speeds that don't have FEC. MFC after:1 week Sponsored by: Chelsio Communications Modified:

svn commit: r366695 - in head: share/man/man4 sys/netinet sys/sys

2020-10-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Oct 14 09:22:54 2020 New Revision: 366695 URL: https://svnweb.freebsd.org/changeset/base/366695 Log: Implement SIOCGIFALIAS. It is lightweight way to check if an IPv4 address exists. Submitted by: Roy Marples Reviewed by: gnn, melifaro MFC after:2 weeks

svn commit: r366694 - head/sys/dev/cxgbe/cudbg

2020-10-14 Thread Navdeep Parhar
Author: np Date: Wed Oct 14 08:04:39 2020 New Revision: 366694 URL: https://svnweb.freebsd.org/changeset/base/366694 Log: cxgbe(4): unimplemented cudbg routines should return the correct internal error code and not an errno. Submitted by: Krishnamraju Eraparaju @ Chelsio MFC after:

svn commit: r366693 - releng/12.2/sys/dev/usb

2020-10-14 Thread Ganael LAPLANCHE
Author: martymac (ports committer) Date: Wed Oct 14 06:25:55 2020 New Revision: 366693 URL: https://svnweb.freebsd.org/changeset/base/366693 Log: MFS r365964: Allow slow USB devices to be given more time to return their USB descriptors, like Logitech HD Pro Webcam C920. PR: