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

2019-06-08 Thread Alan Cox
Author: alc Date: Sun Jun 9 05:55:58 2019 New Revision: 348829 URL: https://svnweb.freebsd.org/changeset/base/348829 Log: Correct a new KASSERT() in r348828. X-MFC with: r348828 Modified: head/sys/riscv/riscv/pmap.c Modified: head/sys/riscv/riscv/pmap.c

svn commit: r348828 - in head/sys: amd64/amd64 arm64/arm64 i386/i386 riscv/riscv

2019-06-08 Thread Alan Cox
Author: alc Date: Sun Jun 9 03:36:10 2019 New Revision: 348828 URL: https://svnweb.freebsd.org/changeset/base/348828 Log: Implement an alternative solution to the amd64 and i386 pmap problem that we previously addressed in r348246. This pmap problem also exists on arm64 and riscv.

svn commit: r348824 - head/usr.sbin/camdd

2019-06-08 Thread Chuck Tuffli
Author: chuck Date: Sun Jun 9 02:06:31 2019 New Revision: 348824 URL: https://svnweb.freebsd.org/changeset/base/348824 Log: Fix uninitialized variable in camdd gcc builds were failing because of this uninitialized warning. Reported by: bz, imp Approved by: imp (mentor)

Re: svn commit: r348806 - head/usr.sbin/camdd

2019-06-08 Thread Chuck Tuffli
On Sat, Jun 8, 2019 at 10:17 AM Chuck Tuffli wrote: > > Author: chuck > Date: Sat Jun 8 17:17:17 2019 > New Revision: 348806 > URL: https://svnweb.freebsd.org/changeset/base/348806 > > Log: > Add NVMe support to camdd(8) > > Reviewed by: ken > Approved by: ken (mentor) > MFC after:

Re: svn commit: r348810 - head/sys/x86/x86

2019-06-08 Thread Jonathan T. Looney
Hi Enji, On Sat, Jun 8, 2019 at 3:58 PM Enji Cooper wrote: > > Modified: > > head/sys/x86/x86/mca.c > > > > Modified: head/sys/x86/x86/mca.c > > > == > > --- head/sys/x86/x86/mca.cSat Jun 8 17:49:17 2019

svn commit: r348818 - head/sys/dev/atkbdc

2019-06-08 Thread Vladimir Kondratyev
Author: wulf Date: Sat Jun 8 21:36:22 2019 New Revision: 348818 URL: https://svnweb.freebsd.org/changeset/base/348818 Log: psm(4): Add extra sanity checks to Elantech trackpoint packet parser. Add strict checks for unused bit states in Elantech trackpoint packet parser to filter out

svn commit: r348817 - head/sys/dev/atkbdc

2019-06-08 Thread Vladimir Kondratyev
Author: wulf Date: Sat Jun 8 21:33:34 2019 New Revision: 348817 URL: https://svnweb.freebsd.org/changeset/base/348817 Log: psm(4): Fix Elantech trackpoint support. Sign bits for X and Y motion data were taken from wrong places. PR: 238291 Reported by: Andrey Kosachenko

svn commit: r348816 - head/sys/vm

2019-06-08 Thread Konstantin Belousov
Author: kib Date: Sat Jun 8 20:28:04 2019 New Revision: 348816 URL: https://svnweb.freebsd.org/changeset/base/348816 Log: Style MAP_ENTRY_ and MAP_ definitions. Spell all bits in the hex constants. Since all lines are modified, consistently use after #define. Reviewed by: alc

svn commit: r348815 - head/sys/amd64/include

2019-06-08 Thread Konstantin Belousov
Author: kib Date: Sat Jun 8 20:26:04 2019 New Revision: 348815 URL: https://svnweb.freebsd.org/changeset/base/348815 Log: Correct definition for PGEX_SGX. At the moment it is only used for page fault error code textual representation. Sponsored by: The FreeBSD Foundation MFC

svn commit: r348814 - head/stand/efi/boot1

2019-06-08 Thread Warner Losh
Author: imp Date: Sat Jun 8 19:58:58 2019 New Revision: 348814 URL: https://svnweb.freebsd.org/changeset/base/348814 Log: Add stuff to disable warning for %S Add the customary warnings to disable format checking on armv7. Code move to new files, and the unconditional setting of WARNS to

Re: svn commit: r348810 - head/sys/x86/x86

2019-06-08 Thread Enji Cooper
Hi! > On Jun 8, 2019, at 11:26, Jonathan T. Looney wrote: > > Author: jtl > Date: Sat Jun 8 18:26:48 2019 > New Revision: 348810 > URL: https://svnweb.freebsd.org/changeset/base/348810 > > Log: > Currently, MCA entries remain on an every-growing linked list. This means > that it becomes

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

2019-06-08 Thread Konstantin Belousov
Author: kib Date: Sat Jun 8 19:50:57 2019 New Revision: 348813 URL: https://svnweb.freebsd.org/changeset/base/348813 Log: Make trap_msg array constant as well. Suggested by: tijl Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/amd64/amd64/trap.c

Re: svn commit: r348798 - head/sys/amd64/amd64

2019-06-08 Thread Tijl Coosemans
On Sat, 8 Jun 2019 13:40:57 + (UTC) Konstantin Belousov wrote: > Author: kib > Date: Sat Jun 8 13:40:57 2019 > New Revision: 348798 > URL: https://svnweb.freebsd.org/changeset/base/348798 > > Log: > amd64 trap.c: Modernize syntax around trap_msg[]. > > Convert the array to use C99

svn commit: r348812 - in head/stand/efi: . gptboot

2019-06-08 Thread Warner Losh
Author: imp Date: Sat Jun 8 19:02:17 2019 New Revision: 348812 URL: https://svnweb.freebsd.org/changeset/base/348812 Log: Create gptboot.efi This is a primary boot loader that is intended to implement the gptboot partition selection algorithm just like we did for BIOS booting. While

svn commit: r348811 - head/stand/efi/boot1

2019-06-08 Thread Warner Losh
Author: imp Date: Sat Jun 8 18:59:50 2019 New Revision: 348811 URL: https://svnweb.freebsd.org/changeset/base/348811 Log: Break out the disk selection protocol from the rest of boot1. Segregate the disk probing and selection protocol from the rest of the boot loader. Reviewed by:

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

2019-06-08 Thread Jonathan T. Looney
Author: jtl Date: Sat Jun 8 18:26:48 2019 New Revision: 348810 URL: https://svnweb.freebsd.org/changeset/base/348810 Log: Currently, MCA entries remain on an every-growing linked list. This means that it becomes increasingly expensive to process a steady stream of correctable errors.

svn commit: r348809 - head/sys/vm

2019-06-08 Thread Doug Moore
Author: dougm Date: Sat Jun 8 17:49:17 2019 New Revision: 348809 URL: https://svnweb.freebsd.org/changeset/base/348809 Log: Simple code refactoring originally in D13484. Extract swp_pager_force_dirty() and swp_pager_force_launder() out of swp_pager_force_pagein(). Extract

svn commit: r348808 - in head: . sys/conf sys/kern sys/netinet sys/sys

2019-06-08 Thread Bjoern A. Zeeb
TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20190608: + A fix was applied to i386 kernel modules to avoid panics with + dpcpu or vnet. Users need to

svn commit: r348807 - head/sys/conf

2019-06-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 8 17:38:27 2019 New Revision: 348807 URL: https://svnweb.freebsd.org/changeset/base/348807 Log: Remove extra stray + from a diff from the beginning of the lines after r348805 to fix the build. Please do not ask how 3 more local builds succeeded without barfing.

svn commit: r348806 - head/usr.sbin/camdd

2019-06-08 Thread Chuck Tuffli
Author: chuck Date: Sat Jun 8 17:17:17 2019 New Revision: 348806 URL: https://svnweb.freebsd.org/changeset/base/348806 Log: Add NVMe support to camdd(8) Reviewed by: ken Approved by: ken (mentor) MFC after:1 week Differential Review: https://reviews.freebsd.org/D12141

Re: svn commit: r348802 - head/sys/amd64/amd64

2019-06-08 Thread Shawn Webb
On Sat, Jun 08, 2019 at 04:03:34PM +, Konstantin Belousov wrote: > Author: kib > Date: Sat Jun 8 16:03:34 2019 > New Revision: 348802 > URL: https://svnweb.freebsd.org/changeset/base/348802 > > Log: > Remove lazy FPU switch support from amd64. > > It is incompatible with some future

svn commit: r348805 - in head/sys: conf dev/sdio modules modules/sdio tools

2019-06-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 8 16:26:56 2019 New Revision: 348805 URL: https://svnweb.freebsd.org/changeset/base/348805 Log: Add SDIO support. Add a CAM-Newbus SDIO support module. This works provides a newbus infrastructure for device drivers wanting to use SDIO. On the lower end while

svn commit: r348804 - head/sys/arm/broadcom/bcm2835

2019-06-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 8 16:15:00 2019 New Revision: 348804 URL: https://svnweb.freebsd.org/changeset/base/348804 Log: bcm2835_sdhci.c: exit DMA if not enough data left to avoid timeout errors In the DMA case, given we disable the data interrupts, we never seem to get DATA_END. Given

svn commit: r348803 - head/sys/arm/broadcom/bcm2835

2019-06-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 8 16:05:43 2019 New Revision: 348803 URL: https://svnweb.freebsd.org/changeset/base/348803 Log: bcm2835_sdhci.c: save block registers to avoid controller bug Extending what the initial revision, r273264, r276985, r277346 have started for the transfer mode and

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

2019-06-08 Thread Konstantin Belousov
Author: kib Date: Sat Jun 8 16:03:34 2019 New Revision: 348802 URL: https://svnweb.freebsd.org/changeset/base/348802 Log: Remove lazy FPU switch support from amd64. It is incompatible with some future features. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r348801 - head/sys/dev/sdhci

2019-06-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 8 15:24:03 2019 New Revision: 348801 URL: https://svnweb.freebsd.org/changeset/base/348801 Log: Improve sdhci slot_printf() debug printing. Currently slot_printf() uses two printf() calls to print the device-slot name, and actual message. When other printf()s

svn commit: r348800 - in head/sys: cam dev/sdhci

2019-06-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 8 15:19:50 2019 New Revision: 348800 URL: https://svnweb.freebsd.org/changeset/base/348800 Log: Introduce sim_dev and cam_sim_alloc_dev(). Add cam_sim_alloc_dev() as a wrapper to cam_sim_alloc() which takes a device_t instead of the unit_number (which we can

svn commit: r348799 - head/sys/i386/i386

2019-06-08 Thread Konstantin Belousov
Author: kib Date: Sat Jun 8 13:41:39 2019 New Revision: 348799 URL: https://svnweb.freebsd.org/changeset/base/348799 Log: i386 trap.c: Remove unused MAX_TRAP_MSG define. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/i386/i386/trap.c Modified:

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

2019-06-08 Thread Konstantin Belousov
Author: kib Date: Sat Jun 8 13:40:57 2019 New Revision: 348798 URL: https://svnweb.freebsd.org/changeset/base/348798 Log: amd64 trap.c: Modernize syntax around trap_msg[]. Convert the array to use C99 initializers. Make it constant. Replace MAX_TRAP_MSG with nitems(). Sponsored

svn commit: r348797 - head/lib/libusb

2019-06-08 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 8 09:34:02 2019 New Revision: 348797 URL: https://svnweb.freebsd.org/changeset/base/348797 Log: Fix for reading the configuration descriptor in libusb. Catch invalid configuration descriptor reads early on to avoid issues with devices that don't check for a

svn commit: r348796 - head/usr.bin/vtfontcvt

2019-06-08 Thread Ed Maste
Author: emaste Date: Sat Jun 8 08:25:43 2019 New Revision: 348796 URL: https://svnweb.freebsd.org/changeset/base/348796 Log: vtfontcvt: allow out-of-order glyphs PR: 205707 Reported by: mi MFC after:2 weeks Event:Vienna Hackathon 2019 Sponsored by: