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

2012-07-25 Thread Bruce Evans
On Wed, 25 Jul 2012, Konstantin Belousov wrote: On Wed, Jul 25, 2012 at 11:00:41AM -0700, Jim Harris wrote: On Wed, Jul 25, 2012 at 10:32 AM, Konstantin Belousov wrote: I also asked Jim to test whether the cause the TSC sync test failure is the lack of synchronization between gathering data a

svn commit: r238787 - head/sys/arm/at91

2012-07-25 Thread Warner Losh
Author: imp Date: Thu Jul 26 05:46:56 2012 New Revision: 238787 URL: http://svn.freebsd.org/changeset/base/238787 Log: Some models have 6 USARTS + DBGU. Set a consistent name. Modified: head/sys/arm/at91/uart_bus_at91usart.c Modified: head/sys/arm/at91/uart_bus_at91usart.c =

svn commit: r238786 - head/sys/arm/conf

2012-07-25 Thread Warner Losh
Author: imp Date: Thu Jul 26 05:37:36 2012 New Revision: 238786 URL: http://svn.freebsd.org/changeset/base/238786 Log: Fix typo in comment. spibus uses cs= rather than addr=, so fix hints to use that (nop since spibus cs defaults to 0, and at91_spi assumes 0). Modified: head/sys/arm

svn commit: r238785 - head/sys/arm/conf

2012-07-25 Thread Warner Losh
Author: imp Date: Thu Jul 26 05:35:10 2012 New Revision: 238785 URL: http://svn.freebsd.org/changeset/base/238785 Log: Update partitions to reflect "sam9 demo" defaults. Update i2c devices to just include the eeprom. Update dataflash chip select to be CS 1 (this doesn't work yet and

svn commit: r238784 - in head/lib/msun: ld128 ld80

2012-07-25 Thread Steve Kargl
Author: kargl Date: Thu Jul 26 04:05:08 2012 New Revision: 238784 URL: http://svn.freebsd.org/changeset/base/238784 Log: Replace the macro name NUM with INTERVALS. This change provides compatibility with the INTERVALS macro used in the soon-to-be-commmitted expm1l() and someday-to-be-commit

svn commit: r238783 - in head/lib/msun: ld128 ld80

2012-07-25 Thread Steve Kargl
Author: kargl Date: Thu Jul 26 03:59:33 2012 New Revision: 238783 URL: http://svn.freebsd.org/changeset/base/238783 Log: * ld80/expl.c: . Remove a few #ifdefs that should have been removed in the initial commit. . Sort fpmath.h to its rightful place. * ld128/s_expl.c: . Re

svn commit: r238782 - head/lib/msun/src

2012-07-25 Thread Steve Kargl
Author: kargl Date: Thu Jul 26 03:50:24 2012 New Revision: 238782 URL: http://svn.freebsd.org/changeset/base/238782 Log: Replace code that toggles between 53 and 64 bits on i386 class hardware with the ENTERI and RETURNI macros, which are now available in math_private.h. Suggested by: b

Re: svn commit: r238741 - head/lib/libelf

2012-07-25 Thread Garrett Cooper
Sent from my iPhone On Jul 24, 2012, at 9:03 AM, "Andrey A. Chernov" wrote: > Author: ache > Date: Tue Jul 24 16:03:28 2012 > New Revision: 238741 > URL: http://svn.freebsd.org/changeset/base/238741 > > Log: > Don't ever build files depending on the directory where they are placed in. > It is

svn commit: r238781 - head/lib/libc/locale

2012-07-25 Thread Isabell Long
Author: issyl0 (doc committer) Date: Wed Jul 25 22:17:44 2012 New Revision: 238781 URL: http://svn.freebsd.org/changeset/base/238781 Log: Add a new man page containing details of new locale-specific functions for wctype.h, iswalnum_l(3). Add it and its functions to the Makefile. Reviewed

svn commit: r238780 - head/usr.bin/find

2012-07-25 Thread Jilles Tjoelker
Author: jilles Date: Wed Jul 25 21:59:10 2012 New Revision: 238780 URL: http://svn.freebsd.org/changeset/base/238780 Log: find: Implement real -ignore_readdir_race. If -ignore_readdir_race is present, [ENOENT] errors caused by deleting a file after find has read its name from a directory

svn commit: r238779 - head/sys/dev/usb

2012-07-25 Thread Gavin Atkinson
Author: gavin Date: Wed Jul 25 21:32:55 2012 New Revision: 238779 URL: http://svn.freebsd.org/changeset/base/238779 Log: Add vendor.product for a mouse I have laying around Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs =

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

2012-07-25 Thread Gavin Atkinson
Author: gavin Date: Wed Jul 25 20:46:22 2012 New Revision: 238778 URL: http://svn.freebsd.org/changeset/base/238778 Log: The baud rate on CP1201/2/3 devices can be set in one of two ways: - The USLCOM_SET_BAUD_DIV command (0x01) - The USLCOM_SET_BAUD_RATE command (0x13) Devices based

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

2012-07-25 Thread Konstantin Belousov
On Wed, Jul 25, 2012 at 11:00:41AM -0700, Jim Harris wrote: > On Wed, Jul 25, 2012 at 10:32 AM, Konstantin Belousov > wrote: > > I also asked Jim to test whether the cause the TSC sync test failure > > is the lack of synchronization between gathering data and tasting it, > > but ut appeared that t

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

2012-07-25 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-07-25 14:05:37 -0400, Konstantin Belousov wrote: > On Wed, Jul 25, 2012 at 01:27:48PM -0400, Jung-uk Kim wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 2012-07-25 10:44:04 -0400, Bruce Evans wrote: >>> On Wed, 25 Jul 2012, An

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

2012-07-25 Thread Konstantin Belousov
On Wed, Jul 25, 2012 at 01:27:48PM -0400, Jung-uk Kim wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2012-07-25 10:44:04 -0400, Bruce Evans wrote: > > On Wed, 25 Jul 2012, Andriy Gapon wrote: > > > >> on 25/07/2012 13:21 Konstantin Belousov said the following: > >>> ... diff --gi

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

2012-07-25 Thread Jim Harris
On Wed, Jul 25, 2012 at 10:32 AM, Konstantin Belousov wrote: > On Thu, Jul 26, 2012 at 12:15:54AM +1000, Bruce Evans wrote: >> On Wed, 25 Jul 2012, Konstantin Belousov wrote: >> >> >On Wed, Jul 25, 2012 at 10:20:02AM +0300, Andriy Gapon wrote: >> >>on 25/07/2012 01:10 Jim Harris said the following

svn commit: r238776 - head/cddl/contrib/opensolaris/cmd/dtrace

2012-07-25 Thread George V. Neville-Neil
Author: gnn Date: Wed Jul 25 17:49:01 2012 New Revision: 238776 URL: http://svn.freebsd.org/changeset/base/238776 Log: Revert previous commit. The bug was actually caused by an issue in pre 1.8.5 versions of sudo which were sending too many SIGINTs to processes when the user hit Ctrl-C.

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

2012-07-25 Thread Konstantin Belousov
On Thu, Jul 26, 2012 at 12:15:54AM +1000, Bruce Evans wrote: > On Wed, 25 Jul 2012, Konstantin Belousov wrote: > > >On Wed, Jul 25, 2012 at 10:20:02AM +0300, Andriy Gapon wrote: > >>on 25/07/2012 01:10 Jim Harris said the following: > >>>Author: jimharris > >>>Date: Tue Jul 24 22:10:11 2012 > >>>N

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

2012-07-25 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-07-25 10:44:04 -0400, Bruce Evans wrote: > On Wed, 25 Jul 2012, Andriy Gapon wrote: > >> on 25/07/2012 13:21 Konstantin Belousov said the following: >>> ... diff --git a/sys/x86/x86/tsc.c b/sys/x86/x86/tsc.c index >>> 085c339..229b351 100644 -

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

2012-07-25 Thread Gavin Atkinson
Author: gavin Date: Wed Jul 25 17:25:44 2012 New Revision: 238774 URL: http://svn.freebsd.org/changeset/base/238774 Log: Update supported hardware list after r238766. MFC after:1 week Modified: head/share/man/man4/uplcom.4 Modified: head/share/man/man4/uplcom.4 =

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

2012-07-25 Thread Konstantin Belousov
On Wed, Jul 25, 2012 at 08:29:57AM -0700, Jim Harris wrote: > On Wed, Jul 25, 2012 at 6:37 AM, Konstantin Belousov > wrote: > > -/* rmb is required here because rdtsc is not a serializing instruction. */ > > +/* > > + * RDTSC is not a serializing instruction, so we need to drain > > + * instructio

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

2012-07-25 Thread Jim Harris
On Wed, Jul 25, 2012 at 6:37 AM, Konstantin Belousov wrote: > On Wed, Jul 25, 2012 at 03:29:34PM +0300, Andriy Gapon wrote: >> on 25/07/2012 13:21 Konstantin Belousov said the following: >> > On Wed, Jul 25, 2012 at 10:20:02AM +0300, Andriy Gapon wrote: >> >> on 25/07/2012 01:10 Jim Harris said th

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

2012-07-25 Thread Bruce Evans
On Wed, 25 Jul 2012, Andriy Gapon wrote: on 25/07/2012 13:21 Konstantin Belousov said the following: ... diff --git a/sys/x86/x86/tsc.c b/sys/x86/x86/tsc.c index 085c339..229b351 100644 --- a/sys/x86/x86/tsc.c +++ b/sys/x86/x86/tsc.c @@ -594,6 +594,7 @@ static u_int tsc_get_timecount(struct ti

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

2012-07-25 Thread Bruce Evans
On Wed, 25 Jul 2012, Konstantin Belousov wrote: On Wed, Jul 25, 2012 at 10:20:02AM +0300, Andriy Gapon wrote: on 25/07/2012 01:10 Jim Harris said the following: Author: jimharris Date: Tue Jul 24 22:10:11 2012 New Revision: 238755 URL: http://svn.freebsd.org/changeset/base/238755 Log: Add r

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

2012-07-25 Thread Konstantin Belousov
On Wed, Jul 25, 2012 at 03:29:34PM +0300, Andriy Gapon wrote: > on 25/07/2012 13:21 Konstantin Belousov said the following: > > On Wed, Jul 25, 2012 at 10:20:02AM +0300, Andriy Gapon wrote: > >> on 25/07/2012 01:10 Jim Harris said the following: > >>> Author: jimharris > >>> Date: Tue Jul 24 22:10:

svn commit: r238770 - head/sys/dev/e1000

2012-07-25 Thread Luigi Rizzo
Author: luigi Date: Wed Jul 25 12:51:33 2012 New Revision: 238770 URL: http://svn.freebsd.org/changeset/base/238770 Log: remove some extra testing code that slipped into the previous commit Reported-by: Alexander Motin Modified: head/sys/dev/e1000/if_lem.c Modified: head/sys/dev/e1000/i

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

2012-07-25 Thread Andriy Gapon
on 25/07/2012 13:21 Konstantin Belousov said the following: > On Wed, Jul 25, 2012 at 10:20:02AM +0300, Andriy Gapon wrote: >> on 25/07/2012 01:10 Jim Harris said the following: >>> Author: jimharris >>> Date: Tue Jul 24 22:10:11 2012 >>> New Revision: 238755 >>> URL: http://svn.freebsd.org/changes

svn commit: r238769 - head/sys/netinet

2012-07-25 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jul 25 12:14:39 2012 New Revision: 238769 URL: http://svn.freebsd.org/changeset/base/238769 Log: Fix a problem when CARP is enabled on the interface for IPv4 but not for IPv6. The current checks in nd6_nbr.c along with the old version will result in ifa being NULL and s

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

2012-07-25 Thread Gavin Atkinson
Author: gavin Date: Wed Jul 25 11:33:43 2012 New Revision: 238766 URL: http://svn.freebsd.org/changeset/base/238766 Log: Update the list of devices supported by uplcom. Although this only adds one device (support for Motorola cables), this syncronises us with: OpenBSD src/sys/dev/usb/upl

svn commit: r238765 - head/sys/dev/e1000

2012-07-25 Thread Luigi Rizzo
Author: luigi Date: Wed Jul 25 11:28:15 2012 New Revision: 238765 URL: http://svn.freebsd.org/changeset/base/238765 Log: Use legacy interrupts as a default. This gives up to 10% speedup when used in qemu (and this driver is for non-PCIe cards, so probably its largest use is in virtualized en

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

2012-07-25 Thread Konstantin Belousov
On Wed, Jul 25, 2012 at 10:20:02AM +0300, Andriy Gapon wrote: > on 25/07/2012 01:10 Jim Harris said the following: > > Author: jimharris > > Date: Tue Jul 24 22:10:11 2012 > > New Revision: 238755 > > URL: http://svn.freebsd.org/changeset/base/238755 > > > > Log: > > Add rmb() to tsc_read_##x to

Re: svn commit: r238722 - in head/lib/msun: . ld128 ld80 man src

2012-07-25 Thread Peter Jeremy
On 2012-Jul-24 13:57:12 -0400, David Schultz wrote: >On Tue, Jul 24, 2012, Steve Kargl wrote: >> On Tue, Jul 24, 2012 at 08:43:35AM +, Alexey Dokuchaev wrote: >> > On Mon, Jul 23, 2012 at 07:13:56PM +, Steve Kargl wrote: >> > > Compute the exponential of x for Intel 80-bit format and IEE

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

2012-07-25 Thread Andriy Gapon
on 25/07/2012 01:10 Jim Harris said the following: > Author: jimharris > Date: Tue Jul 24 22:10:11 2012 > New Revision: 238755 > URL: http://svn.freebsd.org/changeset/base/238755 > > Log: > Add rmb() to tsc_read_##x to enforce serialization of rdtsc captures. > > Intel Architecture Manual s