svn commit: r366563 - stable/12/sys/fs/ext2fs

2020-10-08 Thread Pedro F. Giffuni
Author: pfg Date: Fri Oct 9 05:28:32 2020 New Revision: 366563 URL: https://svnweb.freebsd.org/changeset/base/366563 Log: MFC r366501: ext2fs: minor typo. Obtained from:Dragonfly Modified: stable/12/sys/fs/ext2fs/ext2_alloc.c Directory Properties: stable/12/ (props

svn commit: r366562 - in head/sys/contrib/dev/acpica: . common compiler components/debugger components/disassembler components/events components/executer components/namespace components/parser comp...

2020-10-08 Thread Jung-uk Kim
Author: jkim Date: Fri Oct 9 05:27:02 2020 New Revision: 366562 URL: https://svnweb.freebsd.org/changeset/base/366562 Log: MFV: r366539 Merge ACPICA 20200925. Modified: head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/common/ahpredef.c

svn commit: r366561 - head

2020-10-08 Thread Li-Wen Hsu
Author: lwhsu Date: Fri Oct 9 04:03:57 2020 New Revision: 366561 URL: https://svnweb.freebsd.org/changeset/base/366561 Log: Correct the primary to find(1) Sponsored by: The FreeBSD Foundation Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r366537 - head/libexec/rc/rc.d

2020-10-08 Thread Rodney W. Grimes
> Author: kaktus > Date: Thu Oct 8 11:45:10 2020 > New Revision: 366537 > URL: https://svnweb.freebsd.org/changeset/base/366537 > > Log: > [pf] /etc/rc.d/pf should REQUIRE routing > > When a system with pf_enable="YES" in /etc/rc.conf uses hostnames in > /etc/pf.conf, these hostnames

svn commit: r366560 - head/sys/conf

2020-10-08 Thread Warner Losh
Author: imp Date: Fri Oct 9 01:48:21 2020 New Revision: 366560 URL: https://svnweb.freebsd.org/changeset/base/366560 Log: Remove now-unused files makeLINT.mk isn't needed or used anymore, remove it and all the files it uses. Reviewed by: kevans Differential Revision:

svn commit: r366559 - in head: . sys/amd64/conf sys/arm/conf sys/arm64/conf sys/i386/conf sys/powerpc/conf

2020-10-08 Thread Warner Losh
Author: imp Date: Fri Oct 9 01:48:14 2020 New Revision: 366559 URL: https://svnweb.freebsd.org/changeset/base/366559 Log: Create in-tree LINT files Now that config(8) has supported include for 19 years, transition to including the NOTES files. include support didn't exist at the time,

svn commit: r366558 - in head/sys: amd64/conf arm/conf arm64/conf i386/conf mips/conf powerpc/conf

2020-10-08 Thread Kyle Evans
Author: kevans Date: Fri Oct 9 01:37:17 2020 New Revision: 366558 URL: https://svnweb.freebsd.org/changeset/base/366558 Log: sys/*/conf: drop the svn:ignore We're going to commit the LINT. Modified: Directory Properties: head/sys/amd64/conf/ (props changed) head/sys/arm/conf/

svn commit: r366557 - head/sys/kern

2020-10-08 Thread Rick Macklem
Author: rmacklem Date: Fri Oct 9 01:04:28 2020 New Revision: 366557 URL: https://svnweb.freebsd.org/changeset/base/366557 Log: Make vn_generic_copy_file_range() interruptible via a signal. Without this patch, when vn_generic_copy_file_range() is doing a large copy, it will remain in the

svn commit: r366555 - head

2020-10-08 Thread Warner Losh
Author: imp Date: Fri Oct 9 00:27:40 2020 New Revision: 366555 URL: https://svnweb.freebsd.org/changeset/base/366555 Log: Eliminate building LINT makefiles LINT config files are about to be checked in directly. Eliminate building them by hand here from NOTES files. Reviewed by:

svn commit: r366556 - head

2020-10-08 Thread Warner Losh
Author: imp Date: Fri Oct 9 00:27:45 2020 New Revision: 366556 URL: https://svnweb.freebsd.org/changeset/base/366556 Log: Stop ignoring makeLINT generated files We're going to check these files in shortly since we don't need to generate them anymore. Generated files cause issues for

svn commit: r366554 - head/usr.sbin/bsdinstall/scripts

2020-10-08 Thread Warner Losh
Author: imp Date: Fri Oct 9 00:16:26 2020 New Revision: 366554 URL: https://svnweb.freebsd.org/changeset/base/366554 Log: Initial support for implementing the bootXXX.efi workaround Too many version of UEFI firmware (so far only confirmed on amd64) don't really support efibootmgr

svn commit: r366553 - releng/12.2/sys/conf

2020-10-08 Thread Glen Barber
Author: gjb Date: Thu Oct 8 23:59:58 2020 New Revision: 366553 URL: https://svnweb.freebsd.org/changeset/base/366553 Log: Update releng/12.2 to RC2 as part of the 12.2-RELEASE cycle. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (netgate.com) Modified:

svn commit: r366552 - head/sys/vm

2020-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 22:46:15 2020 New Revision: 366552 URL: https://svnweb.freebsd.org/changeset/base/366552 Log: vm_page_dump_index_to_pa(): Add braces to the expression involving + and &. The precedence of the '&' operator is less than of '+'. Added braces do change the order

svn commit: r366551 - head/sys/ufs/ffs

2020-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 22:41:02 2020 New Revision: 366551 URL: https://svnweb.freebsd.org/changeset/base/366551 Log: Do not leak B_BARRIER. Normally when a buffer with B_BARRIER is written, the flag is cleared by g_vfs_strategy() when creating bio. But in some cases FFS buffer

svn commit: r366550 - head/sys/kern

2020-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 22:34:34 2020 New Revision: 366550 URL: https://svnweb.freebsd.org/changeset/base/366550 Log: sig_intr(9): return early if AST is not scheduled. Check td_flags for relevant AST requests lock-less. This opens the race slightly wider where sig_intr() returns

svn commit: r366549 - head/sys/kern

2020-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 22:31:11 2020 New Revision: 366549 URL: https://svnweb.freebsd.org/changeset/base/366549 Log: Do not allow to use O_BENEATH as an oracle. Specifically, if lookup() returned any error and the topping directory was not latched, which means that (non-existent)

svn commit: r366548 - head/sys/powerpc/powerpc

2020-10-08 Thread Alfredo Dal'Ava Junior
Author: alfredo Date: Thu Oct 8 22:00:31 2020 New Revision: 366548 URL: https://svnweb.freebsd.org/changeset/base/366548 Log: [PowerPC] add machdep.uprintf_signal sysctl Add support for sysctl 'machdep.uprintf_signal' that prints debugging information on trap signal. Reviewed by:

svn commit: r366546 - in head/sys: conf dev/syscons/apm i386/bios i386/conf

2020-10-08 Thread Warner Losh
Author: imp Date: Thu Oct 8 20:56:06 2020 New Revision: 366546 URL: https://svnweb.freebsd.org/changeset/base/366546 Log: Remove APM BIOS support APM BIOS was relevant only to early laptops (approximately P166 or P200 and slower). These have not been relevant for a long time, and this

svn commit: r366547 - in head/sys: i386/include x86/isa

2020-10-08 Thread Warner Losh
Author: imp Date: Thu Oct 8 20:56:11 2020 New Revision: 366547 URL: https://svnweb.freebsd.org/changeset/base/366547 Log: timer_restore is now unused, remove it apm was the only consumer of timer_restore. Now that it's gone, this can be removed. Modified:

svn commit: r366545 - in head/sys: conf i386/conf modules/syscons modules/syscons/apm

2020-10-08 Thread Warner Losh
Author: imp Date: Thu Oct 8 20:56:00 2020 New Revision: 366545 URL: https://svnweb.freebsd.org/changeset/base/366545 Log: Remove apm screen saver. APM BIOS support is about to be removed. Remove the apm screen saver and its module. They are about to be irrelevant. Deleted:

svn commit: r366544 - in head/sys/modules: . apm

2020-10-08 Thread Warner Losh
Author: imp Date: Thu Oct 8 20:55:55 2020 New Revision: 366544 URL: https://svnweb.freebsd.org/changeset/base/366544 Log: Remove apm module The apm code is about to be removed. Remove the module since it's about to be useless. Deleted: head/sys/modules/apm/Makefile Modified:

Re: svn commit: r366542 - in head/sys: amd64/amd64 arm/arm arm64/arm64 kern riscv/riscv sys

2020-10-08 Thread Mitchell Horne
On Thu, Oct 8, 2020 at 3:15 PM Kyle Evans wrote: > > On Thu, Oct 8, 2020 at 1:02 PM Mitchell Horne wrote: > > > > Author: mhorne > > Date: Thu Oct 8 18:02:05 2020 > > New Revision: 366542 > > URL: https://svnweb.freebsd.org/changeset/base/366542 > > > > Log: > > Add a routine to dump boot

Re: svn commit: r366543 - head/sys/kern

2020-10-08 Thread Ravi Pokala
-Original Message- From: on behalf of Mitchell Horne Date: 2020-10-08, Thursday at 11:29 To: , , Subject: svn commit: r366543 - head/sys/kern Author: mhorne Date: Thu Oct 8 18:29:17 2020 New Revision: 366543 URL: https://svnweb.freebsd.org/changeset/base/366543

Re: svn commit: r366542 - in head/sys: amd64/amd64 arm/arm arm64/arm64 kern riscv/riscv sys

2020-10-08 Thread Mitchell Horne
On Thu, Oct 8, 2020 at 3:19 PM Ravi Pokala wrote: > > Hi Mitchell, > > +static void > +preload_dump_internal(struct sbuf *sbp) > +{ > + uint32_t *bptr, type, len; > + > + KASSERT(preload_metadata != NULL, > + ("%s called without setting up preload_metadata",

svn commit: r366543 - head/sys/kern

2020-10-08 Thread Mitchell Horne
Author: mhorne Date: Thu Oct 8 18:29:17 2020 New Revision: 366543 URL: https://svnweb.freebsd.org/changeset/base/366543 Log: Fix a loop condition The correct way to identify the end of the metadata is two adjacent entries set to zero/MODINFO_END. I made a typo and this was checking the

Re: svn commit: r366542 - in head/sys: amd64/amd64 arm/arm arm64/arm64 kern riscv/riscv sys

2020-10-08 Thread Ravi Pokala
Hi Mitchell, +static void +preload_dump_internal(struct sbuf *sbp) +{ + uint32_t *bptr, type, len; + + KASSERT(preload_metadata != NULL, + ("%s called without setting up preload_metadata", __func__)); + + /* +* Iterate through the

Re: svn commit: r366542 - in head/sys: amd64/amd64 arm/arm arm64/arm64 kern riscv/riscv sys

2020-10-08 Thread Kyle Evans
On Thu, Oct 8, 2020 at 1:02 PM Mitchell Horne wrote: > > Author: mhorne > Date: Thu Oct 8 18:02:05 2020 > New Revision: 366542 > URL: https://svnweb.freebsd.org/changeset/base/366542 > > Log: > Add a routine to dump boot metadata > > The boot metadata (also referred to as modinfo, or preload

svn commit: r366542 - in head/sys: amd64/amd64 arm/arm arm64/arm64 kern riscv/riscv sys

2020-10-08 Thread Mitchell Horne
Author: mhorne Date: Thu Oct 8 18:02:05 2020 New Revision: 366542 URL: https://svnweb.freebsd.org/changeset/base/366542 Log: Add a routine to dump boot metadata The boot metadata (also referred to as modinfo, or preload metadata) provides information about the size and location of the

svn commit: r366541 - head

2020-10-08 Thread Warner Losh
Author: imp Date: Thu Oct 8 17:30:05 2020 New Revision: 366541 URL: https://svnweb.freebsd.org/changeset/base/366541 Log: Race in 32-bit fixed Use install insteald of install.sh for 32-bit builds to fight races there. Reviewed by: markj Modified: head/Makefile.libcompat Modified:

svn commit: r366540 - vendor-sys/acpica/20200925

2020-10-08 Thread Jung-uk Kim
Author: jkim Date: Thu Oct 8 16:45:27 2020 New Revision: 366540 URL: https://svnweb.freebsd.org/changeset/base/366540 Log: Tag ACPICA 20200925. Added: vendor-sys/acpica/20200925/ - copied from r366539, vendor-sys/acpica/dist/ ___

svn commit: r366539 - in vendor-sys/acpica/dist: . generate/release source/common source/compiler source/components/debugger source/components/disassembler source/components/events source/component...

2020-10-08 Thread Jung-uk Kim
Author: jkim Date: Thu Oct 8 16:44:28 2020 New Revision: 366539 URL: https://svnweb.freebsd.org/changeset/base/366539 Log: Import ACPICA 20200925. Modified: vendor-sys/acpica/dist/changes.txt vendor-sys/acpica/dist/generate/release/build.sh

svn commit: r366538 - stable/12/usr.sbin/crunch/crunchgen

2020-10-08 Thread Kyle Evans
Author: kevans Date: Thu Oct 8 12:56:23 2020 New Revision: 366538 URL: https://svnweb.freebsd.org/changeset/base/366538 Log: MFC r366466: crunchgen: fix MK_AUTO_OBJ logic after r364166 r364166 converted echo -n `/bin/pwd` to a raw pwd invocation, leaving a trailing newline at the end of

svn commit: r366537 - head/libexec/rc/rc.d

2020-10-08 Thread Pawel Biernacki
Author: kaktus Date: Thu Oct 8 11:45:10 2020 New Revision: 366537 URL: https://svnweb.freebsd.org/changeset/base/366537 Log: [pf] /etc/rc.d/pf should REQUIRE routing When a system with pf_enable="YES" in /etc/rc.conf uses hostnames in /etc/pf.conf, these hostnames cannot be resolved via

svn commit: r366536 - head/sys/dev/usb

2020-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 8 11:30:22 2020 New Revision: 366536 URL: https://svnweb.freebsd.org/changeset/base/366536 Log: Try a bit harder to get the USB device descriptor in case the initial read fails. MFC after:1 week Sponsored by: Mellanox Technologies //

svn commit: r366535 - head/sys/kern

2020-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 8 11:25:19 2020 New Revision: 366535 URL: https://svnweb.freebsd.org/changeset/base/366535 Log: The ethernet header structure is read-only. Add const keyword. (This is a diff reduction towards D26254) MFC after:1 week Sponsored by:

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

2020-10-08 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Oct 8 11:04:32 2020 New Revision: 366534 URL: https://svnweb.freebsd.org/changeset/base/366534 Log: Remove yet another useless assignment, adding a KASSERT just in case. Reviewed by: kp Sponsored by: DARPA Differential Revision:

svn commit: r366533 - head/sys/dev/evdev

2020-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 8 10:59:49 2020 New Revision: 366533 URL: https://svnweb.freebsd.org/changeset/base/366533 Log: Allow evdev's rcpt_mask and sysmouse_t_axis parameters to be specified in /boot/loader.conf . MFC after:1 week Sponsored by: Mellanox

svn commit: r366532 - in head: share/man/man4 sys/dev/cxgbe

2020-10-08 Thread Navdeep Parhar
Author: np Date: Thu Oct 8 10:00:13 2020 New Revision: 366532 URL: https://svnweb.freebsd.org/changeset/base/366532 Log: cxgbe(4): knobs to drop various kinds of undesirable frames on ingress. These kind of drops come for free in the sense that they do not use the filter TCAM or any