Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-15 Thread John Baldwin
On Thursday, October 14, 2010 5:09:58 pm Dimitry Andric wrote: On 2010-10-14 21:39, John Baldwin wrote: On Thursday, October 14, 2010 3:19:19 pm Rui Paulo wrote: ... Revert r213765. This is required because our build infrastructure uses the host lex instead of the lex built during

Re: svn commit: r213845 - head/sys/dev/aic7xxx/aicasm

2010-10-15 Thread John Baldwin
On Friday, October 15, 2010 2:50:46 pm Rui Paulo wrote: On 15 Oct 2010, at 13:45, John Baldwin wrote: On Thursday, October 14, 2010 5:09:58 pm Dimitry Andric wrote: On 2010-10-14 21:39, John Baldwin wrote: On Thursday, October 14, 2010 3:19:19 pm Rui Paulo wrote: ... Revert r213765

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

2010-10-18 Thread John Baldwin
in a critical section. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

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

2010-10-18 Thread John Baldwin
On Monday, October 18, 2010 3:06:15 pm Marius Strobl wrote: On Mon, Oct 18, 2010 at 10:03:12AM -0400, John Baldwin wrote: On Sunday, October 17, 2010 12:46:54 pm Marius Strobl wrote: Author: marius Date: Sun Oct 17 16:46:54 2010 New Revision: 213985 URL: http://svn.freebsd.org

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

2010-10-19 Thread John Baldwin
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 this is not true; intr_event_handle() in sys/kern/kern_intr.c is what enters

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

2010-10-19 Thread John Baldwin
On Tuesday, October 19, 2010 9:37:15 am Alexander Motin wrote: 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

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

2010-10-21 Thread John Baldwin
the removed code (except returning EOPNOTSUPP instead of 0 if there is no chainevh). -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr

svn commit: r214144 - head/sys/vm

2010-10-21 Thread John Baldwin
Author: jhb Date: Thu Oct 21 17:29:32 2010 New Revision: 214144 URL: http://svn.freebsd.org/changeset/base/214144 Log: - Make 'vm_refcnt' volatile so that compilers won't be tempted to treat its value as a loop invariant. Currently this is a no-op because 'atomic_cmpset_int()' clobbers

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

2010-10-21 Thread John Baldwin
Author: jhb Date: Thu Oct 21 17:46:23 2010 New Revision: 214146 URL: http://svn.freebsd.org/changeset/base/214146 Log: Clarify a misleading comment. The test in pci_reserve_map() was meant to ignore BARs that are invalid due to having a size of zero, not to ignore BARs with an existing

Re: svn commit: r214144 - head/sys/vm

2010-10-21 Thread John Baldwin
On Thursday, October 21, 2010 2:19:21 pm Ed Schouten wrote: Hi John, * John Baldwin j...@freebsd.org, 20101021 19:29: + if (atomic_fetchadd_int(vm-vm_refcnt, -1) == 1) vmspace_dofree(vm); Not that it's that useful, but maybe it would be good to use refcount_release() here

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

2010-10-21 Thread John Baldwin
Author: jhb Date: Thu Oct 21 19:17:40 2010 New Revision: 214158 URL: http://svn.freebsd.org/changeset/base/214158 Log: - When disabling ktracing on a process, free any pending requests that may be left. This fixes a memory leak that can occur when tracing is disabled on a process via

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

2010-10-21 Thread John Baldwin
On Thursday, October 21, 2010 3:08:12 pm Xin LI wrote: On 10/21/10 04:46, John Baldwin wrote: On Thursday, October 21, 2010 4:57:25 am Xin LI wrote: Author: delphij Date: Thu Oct 21 08:57:25 2010 New Revision: 214125 URL: http://svn.freebsd.org/changeset/base/214125 Log

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

2010-10-22 Thread John Baldwin
Author: jhb Date: Fri Oct 22 11:42:02 2010 New Revision: 214203 URL: http://svn.freebsd.org/changeset/base/214203 Log: - Add a new PCI quirk to whitelist an old chipset that doesn't support PCI-express or PCI-X capabilities if we are running in a virtual machine. - Whitelist the Intel

svn commit: r214347 - in head/sys: amd64/amd64 i386/i386 i386/isa x86/x86

2010-10-25 Thread John Baldwin
Author: jhb Date: Mon Oct 25 15:31:13 2010 New Revision: 214347 URL: http://svn.freebsd.org/changeset/base/214347 Log: Use 'saveintr' instead of 'savecrit' or 'eflags' to hold the state returned by intr_disable(). Requested by: bde Modified: head/sys/amd64/amd64/fpu.c

svn commit: r214396 - head/usr.sbin/mfiutil

2010-10-26 Thread John Baldwin
Author: jhb Date: Tue Oct 26 19:11:09 2010 New Revision: 214396 URL: http://svn.freebsd.org/changeset/base/214396 Log: - Save errno values before calling warn(3) so that errors are correctly reported. - Use powerof2() from sys/param.h rather than a copy and paste version. Submitted

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

2010-10-28 Thread John Baldwin
Author: jhb Date: Thu Oct 28 13:44:19 2010 New Revision: 214448 URL: http://svn.freebsd.org/changeset/base/214448 Log: Use 'PCPU_GET(apic_id)' to determine the BSP's APIC ID on a UP machine when routing interrupts instead of cpu_apic_ids[0] since cpu_apic_ids[] is only populated for

svn commit: r214449 - head/sys/kern

2010-10-28 Thread John Baldwin
Author: jhb Date: Thu Oct 28 14:17:06 2010 New Revision: 214449 URL: http://svn.freebsd.org/changeset/base/214449 Log: Set bootverbose directly in mi_startup() rather than via a SYSINIT. This ensures 'bootverbose' is in a valid state for all SYSINITs. Reported by: avg MFC after:1

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread John Baldwin
, so ram_attach() should probably be changed to try the amd64 approach first and if that fails fall back to using the phys_avail[] array instead. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread John Baldwin
On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 12:31:39 pm Attilio Rao wrote: Author: attilio Date: Thu Oct 28 16:31:39 2010 New Revision: 214457 URL: http://svn.freebsd.org/changeset/base/214457

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-28 Thread John Baldwin
On Thursday, October 28, 2010 2:11:40 pm John Baldwin wrote: On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: + vm_paddr_t *p; caddr_t kmdp; uint32_t smapsize; - int error, rid; + int error, i, rid; /* Retrieve the system memory

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread John Baldwin
On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: 2010/10/28 John Baldwin

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread John Baldwin
On Friday, October 29, 2010 10:17:23 am Attilio Rao wrote: 2010/10/29 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: 2010/10/28 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote: 2010/10/28 John Baldwin

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread John Baldwin
On Friday, October 29, 2010 10:33:05 am Attilio Rao wrote: 2010/10/29 John Baldwin j...@freebsd.org: On Friday, October 29, 2010 10:17:23 am Attilio Rao wrote: 2010/10/29 John Baldwin j...@freebsd.org: On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: 2010/10/28 John Baldwin j

svn commit: r214523 - head/usr.sbin/config

2010-10-29 Thread John Baldwin
Author: jhb Date: Fri Oct 29 19:17:07 2010 New Revision: 214523 URL: http://svn.freebsd.org/changeset/base/214523 Log: Remove support for creating the 'machine' symlink as well as creating the extra MACHINE_ARCH symlink for certain platforms (such as pc98). The support for creating these

svn commit: r214625 - head/usr.bin/kdump

2010-11-01 Thread John Baldwin
Author: jhb Date: Mon Nov 1 15:18:57 2010 New Revision: 214625 URL: http://svn.freebsd.org/changeset/base/214625 Log: Correct the abbreviations for general I/O and signal traces. PR: docs/151854 Submitted by: Stephen Veiss stephen of brokenbottle net MFC after:3 days

svn commit: r214629 - in head: include sys/conf sys/x86/include

2010-11-01 Thread John Baldwin
Author: jhb Date: Mon Nov 1 17:34:04 2010 New Revision: 214629 URL: http://svn.freebsd.org/changeset/base/214629 Log: Add an x86/include directory to the kernel to hold headers that are common to amd64, i386, and pc98. The headers are installed to /usr/include/x86 during an installworld,

svn commit: r214630 - in head/sys: amd64/acpica amd64/amd64 amd64/include i386/acpica i386/i386 i386/include pc98/include pc98/pc98 x86/include x86/x86

2010-11-01 Thread John Baldwin
Author: jhb Date: Mon Nov 1 17:40:35 2010 New Revision: 214630 URL: http://svn.freebsd.org/changeset/base/214630 Log: Move the machine/mca.h header to x86/mca.h. Added: head/sys/x86/include/mca.h - copied, changed from r214624, head/sys/amd64/include/mca.h Deleted:

svn commit: r214631 - in head/sys: amd64/acpica amd64/amd64 amd64/include i386/acpica i386/i386 i386/include i386/xen pc98/include x86/include x86/x86

2010-11-01 Thread John Baldwin
Author: jhb Date: Mon Nov 1 18:18:46 2010 New Revision: 214631 URL: http://svn.freebsd.org/changeset/base/214631 Log: Move machine/apicreg.h to x86/apicreg.h. Added: head/sys/x86/include/apicreg.h - copied, changed from r214624, head/sys/i386/include/apicreg.h Deleted:

svn commit: r214673 - head/share/man/man9

2010-11-02 Thread John Baldwin
Author: jhb Date: Tue Nov 2 12:40:13 2010 New Revision: 214673 URL: http://svn.freebsd.org/changeset/base/214673 Log: Fix a few typos and style nits in the example code. Submitted by: Arnaud Lacombe lacombar of gmail MFC after:3 days Modified:

svn commit: r214675 - head/sys/netinet

2010-11-02 Thread John Baldwin
Author: jhb Date: Tue Nov 2 13:00:56 2010 New Revision: 214675 URL: http://svn.freebsd.org/changeset/base/214675 Log: Don't leak the LLE lock if the arptimer callout is pending or inactive. Reported by: David Rhodus MFC after:1 month Modified: head/sys/netinet/if_ether.c

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

2010-11-02 Thread John Baldwin
Author: jhb Date: Tue Nov 2 13:04:25 2010 New Revision: 214676 URL: http://svn.freebsd.org/changeset/base/214676 Log: Skip SMAP regions above 4GB on i386 since they will not fit into a long. While here, update some comments to better explain the new code flow. Tested by:dhw

Re: svn commit: r214675 - head/sys/netinet

2010-11-02 Thread John Baldwin
On Tuesday, November 02, 2010 9:00:57 am John Baldwin wrote: Author: jhb Date: Tue Nov 2 13:00:56 2010 New Revision: 214675 URL: http://svn.freebsd.org/changeset/base/214675 Log: Don't leak the LLE lock if the arptimer callout is pending or inactive. Reported by:David

Re: Fw: svn commit: r214675 - head/sys/netinet

2010-11-02 Thread John Baldwin
On Tuesday, November 02, 2010 12:41:54 pm David Rhodus wrote: - Forwarded Message From: John Baldwin j...@freebsd.org To: src-committ...@freebsd.org Cc: svn-src-head@freebsd.org; svn-src-...@freebsd.org Sent: Tue, November 2, 2010 9:06:24 AM Subject: Re: svn commit: r214675

svn commit: r214681 - in head/sys: i386/i386 x86/x86

2010-11-02 Thread John Baldwin
Author: jhb Date: Tue Nov 2 17:56:16 2010 New Revision: 214681 URL: http://svn.freebsd.org/changeset/base/214681 Log: Further tweaks to the ram_attach() routine: - Use 2^32 - 1 instead of = when checking for memory regions above 4G. - Skip SMAP entries 4G on i386 rather than breaking out

svn commit: r214682 - head/sys/kern

2010-11-02 Thread John Baldwin
Author: jhb Date: Tue Nov 2 18:34:31 2010 New Revision: 214682 URL: http://svn.freebsd.org/changeset/base/214682 Log: Tweak the waitchannel messages for the dead lock detection kthread. Use a shorter message (userland generally only sees the first 6 to 8 characters) when waiting for the

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

2010-11-02 Thread John Baldwin
Author: jhb Date: Tue Nov 2 20:16:41 2010 New Revision: 214686 URL: http://svn.freebsd.org/changeset/base/214686 Log: Cosmetic change to revert one of my earlier ones. #if __i386__ PAE is identical to just #if PAE since PAE is only a valid option for i386. Submitted by: attilio

svn commit: r214738 - head

2010-11-03 Thread John Baldwin
Author: jhb Date: Wed Nov 3 13:42:59 2010 New Revision: 214738 URL: http://svn.freebsd.org/changeset/base/214738 Log: Delete machine/foo.h headers moved to x86/. I forgot to commit this earlier. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

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

2010-11-03 Thread John Baldwin
Author: jhb Date: Wed Nov 3 15:38:52 2010 New Revision: 214746 URL: http://svn.freebsd.org/changeset/base/214746 Log: Remove 'softclock_ih' as it is no longer used. Modified: head/sys/kern/kern_timeout.c head/sys/sys/interrupt.h Modified: head/sys/kern/kern_timeout.c

svn commit: r214782 - head/sys/vm

2010-11-04 Thread John Baldwin
Author: jhb Date: Thu Nov 4 15:33:50 2010 New Revision: 214782 URL: http://svn.freebsd.org/changeset/base/214782 Log: Update startup_alloc() to support multi-page allocations and allow internal zones whose objects are larger than a page to use startup_alloc(). This allows allocation of

svn commit: r214835 - in head/sys: amd64/amd64 arm/arm i386/i386 ia64/ia64 mips/mips pc98/pc98 powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v

2010-11-05 Thread John Baldwin
Author: jhb Date: Fri Nov 5 13:42:58 2010 New Revision: 214835 URL: http://svn.freebsd.org/changeset/base/214835 Log: Adjust the order of operations in spinlock_enter() and spinlock_exit() to work properly with single-stepping in a kernel debugger. Specifically, these routines have always

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

2010-11-08 Thread John Baldwin
Author: jhb Date: Mon Nov 8 20:03:51 2010 New Revision: 215001 URL: http://svn.freebsd.org/changeset/base/215001 Log: Only dump the values of the PMC and CMCI local vector table entries on a local APIC if those LVT entries are valid. This quiets spurious illegal register local APIC errors

svn commit: r215002 - in head/sys: amd64/acpica amd64/amd64 i386/acpica

2010-11-08 Thread John Baldwin
Author: jhb Date: Mon Nov 8 20:05:22 2010 New Revision: 215002 URL: http://svn.freebsd.org/changeset/base/215002 Log: A few small style and whitespace fixes. Modified: head/sys/amd64/acpica/madt.c head/sys/amd64/amd64/mp_machdep.c head/sys/i386/acpica/madt.c Modified:

svn commit: r215007 - head/sys/modules/acpi

2010-11-08 Thread John Baldwin
Author: jhb Date: Mon Nov 8 20:30:59 2010 New Revision: 215007 URL: http://svn.freebsd.org/changeset/base/215007 Log: Disconnect acpi.ko from the build on i386. ACPI is now only supported when compiled into the kernel, not as a loadable module. Modified: head/sys/modules/acpi/Makefile

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

2010-11-08 Thread John Baldwin
Author: jhb Date: Mon Nov 8 20:32:35 2010 New Revision: 215008 URL: http://svn.freebsd.org/changeset/base/215008 Log: Remove stub symbols for APIC-related functions when 'device apic' is not included in a kernel config. These stubs had existed previously so that acpi.ko could always

svn commit: r215009 - in head/sys: i386/acpica i386/i386 i386/xen x86/x86

2010-11-08 Thread John Baldwin
Author: jhb Date: Mon Nov 8 20:35:09 2010 New Revision: 215009 URL: http://svn.freebsd.org/changeset/base/215009 Log: Sync the APIC startup sequence with amd64: - Register APIC enumerators at SI_SUB_TUNABLES - 1 instead of SI_SUB_CPU - 1. - Probe CPUs at SI_SUB_TUNABLES - 1. This allows

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

2010-11-08 Thread John Baldwin
Author: jhb Date: Mon Nov 8 20:44:11 2010 New Revision: 215010 URL: http://svn.freebsd.org/changeset/base/215010 Log: Don't mention 'device acpi' or loading ACPI as a kernel module since the latter is not supported. This is also more consistent with manpages for other vendor-specific

svn commit: r215012 - in head/sys: amd64/acpica conf i386/acpica modules/acpi/acpi x86/acpica

2010-11-08 Thread John Baldwin
) == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/x86/acpica/madt.c Mon Nov 8 20:57:02 2010(r215012, copy of r215009, head/sys/i386/acpica/madt.c) @@ -0,0 +1,572 @@ +/*- + * Copyright (c) 2003 John Baldwin j...@freebsd.org + * All rights reserved

svn commit: r215016 - in head/sys/boot: common forth i386/libi386 i386/loader

2010-11-08 Thread John Baldwin
Author: jhb Date: Mon Nov 8 21:50:45 2010 New Revision: 215016 URL: http://svn.freebsd.org/changeset/base/215016 Log: Remove support for autoloading ACPI from the loader. Leave in the code to detect ACPI and export info such as the location of the RSDP via hints as that is still useful.

svn commit: r215046 - head/usr.sbin/mptutil

2010-11-09 Thread John Baldwin
Author: jhb Date: Tue Nov 9 19:28:06 2010 New Revision: 215046 URL: http://svn.freebsd.org/changeset/base/215046 Log: - Save errno values before calling warn(3) so that errors are correctly reported. - Check for malloc() failures. Submitted by: gcooper MFC after:1 week

svn commit: r215052 - in head/sys: fs/nwfs ia64/ia64 powerpc/booke ufs/ufs

2010-11-09 Thread John Baldwin
Author: jhb Date: Tue Nov 9 20:41:10 2010 New Revision: 215052 URL: http://svn.freebsd.org/changeset/base/215052 Log: Remove unused includes of sys/mutex.h and machine/mutex.h. Modified: head/sys/fs/nwfs/nwfs_vnops.c head/sys/ia64/ia64/db_machdep.c head/sys/ia64/ia64/genassym.c

svn commit: r215054 - in head/sys: amd64/include arm/include i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sun4v/include sys

2010-11-09 Thread John Baldwin
Author: jhb Date: Tue Nov 9 20:46:41 2010 New Revision: 215054 URL: http://svn.freebsd.org/changeset/base/215054 Log: - Remove machine/mutex.h. Most of the headers were empty, and the contents of the ones that were not empty were stale and unused. - Now that machine/mutex.h no longer

Re: svn commit: r215041 - head/contrib/bzip2

2010-11-09 Thread John Baldwin
vendor/bzip2/dist? I think they were. Notice the prop change on the directory. Also, 1.0.6 was imported into the vendor area a while ago. I think David was just now able to get review completed and commit the merge. -- John Baldwin ___ svn-src-head

svn commit: r215128 - in head/sys/sun4v: include sun4v

2010-11-11 Thread John Baldwin
Author: jhb Date: Thu Nov 11 16:06:47 2010 New Revision: 215128 URL: http://svn.freebsd.org/changeset/base/215128 Log: Fix a few more places to use cpumask_t rather than 'u_int'. These are just cosmetic. Modified: head/sys/sun4v/include/pmap.h head/sys/sun4v/include/smp.h

svn commit: r215345 - head/sys/boot/forth

2010-11-15 Thread John Baldwin
Author: jhb Date: Mon Nov 15 19:55:19 2010 New Revision: 215345 URL: http://svn.freebsd.org/changeset/base/215345 Log: Don't display option 2 (to toggle ACPI on or off) on x86 machines if the BIOS does not support ACPI. The other options in the menu retain their existing numbers, option 2

svn commit: r215426 - in head: lib/libautofs sbin/mount_autofs

2010-11-17 Thread John Baldwin
Author: jhb Date: Wed Nov 17 15:42:47 2010 New Revision: 215426 URL: http://svn.freebsd.org/changeset/base/215426 Log: Remove unused autofs userland bits. Approved by: core Deleted: head/lib/libautofs/ head/sbin/mount_autofs/ ___

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

2010-11-17 Thread John Baldwin
Author: jhb Date: Wed Nov 17 22:28:04 2010 New Revision: 215443 URL: http://svn.freebsd.org/changeset/base/215443 Log: Add a resource_list_reserved() method that returns true if a resource list entry contains a reserved resource. Modified: head/sys/kern/subr_bus.c head/sys/sys/bus.h

svn commit: r215473 - in head/sys/dev: acpica atkbdc

2010-11-18 Thread John Baldwin
Author: jhb Date: Thu Nov 18 22:17:20 2010 New Revision: 215473 URL: http://svn.freebsd.org/changeset/base/215473 Log: Various small typos and grammar nits in comments. Modified: head/sys/dev/acpica/acpi_hpet.c head/sys/dev/atkbdc/psm.c Modified: head/sys/dev/acpica/acpi_hpet.c

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

2010-11-19 Thread John Baldwin
probably just retire 'modulelist_t' and replace it with 'struct modulelist'. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr

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

2010-11-19 Thread John Baldwin
... */ } (Likely mangled whitespace.) I couldn't convince myself which order was more correct for suspend and resume. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe

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

2010-11-19 Thread John Baldwin
On Friday, November 19, 2010 4:31:44 pm Attilio Rao wrote: 2010/11/19 John Baldwin j...@freebsd.org: On Friday, November 19, 2010 4:09:28 pm Jung-uk Kim wrote: On Friday 19 November 2010 02:43 pm, Attilio Rao wrote: Author: attilio Date: Fri Nov 19 19:43:56 2010 New Revision: 215544

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

2010-11-19 Thread John Baldwin
On Friday, November 19, 2010 4:27:27 pm Attilio Rao wrote: 2010/11/19 John Baldwin j...@freebsd.org: On Friday, November 19, 2010 2:43:57 pm Attilio Rao wrote: Author: attilio Date: Fri Nov 19 19:43:56 2010 New Revision: 215544 URL: http://svn.freebsd.org/changeset/base/215544 Log

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

2010-11-19 Thread John Baldwin
On Friday, November 19, 2010 5:03:25 pm Jung-uk Kim wrote: On Friday 19 November 2010 04:46 pm, John Baldwin wrote: On Friday, November 19, 2010 4:31:44 pm Attilio Rao wrote: 2010/11/19 John Baldwin j...@freebsd.org: On Friday, November 19, 2010 4:09:28 pm Jung-uk Kim wrote

svn commit: r215678 - head/usr.sbin/mptutil

2010-11-22 Thread John Baldwin
Author: jhb Date: Mon Nov 22 14:36:04 2010 New Revision: 215678 URL: http://svn.freebsd.org/changeset/base/215678 Log: Similar to mfiutil, drop local definition of powerof2() and use version from sys/param.h instead. Modified: head/usr.sbin/mptutil/mpt_config.c Modified:

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

2010-11-22 Thread John Baldwin
On Friday, November 19, 2010 5:32:00 pm Attilio Rao wrote: 2010/11/19 John Baldwin j...@freebsd.org: On Friday, November 19, 2010 4:27:27 pm Attilio Rao wrote: 2010/11/19 John Baldwin j...@freebsd.org: On Friday, November 19, 2010 2:43:57 pm Attilio Rao wrote: Author: attilio Date

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

2010-11-22 Thread John Baldwin
On Friday, November 19, 2010 5:41:00 pm Attilio Rao wrote: 2010/11/19 John Baldwin j...@freebsd.org: On Friday, November 19, 2010 5:03:25 pm Jung-uk Kim wrote: On Friday 19 November 2010 04:46 pm, John Baldwin wrote: On Friday, November 19, 2010 4:31:44 pm Attilio Rao wrote: 2010/11/19

svn commit: r215681 - in head/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/x86emu dev/xen/xenpci

2010-11-22 Thread John Baldwin
Author: jhb Date: Mon Nov 22 15:15:11 2010 New Revision: 215681 URL: http://svn.freebsd.org/changeset/base/215681 Log: Remove some bogus, self-referential mergeinfo. Modified: Directory Properties: head/sys/ (props changed) head/sys/amd64/include/xen/ (props changed)

Re: svn commit: r215675 - head/sys/compat/linux

2010-11-22 Thread John Baldwin
to warrant any of these. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r216134 - in head: share/man/man9 sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/pc98/include sys/powerpc/include sys/sparc64/include sys/sun4

2010-12-03 Thread John Baldwin
. Yes, this catches a specific case that hps raised a few years ago: sending zero-length packets/frames would fail by causing the system to hang. Should we just document the restriction in the man page and not try and prevent it at runtime? Documenting it is probably sufficient. -- John Baldwin

Re: svn commit: r216134 - in head: share/man/man9 sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/pc98/include sys/powerpc/include sys/sparc64/include sys/sun4

2010-12-03 Thread John Baldwin
and that this case is actually very rare. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

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

2010-12-06 Thread John Baldwin
stripe sizes to physical sector sizes when picking block sizes, etc. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

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

2010-12-07 Thread John Baldwin
Author: jhb Date: Tue Dec 7 18:49:11 2010 New Revision: 216263 URL: http://svn.freebsd.org/changeset/base/216263 Log: Use proper resource ID's for HPET IRQ resources. This mostly consists of looking to see if there is an existing IRQ resource for a given IRQ provided by the BIOS and using

Re: svn commit: r216272 - in head/sys: amd64/amd64 i386/i386

2010-12-07 Thread John Baldwin
; - } if (tsc_is_invariant) printf(\n TSC: P-state invariant); Doesn't that break this printf? -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: svn commit: r216272 - in head/sys: amd64/amd64 i386/i386

2010-12-07 Thread John Baldwin
On Tuesday, December 07, 2010 5:22:29 pm John Baldwin wrote: On Tuesday, December 07, 2010 5:12:02 pm Jung-uk Kim wrote: Author: jkim Date: Tue Dec 7 22:12:02 2010 New Revision: 216272 URL: http://svn.freebsd.org/changeset/base/216272 Log: Probe P-state invariant TSC from

Re: svn commit: r216263 - head/sys/dev/acpica

2010-12-08 Thread John Baldwin
On Tuesday, December 07, 2010 8:24:28 pm Alexey Dokuchaev wrote: On Tue, Dec 07, 2010 at 06:49:11PM +, John Baldwin wrote: Author: jhb Date: Tue Dec 7 18:49:11 2010 New Revision: 216263 URL: http://svn.freebsd.org/changeset/base/216263 Log: Use proper resource ID's for HPET

svn commit: r216334 - head/lib/libc/stdio

2010-12-09 Thread John Baldwin
Author: jhb Date: Thu Dec 9 20:28:30 2010 New Revision: 216334 URL: http://svn.freebsd.org/changeset/base/216334 Log: When reopening a stream backed by an open file descriptor, do not close the existing file descriptor. Instead, let dup2() atomically close the old file descriptor when

Re: svn commit: r216358 - head/sys/dev/le

2010-12-10 Thread John Baldwin
On Friday, December 10, 2010 11:36:17 am Tijl Coosemans wrote: On Friday 10 December 2010 16:31:36 John Baldwin wrote: On Friday, December 10, 2010 10:05:49 am Tijl Coosemans wrote: Author: tijl Date: Fri Dec 10 15:05:49 2010 New Revision: 216358 URL: http://svn.freebsd.org/changeset

Re: svn commit: r216375 - head/sys/mips/rmi/dev/xlr

2010-12-13 Thread John Baldwin
); + atomic_store_int((priv-frin_to_be_sent[i]), 0); Err, there is no such op for this. If you don't need a memory barrier then a simple assignment to 0 should suffice. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org

svn commit: r216486 - head/sys/dev/if_ndis

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 15:19:32 2010 New Revision: 216486 URL: http://svn.freebsd.org/changeset/base/216486 Log: Use bus_alloc_resource_any() instead of bus_alloc_resource(). Besides being cleaner, this fixes problems where the code was using ~0 instead of ~0ul for the upper bound on

svn commit: r216487 - head

2010-12-16 Thread John Baldwin
Author: jhb Date: Thu Dec 16 15:27:13 2010 New Revision: 216487 URL: http://svn.freebsd.org/changeset/base/216487 Log: Pass JFLAG as JFLAG from tinderbox to universe. This gives the same semantics for JFLAG with tinderbox as for universe. Previously doing 'make JFLAG=-j4 tinderbox' was

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread John Baldwin
/../../../../sys/crypto/sha2/sha2.c:994: warning: cast increases required alignment of target type -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread John Baldwin
...) The one thing to be cautious about is that make universe won't fail if an individual build fails, so you need to check the logs to make sure everything actually succeeded. Which is why I prefer 'make tinderbox' since it tells you what fails. :) -- John Baldwin

svn commit: r216504 - head/sys/kern

2010-12-17 Thread John Baldwin
Author: jhb Date: Fri Dec 17 16:29:06 2010 New Revision: 216504 URL: http://svn.freebsd.org/changeset/base/216504 Log: Add back a bounds check on valid idle priorities that was lost in an earlier commit. While here, move the thread lock down in rtp_to_pri(). It is not needed for all of the

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

2010-12-20 Thread John Baldwin
Author: jhb Date: Mon Dec 20 14:54:24 2010 New Revision: 216590 URL: http://svn.freebsd.org/changeset/base/216590 Log: Don't whine about child drivers calling pci_enable_busmaster(). That is perfectly normal. MFC after:1 week Modified: head/sys/dev/pci/vga_pci.c Modified:

svn commit: r216614 - head/sys/dev/atkbdc

2010-12-21 Thread John Baldwin
Author: jhb Date: Tue Dec 21 12:49:37 2010 New Revision: 216614 URL: http://svn.freebsd.org/changeset/base/216614 Log: Only use the BIOS-supplied IRQ for the atkbdc device for a child atkbd device. Specifically, do not reuse it for a child psm device. Tested by:many Modified:

svn commit: r216621 - head/sys/netinet

2010-12-21 Thread John Baldwin
Author: jhb Date: Tue Dec 21 19:30:24 2010 New Revision: 216621 URL: http://svn.freebsd.org/changeset/base/216621 Log: Fix a typo in a comment. MFC after:1 week Modified: head/sys/netinet/tcp_timer.c Modified: head/sys/netinet/tcp_timer.c

Re: svn commit: r216634 - in head/sys/amd64: amd64 ia32 include linux32

2010-12-22 Thread John Baldwin
flag). 'orl' will work just as well as 'orb'. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

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

2010-12-22 Thread John Baldwin
Author: jhb Date: Wed Dec 22 20:27:20 2010 New Revision: 216674 URL: http://svn.freebsd.org/changeset/base/216674 Log: Use resource_list_reserve() to reserve I/O port and memory resources for ACPI devices even if they are not allocated by a device driver since the resources are in use and

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

2010-12-23 Thread John Baldwin
Author: jhb Date: Thu Dec 23 15:17:28 2010 New Revision: 216679 URL: http://svn.freebsd.org/changeset/base/216679 Log: Drop the icu_lock spinlock while pausing briefly after masking the interrupt in the I/O APIC before moving it to a different CPU. If the interrupt had been triggered by

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

2010-12-23 Thread John Baldwin
Author: jhb Date: Thu Dec 23 18:50:14 2010 New Revision: 216680 URL: http://svn.freebsd.org/changeset/base/216680 Log: Don't try to reserve a resource that is already allocated. If the ECDT table is present, then the acpi_ec(4) driver will allocate its resources from nexus0 before the

Re: svn commit: r216694 - head/libexec/rtld-elf

2010-12-28 Thread John Baldwin
'? If you are just doing 'make DEBUG=-DDEBUG' with this change, then I agree with Ulrich, DEBUG_FLAGS is already suitable for this purpose. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head

svn commit: r216764 - head/sys/dev/mpt

2010-12-28 Thread John Baldwin
Author: jhb Date: Tue Dec 28 16:57:29 2010 New Revision: 216764 URL: http://svn.freebsd.org/changeset/base/216764 Log: Use bus_alloc_resource_any(). MFC after:2 weeks Modified: head/sys/dev/mpt/mpt_pci.c Modified: head/sys/dev/mpt/mpt_pci.c

svn commit: r216769 - head/usr.bin/gcore

2010-12-28 Thread John Baldwin
Author: jhb Date: Tue Dec 28 18:58:15 2010 New Revision: 216769 URL: http://svn.freebsd.org/changeset/base/216769 Log: Start sentences on a new line to ease life for translators. Tweak the wording in a few places. MFC after:1 week Modified: head/usr.bin/gcore/gcore.1 Modified:

svn commit: r216925 - in head/sys/dev: ae age alc ale nfe

2011-01-03 Thread John Baldwin
Author: jhb Date: Mon Jan 3 18:28:30 2011 New Revision: 216925 URL: http://svn.freebsd.org/changeset/base/216925 Log: Add a 'locked' variant of the foo_start() routine and call it directly from interrupt handlers and watchdog routines instead of queueing a task to call foo_start().

svn commit: r216954 - head/sys/kern

2011-01-04 Thread John Baldwin
Author: jhb Date: Tue Jan 4 13:16:28 2011 New Revision: 216954 URL: http://svn.freebsd.org/changeset/base/216954 Log: kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't needed for lint. Submitted by: bde Modified: head/sys/kern/kern_kthread.c Modified:

Re: svn commit: r216944 - head/sys/i386/xen

2011-01-04 Thread John Baldwin
+303,12 @@ void xen_flush_queue(void) { SET_VCPU(); + + if (__predict_true(gdtset)) + critical_enter(); if (XPQ_IDX != 0) _xen_flush_queue(); + if (__predict_true(gdtset)) + critical_exit(); } static __inline void -- John Baldwin

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

2011-01-04 Thread John Baldwin
On Tuesday, January 04, 2011 12:00:12 pm Julian Elischer wrote: On 1/4/11 5:16 AM, John Baldwin wrote: Author: jhb Date: Tue Jan 4 13:16:28 2011 New Revision: 216954 URL: http://svn.freebsd.org/changeset/base/216954 Log: kproc_exit() is already marked __dead2 so a NOTREACHED

Re: svn commit: r216967 - head/usr.sbin/rtprio

2011-01-04 Thread John Baldwin
(as bde has suggested to me elsewhere), but this is good enough for today. strtonum(3)? -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr

Re: svn commit: r216977 - in head/libexec/rtld-elf: amd64 i386

2011-01-05 Thread John Baldwin
. It strikes me that we really want clang/gcc to have some sort of '-mno-hwfloat' so we don't keep having to add new flags in the future. -- John Baldwin ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head

Re: svn commit: r216977 - in head/libexec/rtld-elf: amd64 i386

2011-01-05 Thread John Baldwin
On Wednesday, January 05, 2011 8:36:06 am Dimitry Andric wrote: On 2011-01-05 13:59, John Baldwin wrote: Why not to add NO_HWFLOAT knob (or similar) into makefile infrastructure. And set CFLAGS accordingly, depending on CC, arch, etc. These flags are getting rather common in tree

Re: svn commit: r216977 - in head/libexec/rtld-elf: amd64 i386

2011-01-05 Thread John Baldwin
On Wednesday, January 05, 2011 9:50:40 am Nathan Whitehorn wrote: On 01/05/11 08:28, John Baldwin wrote: On Wednesday, January 05, 2011 8:36:06 am Dimitry Andric wrote: On 2011-01-05 13:59, John Baldwin wrote: Why not to add NO_HWFLOAT knob (or similar) into makefile infrastructure

  1   2   3   4   5   6   7   8   9   10   >