svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Andriy Gapon
Author: avg Date: Fri Apr 24 07:49:21 2020 New Revision: 360241 URL: https://svnweb.freebsd.org/changeset/base/360241 Log: ig4: ensure that drivers always attach in correct order Use DRIVER_MODULE_ORDERED(SI_ORDER_ANY) so that ig4's ACPI attachment happens after iicbus and acpi_iicbus

svn commit: r360249 - head/sys/dev/pci

2020-04-24 Thread Andrew Turner
Author: andrew Date: Fri Apr 24 11:03:15 2020 New Revision: 360249 URL: https://svnweb.freebsd.org/changeset/base/360249 Log: Remove PCI_IO_WINDOW_OFFSET from the pci host generic fdt attachment. It doesn't seem to be needed, and breaks booting under bhyve/arm64. Discussed with:

svn commit: r360242 - head/sys/dev/iicbus

2020-04-24 Thread Andriy Gapon
Author: avg Date: Fri Apr 24 07:55:39 2020 New Revision: 360242 URL: https://svnweb.freebsd.org/changeset/base/360242 Log: acpi_iicbus: set device description in the probe method Kernel prints the device announcement before the attach method is called, so if the correct description is

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

2020-04-24 Thread Andriy Gapon
Author: avg Date: Fri Apr 24 09:32:20 2020 New Revision: 360246 URL: https://svnweb.freebsd.org/changeset/base/360246 Log: acpi_video: fix a crash in detach with an LCD output The crash happened because of a video output object was removed from a wrong container, crt_units instead of

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

2020-04-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 24 08:07:59 2020 New Revision: 360243 URL: https://svnweb.freebsd.org/changeset/base/360243 Log: Add support for LE advertising to hccontrol(8). Submitted by: Marc Veldman PR: 245848 MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r360247 - head/stand

2020-04-24 Thread Andrew Turner
Author: andrew Date: Fri Apr 24 10:03:11 2020 New Revision: 360247 URL: https://svnweb.freebsd.org/changeset/base/360247 Log: Build the arm64 loader with -ffixed-x18 This stops the compiler from using the x18 register. Some UEFI implementations assume this will be preserved when calling

svn commit: r360248 - head/sys/crypto/ccp

2020-04-24 Thread Andriy Gapon
Author: avg Date: Fri Apr 24 10:20:54 2020 New Revision: 360248 URL: https://svnweb.freebsd.org/changeset/base/360248 Log: ccp: add a new hardware ID, found on AMD Ryzen 3 3200U pciconf reports the device as: Family 17h (Models 10h-1fh) Platform Security Processor dmesg: ccp0:

Re: svn commit: r360233 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src lib/libc/stdlib/jemalloc

2020-04-24 Thread nonameless
> Author: vangyzen > Date: Thu Apr 23 23:57:43 2020 > New Revision: 360233 > URL: https://svnweb.freebsd.org/changeset/base/360233 > > Log: > Update jemalloc to version 5.2.1 > > Revert r354606 to restore r data-ukrnet-code="354605">354605. > > Apply one line from jemalloc commit

svn commit: r360251 - head

2020-04-24 Thread Kyle Evans
+26,7 @@ NOTE 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".) -20200224: +20200424: closefrom(2) has been moved under COMPAT12, and replaced in libc with a

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Warner Losh
On Fri, Apr 24, 2020 at 1:49 AM Andriy Gapon wrote: > Author: avg > Date: Fri Apr 24 07:49:21 2020 > New Revision: 360241 > URL: https://svnweb.freebsd.org/changeset/base/360241 > > Log: > ig4: ensure that drivers always attach in correct order > > Use DRIVER_MODULE_ORDERED(SI_ORDER_ANY) so

svn commit: r360260 - in head/stand: efi/loader/arch/amd64 i386/libi386 userboot/userboot

2020-04-24 Thread Mark Johnston
Author: markj Date: Fri Apr 24 13:53:40 2020 New Revision: 360260 URL: https://svnweb.freebsd.org/changeset/base/360260 Log: Stop setting PG_U in bootstrap mappings. These mappings are never visible to userspace as they get replaced when the amd64 pmap is bootstrapped, but there is no

svn commit: r360250 - head

2020-04-24 Thread Kyle Evans
Author: kevans Date: Fri Apr 24 12:54:35 2020 New Revision: 360250 URL: https://svnweb.freebsd.org/changeset/base/360250 Log: UPDATING: add a note about closefrom(2) marked COMPAT12 Some of the consumers in-base may make it enticing enough to ensure that COMPAT_FREEBSD12, which is

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Warner Losh
On Fri, Apr 24, 2020 at 10:07 AM Andriy Gapon wrote: > On 24/04/2020 18:11, Warner Losh wrote: > > > > > > On Fri, Apr 24, 2020 at 8:47 AM Andriy Gapon > > wrote: > > > > On 24/04/2020 17:29, Warner Losh wrote: > > > > > > > > > On Fri, Apr 24, 2020 at

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Andriy Gapon
On 24/04/2020 17:29, Warner Losh wrote: > > > On Fri, Apr 24, 2020 at 1:49 AM Andriy Gapon > wrote: > > Author: avg > Date: Fri Apr 24 07:49:21 2020 > New Revision: 360241 > URL: https://svnweb.freebsd.org/changeset/base/360241 > > Log: >  

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Andriy Gapon
On 24/04/2020 18:11, Warner Losh wrote: > > > On Fri, Apr 24, 2020 at 8:47 AM Andriy Gapon > wrote: > > On 24/04/2020 17:29, Warner Losh wrote: > > > > > > On Fri, Apr 24, 2020 at 1:49 AM Andriy Gapon > >

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Justin Hibbits
On Fri, 24 Apr 2020 19:07:35 +0300 Andriy Gapon wrote: > On 24/04/2020 18:11, Warner Losh wrote: > > > > > > On Fri, Apr 24, 2020 at 8:47 AM Andriy Gapon > > wrote: > > > > On 24/04/2020 17:29, Warner Losh wrote: > > > > > > > > > On Fri, Apr 24,

svn commit: r360272 - head/release/arm64

2020-04-24 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 24 16:32:25 2020 New Revision: 360272 URL: https://svnweb.freebsd.org/changeset/base/360272 Log: Add PINE64 ROCKPro64 config for generation of release images Submitted by: Daniel Engberg Reviewed by: imp Differential Revision:

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

2020-04-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 24 14:53:55 2020 New Revision: 360263 URL: https://svnweb.freebsd.org/changeset/base/360263 Log: Rename two commands to match the Bluetooth specification in hccontrol(8). Fix some bad spelling while at it. Submitted by: Marc Veldman PR: 245868

svn commit: r360266 - head/sys/dev/hwpmc

2020-04-24 Thread Alexander Motin
Author: mav Date: Fri Apr 24 15:09:30 2020 New Revision: 360266 URL: https://svnweb.freebsd.org/changeset/base/360266 Log: Add family 0x5F (Denverton) to PMC_CPU_INTEL_ATOM_GOLDMONT. According to the 325462-071US document, they should be the same. MFC after:1 week Modified:

svn commit: r360271 - head/release/tools

2020-04-24 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 24 16:31:27 2020 New Revision: 360271 URL: https://svnweb.freebsd.org/changeset/base/360271 Log: Add support for generating release images using GPT for ARM Submitted by: Daniel Engberg (Original version) Differential Revision:

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Warner Losh
On Fri, Apr 24, 2020 at 8:47 AM Andriy Gapon wrote: > On 24/04/2020 17:29, Warner Losh wrote: > > > > > > On Fri, Apr 24, 2020 at 1:49 AM Andriy Gapon > > wrote: > > > > Author: avg > > Date: Fri Apr 24 07:49:21 2020 > > New Revision: 360241 > > URL:

svn commit: r360269 - head/lib/libpmc/pmu-events/arch/x86

2020-04-24 Thread Alexander Motin
Author: mav Date: Fri Apr 24 16:05:35 2020 New Revision: 360269 URL: https://svnweb.freebsd.org/changeset/base/360269 Log: Map family 0x5F (Denverton) to goldmont. According to the 325462-071US document, they should be the same. MFC after:1 week Modified:

svn commit: r360273 - head/release/arm64

2020-04-24 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 24 16:33:07 2020 New Revision: 360273 URL: https://svnweb.freebsd.org/changeset/base/360273 Log: Add PINE64 ROCK64 config for generation of release images Added: head/release/arm64/ROCK64.conf (contents, props changed) Added: head/release/arm64/ROCK64.conf

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread John Baldwin
On 4/24/20 9:57 AM, Warner Losh wrote: > On Fri, Apr 24, 2020 at 10:07 AM Andriy Gapon wrote: >> Let's use ig4 as an example. >> Across its source files we had the following DRIVER_MODULE declarations: >> DRIVER_MODULE(ig4iic, acpi, ... -- in ig4_acpi.c >> DRIVER_MODULE(iicbus, ig4iic, ... -- in

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread Andriy Gapon
On 24/04/2020 19:23, Justin Hibbits wrote: > Can you look at how ofw_iicbus does this? Everything works just fine > with that, and it's compiled into the iicbus module as well. Perhaps > you can pick some ideas from there. > > One thing I remember doing on the fsl_i2c driver was to just name

svn commit: r360276 - in head/sys: amd64/amd64 arm64/arm64 i386/i386 powerpc/powerpc

2020-04-24 Thread Mark Johnston
Author: markj Date: Fri Apr 24 18:47:42 2020 New Revision: 360276 URL: https://svnweb.freebsd.org/changeset/base/360276 Log: Remove an obsolete TODO comment from several minidump implementations. The comment referenced a non-existent function, and these minidump implementations already

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

2020-04-24 Thread Mark Johnston
Author: markj Date: Fri Apr 24 18:47:57 2020 New Revision: 360277 URL: https://svnweb.freebsd.org/changeset/base/360277 Log: Fix handling of 1GB mappings in the arm64 minidump code. For such mappings we need to dump 512 page table pages, not one, and they need to be included in the pmap

svn commit: r360280 - head/sys/mips/mips

2020-04-24 Thread Mark Johnston
Author: markj Date: Fri Apr 24 21:21:23 2020 New Revision: 360280 URL: https://svnweb.freebsd.org/changeset/base/360280 Log: Fix a race between _pmap_unwire_ptp() and MipsDoTLBMiss(). MipsDoTLBMiss() will load a segmap entry or pde, check that it isn't zero, and then chase that pointer

svn commit: r360281 - head/sys/mips/mips

2020-04-24 Thread Mark Johnston
Author: markj Date: Fri Apr 24 21:21:49 2020 New Revision: 360281 URL: https://svnweb.freebsd.org/changeset/base/360281 Log: Fix a race in pmap_emulate_modified(). pmap_emulate_modify() was assuming that no changes to the pmap could take place between the TLB signaling the fault and

Re: svn commit: r360241 - head/sys/dev/ichiic

2020-04-24 Thread John Baldwin
On 4/24/20 11:48 AM, Andriy Gapon wrote: > On 24/04/2020 19:23, Justin Hibbits wrote: >> Can you look at how ofw_iicbus does this? Everything works just fine >> with that, and it's compiled into the iicbus module as well. Perhaps >> you can pick some ideas from there. >> >> One thing I remember

svn commit: r360283 - head/usr.bin/env

2020-04-24 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Fri Apr 24 22:02:22 2020 New Revision: 360283 URL: https://svnweb.freebsd.org/changeset/base/360283 Log: Fix invalid use of macros and two typos It turns out that currently mandoc(1) is not handling Fl in Ss correctly (maybe it never was). Let's

svn commit: r360285 - head/sys/net80211

2020-04-24 Thread John Baldwin
Author: jhb Date: Fri Apr 24 22:10:02 2020 New Revision: 360285 URL: https://svnweb.freebsd.org/changeset/base/360285 Log: Don't indirect user pointers directly in two 802.11s ioctls. IEEE80211_MESH_RTCMD_ADD was invoking memcmp() to validate the supplied address directly on the user

svn commit: r360284 - head/lib/libc/sys

2020-04-24 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Fri Apr 24 22:04:14 2020 New Revision: 360284 URL: https://svnweb.freebsd.org/changeset/base/360284 Log: Fix a typo Reported by: pstef MFC after:2 days Modified: head/lib/libc/sys/procctl.2 Modified: head/lib/libc/sys/procctl.2

svn commit: r360287 - head/usr.sbin/freebsd-update

2020-04-24 Thread Kyle Evans
Author: kevans Date: Sat Apr 25 00:14:17 2020 New Revision: 360287 URL: https://svnweb.freebsd.org/changeset/base/360287 Log: freebsd-update: rehash certs With the inclusion of caroot bits, we'll need to also rehash on update as we do in mergemaster/etcupdate. If certctl's installed

svn commit: r360289 - in head/sys/fs: nfs nfsclient nfsserver

2020-04-24 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 25 02:18:59 2020 New Revision: 360289 URL: https://svnweb.freebsd.org/changeset/base/360289 Log: Remove Mac OS/X macros that did nothing for FreeBSD. The macros CAST_USER_ADDR_T() and CAST_DOWN() were used for the Mac OS/X port. The first of these macros

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

2020-04-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Apr 25 00:57:48 2020 New Revision: 360288 URL: https://svnweb.freebsd.org/changeset/base/360288 Log: Put advertising data in correct place. Submitted by: Marc Veldman PR: 245848 MFC after:1 week Sponsored by: Mellanox Technologies Modified: