Re: svn commit: r346645 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2019-04-24 Thread Li-Wen Hsu
On Thu, Apr 25, 2019 at 5:31 AM Tycho Nightingale wrote: > > Author: tychon > Date: Wed Apr 24 20:30:45 2019 > New Revision: 346645 > URL: https://svnweb.freebsd.org/changeset/base/346645 ... > Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c >

Re: svn commit: r346593 - head/sys/sys

2019-04-24 Thread Wojciech Macek
Intel does not reorder reads against the condition "if" here. I know for sure that ARM does, but therestill might be some other architectures that also suffers such behavior - I just don't have any means to verify. I remember the discussion for rS302292 where we agreed that this kind of patches sho

Re: svn commit: r346593 - head/sys/sys

2019-04-24 Thread Mark Johnston
On Tue, Apr 23, 2019 at 06:36:32AM +, Wojciech Macek wrote: > Author: wma > Date: Tue Apr 23 06:36:32 2019 > New Revision: 346593 > URL: https://svnweb.freebsd.org/changeset/base/346593 > > Log: > This patch offers a workaround to buf_ring reordering > visible on armv7 and armv8. Similar i

svn commit: r346657 - head/sys/dev/uart

2019-04-24 Thread Rebecca Cran
Author: bcran Date: Thu Apr 25 02:16:48 2019 New Revision: 346657 URL: https://svnweb.freebsd.org/changeset/base/346657 Log: ACPI SPCR: handle BaudRate=0 From https://github.com/tianocore/edk2-platforms/commit/7d8dc6544c93a5f5a03c83316489ba8700946e9f "The mcbin (and likely others) hav

svn commit: r346654 - head/tools/boot

2019-04-24 Thread Ian Lepore
Author: ian Date: Thu Apr 25 00:08:15 2019 New Revision: 346654 URL: https://svnweb.freebsd.org/changeset/base/346654 Log: For the geli-gpt-zfs test images, both bios and uefi flavors, add a dummy ufs partition as p2, and put the zfs partition at p3, to test the ability of the zfs probe code

svn commit: r346653 - head/tools/boot

2019-04-24 Thread Ian Lepore
Author: ian Date: Wed Apr 24 23:52:38 2019 New Revision: 346653 URL: https://svnweb.freebsd.org/changeset/base/346653 Log: The zfs module has grown a dependency on zcl_nfs4.ko, so copy it into all the test images. Modified: head/tools/boot/rootgen.sh Modified: head/tools/boot/rootgen.sh ==

svn commit: r346652 - head/tools/boot

2019-04-24 Thread Ian Lepore
Author: ian Date: Wed Apr 24 23:51:12 2019 New Revision: 346652 URL: https://svnweb.freebsd.org/changeset/base/346652 Log: Complain and exit the script if the 'make install' phase fails. Also, there is no need to install any debug files. Modified: head/tools/boot/rootgen.sh Modified: head

svn commit: r346651 - head/usr.sbin/kldxref

2019-04-24 Thread John Baldwin
Author: jhb Date: Wed Apr 24 23:35:10 2019 New Revision: 346651 URL: https://svnweb.freebsd.org/changeset/base/346651 Log: Parse MIPS relocations to unbreak kldxref on MIPS. Parse the R_MIPS_32 and R_MIPS_64 relocations. Both Elf_Rel and Elf_Rela relocations are handled since O32 MIPS us

svn commit: r346650 - head/sys/dev/cxgbe/crypto

2019-04-24 Thread John Baldwin
Author: jhb Date: Wed Apr 24 23:31:46 2019 New Revision: 346650 URL: https://svnweb.freebsd.org/changeset/base/346650 Log: Add support for AES-CCM to ccr(4). This is fairly similar to the AES-GCM support in ccr(4) in that it will fall back to software for certain cases (requests with only

svn commit: r346649 - head/sys/opencrypto

2019-04-24 Thread John Baldwin
Author: jhb Date: Wed Apr 24 23:27:39 2019 New Revision: 346649 URL: https://svnweb.freebsd.org/changeset/base/346649 Log: Don't panic for empty CCM requests. A request to encrypt an empty payload without any AAD is unusual, but it is defined behavior. Removing this assertion removes a p

svn commit: r346648 - head/sys/dev/cxgbe/crypto

2019-04-24 Thread John Baldwin
Author: jhb Date: Wed Apr 24 23:18:10 2019 New Revision: 346648 URL: https://svnweb.freebsd.org/changeset/base/346648 Log: Fix requests for "plain" SHA digests of an empty buffer. To workaround limitations in the crypto engine, empty buffers are handled by manually constructing the final

svn commit: r346647 - head/sys/dev/acpi_support

2019-04-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Apr 24 23:10:19 2019 New Revision: 346647 URL: https://svnweb.freebsd.org/changeset/base/346647 Log: [acpi_ibm] Add support for newer Thinkpad models Add support for newer Thinkpad models with id LEN0268. Was tested on Thinkpad T480 and ThinkPad X1 Yoga 2nd gen.

svn commit: r346646 - head/tools/boot

2019-04-24 Thread Rebecca Cran
Author: bcran Date: Wed Apr 24 22:35:29 2019 New Revision: 346646 URL: https://svnweb.freebsd.org/changeset/base/346646 Log: Fix install-boot.sh and rootgen.sh UEFI bugs tools/boot/install-boot.sh was assuming that if a device was passed in, it should operate on the current system and run

svn commit: r346645 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2019-04-24 Thread Tycho Nightingale
Author: tychon Date: Wed Apr 24 20:30:45 2019 New Revision: 346645 URL: https://svnweb.freebsd.org/changeset/base/346645 Log: LinuxKPI should use bus_dma(9) to be compatible with an IOMMU Reviewed by: hselasky, kib Tested by:greg@unrelenting.technology Sponsored by: Dell EMC Isilon

svn commit: r346644 - head/sys/geom

2019-04-24 Thread Alexander Motin
Author: mav Date: Wed Apr 24 19:56:02 2019 New Revision: 346644 URL: https://svnweb.freebsd.org/changeset/base/346644 Log: Call delist_dev() before destroy_dev_sched_cb(). destroy_dev_sched_cb() is excessively asynchronous, and during media change retaste new provider may appear sooner th

svn commit: r346643 - head/sys/x86/x86

2019-04-24 Thread Conrad Meyer
Author: cem Date: Wed Apr 24 18:24:22 2019 New Revision: 346643 URL: https://svnweb.freebsd.org/changeset/base/346643 Log: x86: Halt non-BSP CPUs on panic IPI_STOP We may need the BSP to reboot, but we don't need any AP CPU that isn't the panic thread. Any CPU landing in this routine dur

Re: svn commit: r346273 - in head/sys: compat/freebsd32 kern

2019-04-24 Thread Dmitry Chagin
вт, 16 апр. 2019 г. в 16:26, Ed Maste : > Author: emaste > Date: Tue Apr 16 13:26:31 2019 > New Revision: 346273 > URL: https://svnweb.freebsd.org/changeset/base/346273 > > Log: > correct readlinkat(2) return type > > Hi, Ed make sysent? > r176215 corrected readlink(2)'s return type and the

svn commit: r346641 - head/lib/libvgl

2019-04-24 Thread Bruce Evans
Author: bde Date: Wed Apr 24 16:03:35 2019 New Revision: 346641 URL: https://svnweb.freebsd.org/changeset/base/346641 Log: Avoid hiding and unhiding the mouse cursor when copying bitmaps to the screen. Instead, copy a merged bitmap 1 line at a time. This fixes flashing of the cursor and

svn commit: r346639 - head/lib/libvgl

2019-04-24 Thread Bruce Evans
Author: bde Date: Wed Apr 24 15:35:29 2019 New Revision: 346639 URL: https://svnweb.freebsd.org/changeset/base/346639 Log: Refactor mouse freezing and fix some minor bugs. VGLMouseFreeze() now only defers mouse signals and leaves it to higher levels to hide and unhide the mouse cursor if

svn commit: r346634 - head/sys/dev/cadence

2019-04-24 Thread Ruslan Bukin
Author: br Date: Wed Apr 24 13:44:30 2019 New Revision: 346634 URL: https://svnweb.freebsd.org/changeset/base/346634 Log: Add support for Cadence network controller found in HiFive Unleashed board. Reviewed by: markj Sponsored by: DARPA, AFRL Differential Revision:https://revie

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

2019-04-24 Thread Ruslan Bukin
Author: br Date: Wed Apr 24 13:41:46 2019 New Revision: 346633 URL: https://svnweb.freebsd.org/changeset/base/346633 Log: Implement pic_pre_ithread(), pic_post_ithread(). Reviewed by: markj Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D19819 Modi

svn commit: r346632 - head/sys/net

2019-04-24 Thread Andrew Gallatin
Author: gallatin Date: Wed Apr 24 13:32:04 2019 New Revision: 346632 URL: https://svnweb.freebsd.org/changeset/base/346632 Log: iflib: Add pfil hooks As with mlx5en, the idea is to drop unwanted traffic as early in receive as possible, before mbufs are allocated and anything is passed u

svn commit: r346631 - head/lib/libvgl

2019-04-24 Thread Bruce Evans
Author: bde Date: Wed Apr 24 13:15:56 2019 New Revision: 346631 URL: https://svnweb.freebsd.org/changeset/base/346631 Log: Fix some races and screeen clearing in VGLEnd(). The mouse signal SIGUSR2 was not turned off for normal termination and in some other cases. Thus mouse signals arriv

svn commit: r346630 - in head: sbin/ifconfig share/man/man4 sys/modules/if_gre sys/net sys/netinet sys/netinet6

2019-04-24 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 24 09:05:45 2019 New Revision: 346630 URL: https://svnweb.freebsd.org/changeset/base/346630 Log: Add GRE-in-UDP encapsulation support as defined in RFC8086. This GRE-in-UDP encapsulation allows the UDP source port field to be used as an entropy field for load-bala