Re: svn commit: r362333 - in head: contrib/flex contrib/flex/src usr.bin/lex usr.bin/lex/lib

2021-02-13 Thread Mark Johnston
On Sat, Feb 13, 2021 at 02:39:56AM -0500, Jung-uk Kim wrote: > On 21. 2. 13., Jung-uk Kim wrote: > > On 21. 2. 12., Mark Johnston wrote: > >> On Thu, Jun 18, 2020 at 06:09:16PM +, Jung-uk Kim wrote: > >>> Author: jkim > >>> Date: Thu Jun 18 18:09:16

Re: svn commit: r362333 - in head: contrib/flex contrib/flex/src usr.bin/lex usr.bin/lex/lib

2021-02-12 Thread Mark Johnston
On Thu, Jun 18, 2020 at 06:09:16PM +, Jung-uk Kim wrote: > Author: jkim > Date: Thu Jun 18 18:09:16 2020 > New Revision: 362333 > URL: https://svnweb.freebsd.org/changeset/base/362333 > > Log: > MFV:r362286 > > Merge flex 2.6.4. This seems to have introduced a regression: input

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

2020-12-18 Thread Mark Johnston
Author: markj Date: Fri Dec 18 16:04:48 2020 New Revision: 368763 URL: https://svnweb.freebsd.org/changeset/base/368763 Log: acpi: Ensure that adjacent memory affinity table entries are coalesced The SRAT may contain multiple distinct entries that together describe a contiguous region of

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

2020-12-18 Thread Mark Johnston
Author: markj Date: Fri Dec 18 16:02:28 2020 New Revision: 368762 URL: https://svnweb.freebsd.org/changeset/base/368762 Log: Fix the ipfw service status output when ipfw.ko isn't loaded Reported by: lme Reviewed by: lme MFC after:1 week Differential Revision:https://revi

svn commit: r368726 - stable/12/sys/cddl/dev/sdt

2020-12-17 Thread Mark Johnston
Author: markj Date: Thu Dec 17 17:21:12 2020 New Revision: 368726 URL: https://svnweb.freebsd.org/changeset/base/368726 Log: MFC r368306: sdt: Create providers and probes in separate passes when loading sdt.ko Modified: stable/12/sys/cddl/dev/sdt/sdt.c Directory Properties: stable/12/ (

Re: svn commit: r368523 - head/sys/vm

2020-12-15 Thread Mark Johnston
On Tue, Dec 15, 2020 at 03:33:09PM +0100, Hans Petter Selasky wrote: > On 12/15/20 3:27 PM, Mark Johnston wrote: > >> I'm seeing the following panic: > >> > >> panic("vm_wait in early boot") > >> vm_wait_domain() > >

Re: svn commit: r368523 - head/sys/vm

2020-12-15 Thread Mark Johnston
On Tue, Dec 15, 2020 at 01:59:22PM +0100, Hans Petter Selasky wrote: > On 12/10/20 9:44 PM, Bryan Drewery wrote: > > Author: bdrewery > > Date: Thu Dec 10 20:44:29 2020 > > New Revision: 368523 > > URL: https://svnweb.freebsd.org/changeset/base/368523 > > > > Log: > >contig allocs: Don't retry

svn commit: r368636 - in stable/12/sys/arm: arm include

2020-12-14 Thread Mark Johnston
Author: markj Date: Mon Dec 14 14:54:20 2020 New Revision: 368636 URL: https://svnweb.freebsd.org/changeset/base/368636 Log: MFC r368414: arm: Let the GDB stub write to SP, LR and GP registers PR: 251463 Modified: stable/12/sys/arm/arm/gdb_machdep.c stable/12/sys/arm/include/gdb_ma

svn commit: r368535 - stable/12/sys/arm/include

2020-12-10 Thread Mark Johnston
Author: markj Date: Fri Dec 11 00:25:34 2020 New Revision: 368535 URL: https://svnweb.freebsd.org/changeset/base/368535 Log: MFC r368108: arm: Correctly report the size of FPA registers to GDB PR: 251022 Modified: stable/12/sys/arm/include/gdb_machdep.h Directory Properties: stable

svn commit: r368486 - head/sys/kern

2020-12-09 Thread Mark Johnston
Author: markj Date: Wed Dec 9 14:05:08 2020 New Revision: 368486 URL: https://svnweb.freebsd.org/changeset/base/368486 Log: Plug a race between fd table teardown and several loops To export information from fd tables we have several loops which do this: FILDESC_SLOCK(fdp); for (i

svn commit: r368485 - head/sys/kern

2020-12-09 Thread Mark Johnston
Author: markj Date: Wed Dec 9 14:04:54 2020 New Revision: 368485 URL: https://svnweb.freebsd.org/changeset/base/368485 Log: Use refcount_load(9) to load fd table reference counts No functional change intended. Reviewed by: kib, mjg Sponsored by: The FreeBSD Foundation Differentia

svn commit: r368471 - stable/12/usr.sbin/rtsold

2020-12-08 Thread Mark Johnston
Author: markj Date: Wed Dec 9 00:56:38 2020 New Revision: 368471 URL: https://svnweb.freebsd.org/changeset/base/368471 Log: MFC r368278: rtsold: Fix bugs reported by Coverity Modified: stable/12/usr.sbin/rtsold/cap_llflags.c stable/12/usr.sbin/rtsold/dump.c stable/12/usr.sbin/rtsold/if

svn commit: r368470 - stable/12/sys/netpfil/pf

2020-12-08 Thread Mark Johnston
Author: markj Date: Wed Dec 9 00:56:14 2020 New Revision: 368470 URL: https://svnweb.freebsd.org/changeset/base/368470 Log: MFC r368276: pf: Fix table entry counter toggling PR: 251414 Modified: stable/12/sys/netpfil/pf/pf_table.c Directory Properties: stable/12/ (props changed)

svn commit: r368414 - in head/sys/arm: arm include

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 15:09:28 2020 New Revision: 368414 URL: https://svnweb.freebsd.org/changeset/base/368414 Log: arm: Let the GDB stub write to SP, LR and GP registers This can be handy if gdb's stack unwinder fails, for example because of a bug in kgdb's trap frame unwinder.

svn commit: r368413 - head/share/man/man9

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 14:53:34 2020 New Revision: 368413 URL: https://svnweb.freebsd.org/changeset/base/368413 Log: Add missing refcount.9 MLINKS Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile ===

svn commit: r368412 - head/sys/net

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 14:53:14 2020 New Revision: 368412 URL: https://svnweb.freebsd.org/changeset/base/368412 Log: iflib: Avoid leaking the freelist bitmaps upon driver detach Submitted by: Sai Rajesh Tallamraju MFC after:2 weeks Sponsored by: NetApp, Inc. Differential

svn commit: r368411 - head/sys/net

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 14:52:57 2020 New Revision: 368411 URL: https://svnweb.freebsd.org/changeset/base/368411 Log: iflib: Detach tasks upon device registration failure In some error paths we would fail to detach from the iflib taskqueue groups. Also move the detach code into it

svn commit: r368400 - head/sys/vm

2020-12-06 Thread Mark Johnston
Author: markj Date: Sun Dec 6 22:45:50 2020 New Revision: 368400 URL: https://svnweb.freebsd.org/changeset/base/368400 Log: uma: Make uma_zone_set_maxcache() work better with small limits The old implementation chose the largest bucket zone such that if the per-CPU caches are fully popul

svn commit: r368399 - head/sys/vm

2020-12-06 Thread Mark Johnston
Author: markj Date: Sun Dec 6 22:45:39 2020 New Revision: 368399 URL: https://svnweb.freebsd.org/changeset/base/368399 Log: uma: Enforce the use of uz_bucket_size_max in the free path uz_bucket_size_max is the maximum permitted bucket size. When filling a new bucket to satisfy uma_zallo

svn commit: r368398 - head/sys/vm

2020-12-06 Thread Mark Johnston
Author: markj Date: Sun Dec 6 22:45:22 2020 New Revision: 368398 URL: https://svnweb.freebsd.org/changeset/base/368398 Log: uma: Use atomic load for uz_sleepers This field is updated locklessly. Sponsored by: The FreeBSD Foundation Modified: head/sys/vm/uma_core.c Modified: head/s

svn commit: r368307 - in head: lib/libkvm sys/arm/arm sys/kern sys/mips/mips

2020-12-03 Thread Mark Johnston
Author: markj Date: Thu Dec 3 17:12:31 2020 New Revision: 368307 URL: https://svnweb.freebsd.org/changeset/base/368307 Log: Always use 64-bit physical addresses for dump_avail[] in minidumps As of r365978, minidumps include a copy of dump_avail[]. This is an array of vm_paddr_t ranges.

svn commit: r368306 - head/sys/cddl/dev/sdt

2020-12-03 Thread Mark Johnston
Author: markj Date: Thu Dec 3 17:10:00 2020 New Revision: 368306 URL: https://svnweb.freebsd.org/changeset/base/368306 Log: sdt: Create providers and probes in separate passes when loading sdt.ko The sdt module's load handler iterates over SDT linker sets for the kernel and all loaded mo

svn commit: r368304 - in stable/12/sys: dev/qat modules/qatfw/qat_c2xxx modules/qatfw/qat_c3xxx modules/qatfw/qat_c62x modules/qatfw/qat_d15xx modules/qatfw/qat_dh895xcc

2020-12-03 Thread Mark Johnston
Author: markj Date: Thu Dec 3 15:55:07 2020 New Revision: 368304 URL: https://svnweb.freebsd.org/changeset/base/368304 Log: MFC r368193: qat: Fix firmware module autoloading Modified: stable/12/sys/dev/qat/qat_c2xxxreg.h stable/12/sys/dev/qat/qat_c3xxxreg.h stable/12/sys/dev/qat/qat_c6

svn commit: r368303 - stable/12/sys/dev/qat

2020-12-03 Thread Mark Johnston
Author: markj Date: Thu Dec 3 15:54:41 2020 New Revision: 368303 URL: https://svnweb.freebsd.org/changeset/base/368303 Log: MFC r368194: qat: Initialize the crypto device ID to -1 instead of 0 Modified: stable/12/sys/dev/qat/qat.c Directory Properties: stable/12/ (props changed) Modif

svn commit: r368278 - head/usr.sbin/rtsold

2020-12-02 Thread Mark Johnston
Author: markj Date: Wed Dec 2 16:46:45 2020 New Revision: 368278 URL: https://svnweb.freebsd.org/changeset/base/368278 Log: rtsold: Fix bugs reported by Coverity - Avoid leaking a socket if llflags_get() fails. - Avoid leaking a file handle if rtsold_init_dumpfile() fails. - Tighten th

svn commit: r368276 - head/sys/netpfil/pf

2020-12-02 Thread Mark Johnston
Author: markj Date: Wed Dec 2 16:01:43 2020 New Revision: 368276 URL: https://svnweb.freebsd.org/changeset/base/368276 Log: pf: Fix table entry counter toggling When updating a table, pf will keep existing table entry structures corresponding to addresses that are in both of the old and

svn commit: r368253 - stable/11/usr.sbin/rtsold

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 19:36:37 2020 New Revision: 368253 URL: https://svnweb.freebsd.org/changeset/base/368253 Log: MFC r368248: rtsold: Fix multiple buffer overflows Approved by: so Security: CVE-2020-25577 Modified: stable/11/usr.sbin/rtsold/rtsol.c Directory Properti

svn commit: r368250 - stable/12/usr.sbin/rtsold

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 19:35:48 2020 New Revision: 368250 URL: https://svnweb.freebsd.org/changeset/base/368250 Log: MFC r368248: rtsold: Fix multiple buffer overflows Approved by: so Security: CVE-2020-25577 Modified: stable/12/usr.sbin/rtsold/rtsol.c Directory Properti

svn commit: r368248 - head/usr.sbin/rtsold

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 19:34:44 2020 New Revision: 368248 URL: https://svnweb.freebsd.org/changeset/base/368248 Log: rtsold: Fix multiple buffer overflows Approved by: so Security: CVE-2020-25577 MFC after:now Modified: head/usr.sbin/rtsold/rtsol.c Modified: head/us

svn commit: r368236 - head/sys/kern

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 16:06:31 2020 New Revision: 368236 URL: https://svnweb.freebsd.org/changeset/base/368236 Log: vmem: Revert r364744 A pair of bugs are believed to have caused the hangs described in the commit log message for r364744: 1. uma_reclaim() could trigger recla

svn commit: r368232 - stable/12/sys/netpfil/pf

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 15:11:16 2020 New Revision: 368232 URL: https://svnweb.freebsd.org/changeset/base/368232 Log: MFC r367987: pf: Make tag hashing more robust Modified: stable/12/sys/netpfil/pf/pf_ioctl.c Directory Properties: stable/12/ (props changed) Modified: stable/12/

svn commit: r368231 - stable/12/sbin/ping

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 15:09:02 2020 New Revision: 368231 URL: https://svnweb.freebsd.org/changeset/base/368231 Log: MFC r367988: ping(8): Improve parameter validation PR: 239974, 239977, 239978 Modified: stable/12/sbin/ping/ping.c Directory Properties: stable/12/ (props

svn commit: r368230 - stable/12/sys/dev/ata

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 15:01:10 2020 New Revision: 368230 URL: https://svnweb.freebsd.org/changeset/base/368230 Log: MFC r367989: ata(4): Release the ioport resource if device initialization fails PR: 251346 Modified: stable/12/sys/dev/ata/ata-pci.c Directory Properties: st

svn commit: r368202 - stable/11/sys/netinet6

2020-11-30 Thread Mark Johnston
Author: markj Date: Tue Dec 1 03:07:26 2020 New Revision: 368202 URL: https://svnweb.freebsd.org/changeset/base/368202 Log: MFC r367114 (by melifaro): Fix use-after-free in icmp6_notify_error(). Modified: stable/11/sys/netinet6/icmp6.c Directory Properties: stable/11/ (props changed)

svn commit: r368194 - head/sys/dev/qat

2020-11-30 Thread Mark Johnston
Author: markj Date: Mon Nov 30 20:53:45 2020 New Revision: 368194 URL: https://svnweb.freebsd.org/changeset/base/368194 Log: qat: Initialize the crypto device ID to -1 instead of 0 Otherwise qat_detach() may attempt to deregister an unrelated crypto driver if an error occurs in qat_attach

svn commit: r368193 - in head/sys: dev/qat modules/qatfw/qat_c2xxx modules/qatfw/qat_c3xxx modules/qatfw/qat_c62x modules/qatfw/qat_d15xx modules/qatfw/qat_dh895xcc

2020-11-30 Thread Mark Johnston
Author: markj Date: Mon Nov 30 20:53:25 2020 New Revision: 368193 URL: https://svnweb.freebsd.org/changeset/base/368193 Log: qat: Fix firmware module autoloading If firmware_get() fails to find a loaded firmware image, it searches for candidate KLDs to load. It will search for a KLD cont

svn commit: r368189 - head/sys/vm

2020-11-30 Thread Mark Johnston
Author: markj Date: Mon Nov 30 16:18:33 2020 New Revision: 368189 URL: https://svnweb.freebsd.org/changeset/base/368189 Log: uma: Avoid allocating buckets with the cross-domain lock held Allocation of a bucket can trigger a cross-domain free in the bucket zone, e.g., if the per-CPU alloc

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

2020-11-27 Thread Mark Johnston
Author: markj Date: Fri Nov 27 20:46:02 2020 New Revision: 368112 URL: https://svnweb.freebsd.org/changeset/base/368112 Log: callout(9): Remove some leftover APM BIOS support This code is obsolete since r366546. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Re

svn commit: r368108 - head/sys/arm/include

2020-11-27 Thread Mark Johnston
Author: markj Date: Fri Nov 27 16:35:43 2020 New Revision: 368108 URL: https://svnweb.freebsd.org/changeset/base/368108 Log: arm: Correctly report the size of FPA registers to GDB Modern ARM systems do not have an FPA unit but GDB reserves register indices for FPA registers and expects th

svn commit: r368057 - stable/12/sys/kern

2020-11-26 Thread Mark Johnston
Author: markj Date: Thu Nov 26 14:57:30 2020 New Revision: 368057 URL: https://svnweb.freebsd.org/changeset/base/368057 Log: MFC r367849: callout(9): Fix a race between CPU migration and callout_drain() Modified: stable/12/sys/kern/kern_timeout.c Directory Properties: stable/12/ (props

svn commit: r367989 - head/sys/dev/ata

2020-11-24 Thread Mark Johnston
Author: markj Date: Tue Nov 24 17:13:08 2020 New Revision: 367989 URL: https://svnweb.freebsd.org/changeset/base/367989 Log: ata(4): Release the ioport resource if device initialization fails PR: 251346 Submitted by: j...@transactionware.com MFC after:1 week Modified: h

svn commit: r367988 - head/sbin/ping

2020-11-24 Thread Mark Johnston
Author: markj Date: Tue Nov 24 17:12:40 2020 New Revision: 367988 URL: https://svnweb.freebsd.org/changeset/base/367988 Log: ping(8): Improve parameter validation - Use strtonum(3) to simplify bounds checking of numeric parameters. - Fix bounds checking when filling out packet data in "sw

svn commit: r367987 - head/sys/netpfil/pf

2020-11-24 Thread Mark Johnston
Author: markj Date: Tue Nov 24 16:18:47 2020 New Revision: 367987 URL: https://svnweb.freebsd.org/changeset/base/367987 Log: pf: Make tag hashing more robust tagname2tag() hashes the tag name before truncating it to 63 characters. tag_unref() removes the tag from the name hash by computin

svn commit: r367939 - in stable/12: share/man/man4 sys/dev/ntb/ntb_hw

2020-11-22 Thread Mark Johnston
Author: markj Date: Sun Nov 22 18:54:14 2020 New Revision: 367939 URL: https://svnweb.freebsd.org/changeset/base/367939 Log: MFC r366969, r366973: ntb: Add Intel Xeon Gen3 support Modified: stable/12/share/man/man4/ntb_hw_intel.4 stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c stable/12/sys

svn commit: r367849 - head/sys/kern

2020-11-19 Thread Mark Johnston
Author: markj Date: Thu Nov 19 18:37:28 2020 New Revision: 367849 URL: https://svnweb.freebsd.org/changeset/base/367849 Log: callout(9): Fix a race between CPU migration and callout_drain() Suppose a running callout re-arms itself, and before the callout finishes running another CPU calls

svn commit: r367845 - head/sys/vm

2020-11-19 Thread Mark Johnston
Author: markj Date: Thu Nov 19 15:41:42 2020 New Revision: 367845 URL: https://svnweb.freebsd.org/changeset/base/367845 Log: Wrap a long line in vm_pqbatch_process_page() Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c =

svn commit: r367844 - head/sys/vm

2020-11-19 Thread Mark Johnston
Author: markj Date: Thu Nov 19 15:40:58 2020 New Revision: 367844 URL: https://svnweb.freebsd.org/changeset/base/367844 Log: Micro-optimize vm_page_pqbatch_submit() Avoid calling vm_page_domain() twice. Discussed with: alc (in D27207) Modified: head/sys/vm/vm_page.c Modified:

Re: svn commit: r367695 - in head/sys: kern sys

2020-11-18 Thread Mark Johnston
On Wed, Nov 18, 2020 at 03:37:36PM -0800, John Baldwin wrote: > On 11/18/20 2:16 PM, Mateusz Guzik wrote: > > On 11/17/20, John Baldwin wrote: > >> On 11/14/20 11:22 AM, Mateusz Guzik wrote: > > Interested parties can check the consumer (also seen in the diff) to > > see this is for consistency. I

svn commit: r367828 - in head/sys: amd64/amd64 dev/mem powerpc/aim vm

2020-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 03:59:21 2020 New Revision: 367828 URL: https://svnweb.freebsd.org/changeset/base/367828 Log: vm_phys: Try to clean up NUMA KPIs It can useful for code outside the VM system to look up the NUMA domain of a page backing a virtual or physical address, specific

svn commit: r367827 - head/sys/conf

2020-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 02:53:29 2020 New Revision: 367827 URL: https://svnweb.freebsd.org/changeset/base/367827 Log: Move kern_clocksource.c to sys/conf/files Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/files head/sys/conf/files.amd64 head/sys/conf/files.arm

svn commit: r367826 - in head/sys: arm/arm arm/include conf kern

2020-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 02:50:48 2020 New Revision: 367826 URL: https://svnweb.freebsd.org/changeset/base/367826 Log: Remove NO_EVENTTIMERS support The arm configs that required it have been removed from the tree. Removing this option makes the callout code easier to read and dis

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

2020-11-18 Thread Mark Johnston
Author: markj Date: Wed Nov 18 14:27:47 2020 New Revision: 367792 URL: https://svnweb.freebsd.org/changeset/base/367792 Log: MFC r367596: iflib: Free full mbuf chains when draining transmit queues Modified: stable/12/sys/net/iflib.c Directory Properties: stable/12/ (props changed) Modi

svn commit: r367791 - in stable/12/sys: kern sys

2020-11-18 Thread Mark Johnston
Author: markj Date: Wed Nov 18 14:27:24 2020 New Revision: 367791 URL: https://svnweb.freebsd.org/changeset/base/367791 Log: MFC r367588: Fix a pair of races in SIGIO registration Modified: stable/12/sys/kern/kern_descrip.c stable/12/sys/kern/kern_exit.c stable/12/sys/kern/kern_proc.c

svn commit: r367727 - stable/12/sys/dev/qat

2020-11-16 Thread Mark Johnston
Author: markj Date: Mon Nov 16 16:53:46 2020 New Revision: 367727 URL: https://svnweb.freebsd.org/changeset/base/367727 Log: MFC r367617: qat: Fix nits reported by Coverity Modified: stable/12/sys/dev/qat/qat.c stable/12/sys/dev/qat/qat_ae.c stable/12/sys/dev/qat/qatvar.h Directory Prop

svn commit: r367642 - head/bin/df

2020-11-13 Thread Mark Johnston
Author: markj Date: Fri Nov 13 16:47:42 2020 New Revision: 367642 URL: https://svnweb.freebsd.org/changeset/base/367642 Log: df: Remove support for mounting devices This was marked deprecated in r329092, over two and a half years ago. This functionality is also buggy per PR 237368. P

svn commit: r367617 - head/sys/dev/qat

2020-11-12 Thread Mark Johnston
Author: markj Date: Thu Nov 12 15:00:48 2020 New Revision: 367617 URL: https://svnweb.freebsd.org/changeset/base/367617 Log: qat: Fix nits reported by Coverity MFC after:3 days Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/dev/qat/qat.c head/sys/dev/qat/q

svn commit: r367596 - head/sys/net

2020-11-11 Thread Mark Johnston
Author: markj Date: Wed Nov 11 18:00:06 2020 New Revision: 367596 URL: https://svnweb.freebsd.org/changeset/base/367596 Log: iflib: Free full mbuf chains when draining transmit queues Submitted by: Sai Rajesh Tallamraju Reviewed by: gallatin, hselasky MFC after:1 week Sponsored

svn commit: r367595 - head/sys/vm

2020-11-11 Thread Mark Johnston
Author: markj Date: Wed Nov 11 17:16:39 2020 New Revision: 367595 URL: https://svnweb.freebsd.org/changeset/base/367595 Log: vm_map: Handle kernel map entry allocator recursion On platforms without a direct map[*], vm_map_insert() may in rare situations need to allocate a kernel map entry

svn commit: r367593 - in head/sys/amd64: amd64 include vmm/amd vmm/intel

2020-11-11 Thread Mark Johnston
Author: markj Date: Wed Nov 11 15:01:17 2020 New Revision: 367593 URL: https://svnweb.freebsd.org/changeset/base/367593 Log: vmm: Make pmap_invalidate_ept() wait synchronously for guest exits Currently EPT TLB invalidation is done by incrementing a generation counter and issuing an IPI to

svn commit: r367591 - in stable/12/sys/amd64: amd64 include

2020-11-11 Thread Mark Johnston
Author: markj Date: Wed Nov 11 14:06:45 2020 New Revision: 367591 URL: https://svnweb.freebsd.org/changeset/base/367591 Log: MFC r367335: amd64: Make it easier to configure exception stack sizes Modified: stable/12/sys/amd64/amd64/machdep.c stable/12/sys/amd64/amd64/mp_machdep.c stable/

Re: svn commit: r367588 - in head/sys: kern sys

2020-11-11 Thread Mark Johnston
On Wed, Nov 11, 2020 at 02:58:32PM +0100, Hans Petter Selasky wrote: > On 11/11/20 2:44 PM, Mark Johnston wrote: > > +#defineSIGIO_ASSERT_LOCKED(type) mtx_assert(&sigio_lock, MA_OWNED) > > > > Minor nit: "type" argument can be

svn commit: r367590 - head/sys/sys

2020-11-11 Thread Mark Johnston
Author: markj Date: Wed Nov 11 14:03:49 2020 New Revision: 367590 URL: https://svnweb.freebsd.org/changeset/base/367590 Log: Remove an extraneous parameter from SIGIO_ASSERT_LOCKED() Reported by: hselasky MFC with: r367588 Modified: head/sys/sys/signalvar.h Modified: head/sys/sys

svn commit: r367589 - in head/sys: geom ufs/ffs

2020-11-11 Thread Mark Johnston
Author: markj Date: Wed Nov 11 13:48:07 2020 New Revision: 367589 URL: https://svnweb.freebsd.org/changeset/base/367589 Log: ffs: Clamp BIO_SPEEDUP length On 32-bit platforms, the computed size of the BIO_SPEEDUP requested by softdep_request_cleanup() may be negative when assigned to bp->

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

2020-11-11 Thread Mark Johnston
Author: markj Date: Wed Nov 11 13:44:27 2020 New Revision: 367588 URL: https://svnweb.freebsd.org/changeset/base/367588 Log: Fix a pair of races in SIGIO registration First, funsetownlst() list looks at the first element of the list to see whether it's processing a process or a process gr

svn commit: r367527 - stable/12/tests/sys/opencrypto

2020-11-09 Thread Mark Johnston
Author: markj Date: Mon Nov 9 15:37:57 2020 New Revision: 367527 URL: https://svnweb.freebsd.org/changeset/base/367527 Log: MFC r367388: cryptotest: Add qat(4) coverage Modified: stable/12/tests/sys/opencrypto/cryptotest.py Directory Properties: stable/12/ (props changed) Modified: st

svn commit: r367526 - in stable/12/sys: contrib/dev/qat modules modules/qatfw

2020-11-09 Thread Mark Johnston
Author: markj Date: Mon Nov 9 15:37:12 2020 New Revision: 367526 URL: https://svnweb.freebsd.org/changeset/base/367526 Log: MFC r367387, r367422: Add firmware modules for qat(4) Added: stable/12/sys/contrib/dev/qat/ - copied from r367387, head/sys/contrib/dev/qat/ stable/12/sys/modu

svn commit: r367525 - in stable/12: share/man/man4 sys/amd64/conf sys/conf sys/dev/qat sys/modules sys/modules/qat

2020-11-09 Thread Mark Johnston
000) and GCM modes, +and can perform authenticated encryption combining the CBC, CTR and XTS modes +with SHA1-HMAC and SHA2-HMAC. +The +.Nm +driver can also compute SHA1 and SHA2 digests. +.Sh SEE ALSO +.Xr crypto 4 , +.Xr ipsec 4 , +.Xr pci 4 , +.Xr random 4 , +.Xr crypto 7 , +.Xr crypto 9 +.Sh

svn commit: r367524 - stable/12/sys/opencrypto

2020-11-09 Thread Mark Johnston
Author: markj Date: Mon Nov 9 14:15:06 2020 New Revision: 367524 URL: https://svnweb.freebsd.org/changeset/base/367524 Log: Add hmac_init_ipad() and hmac_init_opad() This is a merge of a small portion of r359374 which makes it easier to maintain OpenCrypto drivers in stable/12. No funct

svn commit: r367523 - stable/12/usr.sbin/syslogd

2020-11-09 Thread Mark Johnston
Author: markj Date: Mon Nov 9 13:54:29 2020 New Revision: 367523 URL: https://svnweb.freebsd.org/changeset/base/367523 Log: MFC r366576: syslogd: Avoid trimming host names in RFC 5424 mode PR: 250014 Modified: stable/12/usr.sbin/syslogd/syslogd.c Directory Properties: stable/12/

svn commit: r367422 - head/sys/contrib/dev/qat

2020-11-06 Thread Mark Johnston
Author: markj Date: Fri Nov 6 16:12:06 2020 New Revision: 367422 URL: https://svnweb.freebsd.org/changeset/base/367422 Log: Add firmware modules for qat(4), take two My script to convert git commits to svn patch does not handle binary files correctly, and r367387 committed a set of empty

svn commit: r367421 - svnadmin/conf

2020-11-06 Thread Mark Johnston
Author: markj Date: Fri Nov 6 16:10:04 2020 New Revision: 367421 URL: https://svnweb.freebsd.org/changeset/base/367421 Log: Add myself to the sizelimit exemption list Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ==

svn commit: r367388 - head/tests/sys/opencrypto

2020-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 5 16:00:57 2020 New Revision: 367388 URL: https://svnweb.freebsd.org/changeset/base/367388 Log: cryptotest: Add qat(4) coverage MFC after:3 days Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/tests/sys/opencrypto/cryptotest.py Modif

svn commit: r367387 - in head/sys: contrib/dev/qat modules modules/qatfw modules/qatfw/qat_c2xxx modules/qatfw/qat_c3xxx modules/qatfw/qat_c62x modules/qatfw/qat_d15xx modules/qatfw/qat_dh895xcc

2020-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 5 16:00:30 2020 New Revision: 367387 URL: https://svnweb.freebsd.org/changeset/base/367387 Log: Add firmware modules for qat(4) MFC after:3 days Sponsored by: Rubicon Communications, LLC (Netgate) Added: head/sys/contrib/dev/qat/ head/sys/contrib/dev/

svn commit: r367386 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/qat sys/modules sys/modules/qat

2020-11-05 Thread Mark Johnston
+.Xr pci 4 , +.Xr random 4 , +.Xr crypto 7 , +.Xr crypto 9 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx 13.0 . +.Sh AUTHORS +The +.Nm +driver was written for +.Nx +by +.An Hikaru Abe Aq Mt hik...@iij.ad.jp +and ported to +.Fx +by +.An Mark Johnston Aq Mt ma...@freebsd.org . +.Sh BUGS +

svn commit: r367335 - in head/sys/amd64: amd64 include

2020-11-04 Thread Mark Johnston
Author: markj Date: Wed Nov 4 16:42:20 2020 New Revision: 367335 URL: https://svnweb.freebsd.org/changeset/base/367335 Log: amd64: Make it easier to configure exception stack sizes The amd64 kernel handles certain types of exceptions on a dedicated stack. Currently the sizes of these st

svn commit: r367334 - in head/sys: dev/cxgbe/tom kern vm

2020-11-04 Thread Mark Johnston
Author: markj Date: Wed Nov 4 16:30:56 2020 New Revision: 367334 URL: https://svnweb.freebsd.org/changeset/base/367334 Log: vmspace: Convert to refcount(9) This is mostly mechanical except for vmspace_exit(). There, use the new refcount_release_if_last() to avoid switching to vmspace0 u

svn commit: r367333 - in head: share/man/man9 sys/sys

2020-11-04 Thread Mark Johnston
Author: markj Date: Wed Nov 4 16:30:30 2020 New Revision: 367333 URL: https://svnweb.freebsd.org/changeset/base/367333 Log: refcount(9): Add refcount_release_if_last() and refcount_load() The former is intended for use in vmspace_exit(). The latter is to encourage use of explicit loads

svn commit: r367297 - stable/12

2020-11-03 Thread Mark Johnston
Author: markj Date: Tue Nov 3 14:41:49 2020 New Revision: 367297 URL: https://svnweb.freebsd.org/changeset/base/367297 Log: MFC r367081: arm64: Remove a racy KASSERT from pmap_remove_pages() Modified: Directory Properties: stable/12/ (props changed) __

svn commit: r367272 - stable/12/sys/kern

2020-11-02 Thread Mark Johnston
Author: markj Date: Mon Nov 2 14:30:55 2020 New Revision: 367272 URL: https://svnweb.freebsd.org/changeset/base/367272 Log: MFC r366838: vmem: Allocate btags before looping in vmem_xalloc() Modified: stable/12/sys/kern/subr_vmem.c Directory Properties: stable/12/ (props changed) Modif

svn commit: r367271 - stable/12/sys/kern

2020-11-02 Thread Mark Johnston
Author: markj Date: Mon Nov 2 14:01:33 2020 New Revision: 367271 URL: https://svnweb.freebsd.org/changeset/base/367271 Log: MFC r366837: vmem: Simplify bt_fill() callers a bit Modified: stable/12/sys/kern/subr_vmem.c Directory Properties: stable/12/ (props changed) Modified: stable/12

svn commit: r367270 - stable/12/sys/amd64/vmm/intel

2020-11-02 Thread Mark Johnston
Author: markj Date: Mon Nov 2 14:00:25 2020 New Revision: 367270 URL: https://svnweb.freebsd.org/changeset/base/367270 Log: MFC r366834: vmx: Implement pmap (de)activation in C Modified: stable/12/sys/amd64/vmm/intel/vmx.c stable/12/sys/amd64/vmm/intel/vmx.h stable/12/sys/amd64/vmm/int

svn commit: r367174 - head/sys/opencrypto

2020-10-30 Thread Mark Johnston
Author: markj Date: Fri Oct 30 17:05:36 2020 New Revision: 367174 URL: https://svnweb.freebsd.org/changeset/base/367174 Log: opencrypto: Annotate hmac_init_(i|o)pad() to make auth_hash const This makes them friendlier to drivers that try to use const pointers whenever possible in their in

Re: svn commit: r367165 - head/sys/fs/tmpfs

2020-10-30 Thread Mark Johnston
On Fri, Oct 30, 2020 at 03:08:32PM +0100, Mateusz Guzik wrote: > On 10/30/20, Mateusz Guzik wrote: > > Author: mjg > > Date: Fri Oct 30 14:07:25 2020 > > New Revision: 367165 > > URL: https://svnweb.freebsd.org/changeset/base/367165 > > > > Log: > > tmpfs: change tmpfs dirent zone into a malloc

Re: svn commit: r367165 - head/sys/fs/tmpfs

2020-10-30 Thread Mark Johnston
On Fri, Oct 30, 2020 at 02:07:25PM +, Mateusz Guzik wrote: > Author: mjg > Date: Fri Oct 30 14:07:25 2020 > New Revision: 367165 > URL: https://svnweb.freebsd.org/changeset/base/367165 > > Log: > tmpfs: change tmpfs dirent zone into a malloc type > > It is 64 bytes. That could change t

svn commit: r367171 - in stable/12/usr.bin/col: . tests

2020-10-30 Thread Mark Johnston
Author: markj Date: Fri Oct 30 14:41:19 2020 New Revision: 367171 URL: https://svnweb.freebsd.org/changeset/base/367171 Log: MFC r366577: col(1): Fix a couple of bugs PR: 249308 Added: stable/12/usr.bin/col/tests/hlf.in - copied unchanged from r366577, head/usr.bin/col/tests/hlf

svn commit: r367170 - stable/12/share/man/man9

2020-10-30 Thread Mark Johnston
Author: markj Date: Fri Oct 30 14:40:48 2020 New Revision: 367170 URL: https://svnweb.freebsd.org/changeset/base/367170 Log: MFC r366970: Add some missing nv(9) MLINKS Modified: stable/12/share/man/man9/Makefile Directory Properties: stable/12/ (props changed) Modified: stable/12/share

svn commit: r367168 - stable/12/usr.sbin/rtsold

2020-10-30 Thread Mark Johnston
Author: markj Date: Fri Oct 30 14:37:51 2020 New Revision: 367168 URL: https://svnweb.freebsd.org/changeset/base/367168 Log: MFC r366972: rtsold: Remove an incorrect __unused annotation Modified: stable/12/usr.sbin/rtsold/cap_script.c Directory Properties: stable/12/ (props changed) Mo

svn commit: r367169 - stable/12/sys/dev/ntb

2020-10-30 Thread Mark Johnston
Author: markj Date: Fri Oct 30 14:38:17 2020 New Revision: 367169 URL: https://svnweb.freebsd.org/changeset/base/367169 Log: MFC r366968: ntb: Fix an assertion to permit >= 32 doorbells Modified: stable/12/sys/dev/ntb/ntb_transport.c Directory Properties: stable/12/ (props changed) Mod

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

2020-10-27 Thread Mark Johnston
Author: markj Date: Tue Oct 27 13:27:47 2020 New Revision: 367081 URL: https://svnweb.freebsd.org/changeset/base/367081 Log: arm64: Remove a racy KASSERT from pmap_remove_pages() PCPU_GET(curpmap) expands to multiple instructions on arm64, and if the current thread is migrated in between

svn commit: r366973 - head/sys/dev/ntb/ntb_hw

2020-10-23 Thread Mark Johnston
Author: markj Date: Fri Oct 23 15:12:06 2020 New Revision: 366973 URL: https://svnweb.freebsd.org/changeset/base/366973 Log: ntb: Fix the 32-bit build after r366969 Reported by: Jenkins MFC with: r366969 Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c Modified: head/sys/dev/ntb/

svn commit: r366972 - head/usr.sbin/rtsold

2020-10-23 Thread Mark Johnston
Author: markj Date: Fri Oct 23 14:56:17 2020 New Revision: 366972 URL: https://svnweb.freebsd.org/changeset/base/366972 Log: rtsold: Remove an incorrect __unused annotation MFC after:1 week Modified: head/usr.sbin/rtsold/cap_script.c Modified: head/usr.sbin/rtsold/cap_script.c =

svn commit: r366971 - stable/12/lib/libc/locale

2020-10-23 Thread Mark Johnston
Author: markj Date: Fri Oct 23 14:47:32 2020 New Revision: 366971 URL: https://svnweb.freebsd.org/changeset/base/366971 Log: MFC r366375: newlocale(3): Fix a memory leak. PR: 249416 Modified: stable/12/lib/libc/locale/newlocale.3 stable/12/lib/libc/locale/xlocale.c Directory Proper

svn commit: r366970 - head/share/man/man9

2020-10-23 Thread Mark Johnston
Author: markj Date: Fri Oct 23 14:25:48 2020 New Revision: 366970 URL: https://svnweb.freebsd.org/changeset/base/366970 Log: Add some missing nv(9) MLINKS MFC after:1 week Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile =

svn commit: r366969 - in head: share/man/man4 sys/dev/ntb/ntb_hw

2020-10-23 Thread Mark Johnston
Author: markj Date: Fri Oct 23 14:16:52 2020 New Revision: 366969 URL: https://svnweb.freebsd.org/changeset/base/366969 Log: ntb: Add Intel Xeon Gen3 support The NTB hardware starting with Skylake has some changes to the register map and the doorbell interface. Add a new NTB_XEON_GEN3 de

svn commit: r366968 - head/sys/dev/ntb

2020-10-23 Thread Mark Johnston
Author: markj Date: Fri Oct 23 14:15:58 2020 New Revision: 366968 URL: https://svnweb.freebsd.org/changeset/base/366968 Log: ntb: Fix an assertion to permit >= 32 doorbells MFC after:1 week Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Modified: head/sys/dev/ntb/ntb_transp

svn commit: r366842 - in head: sys/netinet sys/netinet6 usr.bin/netstat

2020-10-19 Thread Mark Johnston
Author: markj Date: Mon Oct 19 17:07:19 2020 New Revision: 366842 URL: https://svnweb.freebsd.org/changeset/base/366842 Log: icmp6: Count packets dropped due to an invalid hop limit Pad the icmp6stat structure so that we can add more counters in the future without breaking compatibility a

svn commit: r366841 - head/sys/kern

2020-10-19 Thread Mark Johnston
Author: markj Date: Mon Oct 19 16:57:59 2020 New Revision: 366841 URL: https://svnweb.freebsd.org/changeset/base/366841 Log: link_elf_obj: Colour VM objects This will cause the VM to back sufficiently large .text sections, such as those in zfs.ko or amdgpu.ko on amd64, with superpage mapp

svn commit: r366840 - head/sys/vm

2020-10-19 Thread Mark Johnston
Author: markj Date: Mon Oct 19 16:57:40 2020 New Revision: 366840 URL: https://svnweb.freebsd.org/changeset/base/366840 Log: uma: Respect uk_reserve in keg_drain() When a reserve of free items is configured for a zone, the reserve must not be reclaimed under memory pressure. Modify keg_d

svn commit: r366839 - head/sys/vm

2020-10-19 Thread Mark Johnston
Author: markj Date: Mon Oct 19 16:55:03 2020 New Revision: 366839 URL: https://svnweb.freebsd.org/changeset/base/366839 Log: uma: Avoid depleting keg reserves when filling a bucket zone_import() fetches a free or partially free slab from the keg and then uses its items to populate an arra

svn commit: r366838 - head/sys/kern

2020-10-19 Thread Mark Johnston
Author: markj Date: Mon Oct 19 16:54:06 2020 New Revision: 366838 URL: https://svnweb.freebsd.org/changeset/base/366838 Log: vmem: Allocate btags before looping in vmem_xalloc() BT_MAXALLOC (4) is the number of boundary tags required to complete an allocation in the worst case: two to cli

  1   2   3   4   5   6   7   8   9   10   >