svn commit: r340554 - stable/12/sys/amd64/amd64

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Sun Nov 18 09:55:57 2018 New Revision: 340554 URL: https://svnweb.freebsd.org/changeset/base/340554 Log: MFC r339893: Style. Modified: stable/12/sys/amd64/amd64/machdep.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/amd64/amd64/machdep.c

svn commit: r340561 - stable/12/sbin/pfctl

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 10:54:47 2018 New Revision: 340561 URL: https://svnweb.freebsd.org/changeset/base/340561 Log: MFC r339578: pfctl: Fix line numbers when \ is used inside "" PR: 201520 Obtained from:OpenBSD Modified: stable/12/sbin/pfctl/parse.y

svn commit: r340564 - head/lib/libcasper/services/cap_dns

2018-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Nov 18 11:11:27 2018 New Revision: 340564 URL: https://svnweb.freebsd.org/changeset/base/340564 Log: Update the names in the LIMITS and EXAMPLES sections after r340363. Reported by: markj Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 Modified:

svn commit: r340568 - stable/12/sys/net

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:04:24 2018 New Revision: 340568 URL: https://svnweb.freebsd.org/changeset/base/340568 Log: MFC r340066: Notify that the ifnet will go away, even on vnet shutdown pf subscribes to ifnet_departure_event events, so it can clean up the ifg_pf_kif and

svn commit: r340576 - stable/12/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:59:09 2018 New Revision: 340576 URL: https://svnweb.freebsd.org/changeset/base/340576 Log: MFC r340070: pfsync: Allow module to be unloaded Sponsored by: Orange Business Services Modified: stable/12/sys/netpfil/pf/if_pfsync.c Directory Properties:

svn commit: r340555 - stable/12/sys/arm/include

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Sun Nov 18 09:57:12 2018 New Revision: 340555 URL: https://svnweb.freebsd.org/changeset/base/340555 Log: MFC r340136: Move the fixed base for PIE loading on arm. Modified: stable/12/sys/arm/include/elf.h Directory Properties: stable/12/ (props changed) Modified:

svn commit: r340563 - stable/11/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 10:57:39 2018 New Revision: 340563 URL: https://svnweb.freebsd.org/changeset/base/340563 Log: MFC r339676: pf: Fix copy/paste error in IPv6 address rewriting We checked the destination address, but replaced the source address. This was fixed in OpenBSD as

svn commit: r340562 - stable/12/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 10:57:31 2018 New Revision: 340562 URL: https://svnweb.freebsd.org/changeset/base/340562 Log: MFC r339676: pf: Fix copy/paste error in IPv6 address rewriting We checked the destination address, but replaced the source address. This was fixed in OpenBSD as

svn commit: r340556 - stable/11/sys/arm/include

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Sun Nov 18 09:58:36 2018 New Revision: 340556 URL: https://svnweb.freebsd.org/changeset/base/340556 Log: MFC r340136: Move the fixed base for PIE loading on arm. Modified: stable/11/sys/arm/include/elf.h Directory Properties: stable/11/ (props changed) Modified:

svn commit: r340583 - stable/11/contrib/nvi/vi

2018-11-18 Thread Ed Maste
Author: emaste Date: Sun Nov 18 14:55:04 2018 New Revision: 340583 URL: https://svnweb.freebsd.org/changeset/base/340583 Log: MFC r340288: nvi: remove superfluous space before ^\ This fixes alignment in vi's 'viusage' command and has been fixed upstream and in OpenBSD. Submitted by:

svn commit: r340584 - stable/12/sys/contrib/octeon-sdk

2018-11-18 Thread Ed Maste
Author: emaste Date: Sun Nov 18 14:56:08 2018 New Revision: 340584 URL: https://svnweb.freebsd.org/changeset/base/340584 Log: MFC r340299: Octeon SDK: avoid use of uninitialized variable Reported by: Clang Modified: stable/12/sys/contrib/octeon-sdk/cvmx-pip.h Directory Properties:

svn commit: r340549 - stable/12/sbin/pfctl

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 09:47:30 2018 New Revision: 340549 URL: https://svnweb.freebsd.org/changeset/base/340549 Log: MFC r339464: pfctl: Dup strings When we set the ifname we have to copy the string, rather than just keep the pointer. PR: 231323 Modified:

svn commit: r340575 - stable/12/tests/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:31:40 2018 New Revision: 340575 URL: https://svnweb.freebsd.org/changeset/base/340575 Log: MFC r340069: pf tests: Basic pfsync test Set up two jails, configure pfsync between them and create state in one of them, verify that this state is copied to the

svn commit: r340557 - stable/11/libexec/rtld-elf/amd64

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Sun Nov 18 10:22:42 2018 New Revision: 340557 URL: https://svnweb.freebsd.org/changeset/base/340557 Log: MFC r339897: Remove rtld use of libc amd64_set_fsbase(). Modified: stable/11/libexec/rtld-elf/amd64/reloc.c Directory Properties: stable/11/ (props changed)

svn commit: r340560 - stable/11/sbin/pfctl

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 10:54:38 2018 New Revision: 340560 URL: https://svnweb.freebsd.org/changeset/base/340560 Log: MFC r339578: pfctl: Fix line numbers when \ is used inside "" PR: 201520 Obtained from:OpenBSD Modified: stable/11/sbin/pfctl/parse.y

svn commit: r340577 - stable/11/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:59:10 2018 New Revision: 340577 URL: https://svnweb.freebsd.org/changeset/base/340577 Log: MFC r340070: pfsync: Allow module to be unloaded Sponsored by: Orange Business Services Modified: stable/11/sys/netpfil/pf/if_pfsync.c Directory Properties:

svn commit: r340585 - stable/11/sys/contrib/octeon-sdk

2018-11-18 Thread Ed Maste
Author: emaste Date: Sun Nov 18 14:56:26 2018 New Revision: 340585 URL: https://svnweb.freebsd.org/changeset/base/340585 Log: MFC r340299: Octeon SDK: avoid use of uninitialized variable Reported by: Clang Modified: stable/11/sys/contrib/octeon-sdk/cvmx-pip.h Directory Properties:

svn commit: r340586 - stable/12/sys/sys

2018-11-18 Thread Ed Maste
Author: emaste Date: Sun Nov 18 14:58:01 2018 New Revision: 340586 URL: https://svnweb.freebsd.org/changeset/base/340586 Log: MFC r340171: capability.h: add comment about planned removal timeline PR: 228878 Modified: stable/12/sys/sys/capability.h Directory Properties: stable/12/

svn commit: r340559 - stable/11/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 10:47:50 2018 New Revision: 340559 URL: https://svnweb.freebsd.org/changeset/base/340559 Log: MFC r339470: pf synproxy will do the 3WHS on behalf of the target machine, and once the 3WHS is completed, establish the backend connection. The trigger for "3WHS

svn commit: r340552 - in stable/12/sys: amd64/amd64 amd64/ia32 amd64/include dev/cpuctl

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Sun Nov 18 09:49:24 2018 New Revision: 340552 URL: https://svnweb.freebsd.org/changeset/base/340552 Log: MFC r339507: amd64: flush L1 data cache on syscall return with an error. Modified: stable/12/sys/amd64/amd64/initcpu.c stable/12/sys/amd64/amd64/machdep.c

svn commit: r340551 - in stable/12/sbin/pfctl/tests: . files

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 09:48:51 2018 New Revision: 340551 URL: https://svnweb.freebsd.org/changeset/base/340551 Log: MFC r339466: pfctl tests: Basic test case for PR 231323 PR: 231323 Added: stable/12/sbin/pfctl/tests/files/pf1005.in - copied unchanged from

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Tijl Coosemans
On Sat, 17 Nov 2018 14:55:05 -0800 Matthew Macy wrote: > When looking at powerpc io.h raw and relaxed are not aliases, but it > appears that on x86, they are: > https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/io.h > > Sorry for the noise. But let's starting moving the x86

svn commit: r340550 - stable/11/sbin/pfctl

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 09:47:39 2018 New Revision: 340550 URL: https://svnweb.freebsd.org/changeset/base/340550 Log: MFC r339464: pfctl: Dup strings When we set the ifname we have to copy the string, rather than just keep the pointer. PR: 231323 Modified:

svn commit: r340558 - stable/12/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 10:47:36 2018 New Revision: 340558 URL: https://svnweb.freebsd.org/changeset/base/340558 Log: MFC r339470: pf synproxy will do the 3WHS on behalf of the target machine, and once the 3WHS is completed, establish the backend connection. The trigger for "3WHS

svn commit: r340566 - in stable/11/sys: net netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 11:55:58 2018 New Revision: 340566 URL: https://svnweb.freebsd.org/changeset/base/340566 Log: MFC r340065: pfsync: Make pfsync callbacks per-vnet The callbacks are installed and removed depending on the state of the pfsync device, which is per-vnet. The

svn commit: r340567 - head/usr.bin/brandelf

2018-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Nov 18 12:03:12 2018 New Revision: 340567 URL: https://svnweb.freebsd.org/changeset/base/340567 Log: brandelf: fix style nits No functional change intended. Reviewed by: emaste, markj Differential Revision:https://reviews.freebsd.org/D17966

svn commit: r340569 - stable/11/sys/net

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:04:25 2018 New Revision: 340569 URL: https://svnweb.freebsd.org/changeset/base/340569 Log: MFC r340066: Notify that the ifnet will go away, even on vnet shutdown pf subscribes to ifnet_departure_event events, so it can clean up the ifg_pf_kif and

Re: svn commit: r340572 - head/usr.bin/brandelf

2018-11-18 Thread Mariusz Zaborski
Reviewed by: emaste, markj, allanjude Differential Revision:https://reviews.freebsd.org/D17967 On Sun, 18 Nov 2018 at 13:23, Mariusz Zaborski wrote: > > Author: oshogbo > Date: Sun Nov 18 12:23:03 2018 > New Revision: 340572 > URL: https://svnweb.freebsd.org/changeset/base/340572 > >

svn commit: r340548 - stable/12/sys/kern

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Sun Nov 18 09:45:52 2018 New Revision: 340548 URL: https://svnweb.freebsd.org/changeset/base/340548 Log: MFC r340344: Remove single-use variable, cleanup warnings. Modified: stable/12/sys/kern/sysv_shm.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r340565 - in stable/12/sys: net netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 11:55:56 2018 New Revision: 340565 URL: https://svnweb.freebsd.org/changeset/base/340565 Log: MFC r340065: pfsync: Make pfsync callbacks per-vnet The callbacks are installed and removed depending on the state of the pfsync device, which is per-vnet. The

svn commit: r340573 - in stable/12/sys: net netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:30:16 2018 New Revision: 340573 URL: https://svnweb.freebsd.org/changeset/base/340573 Log: MFC r340068: pfsync: Handle syncdev going away If the syncdev is removed we no longer need to clean up the multicast entry we've got set up for that device.

svn commit: r340572 - head/usr.bin/brandelf

2018-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Nov 18 12:23:03 2018 New Revision: 340572 URL: https://svnweb.freebsd.org/changeset/base/340572 Log: brandelf: capsicumize it Modified: head/usr.bin/brandelf/Makefile head/usr.bin/brandelf/brandelf.c Modified: head/usr.bin/brandelf/Makefile

svn commit: r340574 - in stable/11/sys: net netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:30:18 2018 New Revision: 340574 URL: https://svnweb.freebsd.org/changeset/base/340574 Log: MFC r340068: pfsync: Handle syncdev going away If the syncdev is removed we no longer need to clean up the multicast entry we've got set up for that device.

svn commit: r340581 - stable/11/share/man/man7

2018-11-18 Thread Ed Maste
Author: emaste Date: Sun Nov 18 14:53:29 2018 New Revision: 340581 URL: https://svnweb.freebsd.org/changeset/base/340581 Log: MFC r340329: build(7): clarify buildenv target can be used for non-cross builds make buildenv can be used for building for the same architecture as the host

svn commit: r340580 - stable/12/share/man/man7

2018-11-18 Thread Ed Maste
Author: emaste Date: Sun Nov 18 14:52:16 2018 New Revision: 340580 URL: https://svnweb.freebsd.org/changeset/base/340580 Log: MFC r340329: build(7): clarify buildenv target can be used for non-cross builds make buildenv can be used for building for the same architecture as the host

svn commit: r340582 - stable/12/contrib/nvi/vi

2018-11-18 Thread Ed Maste
Author: emaste Date: Sun Nov 18 14:54:45 2018 New Revision: 340582 URL: https://svnweb.freebsd.org/changeset/base/340582 Log: MFC r340288: nvi: remove superfluous space before ^\ This fixes alignment in vi's 'viusage' command and has been fixed upstream and in OpenBSD. Submitted by:

svn commit: r340553 - stable/12/libexec/rtld-elf/amd64

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Sun Nov 18 09:54:03 2018 New Revision: 340553 URL: https://svnweb.freebsd.org/changeset/base/340553 Log: MFC r339897: Remove rtld use of libc amd64_set_fsbase(). Modified: stable/12/libexec/rtld-elf/amd64/reloc.c Directory Properties: stable/12/ (props changed)

svn commit: r340570 - stable/12/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:09:26 2018 New Revision: 340570 URL: https://svnweb.freebsd.org/changeset/base/340570 Log: MFC r340067: pfsync: Ensure uninit is done before pf pfsync touches pf memory (for pf_state and the pfsync callback pointers), not the other way around. We need

svn commit: r340571 - stable/11/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 12:09:27 2018 New Revision: 340571 URL: https://svnweb.freebsd.org/changeset/base/340571 Log: MFC r340067: pfsync: Ensure uninit is done before pf pfsync touches pf memory (for pf_state and the pfsync callback pointers), not the other way around. We need

svn commit: r340578 - stable/11/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 13:03:48 2018 New Revision: 340578 URL: https://svnweb.freebsd.org/changeset/base/340578 Log: MFC r340072: pfsync: Add missing unlock If we fail to set up the multicast entry for pfsync and return an error we must release the pfsync lock first.

svn commit: r340579 - stable/12/sys/netpfil/pf

2018-11-18 Thread Kristof Provost
Author: kp Date: Sun Nov 18 13:03:49 2018 New Revision: 340579 URL: https://svnweb.freebsd.org/changeset/base/340579 Log: MFC r340072: pfsync: Add missing unlock If we fail to set up the multicast entry for pfsync and return an error we must release the pfsync lock first.

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

2018-11-18 Thread Allan Jude
On 2018-11-15 11:02, Warner Losh wrote: > Author: imp > Date: Thu Nov 15 16:02:13 2018 > New Revision: 340450 > URL: https://svnweb.freebsd.org/changeset/base/340450 > > Log: > When converting ns,us,ms to sbt, return the ceil() of the result > rather than the floor(). Returning the floor

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Matthew Macy
Correct. This is just the generic case. We just need to define the __io macros as __compiler_membar in x86/io.h Cheers. -M On Sun, Nov 18, 2018 at 13:08 Tijl Coosemans wrote: > On Sun, 18 Nov 2018 12:10:25 -0800 Matthew Macy > wrote: > >> Note that these functions are normally used on

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Matthew Macy
> Note that these functions are normally used on uncacheable memory which > is strongly ordered on x86. There should be no reordering at all. On > PowerPC barrier instructions are needed to prevent reordering. Correct. The current lkpi implementation also assumes that device endian == host

svn commit: r340587 - head

2018-11-18 Thread Alex Richardson
Author: arichardson Date: Sun Nov 18 19:55:03 2018 New Revision: 340587 URL: https://svnweb.freebsd.org/changeset/base/340587 Log: Fix -DNO_CLEAN amd64 build after r340463 Without this change I got the following error: clang-7: error: no such file or directory:

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Tijl Coosemans
On Sun, 18 Nov 2018 12:10:25 -0800 Matthew Macy wrote: >> Note that these functions are normally used on uncacheable memory which >> is strongly ordered on x86. There should be no reordering at all. On >> PowerPC barrier instructions are needed to prevent reordering. > > Correct. The current

Re: svn commit: r339618 - head/sys/compat/linuxkpi/common/include/linux

2018-11-18 Thread Matthew Macy
> > > > PowerPC barrier instructions are needed to prevent reordering. > > > > Correct. The current lkpi implementation also assumes that device > > endian == host endian. The Linux generic accessors will do use endian > > macros to byte swap where necessary. > > Yes, these functions are used to

svn commit: r340590 - stable/12/sys/fs/nfsclient

2018-11-18 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 19 00:49:08 2018 New Revision: 340590 URL: https://svnweb.freebsd.org/changeset/base/340590 Log: MFC: r33 Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the

svn commit: r340589 - stable/10/sys/fs/nfsclient

2018-11-18 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 18 23:48:15 2018 New Revision: 340589 URL: https://svnweb.freebsd.org/changeset/base/340589 Log: MFC: r33 Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the

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

2018-11-18 Thread Warner Losh
I don't see how this could possibly have changed things. The changes will change the least significant bit by one for fractional results. I've looked at all the functions that use it and get called by the mlx driver and have trouble seeing where it could be relevant... Can you do an experiment to

svn commit: r340591 - in head/sys: kern sys

2018-11-18 Thread Kevin Bowling
Author: kbowling (ports committer) Date: Mon Nov 19 00:54:31 2018 New Revision: 340591 URL: https://svnweb.freebsd.org/changeset/base/340591 Log: Retire sbsndptr() KPI As of r340465 all consumers use sbsndptr_adv and sbsndptr_noadv Reviewed by: gallatin Approved by: krion (mentor)

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

2018-11-18 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > I don't see how this could possibly have changed things. The changes will > change the least significant bit by one for fractional results. I've looked > at all the functions that use it and get called by the mlx driver and have > trouble seeing where

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

2018-11-18 Thread Warner Losh
On Sun, Nov 18, 2018 at 6:04 PM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > [ Charset UTF-8 unsupported, converting... ] > > I don't see how this could possibly have changed things. The changes will > > change the least significant bit by one for fractional results. I've > looked

svn commit: r340592 - in head: lib/libbe sbin/bectl

2018-11-18 Thread Kyle Evans
Author: kevans Date: Mon Nov 19 02:12:08 2018 New Revision: 340592 URL: https://svnweb.freebsd.org/changeset/base/340592 Log: bectl(3)/libbe(3): Allow BE root to be specified Add an undocumented -r option preceding the bectl subcommand to specify a BE root to operate out of. This will

svn commit: r340593 - head/lib/libbe

2018-11-18 Thread Kyle Evans
Author: kevans Date: Mon Nov 19 02:16:20 2018 New Revision: 340593 URL: https://svnweb.freebsd.org/changeset/base/340593 Log: libbe(3): Properly account for altroot when creating new BEs Previously we would blindly copy the 'mountpoint' property, which includes the altroot. The altroot

svn commit: r340594 - in head: etc/mtree sbin/bectl sbin/bectl/tests

2018-11-18 Thread Kyle Evans
Author: kevans Date: Mon Nov 19 02:30:12 2018 New Revision: 340594 URL: https://svnweb.freebsd.org/changeset/base/340594 Log: bectl(8): Add some regression tests These tests operate on a file-backed zpool that gets created in the kyua temp dir. root and ZFS support are both required for

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

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 02:38:02 2018 New Revision: 340595 URL: https://svnweb.freebsd.org/changeset/base/340595 Log: pci_host_generic: remove unneeded ThunderX2 quirk The current quirk implementation writes a fixed address to the PCI BAR to fix a firmware bug. The PCI BARs are

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

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 02:43:34 2018 New Revision: 340596 URL: https://svnweb.freebsd.org/changeset/base/340596 Log: pci_host_generic: allocate resources against devices Fix up pci_host_generic.c and pci_host_generic_fdt.c to allocate resources against devices that requested

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

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 02:55:18 2018 New Revision: 340597 URL: https://svnweb.freebsd.org/changeset/base/340597 Log: pci_host_generic*: basic implementation of bus range Both ACPI and FDT support bus ranges for pci host bridges. Update pci_host_generic*.[ch] with a default

svn commit: r340598 - in head/sys: arm/arm dev/acpica

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 03:02:47 2018 New Revision: 340598 URL: https://svnweb.freebsd.org/changeset/base/340598 Log: acpica: rework INTRNG interrupts On arm64 (where INTRNG is enabled), the interrupts have to be mapped with ACPI_BUS_MAP_INTR() before adding them as resources

svn commit: r340599 - in head/sys/dev: acpica pci

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 03:16:16 2018 New Revision: 340599 URL: https://svnweb.freebsd.org/changeset/base/340599 Log: acpica, pci_host_generic_acpi: redo pci_host_generic_acpi.c This is a major update for pci_host_generic_acpi.c, the current implementation has some gaps that

svn commit: r340600 - in head/sys/dev: acpica pci

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 03:34:15 2018 New Revision: 340600 URL: https://svnweb.freebsd.org/changeset/base/340600 Log: pci_host_generic, acpi_resource: drop unneeded code Now that we are handling PCI resources in pci_host_generic_acpi.c, we don't need these change (made by

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

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 03:43:10 2018 New Revision: 340601 URL: https://svnweb.freebsd.org/changeset/base/340601 Log: pci_host_generic : move activate/release to generic code Now that the ACPI and FDT implementations for activating and deactivating resources are the same, we

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

2018-11-18 Thread Jayachandran C.
Author: jchandra Date: Mon Nov 19 03:52:56 2018 New Revision: 340602 URL: https://svnweb.freebsd.org/changeset/base/340602 Log: gitv3_its: fixes for multiple GIC ITS blocks First pass of support for multiple GIC ITS blocks with ACPI. Changes are to: * register the correct subset of

svn commit: r340603 - stable/12/sys/kern

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Mon Nov 19 05:40:37 2018 New Revision: 340603 URL: https://svnweb.freebsd.org/changeset/base/340603 Log: MFC r340364: Allow set ether/vlan PCP operation from the VNET jails. Modified: stable/12/sys/kern/kern_jail.c Directory Properties: stable/12/ (props changed)

svn commit: r340604 - in stable/12/sys: amd64/amd64 x86/include x86/x86

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Mon Nov 19 05:42:00 2018 New Revision: 340604 URL: https://svnweb.freebsd.org/changeset/base/340604 Log: MFC r340384: Apply fix to un-cripple max cpu id on BSP earlier. Modified: stable/12/sys/amd64/amd64/machdep.c stable/12/sys/x86/include/x86_var.h

svn commit: r340605 - in stable/12/sys: amd64/vmm/intel x86/include x86/x86

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Mon Nov 19 05:43:41 2018 New Revision: 340605 URL: https://svnweb.freebsd.org/changeset/base/340605 Log: MFC r340487: Align IA32_ARCH_CAP MSR definitions and use with SDM rev. 068. Modified: stable/12/sys/amd64/vmm/intel/vmx.c stable/12/sys/x86/include/specialreg.h

svn commit: r340606 - stable/12/sys/amd64/amd64

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Mon Nov 19 05:45:47 2018 New Revision: 340606 URL: https://svnweb.freebsd.org/changeset/base/340606 Log: MFC r339895: amd64: Use ifuncs to select suitable implementation of set_pcb_flags(). Modified: stable/12/sys/amd64/amd64/machdep.c Directory Properties: stable/12/

svn commit: r340607 - stable/12/lib/libc

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Mon Nov 19 05:47:31 2018 New Revision: 340607 URL: https://svnweb.freebsd.org/changeset/base/340607 Log: MFC r340383: Create namespace for the symbols added during 13-CURRENT cycle. Modified: stable/12/lib/libc/Versions.def Directory Properties: stable/12/ (props

svn commit: r340608 - stable/12/lib/libc/amd64/sys

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Mon Nov 19 05:56:46 2018 New Revision: 340608 URL: https://svnweb.freebsd.org/changeset/base/340608 Log: MFC r339898: Convert amd64_get/set_fs/gsbase to ifunc. Deleted: stable/12/lib/libc/amd64/sys/amd64_detect_rdfsgsbase.c

svn commit: r340609 - in stable/11/sys: amd64/vmm/intel x86/include x86/x86

2018-11-18 Thread Konstantin Belousov
Author: kib Date: Mon Nov 19 06:07:17 2018 New Revision: 340609 URL: https://svnweb.freebsd.org/changeset/base/340609 Log: MFC r340487: Align IA32_ARCH_CAP MSR definitions and use with SDM rev. 068. Modified: stable/11/sys/amd64/vmm/intel/vmx.c stable/11/sys/x86/include/specialreg.h

svn commit: r340610 - stable/12/libexec/rc

2018-11-18 Thread Eugene Grosbein
Author: eugen Date: Mon Nov 19 06:33:38 2018 New Revision: 340610 URL: https://svnweb.freebsd.org/changeset/base/340610 Log: MFC r339465: rc.initdiskless: add support for auxiliary NVRAM. Currently, rc.inidiskless assumes that local system configuration changes are kept in some

svn commit: r340611 - stable/11/etc

2018-11-18 Thread Eugene Grosbein
Author: eugen Date: Mon Nov 19 06:37:38 2018 New Revision: 340611 URL: https://svnweb.freebsd.org/changeset/base/340611 Log: MFC r339465: rc.initdiskless: add support for auxiliary NVRAM. Currently, rc.inidiskless assumes that local system configuration changes are kept in some

svn commit: r340612 - stable/10/etc

2018-11-18 Thread Eugene Grosbein
Author: eugen Date: Mon Nov 19 06:39:00 2018 New Revision: 340612 URL: https://svnweb.freebsd.org/changeset/base/340612 Log: MFC r339465: rc.initdiskless: add support for auxiliary NVRAM. Currently, rc.inidiskless assumes that local system configuration changes are kept in some

svn commit: r340613 - head/sys/mips/mediatek

2018-11-18 Thread Stanislav Galabov
Author: sgalabov Date: Mon Nov 19 06:48:48 2018 New Revision: 340613 URL: https://svnweb.freebsd.org/changeset/base/340613 Log: Fix access to cpu_model[] in mtk_soc_set_cpu_model() There may be cases where cpu_model[] may not be 32bit aligned, so it is better to not try to access it as

svn commit: r340614 - stable/12/libexec/rc

2018-11-18 Thread Eugene Grosbein
Author: eugen Date: Mon Nov 19 06:49:30 2018 New Revision: 340614 URL: https://svnweb.freebsd.org/changeset/base/340614 Log: MFC r339472: rc.initdiskless: fix commentary grammar after r339465 Modified: stable/12/libexec/rc/rc.initdiskless Directory Properties: stable/12/ (props changed)

svn commit: r340615 - stable/11/etc

2018-11-18 Thread Eugene Grosbein
Author: eugen Date: Mon Nov 19 06:51:24 2018 New Revision: 340615 URL: https://svnweb.freebsd.org/changeset/base/340615 Log: MFC r339472: rc.initdiskless: fix commentary grammar after r339465 Modified: stable/11/etc/rc.initdiskless Directory Properties: stable/11/ (props changed)

svn commit: r340616 - stable/10/etc

2018-11-18 Thread Eugene Grosbein
Author: eugen Date: Mon Nov 19 06:52:20 2018 New Revision: 340616 URL: https://svnweb.freebsd.org/changeset/base/340616 Log: MFC r339472: rc.initdiskless: fix commentary grammar after r339465 Modified: stable/10/etc/rc.initdiskless Directory Properties: stable/10/ (props changed)

svn commit: r340617 - head/sys/netgraph

2018-11-18 Thread Eugene Grosbein
Author: eugen Date: Mon Nov 19 07:27:50 2018 New Revision: 340617 URL: https://svnweb.freebsd.org/changeset/base/340617 Log: Unbreak ng_source(4) for 64-bit platforms including amd64. Modified: head/sys/netgraph/ng_source.c Modified: head/sys/netgraph/ng_source.c

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

2018-11-18 Thread Andriy Gapon
On 19/11/2018 03:38, Warner Losh wrote: > I'll talk to Allan to see if he can test that. the bare 1 should be handled > properly because of C's promotion rules. 1ull << 32 is an unsigned long long. > What I really wanted was "~(uint32_t)0" but that construct has bit me in the > past. I think

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

2018-11-18 Thread Warner Losh
On Mon, Nov 19, 2018 at 12:31 AM Andriy Gapon wrote: > On 19/11/2018 03:38, Warner Losh wrote: > > I'll talk to Allan to see if he can test that. the bare 1 should be > handled > > properly because of C's promotion rules. 1ull << 32 is an unsigned long > long. > > What I really wanted was

svn commit: r340588 - stable/11/sys/fs/nfsclient

2018-11-18 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 18 22:59:54 2018 New Revision: 340588 URL: https://svnweb.freebsd.org/changeset/base/340588 Log: MFC: r33 Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the