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

2017-02-25 Thread Konstantin Belousov
On Sat, Feb 25, 2017 at 09:50:32AM +0200, Andriy Gapon wrote: > On 24/02/2017 20:56, Jonathan T. Looney wrote: > > Author: jtl > > Date: Fri Feb 24 18:56:00 2017 > > New Revision: 314216 > > URL: https://svnweb.freebsd.org/changeset/base/314216 > > > > Log: > > We have seen several cases recentl

Re: svn commit: r313268 - head/sys/kern [through -r313271 for atomic_fcmpset use and later: fails on PowerMac G5 "Quad Core"; -r313266 works]

2017-02-25 Thread Mark Millard
On 2017-Feb-24, at 11:46 PM, Mark Millard wrote: > On 2017-Feb-24, at 8:25 PM, Mark Millard wrote: > >> On 2017-Feb-24, at 4:23 PM, Mateusz Guzik wrote: >>> >>> On Tue, Feb 21, 2017 at 01:37:25AM -0800, Mark Millard wrote: [Back to the powerpc64 context.] On 2017-Feb-20, at 11

Re: svn commit: r314239 - head/rescue/rescue

2017-02-25 Thread Ngie Cooper (yaneurabeya)
> On Feb 24, 2017, at 23:52, Andriy Gapon wrote: > > On 25/02/2017 05:11, Ngie Cooper wrote: >> Author: ngie >> Date: Sat Feb 25 03:11:08 2017 >> New Revision: 314239 >> URL: https://svnweb.freebsd.org/changeset/base/314239 >> >> Log: >> Add shutdown/poweroff support to rescue(8) >> >> shutd

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

2017-02-25 Thread Konstantin Belousov
On Sat, Feb 25, 2017 at 02:17:23PM +1100, Bruce Evans wrote: > On Fri, 24 Feb 2017, Konstantin Belousov wrote: > > > On Thu, Feb 23, 2017 at 06:33:43AM +1100, Bruce Evans wrote: > >> On Wed, 22 Feb 2017, Konstantin Belousov wrote: > >> > >>> Log: > >>> More fixes for regression in r313898 on i386

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

2017-02-25 Thread Konstantin Belousov
Author: kib Date: Sat Feb 25 10:32:49 2017 New Revision: 314252 URL: https://svnweb.freebsd.org/changeset/base/314252 Log: Do not use ULL suffix. Cast to uint64_t where the suffix is needed, and just remove it in another place. Requested by: bde Sponsored by: The FreeBSD Foundation M

svn commit: r314253 - in head/sys: fs/nfsserver kern sys ufs/ffs

2017-02-25 Thread Konstantin Belousov
Author: kib Date: Sat Feb 25 10:38:18 2017 New Revision: 314253 URL: https://svnweb.freebsd.org/changeset/base/314253 Log: Do not leak mount references for dying threads. Thread might create a condition for delayed SU cleanup, which creates a reference to the mount point in td_su, but exi

svn commit: r314254 - head/sys/dev/usb/storage

2017-02-25 Thread Alexander Motin
Author: mav Date: Sat Feb 25 12:11:07 2017 New Revision: 314254 URL: https://svnweb.freebsd.org/changeset/base/314254 Log: Update kern_data_resid according to r312291. This now mandatory for correct operation. Modified: head/sys/dev/usb/storage/cfumass.c Modified: head/sys/dev/usb/stora

Re: svn commit: r313268 - head/sys/kern [through -r313271 for atomic_fcmpset use and later: fails on PowerMac G5 "Quad Core"; -r313266 works]

2017-02-25 Thread Mark Millard
On 2017-Feb-25, at 1:05 AM, Mark Millard wrote: > On 2017-Feb-24, at 11:46 PM, Mark Millard wrote: > >> On 2017-Feb-24, at 8:25 PM, Mark Millard wrote: >> >>> On 2017-Feb-24, at 4:23 PM, Mateusz Guzik wrote: On Tue, Feb 21, 2017 at 01:37:25AM -0800, Mark Millard wrote: > [Back

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

2017-02-25 Thread Alexander Motin
Author: mav Date: Sat Feb 25 14:20:30 2017 New Revision: 314255 URL: https://svnweb.freebsd.org/changeset/base/314255 Log: Reenable CTL_WITH_CA, optimizing it for lower memory usage. This code was disabled due to its high memory usage. But now we need this functionality for cfumass(4) fr

svn commit: r314256 - head/sys/dev/usb/storage

2017-02-25 Thread Alexander Motin
Author: mav Date: Sat Feb 25 14:24:29 2017 New Revision: 314256 URL: https://svnweb.freebsd.org/changeset/base/314256 Log: Use ctl_queue_sense() to implement sense data reporting. USB MS BBB transport does not support autosense, so we have to queue any sense data back to CTL for later fet

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

2017-02-25 Thread Alexander Motin
Author: mav Date: Sat Feb 25 14:36:24 2017 New Revision: 314257 URL: https://svnweb.freebsd.org/changeset/base/314257 Log: Add reporting SAS protocol, in case we ever have one. MFC after:2 weeks Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_frontend.c Modified: head/sys/ca

svn commit: r314267 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-02-25 Thread Josh Paetzel
Author: jpaetzel Date: Sat Feb 25 14:45:54 2017 New Revision: 314267 URL: https://svnweb.freebsd.org/changeset/base/314267 Log: MFV 314243 6676 Race between unique_insert() and unique_remove() causes ZFS fsid change illumos/illumos-gate@40510e8eba18690b9a9843b26393725eeb0f1dac https

svn commit: r314268 - head/share/man/man4

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 14:50:53 2017 New Revision: 314268 URL: https://svnweb.freebsd.org/changeset/base/314268 Log: add chromebook_platform.4 to the list of manual pages Reported by: Wolfgang Zenker Pointyhat to: avg MFC after:5 days Modified: head/share/man/man4/Makefil

svn commit: r314271 - head/sys/dev/chromebook_platform

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 15:55:46 2017 New Revision: 314271 URL: https://svnweb.freebsd.org/changeset/base/314271 Log: chromebook_platform: catch up with ig4iic -> ig4iic_pci in r310621 Reported by: Wolfgang Zenker Tested by:Wolfgang Zenker MFC after:5 days Modified: h

Re: svn commit: r314248 - head/sys/dev/pci

2017-02-25 Thread Warner Losh
On Fri, Feb 24, 2017 at 11:11 PM, Warner Losh wrote: > Author: imp > Date: Sat Feb 25 06:11:36 2017 > New Revision: 314248 > URL: https://svnweb.freebsd.org/changeset/base/314248 > > Log: > Create pcib_request_feature. > > pcib_request_feature allows drivers to request the firmware (ACPI) >

Re: svn commit: r314249 - head/sys/dev/pci

2017-02-25 Thread Warner Losh
On Fri, Feb 24, 2017 at 11:11 PM, Warner Losh wrote: > Author: imp > Date: Sat Feb 25 06:11:50 2017 > New Revision: 314249 > URL: https://svnweb.freebsd.org/changeset/base/314249 > > Log: > Rename pci_pcie_intr to pci_pcie_intr_hotplug. > > Sponsored by: Netflix Forgot to add Differential Re

Re: svn commit: r314250 - in head/sys: arm/mv arm/nvidia arm/versatile arm/xscale/i8134x arm/xscale/ixp425 dev/acpica dev/hyperv/pcib dev/ofw dev/pci dev/xen/pcifront mips/adm5120 mips/atheros mips/ca

2017-02-25 Thread Warner Losh
On Fri, Feb 24, 2017 at 11:11 PM, Warner Losh wrote: > Author: imp > Date: Sat Feb 25 06:11:59 2017 > New Revision: 314250 > URL: https://svnweb.freebsd.org/changeset/base/314250 > > Log: > Convert PCIe Hot Plug to using pci_request_feature > > Convert PCIe hot plug support over to asking the

svn commit: r314272 - head/sys/vm

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 16:39:21 2017 New Revision: 314272 URL: https://svnweb.freebsd.org/changeset/base/314272 Log: call vm_lowmem hook in uma_reclaim_worker A comment near kmem_reclaim() implies that we already did that. Calling the hook is useful, because some handlers, e.g. ARC,

svn commit: r314273 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 16:45:53 2017 New Revision: 314273 URL: https://svnweb.freebsd.org/changeset/base/314273 Log: zfs: call spa_deadman on a taskqueue thread callout(9) prohibits callout functions from sleeping. illumos mutexes are emulated using sx(9). spa_deadman() calls vdev

Re: svn commit: r314273 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-02-25 Thread Andriy Gapon
On 25/02/2017 18:45, Andriy Gapon wrote: > Author: avg > Date: Sat Feb 25 16:45:53 2017 > New Revision: 314273 > URL: https://svnweb.freebsd.org/changeset/base/314273 > > Log: > zfs: call spa_deadman on a taskqueue thread > > callout(9) prohibits callout functions from sleeping. > illumos

svn commit: r314274 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 17:03:48 2017 New Revision: 314274 URL: https://svnweb.freebsd.org/changeset/base/314274 Log: l2arc: try to fix write size calculation broken by Compressed ARC commit While there, make a change to not evict a first buffer outside the requested eviciton range.

Re: svn commit: r313268 - head/sys/kern [through -r313271 for atomic_fcmpset use and later: fails on PowerMac G5 "Quad Core"; -r313266 works]

2017-02-25 Thread Mark Millard
On 2017-Feb-25, at 5:49 AM, Mark Millard wrote: > On 2017-Feb-25, at 1:05 AM, Mark Millard wrote: > >> On 2017-Feb-24, at 11:46 PM, Mark Millard wrote: >> >>> On 2017-Feb-24, at 8:25 PM, Mark Millard wrote: >>> On 2017-Feb-24, at 4:23 PM, Mateusz Guzik wrote: > > On Tue, Feb

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

2017-02-25 Thread Bruce Evans
On Sat, 25 Feb 2017, Konstantin Belousov wrote: On Sat, Feb 25, 2017 at 02:17:23PM +1100, Bruce Evans wrote: On Fri, 24 Feb 2017, Konstantin Belousov wrote: On Thu, Feb 23, 2017 at 06:33:43AM +1100, Bruce Evans wrote: On Wed, 22 Feb 2017, Konstantin Belousov wrote: Log: More fixes for reg

svn commit: r314275 - in head/sys/boot/i386: boot2 common

2017-02-25 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Feb 25 18:14:32 2017 New Revision: 314275 URL: https://svnweb.freebsd.org/changeset/base/314275 Log: Remove unused macro from common/drv.c. When we was compering it to code from boot2 it also looks like this code is buggy and boot2 was never updated to use this c

Re: svn commit: r313268 - head/sys/kern [through -r313271 for atomic_fcmpset use and later: fails on PowerMac G5 "Quad Core"; -r313266 works]

2017-02-25 Thread Mateusz Guzik
On Sat, Feb 25, 2017 at 09:58:39AM -0800, Mark Millard wrote: > Thus the PowerMac G5 so-called "Quad Core" is back to > -r313254 without your patches. (The "Quad Core" really has > two processors, each with 2 cores.) > Thanks a lot for testing. I'll have to think what to do with it, worst case I

svn commit: r314280 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-25 Thread Josh Paetzel
Author: jpaetzel Date: Sat Feb 25 20:01:17 2017 New Revision: 314280 URL: https://svnweb.freebsd.org/changeset/base/314280 Log: MFV 314276 7570 tunable to allow zvol SCSI unmap to return on commit of txn to ZIL illumos/illumos-gate@1c9272b861cd640a8342f4407da026ed98615517 https://gi

svn commit: r314282 - in head/sys: amd64/linux32 compat/linux i386/linux

2017-02-25 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Feb 25 20:32:37 2017 New Revision: 314282 URL: https://svnweb.freebsd.org/changeset/base/314282 Log: Fix linux_fstatfs() to return proper value for f_frsize. Without it, linux df(1) binary from Xenial shows garbage. Reviewed by: dchagin MFC after:2 weeks S

svn commit: r314283 - in head/sys: cam conf modules/cam

2017-02-25 Thread Warner Losh
Author: imp Date: Sat Feb 25 22:11:10 2017 New Revision: 314283 URL: https://svnweb.freebsd.org/changeset/base/314283 Log: Move inclusion of opt_printf.h around so that we can compile all the SCSI modules outside of a sub-build from the kernel. Differential Revision: https://reviews.freeb

svn commit: r314286 - head/sys/net

2017-02-25 Thread Jonathan T. Looney
Author: jtl Date: Sun Feb 26 00:19:02 2017 New Revision: 314286 URL: https://svnweb.freebsd.org/changeset/base/314286 Log: Do some minimal work to better conform to the 802.3ad (LACP) standard. In particular, don't set the synchronized bit for the peer unless it truly appears to be synchroni

svn commit: r314287 - head/sys/dev/iwn

2017-02-25 Thread Andriy Voskoboinyk
Author: avos Date: Sun Feb 26 01:05:27 2017 New Revision: 314287 URL: https://svnweb.freebsd.org/changeset/base/314287 Log: iwn: stop all watchdogs on device shutdown. Tested with Intel 6205, STA mode. MFC after:5 days Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/

svn commit: r314288 - head/usr.bin/fortune/datfiles

2017-02-25 Thread Alfred Perlstein
Author: alfred Date: Sun Feb 26 04:41:37 2017 New Revision: 314288 URL: https://svnweb.freebsd.org/changeset/base/314288 Log: More FreeBSD tips for fortune(6) Submitted by: lme PR: 192373 Modified: head/usr.bin/fortune/datfiles/freebsd-tips Modified: head/usr.bin/fortune/datfiles/free

svn commit: r314289 - head/usr.bin/fortune/datfiles

2017-02-25 Thread Alfred Perlstein
Author: alfred Date: Sun Feb 26 06:05:29 2017 New Revision: 314289 URL: https://svnweb.freebsd.org/changeset/base/314289 Log: spelling fix Submitted by: adamw Modified: head/usr.bin/fortune/datfiles/freebsd-tips Modified: head/usr.bin/fortune/datfiles/freebsd-tips ==

svn commit: r314290 - head/sys/dev/usb/storage

2017-02-25 Thread Alexander Motin
Author: mav Date: Sun Feb 26 06:25:55 2017 New Revision: 314290 URL: https://svnweb.freebsd.org/changeset/base/314290 Log: Implement use of multiple transfers per I/O. This change removes limitation of single S/G list entry and limitation on maximal I/O size, using multiple data transfers

Re: svn commit: r314250 - in head/sys: arm/mv arm/nvidia arm/versatile arm/xscale/i8134x arm/xscale/ixp425 dev/acpica dev/hyperv/pcib dev/ofw dev/pci dev/xen/pcifront mips/adm5120 mips/atheros mips/ca

2017-02-25 Thread John Baldwin
On Saturday, February 25, 2017 06:11:59 AM Warner Losh wrote: > Author: imp > Date: Sat Feb 25 06:11:59 2017 > New Revision: 314250 > URL: https://svnweb.freebsd.org/changeset/base/314250 > > Log: > Convert PCIe Hot Plug to using pci_request_feature > > Convert PCIe hot plug support over to

Re: svn commit: r314250 - in head/sys: arm/mv arm/nvidia arm/versatile arm/xscale/i8134x arm/xscale/ixp425 dev/acpica dev/hyperv/pcib dev/ofw dev/pci dev/xen/pcifront mips/adm5120 mips/atheros mips/ca

2017-02-25 Thread Warner Losh
On Sat, Feb 25, 2017 at 11:28 PM, John Baldwin wrote: > On Saturday, February 25, 2017 06:11:59 AM Warner Losh wrote: >> Author: imp >> Date: Sat Feb 25 06:11:59 2017 >> New Revision: 314250 >> URL: https://svnweb.freebsd.org/changeset/base/314250 >> >> Log: >> Convert PCIe Hot Plug to using pci