Re: svn commit: r344569 - in head/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2019-02-26 Thread Andriy Gapon
be sys directory in tank/freebsd/src. I guess that this is a kind of problem that could be introduced with parallel mounting. And I guess that this is a kind of problem that you might actually have. But it's just a guess. -- Andriy Gapon ___ sv

svn commit: r344361 - head/cddl/contrib/opensolaris/cmd/zpool

2019-02-20 Thread Andriy Gapon
Author: avg Date: Wed Feb 20 13:37:27 2019 New Revision: 344361 URL: https://svnweb.freebsd.org/changeset/base/344361 Log: zpool.8: sort zpool status flags in the same order as in illumos manual Just in case, while I was here. MFC after:1 week Modified:

svn commit: r344360 - head/cddl/contrib/opensolaris/cmd/zpool

2019-02-20 Thread Andriy Gapon
Author: avg Date: Wed Feb 20 13:34:16 2019 New Revision: 344360 URL: https://svnweb.freebsd.org/changeset/base/344360 Log: zpool.8: document -D flag for zpool status The description is taken from the illumos manual. Reported by: stil...@gmail.com MFC after:1 week Modified:

svn commit: r344359 - head/cddl/contrib/opensolaris/lib/libzpool/common

2019-02-20 Thread Andriy Gapon
Author: avg Date: Wed Feb 20 13:19:08 2019 New Revision: 344359 URL: https://svnweb.freebsd.org/changeset/base/344359 Log: fix userland illumos taskq code to pass relative timeout to cv_timedwait Unlike illumos, FreeBSD cv_timedwait requires a relative timeout. That applies both to the

Re: svn commit: r343113 - head/contrib/libc++/include

2019-01-17 Thread Andriy Gapon
On 17/01/2019 17:35, Kirk McKusick wrote: > -#ifdef ELAST > +#if defined(ELAST) I think that these are exactly the same, so not sure what the change does. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/m

Re: svn commit: r343026 - in head: lib/libmemstat sys/vm

2019-01-14 Thread Andriy Gapon
should be > controlled > by the caller. I would make this a separate commit before the main change. But no troubles. Thank you for the change! -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listin

svn commit: r342541 - in head: cddl/contrib/opensolaris/cmd/zpool sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/sys/fs

2018-12-26 Thread Andriy Gapon
Author: avg Date: Wed Dec 26 11:03:14 2018 New Revision: 342541 URL: https://svnweb.freebsd.org/changeset/base/342541 Log: MFV r342532: 5882 Temporary pool names Note that this commit brings only formatting changes that were done during the final review of the illumos change, because

svn commit: r342525 - in head: cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-12-26 Thread Andriy Gapon
Author: avg Date: Wed Dec 26 10:37:41 2018 New Revision: 342525 URL: https://svnweb.freebsd.org/changeset/base/342525 Log: MFV r342469: 9630 add lzc_rename and lzc_destroy to libzfs_core illumos/illumos-gate@049ba636fa37a2892809192fc671bff9158a01cd

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

2018-12-18 Thread Andriy Gapon
Author: avg Date: Tue Dec 18 21:43:33 2018 New Revision: 342204 URL: https://svnweb.freebsd.org/changeset/base/342204 Log: cyapa.4, isl.4: cross-reference and document use of chromebook_platform(4) PR: 218632 Reported by: Denis Kozadaev MFC after:1 week Modified:

svn commit: r342193 - head/sys/dev/ichwd

2018-12-18 Thread Andriy Gapon
Author: avg Date: Tue Dec 18 17:17:53 2018 New Revision: 342193 URL: https://svnweb.freebsd.org/changeset/base/342193 Log: ichwd: add a few assertions about tco_version Those should ensure correctness of ichwd_find_ich_lpc_bridge() and ichwd_find_ich_lpc_bridge() as well as make it

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

2018-12-17 Thread Andriy Gapon
Author: avg Date: Mon Dec 17 21:33:25 2018 New Revision: 342179 URL: https://svnweb.freebsd.org/changeset/base/342179 Log: fix formatting and style in ig4iic_acpi_probe afetr r339754 This includes removing stray whitespace, adding a line after the variable declaration block and removing

svn commit: r342170 - in head/sys: dev/pci kern sys x86/x86

2018-12-17 Thread Andriy Gapon
Author: avg Date: Mon Dec 17 17:11:00 2018 New Revision: 342170 URL: https://svnweb.freebsd.org/changeset/base/342170 Log: add support for marking interrupt handlers as suspended The goal of this change is to fix a problem with PCI shared interrupts during suspend and resume. I have

svn commit: r342169 - head/sys/cam/scsi

2018-12-17 Thread Andriy Gapon
Author: avg Date: Mon Dec 17 16:01:37 2018 New Revision: 342169 URL: https://svnweb.freebsd.org/changeset/base/342169 Log: add a knob that disables detection of write protected disks It has been reported that on some systems (with real hardware passed through to a virtual machine) the WP

svn commit: r342073 - head/sys/dev/ichwd

2018-12-14 Thread Andriy Gapon
Author: avg Date: Fri Dec 14 09:30:43 2018 New Revision: 342073 URL: https://svnweb.freebsd.org/changeset/base/342073 Log: ichwd: add Sunrise Point-LP ID Submitted by: Tetsuya Uemura Tested by:Tetsuya Uemura MFC after:2 weeks Relnotes: maybe Modified:

svn commit: r342072 - head/sys/dev/ichwd

2018-12-14 Thread Andriy Gapon
Author: avg Date: Fri Dec 14 09:28:20 2018 New Revision: 342072 URL: https://svnweb.freebsd.org/changeset/base/342072 Log: ichwd: add support for clearing No Reboot bit in TCOv4 This is based on a patch developed by Tetsuya Uemura . Many thanks! Submitted by: Tetsuya Uemura

Re: svn commit: r341681 - head/sys/cam/scsi

2018-12-07 Thread Andriy Gapon
On 07/12/2018 18:33, Warner Losh wrote: > > > On Fri, Dec 7, 2018 at 5:02 AM Andriy Gapon <mailto:a...@freebsd.org>> wrote: > > Author: avg > Date: Fri Dec  7 12:02:31 2018 > New Revision: 341681 > URL: https://svnweb.freebsd.org/c

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

2018-12-07 Thread Andriy Gapon
Author: avg Date: Fri Dec 7 16:05:39 2018 New Revision: 341696 URL: https://svnweb.freebsd.org/changeset/base/341696 Log: acpi_MatchHid: use ACPI_MATCHHID_NOMATCH instead of FALSE Binary representation of both is the same (zero), but ACPI_MATCHHID_NOMATCH is better for consistency.

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

2018-12-07 Thread Andriy Gapon
Author: avg Date: Fri Dec 7 16:01:51 2018 New Revision: 341695 URL: https://svnweb.freebsd.org/changeset/base/341695 Log: aibs: fix a typo in the probe method that was introduced in r339754 Because of that typo the driver would try to attach to every device on acpi bus. That disrupted

svn commit: r341681 - head/sys/cam/scsi

2018-12-07 Thread Andriy Gapon
Author: avg Date: Fri Dec 7 12:02:31 2018 New Revision: 341681 URL: https://svnweb.freebsd.org/changeset/base/341681 Log: daprobedone: announce if a disk is write-protected MFC after:2 weeks Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c

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

2018-12-06 Thread Andriy Gapon
Author: avg Date: Thu Dec 6 12:34:34 2018 New Revision: 341632 URL: https://svnweb.freebsd.org/changeset/base/341632 Log: acpi_{Device,Battery}IsPresent: restore pre-r330957 behaviour Specifically, assume that the device is present if evaluation of _STA method fails. Before r330957

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

2018-11-18 Thread Andriy Gapon
in the > past. I think that you could just do (unsigned int)-1 or UINT_MAX. As a side note, I wonder if those functions are ever used on negative values, given the type of the argument, and if anyone checked their correctness in that case. -- Andriy Gapon

Re: svn commit: r340055 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/ext2fs sys/fs/fuse sys/fs/nandfs sys/fs/nfs sys/fs/nfsclient sys/fs/tmpfs sys/kern sys/sys sys/u

2018-11-02 Thread Andriy Gapon
Reviewed by:kib (prior version) > Obtained from: CheriBSD > Sponsored by: DARPA, AFRL > Differential Revision: https://reviews.freebsd.org/D17805 > > Modified: > head/share/man/man9/VOP_CREATE.9 > head/sy

Re: svn commit: r339917 - head/sys/kern

2018-10-30 Thread Andriy Gapon
code and code hat services it should be written specifically to avoid taking locks used by general code. I am not sure if that approach had any practical benefits, just sharing the memory. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://li

svn commit: r339595 - head/sys/fs/nfsserver

2018-10-22 Thread Andriy Gapon
Author: avg Date: Mon Oct 22 15:33:05 2018 New Revision: 339595 URL: https://svnweb.freebsd.org/changeset/base/339595 Log: nfsrvd_readdirplus: for some errors, do not fail the entire request Instead, a failing entry is skipped. This change consist of two logical changes. A failure

svn commit: r339591 - head/sys/dev/ichwd

2018-10-22 Thread Andriy Gapon
Author: avg Date: Mon Oct 22 14:44:44 2018 New Revision: 339591 URL: https://svnweb.freebsd.org/changeset/base/339591 Log: ichwd: add support for TCO watchdog timer in Lewisburg PCH (C620) The change is based on public documents listed below as well as Linux changes and the code

Re: svn commit: r338214 - in head/sys: conf kern sys

2018-08-23 Thread Andriy Gapon
rogram > invariants. > > Reviewed by:jhb, jtl, np, vangyzen > Relnotes: yes > Sponsored by: Dell EMC Isilon > Differential Revision: https://reviews.freebsd.org/D16835 -- Andriy Gapon ___ svn-src-hea

Re: svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sys/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_srcs sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/d

2018-08-22 Thread Andriy Gapon
cts with the ports' version and there > is no upstream for most if not all of drm. Both have been merged in to > a single port. ... > Approved by: core@ I am curious if this "panic: implment me" has been addressed? https://lists.freebsd.org/pipermail/freebsd-c

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

2018-08-14 Thread Andriy Gapon
resolved (to a proper optimized version) it pointed to a default implementation that is sufficiently naive and robust that it can work on all CPUs? But I don't know much about ifunc implementation, so no idea if it can work like that. -- Andriy Gapon __

svn commit: r337528 - in head: share/man/man4 sys/ddb

2018-08-09 Thread Andriy Gapon
Author: avg Date: Thu Aug 9 11:21:31 2018 New Revision: 337528 URL: https://svnweb.freebsd.org/changeset/base/337528 Log: add an option for ddb ps command to print process arguments We use ps to collect the information of all processes in textdump. But it doesn't contain process

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

2018-08-03 Thread Andriy Gapon
Author: avg Date: Fri Aug 3 14:27:28 2018 New Revision: 337255 URL: https://svnweb.freebsd.org/changeset/base/337255 Log: safer wait-free iteration of shared interrupt handlers The code that iterates a list of interrupt handlers for a (shared) interrupt, whether in the ISR context or in

svn commit: r337123 - head/sys/kern

2018-08-02 Thread Andriy Gapon
Author: avg Date: Thu Aug 2 09:41:55 2018 New Revision: 337123 URL: https://svnweb.freebsd.org/changeset/base/337123 Log: fix a typo resulting in a wrong variable in kern_syscall_deregister The difference is between sysent, a global, and sysents, a function parameter. Modified:

svn commit: r336641 - head/sys/security/audit

2018-07-23 Thread Andriy Gapon
Author: avg Date: Mon Jul 23 16:56:49 2018 New Revision: 336641 URL: https://svnweb.freebsd.org/changeset/base/336641 Log: fix incorrect operator in the AUDITPIPE_SET_QLIMIT bounds check PR: 229983 Submitted by: Aniket Pandey Reported by: Aniket Pandey MFC after:1

svn commit: r336639 - in head/sys: arm/arm arm/mv mips/atheros mips/atheros/ar531x mips/malta mips/mediatek mips/mips sparc64/sparc64

2018-07-23 Thread Andriy Gapon
Author: avg Date: Mon Jul 23 15:36:55 2018 New Revision: 336639 URL: https://svnweb.freebsd.org/changeset/base/336639 Log: follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers arm, mips and sparc64 were affected. Modified: head/sys/arm/arm/intr.c head/sys/arm/mv/gpio.c

Re: svn commit: r336635 - in head/sys: kern sys

2018-07-23 Thread Andriy Gapon
On 23/07/2018 15:51, Andriy Gapon wrote: > Author: avg > Date: Mon Jul 23 12:51:23 2018 > New Revision: 336635 > URL: https://svnweb.freebsd.org/changeset/base/336635 > > Log: > change interrupt event's list of handlers from TAILQ to CK_SLIST This commit broke a lot

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

2018-07-23 Thread Andriy Gapon
Author: avg Date: Mon Jul 23 12:51:23 2018 New Revision: 336635 URL: https://svnweb.freebsd.org/changeset/base/336635 Log: change interrupt event's list of handlers from TAILQ to CK_SLIST The primary reason for this commit is to separate mechanical and nearly mechanical code changes from

svn commit: r336634 - in head/sys/contrib/ck/include: . gcc/x86 gcc/x86_64

2018-07-23 Thread Andriy Gapon
Author: avg Date: Mon Jul 23 11:21:43 2018 New Revision: 336634 URL: https://svnweb.freebsd.org/changeset/base/336634 Log: MFV CK@r336629: Import CK as of commit 1c1f9901c2dea7a883342cd03d3906a1bc482583 This adds CK_SLIST_INSERT_PREVPTR and CK_SLIST_REMOVE_PREVPTR macros as well as

Re: svn commit: r336532 - in head/stand: . common i386 i386/loader i386/zfsboot i386/zfsloader sparc64 sparc64/loader sparc64/zfsloader

2018-07-20 Thread Andriy Gapon
t ability. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r336068 - in head/sys: dev/amdsmb modules/amdsmb

2018-07-07 Thread Andriy Gapon
Sat Jul 7 15:55:52 2018 > (r336068) > @@ -0,0 +1,8 @@ > +# $FreeBSD$ > + > +.PATH: ${SRCTOP}/sys/dev/amdsmb > + > +KMOD=amdsmb > +SRCS=amdsmb.c bus_if.h device_if.h pci_if.h smbus_if.h > + > +.include > -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r335934 - in head/sys: cam cam/ata cam/nvme cam/scsi dev/acpica/Osd dev/pccbb kern

2018-07-04 Thread Andriy Gapon
Author: avg Date: Wed Jul 4 09:07:18 2018 New Revision: 335934 URL: https://svnweb.freebsd.org/changeset/base/335934 Log: remove unneeded inclusion of sys/interrupt.h from several files It's likely that the header was needed in the past for swi(9). But now that code does not use swi(9)

Re: svn commit: r335632 - in head/sys: dev/vt/hw/vga x86/include x86/isa x86/x86

2018-06-25 Thread Andriy Gapon
; > #include "opt_cpu.h" > #include "opt_ddb.h" > @@ -98,6 +99,8 @@ __FBSDID("$FreeBSD$"); > > #include > > +#include > + > #define STATE_RUNNING 0x0 > #define STATE_MWAIT 0x1 > #define S

Re: svn commit: r333590 - head/share/man/man9

2018-06-25 Thread Andriy Gapon
On 25/06/2018 10:25, Ed Schouten wrote: > Hi Andriy, Matthew, > > 2018-06-24 23:36 GMT+02:00 Andriy Gapon : >> Perhaps a little application of google can help. >> [keywords: epoch based reclamation] > > Based on the man page, it wasn't clear that this refers to a gen

Re: svn commit: r333590 - head/share/man/man9

2018-06-24 Thread Andriy Gapon
y thoughts? Perhaps a little application of google can help. [keywords: epoch based reclamation] -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

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

2018-06-07 Thread Andriy Gapon
Author: avg Date: Thu Jun 7 14:46:52 2018 New Revision: 334786 URL: https://svnweb.freebsd.org/changeset/base/334786 Log: x86: reorganize code that deals with unexpected NMI-s Expected NMI-s are those than are either generated by the software (such as a CPU sending NMI to other CPU) or

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

2018-06-07 Thread Andriy Gapon
Author: avg Date: Thu Jun 7 14:23:31 2018 New Revision: 334785 URL: https://svnweb.freebsd.org/changeset/base/334785 Log: expand descriptions of x86 panic_on_nmi and kdb_on_nmi sysctls The descriptions were as terse as the variable names and they did not explain additional conditions

Re: svn commit: r334708 - head/sys/kern

2018-06-06 Thread Andriy Gapon
                    ("_vhold: vnode with holdcnt is free")); >                         return; > > > So why isn't the refcount_acquire() enough? This is the wrong "acquire", "acquire" in a sense of "get" or "increment", not in a

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

2018-06-05 Thread Andriy Gapon
did this one get flagged? > > I agree, and I tend to avoid adding "!= 0" unnecessarily, but I don't > feel very strongly about it. I am not sure what parts of code you work on, but turning bit operations into logical operations within conditions is the predominant FreeBSD

Re: svn commit: r334543 - head/usr.bin/top

2018-06-04 Thread Andriy Gapon
On 04/06/2018 00:33, Rodney W. Grimes wrote: > lsof is your friend here. That is the tool of choice for finding > cwd of processes that are in directories you can not unmount. s/lsof/fstat -f [-m]/ :-) -- Andriy Gapon ___ svn-src-head@freeb

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

2018-06-01 Thread Andriy Gapon
Author: avg Date: Fri Jun 1 09:44:23 2018 New Revision: 334479 URL: https://svnweb.freebsd.org/changeset/base/334479 Log: call AcpiLeaveSleepStatePrep after re-enabling interrupts I want to do this change because this call (actually, AcpiHwLegacyWakePrep) does a memory allocation and

svn commit: r334340 - in head/sys: dev/uart kern sys x86/acpica

2018-05-29 Thread Andriy Gapon
Author: avg Date: Tue May 29 16:16:24 2018 New Revision: 334340 URL: https://svnweb.freebsd.org/changeset/base/334340 Log: add support for console resuming, implement it for uart, use on x86 This change adds a new optional console method cn_resume and a kernel console interface cnresume.

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

2018-05-29 Thread Andriy Gapon
Author: avg Date: Tue May 29 16:03:53 2018 New Revision: 334338 URL: https://svnweb.freebsd.org/changeset/base/334338 Log: fix x86 UP build broken by r334204, TSC resynchronization Reported by: bde MFC after:1 week X-MFC with: r334204 Modified: head/sys/x86/x86/tsc.c

svn commit: r334204 - in head/sys: amd64/include dev/acpica i386/include x86/x86

2018-05-25 Thread Andriy Gapon
Author: avg Date: Fri May 25 07:33:20 2018 New Revision: 334204 URL: https://svnweb.freebsd.org/changeset/base/334204 Log: re-synchronize TSC-s on SMP systems after resume, if necessary The TSC-s are checked and synchronized only if they were good originally. That is, invariant,

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

2018-05-25 Thread Andriy Gapon
Author: avg Date: Fri May 25 07:29:52 2018 New Revision: 334203 URL: https://svnweb.freebsd.org/changeset/base/334203 Log: fix zfs_getpages crash when called from sendfile, followup to r329363 It turns out that sendfile_swapin() has an optimization where it may insert pointers to

Re: svn commit: r334197 - head/sys/kern

2018-05-25 Thread Andriy Gapon
* unlock the chain lock so a new turnstile may take it's place. > + */ > + turnstile_unpend(ts, TS_EXCLUSIVE_LOCK); > + } > turnstile_chain_unlock(>lock_object); > } > P.S. I had to re-read the commit message twice, the actual change three times and to check the calendar five times. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r334000 - head/sys/dev/usb/serial

2018-05-21 Thread Andriy Gapon
Author: avg Date: Mon May 21 21:00:13 2018 New Revision: 334000 URL: https://svnweb.freebsd.org/changeset/base/334000 Log: uchcom: reject parity and double stop bits as unsupported Reviewed by: hselasky MFC after:2 weeks Modified: head/sys/dev/usb/serial/uchcom.c Modified:

svn commit: r334002 - head/sys/dev/usb/serial

2018-05-21 Thread Andriy Gapon
Author: avg Date: Mon May 21 21:04:31 2018 New Revision: 334002 URL: https://svnweb.freebsd.org/changeset/base/334002 Log: uchcom: extend hardware support to version 0x30 This change adds support for a UBS<->RS232 adapter based on CH340 (or an analogue) that I own. The device seems to

svn commit: r334001 - head/sys/dev/usb/serial

2018-05-21 Thread Andriy Gapon
Author: avg Date: Mon May 21 21:02:10 2018 New Revision: 334001 URL: https://svnweb.freebsd.org/changeset/base/334001 Log: uchcom: remove UCHCOM_REG_BREAK2 alias of UCHCOM_REG_LCR1 Also, add definitions for more bits of UCHCOM_REG_LCR1 as seen in the Linux driver. UCHCOM_LCR1_PARENB

svn commit: r333997 - head/sys/dev/usb/serial

2018-05-21 Thread Andriy Gapon
Author: avg Date: Mon May 21 20:57:14 2018 New Revision: 333997 URL: https://svnweb.freebsd.org/changeset/base/333997 Log: uchcom: report detected product based on USB product ID Product IDs are specified in vendor documents. The previously used device ID is not. This is a cosmetic

svn commit: r333999 - head/sys/dev/usb/serial

2018-05-21 Thread Andriy Gapon
Author: avg Date: Mon May 21 20:59:15 2018 New Revision: 333999 URL: https://svnweb.freebsd.org/changeset/base/333999 Log: uchcom: add a hardware configuration tweak seen in Linux code Reviewed by: hselasky MFC after:2 weeks Modified: head/sys/dev/usb/serial/uchcom.c Modified:

svn commit: r333998 - head/sys/dev/usb/serial

2018-05-21 Thread Andriy Gapon
Author: avg Date: Mon May 21 20:58:06 2018 New Revision: 333998 URL: https://svnweb.freebsd.org/changeset/base/333998 Log: uchcom: add DPRINTF-s to aid debugging of the driver Reviewed by: hselasky MFC after:2 weeks Modified: head/sys/dev/usb/serial/uchcom.c Modified:

svn commit: r333994 - in head/sys: dev/acpica kern sys

2018-05-21 Thread Andriy Gapon
Author: avg Date: Mon May 21 20:23:04 2018 New Revision: 333994 URL: https://svnweb.freebsd.org/changeset/base/333994 Log: stop and restart kernel event timers in the suspend / resume cycle I have a system that is very unstable after resuming from suspend-to-RAM but only if HPET is used

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

2018-05-17 Thread Andriy Gapon
Author: avg Date: Thu May 17 10:16:20 2018 New Revision: 333707 URL: https://svnweb.freebsd.org/changeset/base/333707 Log: fix a problem with bad performance after wakeup caused by r21 This change reverts a "while here" part of r21 that moved clearing of suspended_cpus to an

svn commit: r333667 - in head/sys: arm/arm arm64/arm64 mips/mips

2018-05-16 Thread Andriy Gapon
Author: avg Date: Wed May 16 06:52:08 2018 New Revision: 333667 URL: https://svnweb.freebsd.org/changeset/base/333667 Log: followup to r332730/r332752: set kdb_why to "trap" for fatal traps This change updates arm, arm64 and mips achitectures. Additionally, it removes redundant checks

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

2018-05-15 Thread Andriy Gapon
Author: avg Date: Tue May 15 16:56:30 2018 New Revision: 333638 URL: https://svnweb.freebsd.org/changeset/base/333638 Log: calibrate lapic timer in native_lapic_setup The idea is to calibrate the LAPIC timer just once and only on boot, given that [at present] the timer constants are

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

2018-05-15 Thread Andriy Gapon
Author: avg Date: Tue May 15 13:27:29 2018 New Revision: 333630 URL: https://svnweb.freebsd.org/changeset/base/333630 Log: Fix 'zpool create -t ' Creating a pool with a temporary name fails when we also specify custom dataset properties: this is because we mistakenly call

Re: svn commit: r332730 - in head/sys: amd64/amd64 i386/i386 powerpc/powerpc

2018-05-14 Thread Andriy Gapon
On 05/05/2018 01:55, John Baldwin wrote: > On Wednesday, April 18, 2018 03:44:54 PM Andriy Gapon wrote: >> Author: avg >> Date: Wed Apr 18 15:44:54 2018 >> New Revision: 332730 >> URL: https://svnweb.freebsd.org/changeset/base/332730 >> >> Log: >>

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

2018-05-07 Thread Andriy Gapon
Author: avg Date: Mon May 7 12:22:25 2018 New Revision: 21 URL: https://svnweb.freebsd.org/changeset/base/21 Log: x86 cpususpend_handler: call wbinvd after setting suspend state bits Without a subsequent wbinvd the changes to suspended_cpus (and resuming_cpus) can be lost at

svn commit: r333269 - head/sys/dev/amdsbwd

2018-05-04 Thread Andriy Gapon
Author: avg Date: Sat May 5 05:22:11 2018 New Revision: 333269 URL: https://svnweb.freebsd.org/changeset/base/333269 Log: amdsbwd: fix reboot status reporting Originally, I overlooked that PMIO register 0xc0 has a dual personality. It can either be S5/Reset Status register or Misc. Fix

svn commit: r333268 - head/sys/kern

2018-05-04 Thread Andriy Gapon
Author: avg Date: Sat May 5 05:19:32 2018 New Revision: 333268 URL: https://svnweb.freebsd.org/changeset/base/333268 Log: for bus suspend, detach and shutdown iterate children in reverse order For most buses all children are equal, so the order does not matter. Other buses, such as

svn commit: r333243 - head/sys/cddl/compat/opensolaris/kern

2018-05-04 Thread Andriy Gapon
Author: avg Date: Fri May 4 07:28:01 2018 New Revision: 333243 URL: https://svnweb.freebsd.org/changeset/base/333243 Log: opensolaris system_taskq does not need to run at maximum priority In fact, this taskqueue should use "boring" threads, nothing special about them. MFC after:

svn commit: r333212 - head/sys/dev/amdsbwd

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 15:33:18 2018 New Revision: 333212 URL: https://svnweb.freebsd.org/changeset/base/333212 Log: amdsbwd: add suspend and resume methods Without the suspend method the watchdog may fire in S1 state. Without the resume method the watchdog is not re-enabled after

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

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 13:14:31 2018 New Revision: 333209 URL: https://svnweb.freebsd.org/changeset/base/333209 Log: hpet: use macros instead of magic values for the timer mode MFC after:1 week Modified: head/sys/dev/acpica/acpi_hpet.c Modified:

svn commit: r332918 - in head/sys: dev/acpica x86/acpica

2018-04-24 Thread Andriy Gapon
Author: avg Date: Tue Apr 24 09:42:58 2018 New Revision: 332918 URL: https://svnweb.freebsd.org/changeset/base/332918 Log: add a new ACPI suspend debugging knob, debug.acpi.suspend_deep_bounce This sysctl allows a deeper dive into the sleep abyss comparing to debug.acpi.suspend_bounce.

svn commit: r332816 - head/sys/kern

2018-04-20 Thread Andriy Gapon
Author: avg Date: Fri Apr 20 13:08:04 2018 New Revision: 332816 URL: https://svnweb.freebsd.org/changeset/base/332816 Log: call racct_proc_ucred_changed() under the proc lock The lock is required to ensure that the switch to the new credentials and the transfer of the process's

svn commit: r332752 - in head/sys: amd64/amd64 i386/i386 powerpc/powerpc sys

2018-04-18 Thread Andriy Gapon
Author: avg Date: Thu Apr 19 05:06:56 2018 New Revision: 332752 URL: https://svnweb.freebsd.org/changeset/base/332752 Log: set kdb_why to "trap" when calling kdb_trap from trap_fatal This will allow to hook a ddb script to "kdb.enter.trap" event. Previously there was no specific name for

svn commit: r332730 - in head/sys: amd64/amd64 i386/i386 powerpc/powerpc

2018-04-18 Thread Andriy Gapon
Author: avg Date: Wed Apr 18 15:44:54 2018 New Revision: 332730 URL: https://svnweb.freebsd.org/changeset/base/332730 Log: don't check for kdb reentry in trap_fatal(), it's impossible trap() checks for it earlier and calls kdb_reentry(). Discussed with: jhb MFC after:12

Re: svn commit: r332559 - head/usr.sbin/mountd

2018-04-16 Thread Andriy Gapon
On 16/04/2018 13:56, Konstantin Belousov wrote: > On Mon, Apr 16, 2018 at 09:17:36AM +0000, Andriy Gapon wrote: >> Author: avg >> Date: Mon Apr 16 09:17:36 2018 >> New Revision: 332559 >> URL: https://svnweb.freebsd.org/changeset/base/332559 >> >> Log: >

svn commit: r332559 - head/usr.sbin/mountd

2018-04-16 Thread Andriy Gapon
Author: avg Date: Mon Apr 16 09:17:36 2018 New Revision: 332559 URL: https://svnweb.freebsd.org/changeset/base/332559 Log: mountd: fix a crash when getgrouplist reports too many groups Previously the code only warned about the condition and then happily proceeded to use the too large

svn commit: r332426 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs s...

2018-04-12 Thread Andriy Gapon
Author: avg Date: Thu Apr 12 10:37:26 2018 New Revision: 332426 URL: https://svnweb.freebsd.org/changeset/base/332426 Log: allow ZFS pool to have temporary name for duration of current import The change adds -t option to zpool create and -t option to zpool import in its form with an old

Re: svn commit: r331701 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/openso

2018-04-05 Thread Andriy Gapon
eBSD. This commit restored it. I am actually indifferent about having it. Just pointing out this possibly unintended change. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r331931 - in head/sys: amd64/amd64 i386/i386 x86/x86

2018-04-03 Thread Andriy Gapon
Author: avg Date: Tue Apr 3 17:16:06 2018 New Revision: 331931 URL: https://svnweb.freebsd.org/changeset/base/331931 Log: fix i386 build with CPU_ELAN (LINT for instance) after r331878 x86/cpu_machdep.c now needs to include elan_mmcr.h when CPU_ELAN is set. While here, also remove the

Re: svn commit: r327056 - in head/sys: kern sys x86/acpica x86/x86

2018-04-03 Thread Andriy Gapon
On 02/04/2018 18:28, Bruce Evans wrote: > On Mon, 2 Apr 2018, Andriy Gapon wrote: > >> On 21/12/2017 11:17, Bruce Evans wrote: >>> Author: bde >>> Date: Thu Dec 21 09:17:48 2017 >>> New Revision: 327056 >>> URL: https://svnweb.freebsd.org/changese

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

2018-04-03 Thread Andriy Gapon
Author: avg Date: Tue Apr 3 06:46:26 2018 New Revision: 331908 URL: https://svnweb.freebsd.org/changeset/base/331908 Log: fix signatures of cpu_reset_real and cpu_reset_proxy, broken in r331878 When I moved these functions from i386 and amd64 to x86 I dropped their prototype

svn commit: r331878 - in head/sys: amd64/amd64 i386/i386 x86/x86

2018-04-02 Thread Andriy Gapon
Author: avg Date: Mon Apr 2 13:45:23 2018 New Revision: 331878 URL: https://svnweb.freebsd.org/changeset/base/331878 Log: unify amd64 and i386 cpu_reset() in x86/cpu_machdep.c Because I didn't see any reason not too. I've been making some changes to the code and couldn't help but notice

Re: svn commit: r327056 - in head/sys: kern sys x86/acpica x86/x86

2018-04-02 Thread Andriy Gapon
to the restarted state, while ACPI resume goes through the resuming state. > Enter the resuming state early for all cases so that resume_cpus can test > for being in this state and not have to worry about the intermediate > !suspended state for ACPI only. -- Andriy Gapon ___

svn commit: r331875 - in head/sys: amd64/amd64 i386/i386

2018-04-02 Thread Andriy Gapon
Author: avg Date: Mon Apr 2 08:06:18 2018 New Revision: 331875 URL: https://svnweb.freebsd.org/changeset/base/331875 Log: x86 cpu_reset: if failed to switch to BSP proceed to cpu_reset_real If cpu_reset() is called on an AP and if it somehow fails to wake the BSP, then it's better to

svn commit: r331874 - in head/sys: amd64/amd64 i386/i386

2018-04-02 Thread Andriy Gapon
Author: avg Date: Mon Apr 2 07:45:13 2018 New Revision: 331874 URL: https://svnweb.freebsd.org/changeset/base/331874 Log: x86 cpu_reset_proxy: no need to stop_cpus() the original processor The processor is "parked" in a spin-loop already and that's sufficient for the reset. There is

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

2018-03-30 Thread Andriy Gapon
Author: avg Date: Fri Mar 30 11:25:30 2018 New Revision: 331761 URL: https://svnweb.freebsd.org/changeset/base/331761 Log: align i386 cpu_reset() with amd64 version Maybe this code could be moved to x86. MFC after:1 week Modified: head/sys/i386/i386/vm_machdep.c Modified:

svn commit: r331666 - in head/sys: cddl/contrib/opensolaris/uts/common/fs kern sys

2018-03-28 Thread Andriy Gapon
Author: avg Date: Wed Mar 28 08:55:31 2018 New Revision: 331666 URL: https://svnweb.freebsd.org/changeset/base/331666 Log: ZFS vn_rele_async: catch up with the use of refcount(9) for the vnode use count It's not sufficient nor required to use the vnode interlock when checking if we are

svn commit: r331616 - in head: sbin/mount sys/kern

2018-03-27 Thread Andriy Gapon
Author: avg Date: Tue Mar 27 14:31:42 2018 New Revision: 331616 URL: https://svnweb.freebsd.org/changeset/base/331616 Log: vfs_donmount: in certain cases try r/o mount if r/w mount fails If the operation is not an update, if neither r/w nor r/o mode is explicitly requested, if the error

svn commit: r331613 - in head/tests/sys/cddl/zfs: bin include tests/cli_root/zpool_add tests/delegate tests/devices tests/hotspare tests/interop tests/largest_pool tests/slog tests/utils_test tests...

2018-03-27 Thread Andriy Gapon
Author: avg Date: Tue Mar 27 11:49:15 2018 New Revision: 331613 URL: https://svnweb.freebsd.org/changeset/base/331613 Log: ZFS test suite: fix uses of illumos /dev/[r]dsk/ and /dev/zvol/[r]dsk/ Modified: head/tests/sys/cddl/zfs/bin/devname2devid.c head/tests/sys/cddl/zfs/bin/zpool_bsd.ksh

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

2018-03-23 Thread Andriy Gapon
Author: avg Date: Fri Mar 23 09:42:47 2018 New Revision: 331420 URL: https://svnweb.freebsd.org/changeset/base/331420 Log: zfs: fix mismatch between format specifier and type vdev_dbgmsg_print_tree printed vdev_id of uint64_t type with %u format specifier. That caused subsequent

Re: svn commit: r331347 - in head: etc/mtree include sys/conf sys/dev/tcp_log sys/kern sys/netinet usr.bin/netstat

2018-03-22 Thread Andriy Gapon
ern declaration of 'atomic_fetchadd_64' [-Wnested-externs] -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r331209 - head

2018-03-19 Thread Andriy Gapon
llation steps of doing > 'make installkernel' and rebooting before doing a 'make installworld'? Installation of /boot/loader along with likes of cat and cut has always puzzled me very much. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https:

Re: svn commit: r331006 - head/share/termcap

2018-03-15 Thread Andriy Gapon
On 15/03/2018 17:13, Baptiste Daroussin wrote: > Add termcap entries for the st terminal (https://st.sucksless.org) Just in case anyone else got curious, the correct URL is https://st.suckless.org -- Andriy Gapon ___ svn-src-head@freebsd.org mail

svn commit: r331004 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_history

2018-03-15 Thread Andriy Gapon
Author: avg Date: Thu Mar 15 14:47:53 2018 New Revision: 331004 URL: https://svnweb.freebsd.org/changeset/base/331004 Log: zfs test suite: move definition of DISK to the cfg file in zpool_get The variable is used not only by the setup script but also by the atf test bodies. Another

svn commit: r331003 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_get

2018-03-15 Thread Andriy Gapon
Author: avg Date: Thu Mar 15 14:41:09 2018 New Revision: 331003 URL: https://svnweb.freebsd.org/changeset/base/331003 Log: zfs test suite: add new pool properties / features to the zpool_get list Modified: head/tests/sys/cddl/zfs/tests/cli_root/zpool_get/zpool_get.cfg Modified:

svn commit: r331002 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_get

2018-03-15 Thread Andriy Gapon
Author: avg Date: Thu Mar 15 14:35:46 2018 New Revision: 331002 URL: https://svnweb.freebsd.org/changeset/base/331002 Log: zfs test suite: move definition of DISK to the cfg file in zpool_get The variable is used not only by the setup script but also by the atf test bodies. This

svn commit: r331001 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_export

2018-03-15 Thread Andriy Gapon
Author: avg Date: Thu Mar 15 14:23:31 2018 New Revision: 331001 URL: https://svnweb.freebsd.org/changeset/base/331001 Log: zfs test suite: move definition of DISK to the cfg file in zpool_export The variable is used not only by the setup script but also by the atf test bodies. Modified:

svn commit: r330996 - in head/tests/sys/cddl/zfs: include tests/cache tests/cli_root/zpool_add

2018-03-15 Thread Andriy Gapon
Author: avg Date: Thu Mar 15 12:47:34 2018 New Revision: 330996 URL: https://svnweb.freebsd.org/changeset/base/330996 Log: zfs test suite: support device paths with intermediate directories The code assumed that disks (devices) used for testing are always named like /dev/foo, but there

svn commit: r330995 - head/tests/sys/cddl/zfs/tests/slog

2018-03-15 Thread Andriy Gapon
Author: avg Date: Thu Mar 15 12:44:13 2018 New Revision: 330995 URL: https://svnweb.freebsd.org/changeset/base/330995 Log: zfs test suite: fix a typo, TESTPOOL vs TESTPOOL2 Modified: head/tests/sys/cddl/zfs/tests/slog/slog.kshlib Modified: head/tests/sys/cddl/zfs/tests/slog/slog.kshlib

<    1   2   3   4   5   6   7   8   9   10   >