svn commit: r212541 - in head/sys: amd64/amd64 amd64/include dev/acpica i386/i386 i386/include kern mips/include mips/mips pc98/pc98 powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc6...

2010-09-13 Thread Alexander Motin
Author: mav Date: Mon Sep 13 07:25:35 2010 New Revision: 212541 URL: http://svn.freebsd.org/changeset/base/212541 Log: Refactor timer management code with priority to one-shot operation mode. The main goal of this is to generate timer interrupts only when there is some work to do. When CPU i

svn commit: r212556 - head/sys/powerpc/powerpc

2010-09-13 Thread Alexander Motin
Author: mav Date: Mon Sep 13 14:25:07 2010 New Revision: 212556 URL: http://svn.freebsd.org/changeset/base/212556 Log: Change call order to enable interrupts only after timer being programmed. Submitted by: nwhitehorn Modified: head/sys/powerpc/powerpc/mp_machdep.c Modified: head/sys/po

svn commit: r212600 - head/sys/kern

2010-09-13 Thread Alexander Motin
Author: mav Date: Tue Sep 14 04:48:04 2010 New Revision: 212600 URL: http://svn.freebsd.org/changeset/base/212600 Log: Add some foot shooting protection by checking singlemul value correctness. Rephrase sysctls descriptions. Suggested by: edmaste Modified: head/sys/kern/kern_clocksourc

svn commit: r212601 - head/sys/kern

2010-09-13 Thread Alexander Motin
Author: mav Date: Tue Sep 14 04:57:30 2010 New Revision: 212601 URL: http://svn.freebsd.org/changeset/base/212601 Log: Replace spin lock with the set of atomics. It is impractical for one tc_ticktock() call to wait for another's completion -- just skip it. Modified: head/sys/kern/kern_clock

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

2010-09-14 Thread Alexander Motin
Author: mav Date: Tue Sep 14 08:48:06 2010 New Revision: 212603 URL: http://svn.freebsd.org/changeset/base/212603 Log: Make kern_tc.c provide minimum frequency of tc_ticktock() calls, required to handle current timecounter wraps. Make kern_clocksource.c to honor that requirement, scheduling

svn commit: r212604 - head/sys/kern

2010-09-14 Thread Alexander Motin
Author: mav Date: Tue Sep 14 10:26:49 2010 New Revision: 212604 URL: http://svn.freebsd.org/changeset/base/212604 Log: Fix panic on NULL dereference possible after r212541. Modified: head/sys/kern/kern_timeout.c Modified: head/sys/kern/kern_timeout.c =

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

2010-09-14 Thread Alexander Motin
) @@ -0,0 +1,105 @@ +.\" Copyright (c) 2009 Alexander Motin +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistribut

svn commit: r212635 - in head/share/man: man4 man7

2010-09-15 Thread Alexander Motin
file is newly added) +++ head/share/man/man7/eventtimers.7 Wed Sep 15 07:04:14 2010 (r212635) @@ -0,0 +1,131 @@ +.\" Copyright (c) 2010 Alexander Motin +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" mo

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

2010-09-15 Thread Alexander Motin
UT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. .\" .\" $FreeBSD$ .\" Modified: head/share/man/man4/hpet.4 == --- head/share/man/man4/hpet.4 Wed Sep 15 07:04:14 2010 (r212635) +++ head/share/man/man4/hpet.4 Wed Sep 15 07:10:39

svn commit: r212718 - stable/8/sys/dev/ata/chipsets

2010-09-15 Thread Alexander Motin
Author: mav Date: Thu Sep 16 02:42:52 2010 New Revision: 212718 URL: http://svn.freebsd.org/changeset/base/212718 Log: MFC r212081: Increase device reset timeout from 10 to 15 seconds, same as in ahci(4). Some devices found need about 10-12 seconds to spinup. Modified: stable/8/sys/dev/at

svn commit: r212719 - in stable/8/sys/dev/ata: . chipsets

2010-09-15 Thread Alexander Motin
Author: mav Date: Thu Sep 16 02:44:23 2010 New Revision: 212719 URL: http://svn.freebsd.org/changeset/base/212719 Log: MFC r212145: SATA1.x SiliconImage controllers on power-on reset TFD Status register into value 0xff. On hot-plug this value confuses ata_generic_reset() device presence de

svn commit: r212720 - stable/8/sys/dev/ata/chipsets

2010-09-15 Thread Alexander Motin
Author: mav Date: Thu Sep 16 02:47:09 2010 New Revision: 212720 URL: http://svn.freebsd.org/changeset/base/212720 Log: MFC r212146: Add workaround for SiI3114 and SiI3512 chips bug, which caused sending R_ERR in response to DMA activate FIS under certain circumstances. This is recommended

svn commit: r212721 - head/sys/x86/cpufreq

2010-09-15 Thread Alexander Motin
Author: mav Date: Thu Sep 16 02:59:25 2010 New Revision: 212721 URL: http://svn.freebsd.org/changeset/base/212721 Log: Few whitespace cleanups and comments tunings. Submitted by: arundel Modified: head/sys/x86/cpufreq/est.c Modified: head/sys/x86/cpufreq/est.c ==

svn commit: r212732 - in head/sys/dev: ahci mvs siis

2010-09-16 Thread Alexander Motin
Author: mav Date: Thu Sep 16 12:39:50 2010 New Revision: 212732 URL: http://svn.freebsd.org/changeset/base/212732 Log: Fix panic, when due to some kind of congestion on FIS-based switching port multiplier some command triggers false positive timeout, but then completes normally. MFC aft

svn commit: r212754 - head/sys/geom/concat

2010-09-16 Thread Alexander Motin
Author: mav Date: Thu Sep 16 17:24:25 2010 New Revision: 212754 URL: http://svn.freebsd.org/changeset/base/212754 Log: Add support for dumping kernel to gconcat. Dumping goes to the component, where dump partition begins. Modified: head/sys/geom/concat/g_concat.c Modified: head/sys/geom/co

svn commit: r212778 - head/sys/x86/isa

2010-09-16 Thread Alexander Motin
Author: mav Date: Fri Sep 17 04:48:50 2010 New Revision: 212778 URL: http://svn.freebsd.org/changeset/base/212778 Log: Add one-shot mode support to attimer (i8254) event timer. Unluckily, using one-shot mode is impossible, when same hardware used for time counting. Introduce new tunable h

svn commit: r212779 - in head/share/man: man4 man7

2010-09-16 Thread Alexander Motin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/attimer.4 Fri Sep 17 04:55:01 2010 (r212779) @@ -0,0 +1,69 @@ +.\" Copyright (c) 2010 Alexander Motin +.\

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

2010-09-17 Thread Alexander Motin
Author: mav Date: Fri Sep 17 07:44:01 2010 New Revision: 212786 URL: http://svn.freebsd.org/changeset/base/212786 Log: Fix typo ${attimer.4} -> ${_attimer.4}. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile ===

svn commit: r212787 - in head/share/man: man4 man7

2010-09-17 Thread Alexander Motin
(empty, because file is newly added) +++ head/share/man/man4/atrtc.4 Fri Sep 17 08:44:54 2010(r212787) @@ -0,0 +1,56 @@ +.\" Copyright (c) 2010 Alexander Motin +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" mo

svn commit: r212811 - head/sys/kern

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 07:18:30 2010 New Revision: 212811 URL: http://svn.freebsd.org/changeset/base/212811 Log: When global timer used at SMP system, update nextevent field on BSP before sending IPI to other CPUs. Otherwise, other CPUs will try to honor stale value, programming timer

svn commit: r212812 - head/sys/x86/isa

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 07:36:43 2010 New Revision: 212812 URL: http://svn.freebsd.org/changeset/base/212812 Log: Restore pre-r212778 optimization, skipping timer reprogramming when it is not neccessary. It allows to avoid time counter jump of up to 1/18s, when base frequency slightly t

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

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 07:45:54 2010 New Revision: 212813 URL: http://svn.freebsd.org/changeset/base/212813 Log: Document hw.i8254.freq tunable and machdep.i8254_freq sysctl. Modified: head/share/man/man4/attimer.4 Modified: head/share/man/man4/attimer.4 ===

svn commit: r212823 - head/sys/arm/mv

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 13:44:39 2010 New Revision: 212823 URL: http://svn.freebsd.org/changeset/base/212823 Log: Clear timer interrupt status before calling callback, not after it, This fixes timer interrupt losses, fatal in one-shot mode. Modified: head/sys/arm/mv/timer.c Modified:

Re: svn commit: r212541 - in head/sys: amd64/amd64 amd64/include dev/acpica i386/i386 i386/include kern mips/include mips/mips pc98/pc98 powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc

2010-09-18 Thread Alexander Motin
Hi. Daan Vreeken wrote: > On Monday 13 September 2010 09:25:35 Alexander Motin wrote: >> Author: mav >> Date: Mon Sep 13 07:25:35 2010 >> New Revision: 212541 >> URL: http://svn.freebsd.org/changeset/base/212541 >> >> Log: >> Refactor timer manage

svn commit: r212825 - in head/sys/arm: arm include

2010-09-18 Thread Alexander Motin
Author: mav Date: Sat Sep 18 16:57:05 2010 New Revision: 212825 URL: http://svn.freebsd.org/changeset/base/212825 Log: Add basic cpu_sleep() support for Marvell SoCs. This drops my SheevaPlug's heatsink termperature in open air from 49C to 43C when idle. Modified: head/sys/arm/arm/cpufunc.c

svn commit: r212857 - stable/7/sys/dev/hptmv

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 13:42:05 2010 New Revision: 212857 URL: http://svn.freebsd.org/changeset/base/212857 Log: MFC r194900: Remove unused ATAPI definitions, conflicting with ata.h. Modified: stable/7/sys/dev/hptmv/atapi.h Directory Properties: stable/7/sys/ (props changed) sta

svn commit: r212858 - stable/7/sys/dev/hptmv

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 13:44:46 2010 New Revision: 212858 URL: http://svn.freebsd.org/changeset/base/212858 Log: MFC r209341: Report transport type in XPT_PATH_INQ. Modified: stable/7/sys/dev/hptmv/entry.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/con

svn commit: r212859 - stable/7/sys/dev/hptiop

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 13:49:02 2010 New Revision: 212859 URL: http://svn.freebsd.org/changeset/base/212859 Log: MFC r209340: Report transport type in XPT_PATH_INQ. Modified: stable/7/sys/dev/hptiop/hptiop.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/c

svn commit: r212869 - in stable/7: sbin/atacontrol sys sys/cddl/contrib/opensolaris sys/contrib/dev/acpica sys/contrib/pf

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 18:55:47 2010 New Revision: 212869 URL: http://svn.freebsd.org/changeset/base/212869 Log: Mark r172606, r174682, r177298 as merged. Modified: Directory Properties: stable/7/sbin/atacontrol/ (props changed) stable/7/sys/ (props changed) stable/7/sys/cddl/co

svn commit: r212870 - stable/7/sys/sys

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:02:14 2010 New Revision: 212870 URL: http://svn.freebsd.org/changeset/base/212870 Log: MFC r194902, r197540, r198587, r198865: Define some ATA IDENTIFY fields and bits. Modified: stable/7/sys/sys/ata.h Directory Properties: stable/7/sys/ (props changed)

svn commit: r212871 - stable/7/sbin/atacontrol

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:16:27 2010 New Revision: 212871 URL: http://svn.freebsd.org/changeset/base/212871 Log: Mark r174034,174665,174683,177262 as merged. Modified: Directory Properties: stable/7/sbin/atacontrol/ (props changed) ___ svn-s

svn commit: r212872 - stable/7/sbin/atacontrol

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:18:35 2010 New Revision: 212872 URL: http://svn.freebsd.org/changeset/base/212872 Log: MFC r199644: Add some missing WDMA/UDMA modes. Modified: stable/7/sbin/atacontrol/atacontrol.c Directory Properties: stable/7/sbin/atacontrol/ (props changed) Modified

svn commit: r212874 - stable/7/sys/geom/mirror

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:43:05 2010 New Revision: 212874 URL: http://svn.freebsd.org/changeset/base/212874 Log: MFC r201566: Move wakeup() out of mutex to reduce contention. Modified: stable/7/sys/geom/mirror/g_mirror.c Directory Properties: stable/7/sys/ (props changed) stable

svn commit: r212875 - stable/7/sys/geom

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:51:14 2010 New Revision: 212875 URL: http://svn.freebsd.org/changeset/base/212875 Log: MFC r196904: Remove msleep() timeout from g_io_schedule_up/down(). It works fine without it, saving few percents of CPU on high request rates without need to rearm callout

svn commit: r212876 - stable/7/sys/geom

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:52:26 2010 New Revision: 212876 URL: http://svn.freebsd.org/changeset/base/212876 Log: MFC r201264: Call wakeup() only for the first request on the queue. Modified: stable/7/sys/geom/geom_io.c Directory Properties: stable/7/sys/ (props changed) stable/7

svn commit: r212877 - stable/7/sys/geom

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:53:41 2010 New Revision: 212877 URL: http://svn.freebsd.org/changeset/base/212877 Log: MFC r205619: Do not fetch precise time of request start when stats collection disabled. Modified: stable/7/sys/geom/geom_io.c Directory Properties: stable/7/sys/ (props

svn commit: r212878 - stable/7/sys/geom

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 19:57:15 2010 New Revision: 212878 URL: http://svn.freebsd.org/changeset/base/212878 Log: MFC r174669: Don't limit BIO_DELETE requests to MAXPHYS, they perform no data transfers, so they are not subject to the VM system limitation. Modified: stable/7/sys/geom/

svn commit: r212879 - stable/7/sys/geom

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 20:02:31 2010 New Revision: 212879 URL: http://svn.freebsd.org/changeset/base/212879 Log: MFC r196964: Do not check proper request alignment here in geom_dev in production. It will be checked any way later by g_io_check() in g_io_schedule_down(). It is only nee

svn commit: r212880 - stable/7/sys/geom/raid3

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 20:07:40 2010 New Revision: 212880 URL: http://svn.freebsd.org/changeset/base/212880 Log: MFC r201545: Slightly optimize XOR calculation. Modified: stable/7/sys/geom/raid3/g_raid3.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/cont

svn commit: r212881 - stable/7/sys/geom/raid3

2010-09-19 Thread Alexander Motin
Author: mav Date: Sun Sep 19 20:08:45 2010 New Revision: 212881 URL: http://svn.freebsd.org/changeset/base/212881 Log: MFC r201567: Move wakeup() out of mutex to reduce contention. Modified: stable/7/sys/geom/raid3/g_raid3.c Directory Properties: stable/7/sys/ (props changed) stable/7

svn commit: r212900 - stable/7/sys/dev/hptrr

2010-09-20 Thread Alexander Motin
Author: mav Date: Mon Sep 20 13:48:07 2010 New Revision: 212900 URL: http://svn.freebsd.org/changeset/base/212900 Log: MFC r196415: Fill cpi->transport in XPT_PATH_INQ. Modified: stable/7/sys/dev/hptrr/hptrr_osm_bsd.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cd

svn commit: r212908 - stable/8/sys/kern

2010-09-20 Thread Alexander Motin
Author: mav Date: Mon Sep 20 17:56:03 2010 New Revision: 212908 URL: http://svn.freebsd.org/changeset/base/212908 Log: MFC r201148: Don't forget to use `void' for sched_balance(). It has no arguments. Modified: stable/8/sys/kern/sched_ule.c Directory Properties: stable/8/sys/ (props cha

svn commit: r212909 - stable/8/sys/i386/i386

2010-09-20 Thread Alexander Motin
Author: mav Date: Mon Sep 20 18:20:35 2010 New Revision: 212909 URL: http://svn.freebsd.org/changeset/base/212909 Log: MFC r196829: Add missing ';'. Modified: stable/8/sys/i386/i386/machdep.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props

svn commit: r212946 - stable/8/sys/sparc64/sparc64

2010-09-20 Thread Alexander Motin
Author: mav Date: Tue Sep 21 04:23:27 2010 New Revision: 212946 URL: http://svn.freebsd.org/changeset/base/212946 Log: MFC r212456: Sparc64 uses dummy cpu_idle() method. It's CPUs never sleeping. Tell scheduler that it doesn't need to use IPI to "wake up" CPU. Modified: stable/8/sys/sparc

svn commit: r212947 - in stable/8: share/man/man4/man4.powerpc sys/dev/powermac_nvram

2010-09-20 Thread Alexander Motin
Author: mav Date: Tue Sep 21 04:29:27 2010 New Revision: 212947 URL: http://svn.freebsd.org/changeset/base/212947 Log: MFC r212240: Add support for the Sharp/Micron flash chips to powermac_mvram(4). Tested on PowerMac G4 AGP. Modified: stable/8/share/man/man4/man4.powerpc/powermac_nvram.4

svn commit: r212948 - stable/8/sbin/camcontrol

2010-09-20 Thread Alexander Motin
Author: mav Date: Tue Sep 21 04:39:13 2010 New Revision: 212948 URL: http://svn.freebsd.org/changeset/base/212948 Log: MFC r209625: Correct explanation for idle and standby subcommands' -t argument. Modified: stable/8/sbin/camcontrol/camcontrol.8 Directory Properties: stable/8/sbin/camcon

svn commit: r212958 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Tue Sep 21 08:02:02 2010 New Revision: 212958 URL: http://svn.freebsd.org/changeset/base/212958 Log: Until hardclock() and respectively tc_windup() called first time, system is running on "dummy" time counter. But to function properly in one-shot mode, event timer managemen

svn commit: r212967 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Tue Sep 21 16:50:24 2010 New Revision: 212967 URL: http://svn.freebsd.org/changeset/base/212967 Log: Remember last kern.eventtimer.periodic value, explicitly set by user. If timer capabilities forcing us to change periodicity mode, try to restore it back later, as soon as n

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

2010-09-21 Thread Alexander Motin
re often than > not. May be it is not so bad idea to get more coherent memory snapshot? -- Alexander Motin ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r212970 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Tue Sep 21 17:37:28 2010 New Revision: 212970 URL: http://svn.freebsd.org/changeset/base/212970 Log: If new callout scheduled to another CPU and we are using global timer, there is high probability that timer is already programmed by some other CPU. Especially by one that r

svn commit: r212991 - head/sys/cam

2010-09-21 Thread Alexander Motin
Author: mav Date: Wed Sep 22 05:17:18 2010 New Revision: 212991 URL: http://svn.freebsd.org/changeset/base/212991 Log: Decrease poll interval from 1000 to 100us. This significantly reduces kernel dump time, especially with minidump. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/c

svn commit: r212992 - head/sys/kern

2010-09-21 Thread Alexander Motin
Author: mav Date: Wed Sep 22 05:32:37 2010 New Revision: 212992 URL: http://svn.freebsd.org/changeset/base/212992 Log: If kernel built with DEVICE_POLLING, keep one CPU always in active state to handle it. Modified: head/sys/kern/kern_clocksource.c Modified: head/sys/kern/kern_clocksource.

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

2010-09-22 Thread Alexander Motin
Author: mav Date: Wed Sep 22 11:32:22 2010 New Revision: 212997 URL: http://svn.freebsd.org/changeset/base/212997 Log: Quick fix for unmotivated C2 state usage during boot, introduced at r212541. That caused LAPIC timer failure and huge delays during boot on some systems. Modified: head/sys

svn commit: r213092 - head/sys/dev/ata/chipsets

2010-09-24 Thread Alexander Motin
Author: mav Date: Fri Sep 24 07:14:14 2010 New Revision: 213092 URL: http://svn.freebsd.org/changeset/base/213092 Log: Add missing le32toh(), same as recently done in ata-siliconimage.c. Modified: head/sys/dev/ata/chipsets/ata-ahci.c Modified: head/sys/dev/ata/chipsets/ata-ahci.c ===

svn commit: r213293 - in stable/8/sys/dev: ahci mvs siis

2010-09-29 Thread Alexander Motin
Author: mav Date: Thu Sep 30 04:23:03 2010 New Revision: 213293 URL: http://svn.freebsd.org/changeset/base/213293 Log: MFC r212732: Fix panic, when due to some kind of congestion on FIS-based switching port multiplier some command triggers false positive timeout, but then completes normall

svn commit: r213301 - head/sys/dev/ata/chipsets

2010-09-30 Thread Alexander Motin
Author: mav Date: Thu Sep 30 16:09:52 2010 New Revision: 213301 URL: http://svn.freebsd.org/changeset/base/213301 Log: Revert r132291. Restore setting PIO/WDMA timings for VIA UDMA133 controllers. Linux disables only AST register writing there, but no all timings. Modified: head/sys/dev/a

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

2010-09-30 Thread Alexander Motin
Author: mav Date: Thu Sep 30 16:23:01 2010 New Revision: 213302 URL: http://svn.freebsd.org/changeset/base/213302 Log: Do not use regular interrupts on NVidia HPETs. NVidia MCP5x chipsets have number of unexplained interrupt problems. For some reason, using HPET interrupts there breaks HDA s

svn commit: r213509 - in head/sys/dev/usb: . serial

2010-10-07 Thread Alexander Motin
Author: mav Date: Thu Oct 7 09:07:48 2010 New Revision: 213509 URL: http://svn.freebsd.org/changeset/base/213509 Log: Add ID for Vodafone (ZTE) Mobile Broadband K3565-Z modem. Reviewed by: hselasky Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/d

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

2010-10-16 Thread Alexander Motin
Author: mav Date: Sat Oct 16 19:29:37 2010 New Revision: 213931 URL: http://svn.freebsd.org/changeset/base/213931 Log: Allow umass to use bigger transactions for USB 3.0 devices. It is less important for USB 2.0 devices and some of them reported to have problems with large transactions. But

svn commit: r214016 - in head/sys: arm/mv dev/ata dev/ata/chipsets

2010-10-18 Thread Alexander Motin
Author: mav Date: Mon Oct 18 11:30:13 2010 New Revision: 214016 URL: http://svn.freebsd.org/changeset/base/214016 Log: Set of legacy mode SATA enchancements: - Implement proper combined mode decoding for Intel controllers to properly identify SATA and PATA channels and associate ATA channels

Re: svn commit: r213985 - head/sys/sparc64/sparc64

2010-10-18 Thread Alexander Motin
. In handleevents() of kern_clocksource.c > hardclock_anycpu() is called so i think that is what actually needs to > be wrapped in a critical section. At this time on most (all?) platforms critical section is grabbed by MD interrupt code. It is important to be there, as soon as there touched td_

Re: svn commit: r213985 - head/sys/sparc64/sparc64

2010-10-18 Thread Alexander Motin
re reason to have critical section there. It is indeed strange that td_intr_nesting_level in intr_event_handle() is not covered by critical section, but probably it should. -- Alexander Motin ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r213985 - head/sys/sparc64/sparc64

2010-10-19 Thread Alexander Motin
John Baldwin wrote: > On Monday, October 18, 2010 5:41:57 pm Alexander Motin wrote: >> Marius Strobl wrote: >>> On Mon, Oct 18, 2010 at 05:05:24PM -0400, John Baldwin wrote: >>>> On Monday, October 18, 2010 4:52:24 pm Marius Strobl wrote: >>>>> AFAICT

svn commit: r214099 - head/sys/dev/mvs

2010-10-20 Thread Alexander Motin
Author: mav Date: Wed Oct 20 07:22:34 2010 New Revision: 214099 URL: http://svn.freebsd.org/changeset/base/214099 Log: Some style cleanup: - remove commented debugging code; - wrap long lines. Modified: head/sys/dev/mvs/mvs.c head/sys/dev/mvs/mvs_pci.c head/sys/dev/mvs/mvs_soc.c Modi

svn commit: r214102 - head/sys/dev/mvs

2010-10-20 Thread Alexander Motin
Author: mav Date: Wed Oct 20 07:47:31 2010 New Revision: 214102 URL: http://svn.freebsd.org/changeset/base/214102 Log: Workaround strange situation when EDMA_RESQIP register returns zero instead of proper value. It caused bunch of "EMPTY CRPB" messages and potentially may cause premature req

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Alexander Motin
under section 1.10.1, "Recommended power-off sequence". Not instead of "just SLEEP", but instead of FLUSH CACHE (by respective peripheral driver) + SLEEP (by xpt). It should probably be the same. Just for the note, SCSI specification states that STOP automatically implies FLUSH C

svn commit: r214285 - stable/8/sys/cam

2010-10-24 Thread Alexander Motin
Author: mav Date: Sun Oct 24 17:40:19 2010 New Revision: 214285 URL: http://svn.freebsd.org/changeset/base/214285 Log: MFC r212991: Decrease poll interval from 1000 to 100us. This significantly reduces kernel dump time, especially with minidump. Modified: stable/8/sys/cam/cam_xpt.c Direct

svn commit: r214286 - in stable/8/sys/dev/usb: . serial

2010-10-24 Thread Alexander Motin
Author: mav Date: Sun Oct 24 17:42:41 2010 New Revision: 214286 URL: http://svn.freebsd.org/changeset/base/214286 Log: MFC r213509: Add ID for Vodafone (ZTE) Mobile Broadband K3565-Z modem. Modified: stable/8/sys/dev/usb/serial/u3g.c stable/8/sys/dev/usb/usbdevs Directory Properties: st

Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern

2010-10-24 Thread Alexander Motin
Garrett Cooper wrote: > On Sun, Oct 24, 2010 at 10:03 AM, Alexander Motin wrote: >> Bruce Cran wrote: >>> On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: >>> >>>> Log: >>>> Mostly revert r203420, and add similar functionality into ada(4

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

2010-10-24 Thread Alexander Motin
Author: mav Date: Sun Oct 24 18:53:16 2010 New Revision: 214288 URL: http://svn.freebsd.org/changeset/base/214288 Log: Make da driver to handle some probably broken Android devices, returning zero media and sector size instead of "Medium not present" error, until some confirmation button is

svn commit: r214321 - head/sbin/camcontrol

2010-10-25 Thread Alexander Motin
Author: mav Date: Mon Oct 25 07:17:07 2010 New Revision: 214321 URL: http://svn.freebsd.org/changeset/base/214321 Log: Do some whitespace and `identify` output cleanup. Submitted by: arundel MFC after:2 weeks Modified: head/sbin/camcontrol/camcontrol.c Modified: head/sbin/camcontr

svn commit: r214325 - in head/sys/dev: ahci siis

2010-10-25 Thread Alexander Motin
Author: mav Date: Mon Oct 25 07:41:21 2010 New Revision: 214325 URL: http://svn.freebsd.org/changeset/base/214325 Log: Add missing mtx_destroy() on channel attach failure. Modified: head/sys/dev/ahci/ahci.c head/sys/dev/siis/siis.c Modified: head/sys/dev/ahci/ahci.c ===

svn commit: r214330 - stable/8/sys/geom/concat

2010-10-25 Thread Alexander Motin
Author: mav Date: Mon Oct 25 08:18:29 2010 New Revision: 214330 URL: http://svn.freebsd.org/changeset/base/214330 Log: MFC r212754: Add support for dumping kernel to gconcat. Dumping goes to the component, where dump partition begins. Modified: stable/8/sys/geom/concat/g_concat.c Director

svn commit: r214331 - stable/7/sys/geom/concat

2010-10-25 Thread Alexander Motin
Author: mav Date: Mon Oct 25 08:23:38 2010 New Revision: 214331 URL: http://svn.freebsd.org/changeset/base/214331 Log: MFC r212754: Add support for dumping kernel to gconcat. Dumping goes to the component, where dump partition begins. Modified: stable/7/sys/geom/concat/g_concat.c Director

svn commit: r214332 - head/sys/dev/sound/pcm

2010-10-25 Thread Alexander Motin
Author: mav Date: Mon Oct 25 08:25:44 2010 New Revision: 214332 URL: http://svn.freebsd.org/changeset/base/214332 Log: Make hw.snd.vpc_0db to be also a loader tunable. Modified: head/sys/dev/sound/pcm/channel.c Modified: head/sys/dev/sound/pcm/channel.c ==

svn commit: r214597 - head/sys/kern

2010-10-31 Thread Alexander Motin
Author: mav Date: Sun Oct 31 11:44:41 2010 New Revision: 214597 URL: http://svn.freebsd.org/changeset/base/214597 Log: Fix callout_tickstofirst() behavior after signed integer ticks overflow. This should fix callout precision drop to 1/4s after 25 days of uptime with HZ = 1000. Submitte

svn commit: r214664 - in stable/8/sys/dev: ahci siis

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:01:08 2010 New Revision: 214664 URL: http://svn.freebsd.org/changeset/base/214664 Log: MFC r214325: Add missing mtx_destroy() on channel attach failure. Modified: stable/8/sys/dev/ahci/ahci.c stable/8/sys/dev/siis/siis.c Directory Properties: stable/8/sys

svn commit: r214665 - stable/8/sys/dev/mvs

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:04:18 2010 New Revision: 214665 URL: http://svn.freebsd.org/changeset/base/214665 Log: MFC r214099: Some mvs(4) style cleanup: - remove commented debugging code; - wrap long lines. Modified: stable/8/sys/dev/mvs/mvs.c stable/8/sys/dev/mvs/mvs_pci.c st

svn commit: r214666 - stable/8/sys/dev/mvs

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:05:40 2010 New Revision: 214666 URL: http://svn.freebsd.org/changeset/base/214666 Log: MFC r214102: Workaround strange situation when EDMA_RESQIP register returns zero instead of proper value. It caused bunch of "EMPTY CRPB" messages and potentially may caus

svn commit: r214667 - stable/8/sys/dev/ata/chipsets

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:13:13 2010 New Revision: 214667 URL: http://svn.freebsd.org/changeset/base/214667 Log: MFC r213047 by jchandra: Add missing byteswap, works on big endian systems now (tested on Netlogic XLS MIPS processor). Modified: stable/8/sys/dev/ata/chipsets/ata-silico

svn commit: r214668 - stable/8/sys/dev/ata/chipsets

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:14:04 2010 New Revision: 214668 URL: http://svn.freebsd.org/changeset/base/214668 Log: MFC r213092: Add missing le32toh(), same as recently done in ata-siliconimage.c. Modified: stable/8/sys/dev/ata/chipsets/ata-ahci.c Directory Properties: stable/8/sys/

svn commit: r214669 - stable/8/sys/dev/ata/chipsets

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:15:27 2010 New Revision: 214669 URL: http://svn.freebsd.org/changeset/base/214669 Log: MFC r213301: Revert r132291. Restore setting PIO/WDMA timings for VIA UDMA133 controllers. Linux disables only AST register writing there, but no all timings. Modified:

svn commit: r214671 - in stable/8/sys: arm/mv dev/ata dev/ata/chipsets

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:26:12 2010 New Revision: 214671 URL: http://svn.freebsd.org/changeset/base/214671 Log: MFC r214016: Set of legacy mode SATA enchancements: - Implement proper combined mode decoding for Intel controllers to properly identify SATA and PATA channels and associa

svn commit: r214672 - head/sys/dev/ata/chipsets

2010-11-02 Thread Alexander Motin
Author: mav Date: Tue Nov 2 09:31:24 2010 New Revision: 214672 URL: http://svn.freebsd.org/changeset/base/214672 Log: Remove stale line, accidentally slipped into r214016. MFC after:3 days Modified: head/sys/dev/ata/chipsets/ata-intel.c Modified: head/sys/dev/ata/chipsets/ata-intel

svn commit: r228200 - in head: share/man/man4 sys/dev/ahci sys/dev/ata/chipsets

2011-12-02 Thread Alexander Motin
Author: mav Date: Fri Dec 2 12:52:33 2011 New Revision: 228200 URL: http://svn.freebsd.org/changeset/base/228200 Log: Add hw.ahci.force tunable to control whether AHCI drivers should attach to known AHCI-capable chips (AMD/NVIDIA), configured for legacy emulation. Enabled by default to g

svn commit: r228204 - head/sys/geom

2011-12-02 Thread Alexander Motin
Author: mav Date: Fri Dec 2 17:09:48 2011 New Revision: 228204 URL: http://svn.freebsd.org/changeset/base/228204 Log: Close race between geom destruction on g_vfs_close() when softc destroyed and g_vfs_orphan() call that tries to access softc, intruced at r227015. PR: kern/1629

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

2011-12-06 Thread Alexander Motin
Author: mav Date: Tue Dec 6 09:12:11 2011 New Revision: 228305 URL: http://svn.freebsd.org/changeset/base/228305 Log: Mention that Cold Presence Detection feature used for hot-plug detection when interface power management is enabled. Modified: head/share/man/man4/ahci.4 Modified: head/sh

svn commit: r228461 - head/sys/dev/isp

2011-12-13 Thread Alexander Motin
Author: mav Date: Tue Dec 13 09:58:05 2011 New Revision: 228461 URL: http://svn.freebsd.org/changeset/base/228461 Log: Fix few bugs in isp(4) target mode support: - in destroy_lun_state() assert hold == 1 instead of 0, as it should receive hold taken by the create_lun_state() or get_lun_sta

svn commit: r228462 - head/share/examples/scsi_target

2011-12-13 Thread Alexander Motin
Author: mav Date: Tue Dec 13 11:13:28 2011 New Revision: 228462 URL: http://svn.freebsd.org/changeset/base/228462 Log: - Fix different variable types use in different files after r121184, causing problems on amd64. - s/%lud/%lu/. MFC after:1 month Modified: head/share/examples/

svn commit: r228497 - in head/sys/dev/ata: . chipsets

2011-12-14 Thread Alexander Motin
Author: mav Date: Wed Dec 14 13:12:55 2011 New Revision: 228497 URL: http://svn.freebsd.org/changeset/base/228497 Log: Add PCI IDs for the Intel ICH9M SATA controllers. MFC after:2 weeks Modified: head/sys/dev/ata/ata-pci.h head/sys/dev/ata/chipsets/ata-intel.c Modified: head/sys/

svn commit: r228501 - in head/share/man: man4 man7

2011-12-14 Thread Alexander Motin
15:19:40 2011 (r228501, copy of r228500, head/share/man/man7/eventtimers.7) @@ -0,0 +1,133 @@ +.\" Copyright (c) 2010 Alexander Motin +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are pe

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

2011-12-16 Thread Alexander Motin
Author: mav Date: Fri Dec 16 14:19:46 2011 New Revision: 228575 URL: http://svn.freebsd.org/changeset/base/228575 Log: Some formatting fixes. Submitted by: ru Modified: head/share/man/man4/eventtimers.4 Modified: head/share/man/man4/eventtimers.4

svn commit: r228726 - head/sys/dev/sound/pci/hda

2011-12-19 Thread Alexander Motin
Author: mav Date: Tue Dec 20 02:00:27 2011 New Revision: 228726 URL: http://svn.freebsd.org/changeset/base/228726 Log: Cast some vendor-specific spell on VIA VT1708S codecs to: - make analog input loopback work; - get access to the mics boost controls. Sponsored by: iXsystems, Inc.

svn commit: r228727 - head/sys/dev/sound/pci/hda

2011-12-19 Thread Alexander Motin
Author: mav Date: Tue Dec 20 02:42:53 2011 New Revision: 228727 URL: http://svn.freebsd.org/changeset/base/228727 Log: Oops, list of IDs is not sequential. Have to list all of them expoicitly. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c ===

svn commit: r228731 - in head/share/man: man4 man9

2011-12-20 Thread Alexander Motin
, because file is newly added) +++ head/share/man/man9/eventtimers.9 Tue Dec 20 11:40:22 2011 (r228731) @@ -0,0 +1,236 @@ +.\" +.\" Copyright (c) 2011 Alexander Motin +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or witho

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

2011-12-20 Thread Alexander Motin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/apic.4 Tue Dec 20 13:49:52 2011(r228735) @@ -0,0 +1,78 @@ +.\" Copyright (c) 2011 Alexander Motin +.\" All rights reserved. +.\" +.\" Redistribution a

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

2011-12-20 Thread Alexander Motin
Author: mav Date: Tue Dec 20 14:12:50 2011 New Revision: 228737 URL: http://svn.freebsd.org/changeset/base/228737 Log: Remove extra "and" left from earlier version. Modified: head/share/man/man4/apic.4 Modified: head/share/man/man4/apic.4 =

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

2011-12-20 Thread Alexander Motin
Author: mav Date: Tue Dec 20 15:19:33 2011 New Revision: 228739 URL: http://svn.freebsd.org/changeset/base/228739 Log: s/LAPIC/local APIC/ to closer follow Intel documents. Submitted by: jhb Modified: head/share/man/man4/apic.4 Modified: head/share/man/man4/apic.4 ==

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

2011-12-20 Thread Alexander Motin
20 17:10:34 2011 (r228741) @@ -0,0 +1,105 @@ +.\" Copyright (c) 2011 Alexander Motin +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following condit

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

2011-12-20 Thread Alexander Motin
Author: mav Date: Tue Dec 20 17:32:13 2011 New Revision: 228742 URL: http://svn.freebsd.org/changeset/base/228742 Log: Fix copy-paste typo. Modified: head/share/man/man4/timecounters.4 Modified: head/share/man/man4/timecounters.4 ==

  1   2   3   4   5   6   7   8   9   10   >