svn commit: r361502 - head/sys/cam/ctl

2020-05-26 Thread Alexander Motin
Author: mav Date: Tue May 26 13:57:14 2020 New Revision: 361502 URL: https://svnweb.freebsd.org/changeset/base/361502 Log: Do not remove upcall if we haven't yet. This fixes assertion if we failed to bind listening HA socket. MFC after:1 week Sponsored by: iXsystems, Inc.

svn commit: r361509 - head/sys/cam/ctl

2020-05-26 Thread Alexander Motin
Author: mav Date: Tue May 26 15:08:35 2020 New Revision: 361509 URL: https://svnweb.freebsd.org/changeset/base/361509 Log: Fix fallout of r319722 in CTL HA. ha_lso is a listening socket (unless bind() has failed), so should use solisten_upcall_set(NULL, NULL), not soupcall_clear().

svn commit: r361507 - head/sys/netipsec

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 14:16:26 2020 New Revision: 361507 URL: https://svnweb.freebsd.org/changeset/base/361507 Log: Fix AES-CTR compatibility issue in ipsec r361390 decreased blocksize of AES-CTR from 16 to 1. Because of that ESP payload is no longer aligned to 16 bytes before

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:39:41 2020 New Revision: 361516 URL: https://svnweb.freebsd.org/changeset/base/361516 Log: Use single global lock in the ENA driver Currently, the driver had 2 global locks - one was sx lock used for up/down synchronization and the second one was mutex,

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:41:53 2020 New Revision: 361517 URL: https://svnweb.freebsd.org/changeset/base/361517 Log: Expose argument names for non static ENA driver functions As functions which are declared in the header files are intended to be the interface and are going to be

svn commit: r361511 - in head/sys: contrib/ena-com contrib/ena-com/ena_defs dev/ena

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:29:19 2020 New Revision: 361511 URL: https://svnweb.freebsd.org/changeset/base/361511 Log: Adjust ENA driver to the new HAL * Removed adaptive interrupt moderation (not suported on FreeBSD). * Use ena_com_free_q_entries instead of ena_com_free_desc. *

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:31:28 2020 New Revision: 361512 URL: https://svnweb.freebsd.org/changeset/base/361512 Log: Enable Tx drops reporting in the ENA driver Tx drops statistics are fetched from HW every ena_keepalive_wd() call and are observable using one of the commands: *

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:33:43 2020 New Revision: 361513 URL: https://svnweb.freebsd.org/changeset/base/361513 Log: Remove unused argument from static function in ena.c The function ena_enable_msix_and_set_admin_interrupts takes two arguments while the second is not used and so can

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:44:08 2020 New Revision: 361518 URL: https://svnweb.freebsd.org/changeset/base/361518 Log: Improve indentation in ena_up() and ena_down() If the conditional check for ENA_FLAG_DEV_UP is negated, the body of the function can have smaller indentation and it

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:35:22 2020 New Revision: 361514 URL: https://svnweb.freebsd.org/changeset/base/361514 Log: Provide ENA driver version in a sysctl node Usage example: $ sysctl hw.ena.driver_version Submitted by: Maciej Bielski Obtained from: Semihalf Sponsored by:

svn commit: r361506 - head/sys/arm/mv

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 14:10:53 2020 New Revision: 361506 URL: https://svnweb.freebsd.org/changeset/base/361506 Log: Restore XHCI operation on Armada 38x r347343 split generic xhci driver into three files. Include generic_xhci_fdt.c when building kernel for Armada SoCs. This

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:37:55 2020 New Revision: 361515 URL: https://svnweb.freebsd.org/changeset/base/361515 Log: Add trigger reset function in the ENA driver As the reset triggering is no longer a simple macro that was just setting appropriate flag, the new function for

svn commit: r361497 - head/tests/sys/netipsec/tunnel

2020-05-26 Thread Li-Wen Hsu
Author: lwhsu Date: Tue May 26 06:55:03 2020 New Revision: 361497 URL: https://svnweb.freebsd.org/changeset/base/361497 Log: Disable failing test cases in CI: sys.netipsec.tunnel.aes_cbc_128_hmac_sha1.v4 sys.netipsec.tunnel.aes_cbc_256_hmac_sha2_256.v4

svn commit: r361499 - head/sys/kern

2020-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 26 08:25:24 2020 New Revision: 361499 URL: https://svnweb.freebsd.org/changeset/base/361499 Log: Fix build issue after r360292 when using both RSS and KERN_TLS options. Sponsored by: Mellanox Technologies Modified: head/sys/kern/uipc_ktls.c Modified:

svn commit: r361498 - in head/sys/dev/mlx5: . mlx5_core

2020-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 26 07:41:46 2020 New Revision: 361498 URL: https://svnweb.freebsd.org/changeset/base/361498 Log: Sync with Linux packet pacing enhancements in mlx5en(4). Linux commit: 05d3ac978ed25b753bfe34fe76c50c31ee506a82 MFC after:1 week Sponsored by:

svn commit: r361500 - head/sys/amd64/amd64

2020-05-26 Thread Roger Pau Monné
Author: royger Date: Tue May 26 10:24:06 2020 New Revision: 361500 URL: https://svnweb.freebsd.org/changeset/base/361500 Log: xen-locore: fix size in GDT descriptor There was an off-by-one in the GDT descriptor size field used by the early Xen boot code. The GDT descriptor size should be

svn commit: r361541 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/contrib/dev/ice sys/dev/ice sys/modules sys/modules/ice sys/modules/ice_ddp tools/kerneldoc/subsys

2020-05-26 Thread Eric Joyner
Author: erj Date: Tue May 26 23:35:10 2020 New Revision: 361541 URL: https://svnweb.freebsd.org/changeset/base/361541 Log: ice(4): Introduce new driver for Intel E800 Ethernet controllers The ice(4) driver is the driver for the Intel E8xx series Ethernet controllers; currently with

svn commit: r361542 - head/sys/powerpc/aim

2020-05-26 Thread Brandon Bergren
Author: bdragon Date: Wed May 27 00:17:05 2020 New Revision: 361542 URL: https://svnweb.freebsd.org/changeset/base/361542 Log: [PowerPC] Fix invalid asm in trap code In this context, 0 actually means 0 (i.e. this is a li instruction). While most assemblers will ignore this, I did have

svn commit: r361544 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc powerpc/ps3 powerpc/pseries

2020-05-26 Thread Justin Hibbits
Author: jhibbits Date: Wed May 27 01:24:12 2020 New Revision: 361544 URL: https://svnweb.freebsd.org/changeset/base/361544 Log: powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj With IFUNC support in the kernel, we can finally get rid of our poor-man's ifunc for pmap,

svn commit: r361540 - in head/sys/x86: include x86

2020-05-26 Thread Conrad Meyer
Author: cem Date: Tue May 26 23:12:57 2020 New Revision: 361540 URL: https://svnweb.freebsd.org/changeset/base/361540 Log: x86: Detect new feature bits Fix an off-by-one in AVX512VPOPCNTDQ identification. That was actually the TME bit. Reported by: debdrup Modified:

Re: svn commit: r361541 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/contrib/dev/ice sys/dev/ice sys/modules sys/modules/ice sys/modules/ice_ddp tools/kerneldoc/subsys

2020-05-26 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: erj > Date: Tue May 26 23:35:10 2020 > New Revision: 361541 > URL: https://svnweb.freebsd.org/changeset/base/361541 > > Log: > ice(4): Introduce new driver for Intel E800 Ethernet controllers > > The ice(4) driver is the driver for the

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:57:02 2020 New Revision: 361525 URL: https://svnweb.freebsd.org/changeset/base/361525 Log: Add sysctl node for ENA IO queues number adjustment By default, in ena_attach() the driver attempts to acquire ena_adapter::max_num_io_queues MSI-X vectors for the

svn commit: r361533 - in head/sys: cddl/dev/dtrace/riscv riscv/riscv

2020-05-26 Thread Ruslan Bukin
Author: br Date: Tue May 26 16:44:05 2020 New Revision: 361533 URL: https://svnweb.freebsd.org/changeset/base/361533 Log: Fix entering KDB with dtrace-enabled kernel. Reviewed by: markj, jhb Differential Revision:https://reviews.freebsd.org/D24018 Modified:

svn commit: r361537 - head/libexec/rtld-elf

2020-05-26 Thread Konstantin Belousov
Author: kib Date: Tue May 26 19:22:46 2020 New Revision: 361537 URL: https://svnweb.freebsd.org/changeset/base/361537 Log: Add version indicators to rtld. It is wrong to relate on __FreeBSD_version, either from include/param.h, kernel, or libc, to check for rtld features. Rtld might be

svn commit: r361535 - head/sys/powerpc/include

2020-05-26 Thread Brandon Bergren
Author: bdragon Date: Tue May 26 19:03:45 2020 New Revision: 361535 URL: https://svnweb.freebsd.org/changeset/base/361535 Log: [PowerPC] Fix atomic_cmpset_masked(). A recent kernel change caused the previously unused atomic_cmpset_masked() to be used. It had a typo in it.

Re: svn commit: r361535 - head/sys/powerpc/include

2020-05-26 Thread Brandon Bergren
On Tue, May 26, 2020, at 2:03 PM, Brandon Bergren wrote: > > Obtained from: jhibbits Of course I meant "Submitted By:" here. -- Brandon Bergren bdra...@freebsd.org ___ svn-src-head@freebsd.org mailing list

svn commit: r361536 - head/sys/cam/ctl

2020-05-26 Thread Alexander Motin
Author: mav Date: Tue May 26 19:09:19 2020 New Revision: 361536 URL: https://svnweb.freebsd.org/changeset/base/361536 Log: Properly check kern_sg_entries for S/G list. ctl_data_print() is called in core context, so does not even know meaning of ext_sg_entries. MFC after:1 week

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 16:11:46 2020 New Revision: 361530 URL: https://svnweb.freebsd.org/changeset/base/361530 Log: Update ENA driver version to v2.2.0 Driver version upgrade is connected with support for the new device fetures, like Tx drops reporting or disabling meta caching.

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:48:06 2020 New Revision: 361521 URL: https://svnweb.freebsd.org/changeset/base/361521 Log: Rework ENA Rx queue size configuration This patch reworks how the Rx queue size is being reconfigured and how the information from the device is being processed.

svn commit: r361520 - head/usr.sbin/bluetooth/hccontrol

2020-05-26 Thread Takanori Watanabe
Author: takawata Date: Tue May 26 15:46:18 2020 New Revision: 361520 URL: https://svnweb.freebsd.org/changeset/base/361520 Log: Add le_connect command to connect to an LE device. PR:246664 Submitted by:MarcVeldman Modified: head/usr.sbin/bluetooth/hccontrol/hccontrol.8

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:45:54 2020 New Revision: 361519 URL: https://svnweb.freebsd.org/changeset/base/361519 Log: Mark the ENA driver as epoch ready Recent changes to the epoch requires driver to notify that they knows epoch in order to prevent input packet function to enter

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:50:30 2020 New Revision: 361523 URL: https://svnweb.freebsd.org/changeset/base/361523 Log: Rework ENA Tx buffer ring size reconfiguration This method has been aligned with the way how the Rx queue size is being updated - so it's now done synchronously

svn commit: r361532 - in head/sys: dev/acpica dev/pci x86/iommu

2020-05-26 Thread Ruslan Bukin
Author: br Date: Tue May 26 16:40:40 2020 New Revision: 361532 URL: https://svnweb.freebsd.org/changeset/base/361532 Log: Rename dmar_get_dma_tag() to acpi_iommu_get_dma_tag(). This is needed for a new IOMMU controller support. Reviewed by: kib Differential Revision:

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:58:48 2020 New Revision: 361526 URL: https://svnweb.freebsd.org/changeset/base/361526 Log: Create ENA IO queues with optional backoff If requested size of IO queues is not supported try to decrease it until finding the highest value that can be satisfied.

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 16:05:42 2020 New Revision: 361529 URL: https://svnweb.freebsd.org/changeset/base/361529 Log: Refactor ena_tx_map_mbuf() function There is no guarantee from bus_dmamap_load_mbuf_sg() for matching mbuf chain segments to dma physical segments. This patch

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 15:54:32 2020 New Revision: 361524 URL: https://svnweb.freebsd.org/changeset/base/361524 Log: Fix assumptions about number of IO queues in the ENA Make the ena_adapter::num_io_queues a number of effectively used IO queues. While the

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 16:00:30 2020 New Revision: 361527 URL: https://svnweb.freebsd.org/changeset/base/361527 Log: Allow disabling meta caching for ENA Tx path Determined by a flag passed from the device. No metadata is set within ena_tx_csum when caching is disabled.

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

2020-05-26 Thread Marcin Wojtas
Author: mw Date: Tue May 26 16:02:10 2020 New Revision: 361528 URL: https://svnweb.freebsd.org/changeset/base/361528 Log: Fix double-free bug within ena_detach() There is ena_free_all_io_rings_resources() called twice on device detach: ena_detach(): ena_destroy_device(): /*

svn commit: r361545 - head/sys/vm

2020-05-26 Thread Justin Hibbits
Author: jhibbits Date: Wed May 27 01:35:46 2020 New Revision: 361545 URL: https://svnweb.freebsd.org/changeset/base/361545 Log: Properly sort ifdef archs in vm_fault_soft_fast superpage guards. Sort broken in r360887. Modified: head/sys/vm/vm_fault.c Modified: head/sys/vm/vm_fault.c

svn commit: r361546 - head/sys/cam/ata

2020-05-26 Thread Adrian Chadd
Author: adrian Date: Wed May 27 02:10:09 2020 New Revision: 361546 URL: https://svnweb.freebsd.org/changeset/base/361546 Log: [ata_da] remove duplicate definition; it trips up ye olde gcc-6 on mips32 Checked first with: irc Modified: head/sys/cam/ata/ata_da.c Modified:

Re: svn commit: r361546 - head/sys/cam/ata

2020-05-26 Thread Ravi Pokala
-Original Message- From: on behalf of Adrian Chadd Date: 2020-05-26, Tuesday at 19:10 To: , , Subject: svn commit: r361546 - head/sys/cam/ata Author: adrian Date: Wed May 27 02:10:09 2020 New Revision: 361546 URL: https://svnweb.freebsd.org/changeset/base/361546

Re: svn commit: r361544 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/powerpc powerpc/ps3 powerpc/pseries

2020-05-26 Thread Justin Hibbits
On Tue, May 26, 2020, 20:24 Justin Hibbits wrote: > Author: jhibbits > Date: Wed May 27 01:24:12 2020 > New Revision: 361544 > URL: https://svnweb.freebsd.org/changeset/base/361544 > > Log: > powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj > > With IFUNC support in the kernel,

Re: svn commit: r361541 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/contrib/dev/ice sys/dev/ice sys/modules sys/modules/ice sys/modules/ice_ddp tools/kerneldoc/subsys

2020-05-26 Thread Eric Joyner
On Tue, May 26, 2020 at 5:39 PM Rodney W. Grimes wrote > That ones a bit iffy in a source released situation, what does it > mean to "reverse engineer" source code? > I don't know. Keep in mind that is the license for that binary in the directory; the actual source code for the driver (not in