]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
3 years agoMFC r367934
Vincenzo Maffione [Wed, 25 Nov 2020 21:23:58 +0000 (21:23 +0000)]
MFC r367934

netmap: nmreplay: switch to libnetmap

Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h

3 years agoMFC r367933
Vincenzo Maffione [Wed, 25 Nov 2020 21:23:13 +0000 (21:23 +0000)]
MFC r367933

netmap: lb: switch to libnetmap

Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h

3 years agoMFC r367932
Vincenzo Maffione [Wed, 25 Nov 2020 21:22:16 +0000 (21:22 +0000)]
MFC r367932

netmap: pkt-gen: switch to libnetmap

Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h

3 years agoMFC r367931
Vincenzo Maffione [Wed, 25 Nov 2020 21:20:55 +0000 (21:20 +0000)]
MFC r367931

netmap: bridge: switch to libnetmap

Use the newer libnetmap (included in base) rather than the older
nm_open()/nm_close() defined in netmap_user.h

3 years agoMFC r351700: libc: Use musl's optimized memchr
Ed Maste [Wed, 25 Nov 2020 18:36:38 +0000 (18:36 +0000)]
MFC r351700: libc: Use musl's optimized memchr

Parentheses added to HASZERO macro to avoid a GCC warning.

Sponsored by: The FreeBSD Foundation

3 years agoMFC: Merge ENA v2.3.0 driver
Marcin Wojtas [Wed, 25 Nov 2020 03:24:43 +0000 (03:24 +0000)]
MFC: Merge ENA v2.3.0 driver

r367805 Update ENA driver version to v2.3.0
r367803 Rename descriptions of the supported ENA devices
r367802 Add ENI metrics for the ENA driver
r367801 Add SPDX license tag to the ENA driver files
r367800 Add Rx offsets support for the ENA driver
r367799 Adjust ENA driver files to latest ena-com changes
r367795 Fix completion descriptors alignment for the ENA

Obtained from:  Semihalf
Sponsored by:   Amazon, Inc

3 years agoMFC r367920, r367921
Vincenzo Maffione [Tue, 24 Nov 2020 19:55:01 +0000 (19:55 +0000)]
MFC r367920, r367921

netmap: bridge: update man page with more information

Update the man page to describe how it is necessary to
enable promiscuous mode and/or disable offloads.

3 years agoMFCr367741:
Konstantin Belousov [Tue, 24 Nov 2020 13:19:31 +0000 (13:19 +0000)]
MFCr367741:
vmem: trivial warning and style fixes.

3 years agoMFC r367044: Introduce support of SCSI Command Priority.
Alexander Motin [Tue, 24 Nov 2020 13:17:12 +0000 (13:17 +0000)]
MFC r367044: Introduce support of SCSI Command Priority.

SAM-3 specification introduced concept of Task Priority, that was renamed
to Command Priority in SAM-4, and supported by all modern SCSI transports.
It provides 15 levels of relative priorities: 1 - highest, 15 - lowest and
0 - default.  SAT specification for SATA devices translates priorities 1-3
into NCQ high priority.

This change adds new "priority" field into empty spots of struct ccb_scsiio
and struct ccb_accept_tio of CAM and struct ctl_scsiio of CTL.  Respective
support is added into iscsi(4), isp(4), mpr(4), mps(4) and ocs_fc(4) drivers
for both initiator and where applicable target roles.  Minimal support was
added to CTL to receive the priority value from different frontends, pass it
between HA controllers and report in few places.

This patch does not add consumers of this functionality, so nothing should
really change yet, since the field is still set to 0 (default) on initiator
and not actively used on target.  Those are to be implemented separately.

I've confirmed priority working on WD Red SATA disks connected via mpr(4)
and properly transferred to CTL target via iscsi(4), isp(4) and ocs_fc(4).

While there, added missing tag_action support to ocs_fc(4) initiator role.

3 years agoMFC r366922, r367915, r367916:
Alexander Motin [Tue, 24 Nov 2020 00:30:47 +0000 (00:30 +0000)]
MFC r366922, r367915, r367916:
Pass lower 3 bits of sector_count for FPDMA commands.

When this code was written those bits were N/A, but now the lowest bit
is Rebuild Assist Recovery Control (RARC).

3 years agoMFC r367502:
Navdeep Parhar [Tue, 24 Nov 2020 00:27:21 +0000 (00:27 +0000)]
MFC r367502:

cxgbe(4): Allow the PF driver to set a VF's MAC address.

The MAC address can be set with the optional mac-addr property in the VF
section of the iovctl.conf(5) used to instantiate the VFs.

Sponsored by: Chelsio Communications

3 years agoMFC r367497:
Navdeep Parhar [Tue, 24 Nov 2020 00:25:03 +0000 (00:25 +0000)]
MFC r367497:

cxgbev(4): Use the MAC address set by the the PF if there is one.

Query the firmware for the MAC address set by the PF for the VF and use
it instead of the firmware generated MAC if it's available.

Sponsored by: Chelsio Communications

3 years agoMFC r367428 and r367495.
Navdeep Parhar [Tue, 24 Nov 2020 00:22:33 +0000 (00:22 +0000)]
MFC r367428 and r367495.

r367428:
cxgbe(4):  Update firmwares to 1.25.0.40.

This fixes a potential crash in firmware 1.25.0.0 on the passive open
side during TOE operation.

r367495:
cxgbe(4): Add the firmware binaries missing in r367428.

Obtained from: Chelsio Communications
Sponsored by: Chelsio Communications

3 years agoMFC r366929 and r367608.
Navdeep Parhar [Tue, 24 Nov 2020 00:17:05 +0000 (00:17 +0000)]
MFC r366929 and r367608.

r366929:
cxgbe(4): fix the size of the iq/eq maps.

The firmware can allocate ingress and egress context ids anywhere from
its configured range.  Size the iq/eq maps to match the entire range
instead of assuming that the firmware always allocates the first
available context id.

Reported by: Baptiste Wicht @ Verisign

r367608:
cxgbev(4): Make sure that the iq/eq map sizes are correct for VFs.

This should have been part of r366929.

Sponsored by: Chelsio Communications

3 years agoMFC r366916:
Navdeep Parhar [Tue, 24 Nov 2020 00:12:42 +0000 (00:12 +0000)]
MFC r366916:

cxgbe(4): display correct tid range for T6 based -SO cards.

Reported by: Chelsio QA
Sponsored by: Chelsio Communications

3 years agoMFC r366853:
Navdeep Parhar [Tue, 24 Nov 2020 00:07:22 +0000 (00:07 +0000)]
MFC r366853:

cxgbe(4): Fix page fault in t4_get_lb_stats with 2 port T5 cards.

PR: 250449
Reported by: freqlabs@
Sponsored by: Chelsio Communications

3 years agoMFC r366696:
Navdeep Parhar [Tue, 24 Nov 2020 00:02:14 +0000 (00:02 +0000)]
MFC r366696:

cxgbe(4): Do not request FEC when requesting speeds that don't have FEC.

Sponsored by: Chelsio Communications

3 years agoMFC r366694:
Navdeep Parhar [Mon, 23 Nov 2020 23:58:14 +0000 (23:58 +0000)]
MFC r366694:

cxgbe(4): unimplemented cudbg routines should return the correct
internal error code and not an errno.

Submitted by: Krishnamraju Eraparaju @ Chelsio
Sponsored by: Chelsio Communications

3 years agoMFC r366532 and r366862.
Navdeep Parhar [Mon, 23 Nov 2020 23:53:21 +0000 (23:53 +0000)]
MFC r366532 and r366862.

r366532:
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 other resource that wouldn't normally be used during
rx.  Frames dropped by the hardware get counted in the MAC's rx stats
but are not delivered to the driver.

hw.cxgbe.attack_filter
Set to 1 to enable the "attack filter".  Default is 0.  The attack
filter will drop an incoming frame if any of these conditions is true:
src ip/ip6 == dst ip/ip6; tcp and src/dst ip is not unicast; src/dst ip
is loopback (127.x.y.z); src ip6 is not unicast; src/dst ip6 is loopback
(::1/128) or unspecified (::/128); tcp and src/dst ip6 is mcast
(ff00::/8).

hw.cxgbe.drop_ip_fragments
Set to 1 to drop all incoming IP fragments.  Default is 0.  Note that
this drops valid frames.

hw.cxgbe.drop_pkts_with_l2_errors
Set to 1 to drop incoming frames with Layer 2 length or checksum errors.
Default is 1.

hw.cxgbe.drop_pkts_with_l3_errors
Set to 1 to drop incoming frames with IP version, length, or checksum
errors.  Default is 0.

hw.cxgbe.drop_pkts_with_l4_errors
Set to 1 to drop incoming frames with Layer 4 length, checksum, or other
errors.  Default is 0.

r366862:
cxgbe(4): Updates to the drop features from r366532.

Sponsored by: Chelsio Communications

3 years agoMFC r365732 and r366589.
Navdeep Parhar [Mon, 23 Nov 2020 23:46:07 +0000 (23:46 +0000)]
MFC r365732 and r366589.

r365732:
cxgbe(4): Get the count of FCS errors from the MAC and not MPS for T6 ports.

The MPS register on the T6 counts something other than FCS errors despite its
name.

r366589:
cxgbe(4): More fixes for the T6 FCS error counter.

r365732 was the first attempt to get an accurate count but it was
writing to some read-only registers to clear them and that obviously
didn't work.  Instead, note the counter's value when it is supposed to
be cleared and subtract it from future readings.

dev.<port>.stats.rx_fcs_error should not be serviced from the MPS
register for T6.

The stats.* sysctls should all use T5_PORT_REG for T5 and above.  This
must have been missed in the initial T5 support years ago.  Fix it while
here.

Sponsored by: Chelsio Communications

3 years agoMFC r367807
Justin Hibbits [Mon, 23 Nov 2020 16:26:49 +0000 (16:26 +0000)]
MFC r367807

Fix octeon_pmc post-r334827

Sponsored by: Juniper Networks, Inc

3 years agoMFC r366969, r366973:
Mark Johnston [Sun, 22 Nov 2020 18:54:14 +0000 (18:54 +0000)]
MFC r366969, r366973:
ntb: Add Intel Xeon Gen3 support

3 years agoMFC r366953: Negotiate iSCSIProtocolLevel of 2 (RFC 7144) in initiator.
Alexander Motin [Sat, 21 Nov 2020 00:40:59 +0000 (00:40 +0000)]
MFC r366953: Negotiate iSCSIProtocolLevel of 2 (RFC 7144) in initiator.

It does not change anything immediately, but allows further support of
Command Priority, Status Qualifier and new task management functions.

3 years agoMFC r367640:
Mateusz Piotrowski [Fri, 20 Nov 2020 10:27:54 +0000 (10:27 +0000)]
MFC r367640:

Explicitly note in the EXAMPLES section that uname(3) contains more details

3 years agoMFC r367419:
Mateusz Piotrowski [Fri, 20 Nov 2020 10:09:48 +0000 (10:09 +0000)]
MFC r367419:

Fix a typo and remove Xr's to vn(4) and vnconfig(4)

"mandoc -Tlint" complained about the Xr to vnconfig, which was removed in
r238202.  I am not sure but maybe it's time to do the same to vn(4).

3 years agoMFC r367709
Peter Grehan [Fri, 20 Nov 2020 03:33:30 +0000 (03:33 +0000)]
MFC r367709
    Fix regression in AHCI controller settings.

PR: 250924
Submitted by: Rolf Stalder
Reported by: Rolf Stalder
Relnotes: Yes

3 years agoMFC r367630: Improve nvmecontrol error reporting.
Alexander Motin [Fri, 20 Nov 2020 00:30:58 +0000 (00:30 +0000)]
MFC r367630: Improve nvmecontrol error reporting.

3 years agoMFC r366506, r366511:
Alexander Motin [Fri, 20 Nov 2020 00:30:07 +0000 (00:30 +0000)]
MFC r366506, r366511:
nvmecontrol: Update wdc module for newer WDC NVMe products

Update the to log fetch operation for latest WDC NVMe products.

Tested on HGST SN100 (a few years old) and WDC SN720 (more recent).

Submitted by: Akhilesh Rn <Akhilesh.RN@wdc.com> (minor style tweak by me)
Github PR: 435

3 years agoMFC r367612:
Konstantin Belousov [Thu, 19 Nov 2020 09:17:41 +0000 (09:17 +0000)]
MFC r367612:
mlx5en: Set ifmr_current same as ifmr_active.

3 years agoMFC r367611:
Konstantin Belousov [Thu, 19 Nov 2020 09:16:22 +0000 (09:16 +0000)]
MFC r367611:
mlx5en: stop ignoring pauses and flow in the media reqs.

3 years agoMFC r367610:
Konstantin Belousov [Thu, 19 Nov 2020 09:15:04 +0000 (09:15 +0000)]
MFC r367610:
mlx5en: Register all combinations of FDX/RXPAUSE/TXPAUSE as valid media types.

3 years agoMFC r367609:
Konstantin Belousov [Thu, 19 Nov 2020 09:13:23 +0000 (09:13 +0000)]
MFC r367609:
mlx5en: Refactor repeated code to register media type to mlx5e_ifm_add().

3 years agoMFC r367398:
Konstantin Belousov [Thu, 19 Nov 2020 09:09:19 +0000 (09:09 +0000)]
MFC r367398:
Suspend all writeable local filesystems on power suspend.

3 years agoMFC r367625: Fix panic if NVMe is detached before the intrhook call.
Alexander Motin [Thu, 19 Nov 2020 02:44:08 +0000 (02:44 +0000)]
MFC r367625: Fix panic if NVMe is detached before the intrhook call.

3 years agoMFC r367596:
Mark Johnston [Wed, 18 Nov 2020 14:27:47 +0000 (14:27 +0000)]
MFC r367596:
iflib: Free full mbuf chains when draining transmit queues

3 years agoMFC r367588:
Mark Johnston [Wed, 18 Nov 2020 14:27:24 +0000 (14:27 +0000)]
MFC r367588:
Fix a pair of races in SIGIO registration

3 years agoMFC r367594:
Andrey V. Elsukov [Wed, 18 Nov 2020 13:52:13 +0000 (13:52 +0000)]
MFC r367594:
  Fix possible NULL pointer dereference.

  lagg(4) replaces if_output method of its child interfaces and expects
  that this method can be called only by child interfaces. But it is
  possible that lagg_port_output() could be called by children of child
  interfaces. In this case ifnet's if_lagg field is NULL. Add check that
  lp is not NULL.

3 years agoMFC r367552:
Mateusz Piotrowski [Wed, 18 Nov 2020 09:00:05 +0000 (09:00 +0000)]
MFC r367552:

Do not document MOTIFLIB in ports(7)

Perhaps it made sense in 1998 (r32836), but now it feels a bit out of
place.  We tend to avoid documenting non-essential ports variables in
the manual page (we try to document them in the Porter's Handbook instead).

3 years agoMFC r367600: Make CTL nicer to increased MAXPHYS.
Alexander Motin [Wed, 18 Nov 2020 02:05:59 +0000 (02:05 +0000)]
MFC r367600: Make CTL nicer to increased MAXPHYS.

Before this CTL always allocated MAXPHYS-sized buffers, even for 4KB I/O,
that is even more overkill for MAXPHYS of 1MB.  This change limits maximum
allocation to 512KB if MAXPHYS is bigger, plus if one is above 128KB, adds
new 128KB UMA zone for smaller I/Os.  The patch factors out alloc/free,
so later we could make it use more zones or malloc() if we'd like.

3 years agoMFC r367008: TCP Cubic: improve reaction to (and rollback from) RTO
Richard Scheffenegger [Tue, 17 Nov 2020 08:11:17 +0000 (08:11 +0000)]
MFC r367008: TCP Cubic: improve reaction to (and rollback from) RTO

fix compliancy issue of CUBIC RTO handling according to RFC8312 section 4.7
add CUBIC CC_RTO_ERR handling

Submitted by: chengc_netapp.com
Reviewed by: rrs, tuexen, rscheff
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D26808

3 years agoMFC r367007: tcp: move cwnd and ssthresh updates into cc modules
Richard Scheffenegger [Tue, 17 Nov 2020 08:03:49 +0000 (08:03 +0000)]
MFC r367007: tcp: move cwnd and ssthresh updates into cc modules

This will pave the way of setting ssthresh differently in TCP CUBIC, according
to RFC8312 section 4.7.

Use dynamic tcp_maxseg() adjusting for tcp options instead of static t_maxseg.

Submitted by: chengc_netapp.com
Reviewed by: rrs, tuexen, rscheff
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D26807

3 years agoMFC of 367045.
Kirk McKusick [Tue, 17 Nov 2020 06:04:16 +0000 (06:04 +0000)]
MFC of 367045.

Avoid improper sign extension in Pass5 inumber checks.

Sponsored by: Netflix

3 years agoMFC of 367035.
Kirk McKusick [Tue, 17 Nov 2020 05:59:55 +0000 (05:59 +0000)]
MFC of 367035.

Require clean superblock for tunefs, growfs, and fsirand

Sponsored by: Netflix

3 years agoMFC of 340927 and 367034.
Kirk McKusick [Tue, 17 Nov 2020 05:48:00 +0000 (05:48 +0000)]
MFC of 340927 and 367034.

Move clear of UFS feature flags from ufs_mountfs() to ffs_sbget() to
ensure that the appropriate feature flags get cleared by filesystem
utilities as well as the kernel when they modify the filesystem.

Note 340927 is relevant for this even though it was done for a
different reason at the time.

Sponsored by: Netflix

3 years agoMFC r367545: ng_nat: unbreak ABI
Eugene Grosbein [Tue, 17 Nov 2020 05:00:23 +0000 (05:00 +0000)]
MFC r367545: ng_nat: unbreak ABI

The revision r342168 broke ABI of ng_nat needlessly and
the change was merged to stable branches breaking ABI there, too.
Unbreak it.

PR: 250722

3 years agoMFC: 367628, 367635, 367645
George V. Neville-Neil [Tue, 17 Nov 2020 01:02:00 +0000 (01:02 +0000)]
MFC: 367628, 367635, 367645

An earlier commit effectively turned out the fast forwading path
  due to its lack of support for ICMP redirects. The following commit
  adds redirects to the fastforward path, again allowing for decent
  forwarding performance in the kernel.

  Reviewed by: ae, melifaro (also helped with the MFC)
  Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate")

3 years agoMFC r367659: Add PMRCAP printing and fix earlier CAP_HI.
Alexander Motin [Tue, 17 Nov 2020 00:35:59 +0000 (00:35 +0000)]
MFC r367659: Add PMRCAP printing and fix earlier CAP_HI.

3 years agoMFC r367178:
Mitchell Horne [Mon, 16 Nov 2020 17:45:42 +0000 (17:45 +0000)]
MFC r367178:
arm64: set the correct partition type in make-memstick.sh

3 years agoMFC r367177:
Mitchell Horne [Mon, 16 Nov 2020 17:44:34 +0000 (17:44 +0000)]
MFC r367177:
arm64: convert virtual machine images to GPT

3 years agoMFC r367176:
Mitchell Horne [Mon, 16 Nov 2020 17:42:22 +0000 (17:42 +0000)]
MFC r367176:
vmimage.subr: noisier failure for unsupported targets

3 years agoMFC r367175:
Mitchell Horne [Mon, 16 Nov 2020 17:41:05 +0000 (17:41 +0000)]
MFC r367175:
Slight refactor in vmimage.subr

3 years agoMFC r367617:
Mark Johnston [Mon, 16 Nov 2020 16:53:46 +0000 (16:53 +0000)]
MFC r367617:
qat: Fix nits reported by Coverity

3 years agoMFC r367639:
Mateusz Piotrowski [Mon, 16 Nov 2020 11:57:49 +0000 (11:57 +0000)]
MFC r367639:

Reference setprogname(3) in setproctitle(3)

The reference to setproctitle(3) in the setprogname(3) manual is already
in place.

3 years agoMFC r367253:
Mateusz Piotrowski [Sun, 15 Nov 2020 12:28:57 +0000 (12:28 +0000)]
MFC r367253:

Document how to use sudo for SU_CMD

It is rather common for the ports users to replace su(1) with sudo(8)
within the SU_CMD variable. Let's document it in the manual page (so far
it's been hidden in a comment within bsd.commands.mk).

3 years agoMFC r366500:
Kristof Provost [Sun, 15 Nov 2020 11:56:16 +0000 (11:56 +0000)]
MFC r366500:

bridge: call member interface ioctl() without NET_EPOCH

We're not allowed to hold NET_EPOCH while sleeping, so when we call ioctl()
handlers for member interfaces we cannot be in NET_EPOCH.  We still need some
protection of our CK_LISTs, so hold BRIDGE_LOCK instead.

That requires changing BRIDGE_LOCK into a sleepable lock, and separating the
BRIDGE_RT_LOCK, to protect bridge_rtnode lists. That lock is taken in the data
path (while in NET_EPOCH), so it cannot be a sleepable lock.

While here document the locking strategy.

3 years agobridge: epoch-ification
Kristof Provost [Sun, 15 Nov 2020 11:46:44 +0000 (11:46 +0000)]
bridge: epoch-ification

Undo the revert (r363568). This commit still violates epoch rules by sleeping
within NET_EPOCH. That will be resolved in the following commit.

3 years agoMFC r367623:
Dimitry Andric [Sun, 15 Nov 2020 11:28:02 +0000 (11:28 +0000)]
MFC r367623:

Merge commit 8df4e6094 from llvm git (by Fangrui Song):

  [ELF] Don't consider SHF_ALLOC ".debug*" sections debug sections

  Fixes PR48071

  * The Rust compiler produces SHF_ALLOC `.debug_gdb_scripts` (which
    normally does not have the flag)
  * `.debug_gdb_scripts` sections are removed from `inputSections` due
    to --strip-debug/--strip-all
  * When processing --gc-sections, pieces of a SHF_MERGE section can be
    marked live separately

  `=>` segfault when marking liveness of a `.debug_gdb_scripts` which
  is not split into pieces (because it is not in `inputSections`)

  This patch circumvents the problem by not treating SHF_ALLOC
  ".debug*" as debug sections (to prevent --strip-debug's stripping)
  (which is still useful on its own).

  Reviewed By: grimar

  Differential Revision: https://reviews.llvm.org/D91291

This should fix lld segfaulting when linking the rust-based parts of the
devel/py-maturin port.

Reported by: Nick Venenga <nijave@gmail.com>
PR: 250783

3 years agoMFC r366231: Address whitespace nits in subr_rtc.c
Kyle Evans [Sat, 14 Nov 2020 20:45:12 +0000 (20:45 +0000)]
MFC r366231: Address whitespace nits in subr_rtc.c

These were separated out from a nearby patch from Andrew Gierth.

3 years agoMFC r365883: pkgbase: use consistent annotation for object keys
Kyle Evans [Sat, 14 Nov 2020 20:44:34 +0000 (20:44 +0000)]
MFC r365883: pkgbase: use consistent annotation for object keys

Everywhere else we use objects ("scripts", generally) we do specify the
optional colon. Be consistent and do the same for directories.

PR: 249273

3 years agoMFC r367604: umtx: drop incorrect timespec32 definition
Kyle Evans [Sat, 14 Nov 2020 15:33:39 +0000 (15:33 +0000)]
MFC r367604: umtx: drop incorrect timespec32 definition

This works for amd64, but none others -- drop it, because we already have a
proper definition in sys/compat/freebsd32/freebsd32.h that correctly uses
time32_t.

3 years agoMFC r366819: libbe(3): const'ify a couple arguments
Kyle Evans [Sat, 14 Nov 2020 15:26:18 +0000 (15:26 +0000)]
MFC r366819: libbe(3): const'ify a couple arguments

libbe will never need to mutate these as we either process them into a local
buffer or we just don't touch them and write to a separate out argument.

3 years agoMFC r366820-r366821: libbe(3) documentation improvements
Kyle Evans [Sat, 14 Nov 2020 15:21:20 +0000 (15:21 +0000)]
MFC r366820-r366821: libbe(3) documentation improvements

r366820:
libbe(3): document be_snapshot()

While toying around with lua bindings for libbe(3), I discovered that I
apparently never documented this, despite having documented
be_is_auto_snapshot_name that references it.

r366821:
libbe(3): install MLINKS for all of the functions provided

3 years agoMFC r366769: MFC r366760: lua: update to 5.3.6
Kyle Evans [Sat, 14 Nov 2020 15:19:36 +0000 (15:19 +0000)]
MFC r366769: MFC r366760: lua: update to 5.3.6

This release contains some minor bugfixes; notably:
- 2x minor Makefile fixes (not used in base)
- Long brackets with a huge number of '=' overflow some internal buffer
  arithmetic.
- Joining an upvalue with itself can cause a use-after-free crash.

See here for examples: http://www.lua.org/bugs.html#5.3.5

3 years agoMFC r366580: bpf(4): Update the man page to reflect reality
Gordon Bergling [Sat, 14 Nov 2020 14:15:49 +0000 (14:15 +0000)]
MFC r366580: bpf(4): Update the man page to reflect reality

PR: 131918
Submitted by: guy at alum dot mit dot edu
Reviewed by: gnn, gbe
Approved by: gnn
Differential Revision: https://reviews.freebsd.org/D25993

3 years agoMFC r367239-367241:
Vladimir Kondratyev [Sat, 14 Nov 2020 12:02:50 +0000 (12:02 +0000)]
MFC r367239-367241:

r367239:
Add plug and play information macroses for ACPI and I2C buses.

Matching table format is compatible with ACPI_ID_PROBE bus method.

Note that while ACPI_ID_PROBE matches against _HID and all _CIDs, current
acpi_pnpinfo_str() exports only _HID and first _CID.  That means second
and further _CIDs should be added to both acpi_pnpinfo_str() and
ACPICOMPAT_PNP_INFO if device matching against them is required.

r367240:
acpi_wmi(4): Add ACPI_PNP_INFO

r367241:
acpi_dock(4): Add ACPI_PNP_INFO

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D26824

3 years agoMFC r367237:
Vladimir Kondratyev [Sat, 14 Nov 2020 11:51:37 +0000 (11:51 +0000)]
MFC r367237:

devmatch(8): Respect mask field when matching strings of Z type.

While here, add debug output for this action.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D26823

3 years agoMFC r367230:
Vladimir Kondratyev [Sat, 14 Nov 2020 11:48:28 +0000 (11:48 +0000)]
MFC r367230:

ig4(4): Add PCI IDs for Intel Comet Lake I2C controllers.

3 years agoMFC r366770: libc: typo fix (s/involes/involves)
Kyle Evans [Sat, 14 Nov 2020 02:11:56 +0000 (02:11 +0000)]
MFC r366770: libc: typo fix (s/involes/involves)

3 years agoMFC r366435: lualoader: improve the design of the brand-/logo- mechanism
Kyle Evans [Sat, 14 Nov 2020 02:11:04 +0000 (02:11 +0000)]
MFC r366435: lualoader: improve the design of the brand-/logo- mechanism

In the previous world order, any brand/logo was forced to pull in the
drawer and call drawer.add{Brand,Logo} with the name their brand/logo is
taking and a table describing it.

In the new world order, these files just need to return a table that maps
out graphics types to a table of the exact same format as what was
previously being passed back into the drawer. The appeal here is not needing
to grab a reference back to the drawer module and having a cleaner
data-driven looking format for these. The format has been renamed to 'gfx-*'
prefixes and each one can provide a logo and a brand.

drawer.addBrand/drawer.addLogo will remain in place until FreeBSD 13, as
there's no overhead to them and it's not yet worth the break in
compatibility with any pre-existing brands and logos.

3 years agoMFC r366275: Makefile.inc1: sysent: parallel subordinate sysent targets
Kyle Evans [Sat, 14 Nov 2020 02:03:34 +0000 (02:03 +0000)]
MFC r366275: Makefile.inc1: sysent: parallel subordinate sysent targets

makesyscalls.lua (and indeed makesyscalls.sh) are both safe to be run in
parallel, so let's do it.

This is a trivial difference because runtime per-target is pretty small, but
I like seeing it run in parallel when my muscle memory types `make -sj4`.

3 years agoMFC r366430: ngctl: add -c (compact output) for the dot command
Kyle Evans [Sat, 14 Nov 2020 02:00:50 +0000 (02:00 +0000)]
MFC r366430: ngctl: add -c (compact output) for the dot command

The output of "ngctl dot" is suitable for small netgraph networks. Even
moderate complex netgraph setups (about a dozen nodes) are hard to
understand from the .dot output, because each node and each hook are shown
as a full blown structure.

This patch allows to generate much more compact output and graphs by
omitting the extra structures for the individual hooks. Instead the names of
the hooks are labels to the edges.

3 years agoMFC r367448: vt: resolve conflict between VT_ALT_TO_ESC_HACK and DBG
Kyle Evans [Sat, 14 Nov 2020 01:58:33 +0000 (01:58 +0000)]
MFC r367448: vt: resolve conflict between VT_ALT_TO_ESC_HACK and DBG

When using the ALT+CTRL+ESC sequence to break into kdb, the keyboard is
completely borked when you return. watch(8) shows that it's working, but
it's inserting escape sequences.

Further investigation revealed that VT_ALT_TO_ESC_HACK is the default and
directly conflicts with this sequence, so upon return from the debugger
ALKED is set.

If they triggered the break to debugger, it's safe to assume they didn't
mean to use VT_ALT_TO_ESC_HACK, so just unset it to reduce the surprise when
the keyboard seems non-functional upon return.

3 years agoMFC r367440: epoch: support non-preemptible epochs checking in_epoch()
Kyle Evans [Sat, 14 Nov 2020 01:55:54 +0000 (01:55 +0000)]
MFC r367440: epoch: support non-preemptible epochs checking in_epoch()

Previously, non-preemptible epochs could not check; in_epoch() would always
fail, usually because non-preemptible epochs don't imply THREAD_NO_SLEEPING.

For default epochs, it's easy enough to verify that we're in the given
epoch: if we're in a critical section and our record for the given epoch
is active, then we're in it.

This patch also adds some additional INVARIANTS bookkeeping. Notably, we set
and check the recorded thread in epoch_enter/epoch_exit to try and catch
some edge-cases for the caller. It also checks upon freeing that none of the
records had a thread in the epoch, which may make it a little easier to
diagnose some improper use if epoch_free() took place while some other
thread was inside.

This version differs slightly from what was just previously reviewed by the
below-listed, in that in_epoch() will assert that no CPU has this thread
recorded even if it *is* currently in a critical section. This is intended
to catch cases where the caller might have somehow messed up critical
section nesting, we can catch both if they exited the critical section or if
they exited, migrated, then re-entered (on the wrong CPU).

3 years agoMFC imgact_binmisc housecleaning: r367361, r367439, r367441-r367442,
Kyle Evans [Sat, 14 Nov 2020 01:28:04 +0000 (01:28 +0000)]
MFC imgact_binmisc housecleaning: r367361, r367439, r367441-r367442,
r367444, r367452, r367456, r367477

r367361:
imgact_binmisc: fix up some minor nits

- Removed a bunch of redundant headers
- Don't explicitly initialize to 0
- The !error check prior to setting imgp->interpreter_name is redundant, all
  error paths should and do return or go to 'done'. We have larger problems
  otherwise.

r367439:
imgact_binmisc: minor re-organization of imgact_binmisc_exec exits

Notably, streamline error paths through the existing 'done' label, making it
easier to quickly verify correct cleanup.

Future work might add a kernel-only flag to indicate that a interpreter uses
#a. Currently, all executions via imgact_binmisc pay the penalty of
constructing sname/fname, even if they will not use it. qemu-user-static
doesn't need it, the stock rc script for qemu-user-static certainly doesn't
use it, and I suspect these are the vast majority of (if not the only)
current users.

r367441:
binmiscctl(8): miscellaneous cleanup

- Bad whitespace in Makefile.
- Reordered headers, sys/ first.
- Annotated fatal/usage __dead2 to help `make analyze` out a little bit.
- Spell a couple of sizeof constructs as "nitems" and "howmany" instead.

r367442:
imgact_binmisc: validate flags coming from userland

We may want to reserve bits in the future for kernel-only use, so start
rejecting any that aren't the two that we're currently expecting from
userland.

r367444:
imgact_binmisc: abstract away the list lock (NFC)

This module handles relatively few execs (initial qemu-user-static, then
qemu-user-static handles exec'ing itself for binaries it's already running),
but all execs pay the price of at least taking the relatively expensive
sx/slock to check for a match when this module is loaded. Future work will
almost certainly swap this out for another lock, perhaps an rmslock.

The RLOCK/WLOCK phrasing was chosen based on what the callers are really
wanting, rather than using the verbiage typically appropriate for an sx.

r367452:
imgact_binmisc: reorder members of struct imgact_binmisc_entry (NFC)

This doesn't change anything at the moment since the out-of-order elements
were a pair of uint32_t, but future additions may have caused unnecessary
padding by following the existing precedent.

r367456:
imgact_binmisc: move some calculations out of the exec path

The offset we need to account for in the interpreter string comes in two
variants:

1. Fixed - macros other than #a that will not vary from invocation to
   invocation
2. Variable - #a, which is substitued with the argv0 that we're replacing

Note that we don't have a mechanism to modify an existing entry.  By
recording both of these offset requirements when the interpreter is added,
we can avoid some unnecessary calculations in the exec path.

Most importantly, we can know up-front whether we need to grab
calculate/grab the the filename for this interpreter. We also get to avoid
walking the string a first time looking for macros. For most invocations,
it's a swift exit as they won't have any, but there's no point entering a
loop and searching for the macro indicator if we already know there will not
be one.

While we're here, go ahead and only calculate the argv0 name length once per
invocation. While it's unlikely that we'll have more than one #a, there's no
reason to recalculate it every time we encounter an #a when it will not
change.

I have not bothered trying to benchmark this at all, because it's arguably a
minor and straightforward/obvious improvement.

r367477:
imgact_binmisc: limit the extent of match on incoming entries

imgact_binmisc matches magic/mask from imgp->image_header, which is only a
single page in size mapped from the first page of an image. One can specify
an interpreter that matches on, e.g., --offset 4096 --size 256 to read up to
256 bytes past the mapped first page.

The limitation is that we cannot specify a magic string that exceeds a
single page, and we can't allow offset + size to exceed a single page
either.  A static assert has been added in case someone finds it useful to
try and expand the size, but it does seem a little unlikely.

While this looks kind of exploitable at a sideways squinty-glance, there are
a couple of mitigating factors:

1.) imgact_binmisc is not enabled by default,
2.) entries may only be added by the superuser,
3.) trying to exploit this information to read what's mapped past the end
  would be worse than a root canal or some other relatably painful
  experience, and
4.) there's no way one could pull this off without it being completely
  obvious.

The first page is mapped out of an sf_buf, the implementation of which (or
lack thereof) depends on your platform.

3 years agoMFC r367076: diff: don't force the format to 'context' with -p immediately
Kyle Evans [Sat, 14 Nov 2020 00:59:55 +0000 (00:59 +0000)]
MFC r367076: diff: don't force the format to 'context' with -p immediately

Instead, leave the fomat as unspecified (if it hasn't been) and use the
-p flag as a hint to 'context' if no other formatting option is specified.

This fixes `diff -purw`, used frequently by emaste, and matches the behavior
of its GNU counterpart.

PR: 250015

3 years agoMFC r367572:
Mateusz Guzik [Fri, 13 Nov 2020 13:38:08 +0000 (13:38 +0000)]
MFC r367572:

    Allow rtprio_thread to operate on threads of any process

3 years agoMFC r367352,r367353:
Mateusz Guzik [Fri, 13 Nov 2020 13:36:46 +0000 (13:36 +0000)]
MFC r367352,r367353:

    pipe: fix POLLHUP handling if no events were specified
    pipe: whitespace nit in previous

3 years agoMFC r367567:
Mateusz Piotrowski [Fri, 13 Nov 2020 09:48:54 +0000 (09:48 +0000)]
MFC r367567:

Address a mandoc warning

3 years agoMFC r367538:
Bjoern A. Zeeb [Thu, 12 Nov 2020 17:26:19 +0000 (17:26 +0000)]
MFC r367538:

  arm64: bs_sr_<N> take II

  In r367327 generic_bs_sr_<n> were derived from mips.  Given we are calling
  generic_bs_w_<n> and no write directly, we do not have to do the address
  calculations ourselves as eneric_bs_w_<n> will do a str val [bsh, offset].
  All we actually have to do is increment offset.

3 years agoMFC r367485:
Dimitry Andric [Wed, 11 Nov 2020 22:18:24 +0000 (22:18 +0000)]
MFC r367485:

Merge commit 354d3106c from llvm git (by Kai Luo):

  [PowerPC] Skip combining (uint_to_fp x) if x is not simple type

  Current powerpc64le backend hits
  ```
  Combining: t7: f64 = uint_to_fp t6
  llc: llvm-project/llvm/include/llvm/CodeGen/ValueTypes.h:291:
  llvm::MVT llvm::EVT::getSimpleVT() const: Assertion `isSimple() &&
  "Expected a SimpleValueType!"' failed.
  ```
  This patch fixes it by skipping combination if `t6` is not simple
  type.
  Fixed https://bugs.llvm.org/show_bug.cgi?id=47660.

  Reviewed By: #powerpc, steven.zhang

  Differential Revision: https://reviews.llvm.org/D88388

This should fix the llvm assertion mentioned above when building the
following ports for powerpc64le:

* audio/traverso
* databases/percona57-pam-for-mysql
* databases/percona57-server
* emulators/citra
* emulators/citra-qt5
* games/7kaa
* graphics/dia
* graphics/mandelbulber
* graphics/pcl-pointclouds
* net-p2p/libtorrent-rasterbar
* textproc/htmldoc

Requested by: pkubaj

3 years agoMFC r366683:
Dimitry Andric [Wed, 11 Nov 2020 22:15:25 +0000 (22:15 +0000)]
MFC r366683:

Merge commit 35ecc7fe4 from llvm git (by Hubert Tong):

  [clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast

  Fix premature decision in the presence of type-dependent expression
  operands on whether AltiVec vector initializations from single
  expressions are "splat" operations.

  Verify that the instantiation is able to determine the correct cast
  semantics for both the scalar type and the vector type case.

  Note that, because the change only affects the single-expression case
  (and the target type is an AltiVec-style vector type), the
  replacement of a parenthesized list with a parenthesized expression
  does not change the semantics of the program in a program-observable
  manner.

  Reviewed By: aaron.ballman

  Differential Revision: https://reviews.llvm.org/D88526

This should fix 'Assertion failed: (isScalarType()), function
getScalarTypeKind, file /usr/src/contrib/llvm-project/clang/lib/AST
/Type.cpp, line 2146', when building the graphics/opencv-core port for
powerpc64le.

Requested by: pkubaj

3 years agoMFC r367093, r367117
Vincenzo Maffione [Wed, 11 Nov 2020 21:27:16 +0000 (21:27 +0000)]
MFC r367093, r367117

iflib: add per-tx-queue netmap timer

The way netmap TX is handled in iflib when TX interrupts are not
used (IFC_NETMAP_TX_IRQ not set) has some issues:
  - The netmap_tx_irq() function gets called by iflib_timer(), which
    gets scheduled with tick granularity (hz). This is not frequent
    enough for 10Gbps NICs and beyond (e.g., ixgbe or ixl). The end
    result is that the transmitting netmap application is not woken
    up fast enough to saturate the link with small packets.
  - The iflib_timer() functions also calls isc_txd_credits_update()
    to ask for more TX completion updates. However, this violates
    the netmap requirement that only txsync can access the TX queue
    for datapath operations. Only netmap_tx_irq() may be called out
    of the txsync context.

This change introduces per-tx-queue netmap timers, using microsecond
granularity to ensure that netmap_tx_irq() can be called often enough
to allow for maximum packet rate. The timer routine simply calls
netmap_tx_irq() to wake up the netmap application. The latter will
wake up and call txsync to collect TX completion updates.

This change brings back line rate speed with small packets for ixgbe.
For the time being, timer expiration is hardcoded to 90 microseconds,
in order to avoid introducing a new sysctl.
We may eventually implement an adaptive expiration period or use another
deferred work mechanism in place of timers.

Also, fix the timers usage to make sure that each queue is serviced
by a different CPU.

PR:     248652
Reported by:    sg@efficientip.com

3 years agoMFC r367335:
Mark Johnston [Wed, 11 Nov 2020 14:06:45 +0000 (14:06 +0000)]
MFC r367335:
amd64: Make it easier to configure exception stack sizes

3 years agoMFC r367097:
Mateusz Piotrowski [Wed, 11 Nov 2020 11:25:14 +0000 (11:25 +0000)]
MFC r367097:

Correct USB HID item in examples

It turns out that examples were incorrectly referring to Volume_Up
and Volume_Down, which are not defined at all.

PR: 250683

3 years agoMFC r367120:
Konstantin Belousov [Wed, 11 Nov 2020 00:43:13 +0000 (00:43 +0000)]
MFC r367120:
Check for process group change in tty_wait_background().

PR: 250701

3 years agoMFC r367302:
Brooks Davis [Tue, 10 Nov 2020 18:07:13 +0000 (18:07 +0000)]
MFC r367302:

sysvshm: pass relevant uap members as arguments

Alter shmget_allocate_segment and shmget_existing to take the values
they want from struct shmget_args rather than passing the struct
around.  In general, uap structures should only be the interface to
sys_<foo> functions.

This makes one small functional change and records the allocated space
rather than the requested space.  If this turns out to be a problem
(e.g. if software tries to find undersized segments by exact size
rather than using keys), we can correct that easily.

Reviewed by: kib
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27077

3 years agoMFC r366751:
Hans Petter Selasky [Tue, 10 Nov 2020 13:36:07 +0000 (13:36 +0000)]
MFC r366751:
Remove ifdefs around IS_ALIGNED() definition in the LinuxKPI.

Discussed with: manu@
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoMFC r366806:
Hans Petter Selasky [Tue, 10 Nov 2020 13:32:50 +0000 (13:32 +0000)]
MFC r366806:
Add new USB quirk.

PR: 250422
Submitted by: vidwer+fbsdbugs@gmail.com
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoMFC r367269:
Hans Petter Selasky [Tue, 10 Nov 2020 13:22:52 +0000 (13:22 +0000)]
MFC r367269:
Fix for referencing file via its vnode in ibore.

Use the native vnode lookup functions, instead of going via the LinuxKPI,
because the file referenced is typically created outside the LinuxKPI, and
the LinuxKPI's fdget() can only resolve file descriptor numbers which
were created by itself.

The vnode pointer is used as an identifier to identify XRCD handles which
are sharing resources.

This patch fixes the so-called XRCD support in ibcore for FreeBSD.
Refer to ibv_open_xrcd(3) for more information how the file descriptor
argument is used.

Reviewed by: kib@
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoMFC r367236:
Hans Petter Selasky [Tue, 10 Nov 2020 13:18:44 +0000 (13:18 +0000)]
MFC r367236:
Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4).

Submitted by: pedro martelletto <pedro@ambientworks.net>
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoMFC r367096:
Hans Petter Selasky [Tue, 10 Nov 2020 13:15:53 +0000 (13:15 +0000)]
MFC r367096:
Add new USB IDs.

Submitted by: aleksi.kaalinpaa@kapsi.fi
PR: 250675
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoMFC r364860 and r366996:
Hans Petter Selasky [Tue, 10 Nov 2020 13:10:15 +0000 (13:10 +0000)]
MFC r364860 and r366996:
Implement extensible arrays API using the existing radix tree implementation
in the LinuxKPI.

Differential Revision: https://reviews.freebsd.org/D25101
Reviewed by: kib @
Sponsored by: Mellanox Technologies // NVIDIA Networking

3 years agoMFC r366695:
Andrey V. Elsukov [Tue, 10 Nov 2020 12:45:59 +0000 (12:45 +0000)]
MFC r366695:
  Implement SIOCGIFALIAS.

  It is lightweight way to check if an IPv4 address exists.

  Submitted by: Roy Marples
  Differential Revision: https://reviews.freebsd.org/D26636

3 years agoMFC r366908 (modified for stable/12 KBI):
Andrey V. Elsukov [Tue, 10 Nov 2020 12:13:18 +0000 (12:13 +0000)]
MFC r366908 (modified for stable/12 KBI):
  Add dtrace SDT probe ipfw:::rule-matched.

  It helps to reduce complexity with debugging of large ipfw rulesets.
  Also define several constants and translators, that can by used by
  dtrace scripts with this probe.

  Obtained from: Yandex LLC
  Sponsored by: Yandex LLC
  Differential Revision: https://reviews.freebsd.org/D26879

3 years agoMFC r351863:
Mateusz Piotrowski [Tue, 10 Nov 2020 10:19:55 +0000 (10:19 +0000)]
MFC r351863:

rc: Honor ${name}_env when a custom *_cmd is defined (e.g., start_cmd)

A user may set ${name}_env variable in rc.conf(5) in order to set additional
environment variables for a service command.  Unfortunately, at the moment
this variable is only honored when the command is specified via the command
variable. Those additional environment variables coming from ${name}_env
are never set if the service is started via the ${rc_arg}_cmd variable (for
example start_cmd).

PR: 239692
Reviewed by: bcr, jilles
Approved by: src (jilles)
Requested by: koobs

3 years agoMFC r367296:
Konstantin Belousov [Tue, 10 Nov 2020 08:59:55 +0000 (08:59 +0000)]
MFC r367296:
if_media.c SIOCGMEDIAX handler: improve loop

3 years agoMFC r367072:
Mateusz Piotrowski [Tue, 10 Nov 2020 08:33:45 +0000 (08:33 +0000)]
MFC r367072:

Mount devfs inside a beinstall(8) chroot

It turns out that without /dev/null beinstall is not able to complete and
instead exits with messages similar to these:

  --------------------------------------------------------------
  >>> Installing kernel GENERIC completed on Sun Oct 25 17:47:37 CET 2020
  --------------------------------------------------------------
  /tmp/beinstall.JleGoP/mnt: Inspecting dirs /usr/src /usr/obj/usr/src/amd64.amd64
  --- installworld ---
  make[1]: "/usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1: Using cached toolchain metadata from build at t480 on Sun Oct 25 15:53:28 CET 2020
  make[2]: "/dev/null" line 2: Need an operator
  make[2]: Fatal errors encountered -- cannot continuemake[1]: "/usr/src/Makefile.inc1" line 593: CPUTYPE global should be set with ?=.
  Cleaning up ...
  umount -f /tmp/beinstall.JleGoP/mnt/usr/src /tmp/beinstall.JleGoP/mnt/usr/obj/usr/src/amd64.amd64 /tmp/beinstall.JleGoP/mnt
  Destroyed successfully
  error: Installworld failed!

Upon a bit of debugging, it turns out that /dev/null inside the chroot
environment is full random bytes, which cause "make -f /dev/null" to
misbehave. Mounting a proper devfs inside the chroot seems to be the most
appropriate way to fix it.

will@ also noted that this change requires that whatever is needed in devfs
must exist in the old kernel.

Approved by: will

3 years agoMFC r367291:
Mateusz Piotrowski [Tue, 10 Nov 2020 07:47:24 +0000 (07:47 +0000)]
MFC r367291:

rc.d/zfs: Add shutdown to KEYWORDS

The problem is that without walling /etc/rc.d/zfs on shutdown, resources
associated with ZFS mounts are not freed and the jails will remain in dying
state. In addition, the dataset is now in a dangling state, as the jail it
is attached to is dying.

A known workaround for jails was to add the following lines
to /etc/jail.conf, to make sure that "service zfs stop" is run
when the jail is stopped:

    exec.stop = "/bin/sh /etc/rc.shutdown";
    exec.stop += "/usr/sbin/service zfs stop || /usr/bin/true";

While the workaround seems to be okay-ish for the jail situation, it is
still unclean. However, for physical hosts this may wreak havoc with the
pool if shared spares are used, as "zfs unshare" is never invoked on
shutdown.

PR: 147444
Submitted by: Markus Stoff <markus__stoffdv_at>
Reported by: Mykah <mburkhardt__exavault_com>
Reviewed by: cy
Approved by: cy (src)
Relnotes: yes

3 years agoMFC r367435,367539:
Bjoern A. Zeeb [Mon, 9 Nov 2020 23:38:39 +0000 (23:38 +0000)]
MFC r367435,367539:

  usb_hub: giving up port reset - device vanished

  Improve the output of the recently often experienced debug message in order
  to gather further data.

PR: 237666

3 years agoMFC r367355:
Justin Hibbits [Mon, 9 Nov 2020 21:19:17 +0000 (21:19 +0000)]
MFC r367355:

Fix UMA alignment for COP2 context structure.