svn commit: r278211 - head/sys/dev/ed

2015-02-04 Thread Warner Losh
Author: imp Date: Wed Feb 4 16:19:31 2015 New Revision: 278211 URL: https://svnweb.freebsd.org/changeset/base/278211 Log: Fix typo Submitted by: matteo@ Modified: head/sys/dev/ed/if_ed.c Modified: head/sys/dev/ed/if_ed.c

svn commit: r278210 - head/sys/dev/ed

2015-02-04 Thread Warner Losh
Author: imp Date: Wed Feb 4 15:59:51 2015 New Revision: 278210 URL: https://svnweb.freebsd.org/changeset/base/278210 Log: Add comment about why checking for 0xff is OK. There's two bits in the ISR that are normally clear. RST is one, though in some overflow cases it can be set. RDC is only

svn commit: r278340 - in head/sys: arm/conf modules

2015-02-06 Thread Warner Losh
Author: imp Date: Sat Feb 7 00:41:08 2015 New Revision: 278340 URL: https://svnweb.freebsd.org/changeset/base/278340 Log: Pull in the rpi.dts - rpi.dtb module (dtb/rpi) and have it install rpi.dtb in /boot/dtb by default. Modified: head/sys/arm/conf/RPI-B head/sys/modules/Makefile

svn commit: r278338 - head/sys/modules/dtb/rpi

2015-02-06 Thread Warner Losh
Author: imp Date: Sat Feb 7 00:13:36 2015 New Revision: 278338 URL: https://svnweb.freebsd.org/changeset/base/278338 Log: Create a module to install the Raspberry Pi dtb files. Added: head/sys/modules/dtb/rpi/ head/sys/modules/dtb/rpi/Makefile (contents, props changed) Added:

svn commit: r278165 - head/sys/dev/fe

2015-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 3 18:59:52 2015 New Revision: 278165 URL: https://svnweb.freebsd.org/changeset/base/278165 Log: Silence a coverity warning about ignoring a return value. We do, but we also know that it can't fail given the single-threaded nature of device enumeration. Go ahead

Re: svn commit: r278108 - head/sys/dev/gpio

2015-02-03 Thread Warner Losh
On Feb 2, 2015, at 1:18 PM, Nathan Whitehorn nwhiteh...@freebsd.org wrote: On 02/02/15 12:08, Ian Lepore wrote: On Mon, 2015-02-02 at 11:24 -0800, Nathan Whitehorn wrote: Please don't condition things like this on FDT. They are useful on Open Firmware systems too. -Nathan Is there

Re: svn commit: r277163 - head/sys/dev/cardbus

2015-01-14 Thread Warner Losh
On Jan 14, 2015, at 8:32 AM, Justin Hibbits chmeeed...@gmail.com wrote: On Wed, 14 Jan 2015 09:23:05 -0500 John Baldwin j...@freebsd.org wrote: On 1/14/15 12:41 AM, Warner Losh wrote: Author: imp Date: Wed Jan 14 05:41:31 2015 New Revision: 277163 URL: https://svnweb.freebsd.org

svn commit: r277205 - in head: sys/boot/common sys/sys usr.sbin/kldxref

2015-01-14 Thread Warner Losh
Author: imp Date: Thu Jan 15 00:46:30 2015 New Revision: 277205 URL: https://svnweb.freebsd.org/changeset/base/277205 Log: Reserve and ignore the a new module metadata type MDT_PNP_INFO for associating an optional PNP hint table with this module. In the future, when these are added, these

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-21 Thread Warner Losh
On Jan 21, 2015, at 4:38 PM, K. Macy km...@freebsd.org wrote: They originally found that things were spinning for way too long. Hans found something similar and determined/concluded that the migration code in callouts was racy-by-design and dramatically simplified it and also put very

Re: svn commit: r277497 - head

2015-01-21 Thread Warner Losh
On Jan 21, 2015, at 5:35 PM, Ed Maste ema...@freebsd.org wrote: On 21 January 2015 at 16:49, Ian Lepore i...@freebsd.org wrote: On Wed, 2015-01-21 at 16:45 -0500, Ed Maste wrote: On 21 January 2015 at 15:20, Ian Lepore i...@freebsd.org wrote: I don't think there's a single addr2line

Re: svn commit: r277421 - head/sys/powerpc/powerpc

2015-01-21 Thread Warner Losh
On Jan 21, 2015, at 12:54 AM, Konstantin Belousov kostik...@gmail.com wrote: On Tue, Jan 20, 2015 at 07:59:08PM -0800, Nathan Whitehorn wrote: On 01/20/15 11:14, Konstantin Belousov wrote: On Tue, Jan 20, 2015 at 04:21:59PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Tue Jan

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-21 Thread Warner Losh
On Jan 20, 2015, at 12:51 AM, Konstantin Belousov kostik...@gmail.com wrote: Do other people consider this situation acceptable ? Not even a little. Warner ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-21 Thread Warner Losh
On Jan 20, 2015, at 12:35 AM, Hans Petter Selasky h...@selasky.org wrote: On 01/20/15 06:22, Adrian Chadd wrote: Sweet, thanks. I'l test it, but anything that changes the locking to TCP is going to need a more thorough review. The there be dragons disclaimer is appropriate.:) No changes

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-21 Thread Warner Losh
On Jan 20, 2015, at 2:37 AM, Hans Petter Selasky h...@selasky.org wrote: On 01/20/15 10:00, Konstantin Belousov wrote: On Tue, Jan 20, 2015 at 08:58:34AM +0100, Hans Petter Selasky wrote: On 01/20/15 08:51, Konstantin Belousov wrote: On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Petter

Re: svn commit: r277285 - head/sys/x86/isa

2015-01-17 Thread Warner Losh
On Jan 17, 2015, at 6:31 AM, Bjoern A. Zeeb b...@freebsd.org wrote: On 17 Jan 2015, at 02:18 , Warner Losh i...@freebsd.org wrote: Author: imp Date: Sat Jan 17 02:17:59 2015 New Revision: 277285 URL: https://svnweb.freebsd.org/changeset/base/277285 Log: Need to include opt_mca.h

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

2015-01-17 Thread Warner Losh
Author: imp Date: Sun Jan 18 03:43:47 2015 New Revision: 277311 URL: https://svnweb.freebsd.org/changeset/base/277311 Log: Include mca_machdep.h. Modified: head/sys/x86/isa/atpic.c Modified: head/sys/x86/isa/atpic.c

svn commit: r277232 - head/sys/dev/pccbb

2015-01-15 Thread Warner Losh
Author: imp Date: Fri Jan 16 06:19:08 2015 New Revision: 277232 URL: https://svnweb.freebsd.org/changeset/base/277232 Log: Back out the refactor. It turns out to cause interrupt storms on resume sometimes (but not others). On powerup, other wierd issues show up (sometimes the card comes up,

svn commit: r277234 - head/sys/dev/pccbb

2015-01-15 Thread Warner Losh
Author: imp Date: Fri Jan 16 06:19:39 2015 New Revision: 277234 URL: https://svnweb.freebsd.org/changeset/base/277234 Log: Move the suspsned and resume functions to the bus attachment. They were accessing PCI config registers, which won't work for the ISA version. Modified:

svn commit: r277233 - head/sys/dev/pccbb

2015-01-15 Thread Warner Losh
Author: imp Date: Fri Jan 16 06:19:24 2015 New Revision: 277233 URL: https://svnweb.freebsd.org/changeset/base/277233 Log: Suspend and resume were the only two functions not to follow the brdev convention here, so fix that. Modified: head/sys/dev/pccbb/pccbb.c Modified:

svn commit: r277231 - head/sys/modules

2015-01-15 Thread Warner Losh
Author: imp Date: Fri Jan 16 06:19:05 2015 New Revision: 277231 URL: https://svnweb.freebsd.org/changeset/base/277231 Log: Add back a couple PC Card devices to amd64. There's only a couple of them that were popular enough, so this doesn't adversly affect build times. Modified:

svn commit: r277235 - head/sys/dev/pccbb

2015-01-15 Thread Warner Losh
Author: imp Date: Fri Jan 16 06:19:52 2015 New Revision: 277235 URL: https://svnweb.freebsd.org/changeset/base/277235 Log: Always enable I/O, memory and dma cycles. Some BIOSes don't enable them, sometimes they are reset for power state transitions or during whatever happens while

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
On Jan 15, 2015, at 6:23 AM, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: Author: imp Date: Thu Jan 15 00:42:06 2015 New Revision: 277204 URL: https://svnweb.freebsd.org/changeset/base/277204 Log: New MINIMAL kernel config

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
On Jan 15, 2015, at 6:44 AM, Alexey Dokuchaev da...@freebsd.org wrote: On Thu, Jan 15, 2015 at 04:23:03PM +0300, Slawa Olhovchenkov wrote: On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: New Revision: 277204 URL: https://svnweb.freebsd.org/changeset/base/277204 Log: New

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
On Jan 15, 2015, at 9:20 AM, Alexey Dokuchaev da...@freebsd.org wrote: On Thu, Jan 15, 2015 at 10:51:55AM -0500, John Baldwin wrote: [...] +# Pseudo devices. +device loop# Network loopback +device random # Entropy device

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
On Jan 16, 2015, at 11:43 AM, Adrian Chadd adr...@freebsd.org wrote: On 16 January 2015 at 09:57, Warner Losh i...@bsdimp.com wrote: On Jan 15, 2015, at 6:23 AM, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Thu, Jan 15, 2015 at 12:42:07AM +, Warner Losh wrote: Author: imp Date

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-16 Thread Warner Losh
On Jan 16, 2015, at 11:52 AM, Adrian Chadd adr...@freebsd.org wrote: On 16 January 2015 at 10:48, Warner Losh i...@bsdimp.com wrote: Options aren’t supposed to change KBI. Some do, and that’s unfortunate. Yup, and at least for net80211 I'm going to try really hard to fix

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

2015-01-16 Thread Warner Losh
On Jan 15, 2015, at 7:27 AM, Alexey Dokuchaev da...@freebsd.org wrote: On Sun, Sep 08, 2013 at 01:02:44AM +0400, Slawa Olhovchenkov wrote: On Sat, Sep 07, 2013 at 10:48:48PM +0200, Edward Tomasz Napiera?a wrote: I'll be happy if someone does this right now, by populating a

svn commit: r277283 - head/sys/modules

2015-01-16 Thread Warner Losh
Author: imp Date: Sat Jan 17 02:17:55 2015 New Revision: 277283 URL: https://svnweb.freebsd.org/changeset/base/277283 Log: The sn driver isn't UCODE sourceless. While it is true there's an binary FPGA image that's in an include file in this directory, that include file isn't actually used.

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

2015-01-16 Thread Warner Losh
Author: imp Date: Sat Jan 17 02:17:59 2015 New Revision: 277285 URL: https://svnweb.freebsd.org/changeset/base/277285 Log: Need to include opt_mca.h to test for DEV_MCA. Modified: head/sys/x86/isa/atpic.c Modified: head/sys/x86/isa/atpic.c

svn commit: r277284 - head/sys/conf

2015-01-16 Thread Warner Losh
Author: imp Date: Sat Jan 17 02:17:57 2015 New Revision: 277284 URL: https://svnweb.freebsd.org/changeset/base/277284 Log: Move DEV_ entries scattered to their common section. Add DEV_PCI. Modified: head/sys/conf/options Modified: head/sys/conf/options

svn commit: r278519 - head/sys/conf

2015-02-10 Thread Warner Losh
Author: imp Date: Tue Feb 10 15:15:08 2015 New Revision: 278519 URL: https://svnweb.freebsd.org/changeset/base/278519 Log: Properly quote EXTRA_MODULES and WITHOUT_MODULES to ensure that they are passed down properly when there's more than one. Modified: head/sys/conf/kern.pre.mk

svn commit: r278936 - in head/sys/dev: cardbus pccbb

2015-02-17 Thread Warner Losh
Author: imp Date: Wed Feb 18 05:53:04 2015 New Revision: 278936 URL: https://svnweb.freebsd.org/changeset/base/278936 Log: On my Lenovo T400, a Atheros 2413 has a problem powering up sometimes. It will power up wrong and identify itself badly: cardbus0: network, ethernet at device 0.0

svn commit: r278908 - head

2015-02-17 Thread Warner Losh
Author: imp Date: Tue Feb 17 18:10:46 2015 New Revision: 278908 URL: https://svnweb.freebsd.org/changeset/base/278908 Log: hd64570.h was installed, so add it here now that it is gone. Submitted by: ae@ Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r279018 - head/share/mk

2015-02-19 Thread Warner Losh
Author: imp Date: Thu Feb 19 20:22:30 2015 New Revision: 279018 URL: https://svnweb.freebsd.org/changeset/base/279018 Log: Only disable gvn on clang 3.5 and newer. Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk

svn commit: r278880 - head/sys/dev/ic

2015-02-16 Thread Warner Losh
Author: imp Date: Tue Feb 17 05:07:38 2015 New Revision: 278880 URL: https://svnweb.freebsd.org/changeset/base/278880 Log: This should have been GC'd 6 years ago when ar(4) was removed. Deleted: head/sys/dev/ic/hd64570.h ___

svn commit: r278881 - head/sys/dev/lmc

2015-02-16 Thread Warner Losh
Author: imp Date: Tue Feb 17 05:10:41 2015 New Revision: 278881 URL: https://svnweb.freebsd.org/changeset/base/278881 Log: Remove compat code for pre-FreeBSD 7 systems. Modified: head/sys/dev/lmc/if_lmc.h Modified: head/sys/dev/lmc/if_lmc.h

svn commit: r278957 - head/sys/dev/spibus

2015-02-18 Thread Warner Losh
) @@ -1,4 +1,30 @@ -/* $FreeBSD$ */ +/*- + * Copyright (c) 2006 M. Warner Losh + * 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. Redistributions of source code must

svn commit: r278958 - in head/sys: conf modules

2015-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 15:25:19 2015 New Revision: 278958 URL: https://svnweb.freebsd.org/changeset/base/278958 Log: Populate new KERN_OPTS from all the opt_*.h files in KERNBUILDDIR. Come up with some sensible defaults (though listing them in kmod.mk may be unwise -- we have no easy

svn commit: r278959 - in head/sys/modules: dpt ed ep si vx

2015-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 15:25:22 2015 New Revision: 278959 URL: https://svnweb.freebsd.org/changeset/base/278959 Log: Cleanup the way we include some files (in this case EISA) based on kernel config. Also tidy up the ed options. Modified: head/sys/modules/dpt/Makefile

svn commit: r278960 - in head/sys/modules: if_gif if_gre

2015-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 15:25:25 2015 New Revision: 278960 URL: https://svnweb.freebsd.org/changeset/base/278960 Log: Clean up a bit of the INET/INET6 mess wrt options. Modified: head/sys/modules/if_gif/Makefile head/sys/modules/if_gre/Makefile Modified:

Re: svn commit: r277681 - in head/sys: conf modules

2015-01-27 Thread Warner Losh
On Jan 26, 2015, at 7:30 PM, Garrett Cooper yaneurab...@gmail.com wrote: On Jan 25, 2015, at 9:46, Warner Losh i...@bsdimp.com wrote: The number of MK_foo opts that are intruding into the kernel module builds is starting to get out of hand. :( Especially since they are duplicative

Re: svn commit: r277737 - in head: etc/pam.d tools/build/mk

2015-01-27 Thread Warner Losh
On Jan 26, 2015, at 7:26 PM, Garrett Cooper yaneurab...@gmail.com wrote: On Jan 26, 2015, at 4:23, Dag-Erling Smørgrav d...@des.no wrote: Garrett Cooper n...@freebsd.org writes: Log: Honor MK_ACCT with etc/pam.d/atrun The correct idiom would be I disagree for a few reasons: 1.

svn commit: r277680 - in head: . share/man/man9

2015-01-24 Thread Warner Losh
Author: imp Date: Sun Jan 25 04:58:41 2015 New Revision: 277680 URL: https://svnweb.freebsd.org/changeset/base/277680 Log: spl man page hasn't been relevant for a while, retire it. Deleted: head/share/man/man9/spl.9 Modified: head/ObsoleteFiles.inc head/share/man/man9/Makefile Modified:

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-25 Thread Warner Losh
On Jan 24, 2015, at 8:51 AM, Konstantin Belousov kostik...@gmail.com wrote: On Sat, Jan 24, 2015 at 05:42:40PM +0200, Konstantin Belousov wrote: On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote: On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: Author: kib Date: Sat

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Warner Losh
On Jan 25, 2015, at 5:43 AM, Sergey Kandaurov pluk...@freebsd.org wrote: On 25 January 2015 at 15:02, Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Sun Jan 25 12:02:38 2015 New Revision: 277694 URL: https://svnweb.freebsd.org/changeset/base/277694 Log: Remove ISA

Re: svn commit: r277681 - in head/sys: conf modules

2015-01-25 Thread Warner Losh
The number of MK_foo opts that are intruding into the kernel module builds is starting to get out of hand. :( Especially since they are duplicative of the MODULES_OVERRIDE functionality and are very unevenly applied. Warner On Jan 24, 2015, at 10:13 PM, Garrett Cooper n...@freebsd.org wrote:

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Warner Losh
On Jan 25, 2015, at 7:54 AM, Garrett Cooper yaneurab...@gmail.com wrote: On Jan 25, 2015, at 04:43, Sergey Kandaurov pluk...@freebsd.org wrote: On 25 January 2015 at 15:02, Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Sun Jan 25 12:02:38 2015 New Revision: 277694

svn commit: r276696 - in head/sys: conf modules/bios/smapi

2015-01-05 Thread Warner Losh
Author: imp Date: Mon Jan 5 12:28:22 2015 New Revision: 276696 URL: https://svnweb.freebsd.org/changeset/base/276696 Log: Clang's 3.5 integrated assembler now handles these files correctly (it has support for the .codeXX directives). However, it is desirable, for a time, to allow kernels

svn commit: r276737 - in head: sbin/fsck_ffs sbin/fsirand sbin/newfs sbin/newfs_msdos share/man/man4 sys/geom sys/geom/part sys/sys

2015-01-05 Thread Warner Losh
Author: imp Date: Tue Jan 6 05:28:37 2015 New Revision: 276737 URL: https://svnweb.freebsd.org/changeset/base/276737 Log: Remove old ioctl use and support, once and for all. Modified: head/sbin/fsck_ffs/setup.c head/sbin/fsirand/fsirand.c head/sbin/newfs/newfs.c

svn commit: r276950 - head/sys/conf

2015-01-10 Thread Warner Losh
Author: imp Date: Sat Jan 10 23:43:37 2015 New Revision: 276950 URL: https://svnweb.freebsd.org/changeset/base/276950 Log: Take out some more no-error warnings, as the build is clean without them. Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r276951 - head/sys/modules/aic7xxx/ahc

2015-01-10 Thread Warner Losh
Author: imp Date: Sat Jan 10 23:43:39 2015 New Revision: 276951 URL: https://svnweb.freebsd.org/changeset/base/276951 Log: Use .MAKE.LEVEL being defined as a bootstrap aid when providing fallback targets to build the aic generated files. fmake doesn't like the current construct, and since

svn commit: r276767 - head/sys/xen

2015-01-06 Thread Warner Losh
Author: imp Date: Tue Jan 6 21:26:35 2015 New Revision: 276767 URL: https://svnweb.freebsd.org/changeset/base/276767 Log: Pacify clang 3.3 by ending the file with a newline. This is common practice in the rest of the tree, but this file slipped through. Modified: head/sys/xen/xen_msi.h

svn commit: r276770 - head/sys/conf

2015-01-06 Thread Warner Losh
Author: imp Date: Tue Jan 6 23:08:47 2015 New Revision: 276770 URL: https://svnweb.freebsd.org/changeset/base/276770 Log: Fix typo from too many cut-n-paste operations. Use IMPSRC:T to just get the tail part of the path. We can now build kernels the old-fashioned way on FreeBSD 9.x and

svn commit: r277101 - in head/sys/cam: ata scsi

2015-01-12 Thread Warner Losh
Author: imp Date: Tue Jan 13 00:20:35 2015 New Revision: 277101 URL: https://svnweb.freebsd.org/changeset/base/277101 Log: Explain a bit of tricky code dealing with trims and how it prevents starvation. These side effects aren't obvious without extremely careful study, and are important to

svn commit: r277162 - in head/sys/modules: cardbus cbb

2015-01-13 Thread Warner Losh
Author: imp Date: Wed Jan 14 05:41:28 2015 New Revision: 277162 URL: https://svnweb.freebsd.org/changeset/base/277162 Log: On x86 force NEW_PCIB, since that's the default. While this option would be picked up for kernel builds, it isn't picked up for old-fashioned builds. Without this

svn commit: r277164 - head/sys/dev/pccbb

2015-01-13 Thread Warner Losh
Author: imp Date: Wed Jan 14 05:41:33 2015 New Revision: 277164 URL: https://svnweb.freebsd.org/changeset/base/277164 Log: Various interrelated fixes to make suspend / resume work better. We now can suspend / resume and unload / load cbb and cardbus without errors on my Lenovo T400, which

svn commit: r277163 - head/sys/dev/cardbus

2015-01-13 Thread Warner Losh
Author: imp Date: Wed Jan 14 05:41:31 2015 New Revision: 277163 URL: https://svnweb.freebsd.org/changeset/base/277163 Log: Add a rather obnoxious warning if you don't have NEW_PCIB defined since it's a total crap shoot if things will work. Modified: head/sys/dev/cardbus/cardbus.c

Re: svn commit: r276846 - in head: share/mk sys/arm/conf sys/conf sys/modules/dtb sys/modules/dtb/atmel

2015-01-08 Thread Warner Losh
On Jan 8, 2015, at 12:49 PM, NGie Cooper yaneurab...@gmail.com wrote: On Thu, Jan 8, 2015 at 10:28 AM, Warner Losh i...@freebsd.org wrote: Author: imp Date: Thu Jan 8 18:28:06 2015 New Revision: 276846 URL: https://svnweb.freebsd.org/changeset/base/276846 Log: Add infrastructure

svn commit: r278460 - head/sys/conf

2015-02-09 Thread Warner Losh
Author: imp Date: Mon Feb 9 16:04:08 2015 New Revision: 278460 URL: https://svnweb.freebsd.org/changeset/base/278460 Log: We need to create /boot/dtb since some use cases don't create a full root with BSD.root.mtree, so it often times will not exist. Rather than force the latter for an

svn commit: r278459 - head/sys/conf

2015-02-09 Thread Warner Losh
Author: imp Date: Mon Feb 9 16:04:01 2015 New Revision: 278459 URL: https://svnweb.freebsd.org/changeset/base/278459 Log: Make sure that we define DTB{OWN,GRP,MODE} so install works. Submitted by: Guy Yur Modified: head/sys/conf/dtb.mk Modified: head/sys/conf/dtb.mk

svn commit: r278462 - in head: share/mk sys/conf

2015-02-09 Thread Warner Losh
Author: imp Date: Mon Feb 9 16:21:49 2015 New Revision: 278462 URL: https://svnweb.freebsd.org/changeset/base/278462 Log: Move these definitions to bsd.own.mk along side the kernel directory / user defines. Make this work with WITH_INSTALL_AS_USER as well. Noticed by: ian@ Modified:

svn commit: r278463 - head/sys/conf

2015-02-09 Thread Warner Losh
Author: imp Date: Mon Feb 9 16:29:44 2015 New Revision: 278463 URL: https://svnweb.freebsd.org/changeset/base/278463 Log: Prefer install over mkdir to create the directory. Add test to ensure the directory doesn't exist before creating it. This makes the NO_ROOT case actually work.

svn commit: r278461 - head/sys/conf

2015-02-09 Thread Warner Losh
Author: imp Date: Mon Feb 9 16:10:30 2015 New Revision: 278461 URL: https://svnweb.freebsd.org/changeset/base/278461 Log: Fix typo. Submitted by: jhb@ Modified: head/sys/conf/dtb.mk Modified: head/sys/conf/dtb.mk

svn commit: r278458 - head/sys/conf

2015-02-09 Thread Warner Losh
Author: imp Date: Mon Feb 9 16:03:59 2015 New Revision: 278458 URL: https://svnweb.freebsd.org/changeset/base/278458 Log: Pass MODULES_EXTRA to the modules build. While I'm here, also always pass WITHOUT_MODULES down. There's no need to make this conditional. Submitted by: Guy Yur

svn commit: r278457 - in head: share/mk sys/conf

2015-02-09 Thread Warner Losh
Author: imp Date: Mon Feb 9 16:03:55 2015 New Revision: 278457 URL: https://svnweb.freebsd.org/changeset/base/278457 Log: Enforce that MK_foo options shall be either yes or no and nothing else. Modified: head/share/mk/bsd.mkopt.mk head/sys/conf/kern.opts.mk Modified:

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

2015-01-08 Thread Warner Losh
Author: imp Date: Thu Jan 8 17:46:42 2015 New Revision: 276840 URL: https://svnweb.freebsd.org/changeset/base/276840 Log: Need to include opt_cpu.h to access CPU_DISABLE_SSE option. Thankfully, this only broke i686 configs that disabled SSE. Submitted by: nyan@ Modified:

svn commit: r276843 - head/tools/tools/nanobsd/pcengines

2015-01-08 Thread Warner Losh
Author: imp Date: Thu Jan 8 18:00:38 2015 New Revision: 276843 URL: https://svnweb.freebsd.org/changeset/base/276843 Log: We don't want tests on these embedded boxes. Modified: head/tools/tools/nanobsd/pcengines/common.conf Modified: head/tools/tools/nanobsd/pcengines/common.conf

svn commit: r276846 - in head: share/mk sys/arm/conf sys/conf sys/modules/dtb sys/modules/dtb/atmel

2015-01-08 Thread Warner Losh
Author: imp Date: Thu Jan 8 18:28:06 2015 New Revision: 276846 URL: https://svnweb.freebsd.org/changeset/base/276846 Log: Add infrastructure to build dtb files from dts files. Added: head/share/mk/bsd.dtb.mk (contents, props changed) head/sys/conf/dtb.mk (contents, props changed)

svn commit: r276800 - in head/tools/tools/nanobsd: gateworks pcengines

2015-01-07 Thread Warner Losh
Author: imp Date: Thu Jan 8 00:39:30 2015 New Revision: 276800 URL: https://svnweb.freebsd.org/changeset/base/276800 Log: Move to new NFS client with NFSCL after old NFS clinet (NFSCLIENT) was removed. Modified: head/tools/tools/nanobsd/gateworks/G2348

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

2015-01-07 Thread Warner Losh
Author: imp Date: Thu Jan 8 00:39:40 2015 New Revision: 276801 URL: https://svnweb.freebsd.org/changeset/base/276801 Log: Don't call the SSE routines when they aren't enabled (or even compiled into the kernel). Modified: head/sys/i386/i386/elf_machdep.c Modified:

svn commit: r279038 - in head/sys/boot/efi/include: . amd64 i386

2015-02-19 Thread Warner Losh
Author: imp Date: Fri Feb 20 01:40:55 2015 New Revision: 279038 URL: https://svnweb.freebsd.org/changeset/base/279038 Log: Allow EFI and ACPI to be included together. When ACPI is included first, EFI will use its definitions for {,U}INT{8,16,32,64} and BOOLEAN. When EFI is included first,

svn commit: r280326 - head

2015-03-21 Thread Warner Losh
Author: imp Date: Sat Mar 21 16:54:01 2015 New Revision: 280326 URL: https://svnweb.freebsd.org/changeset/base/280326 Log: Make TARGET_ARCH=powerpc64 work without TARGET=powerpc. Modified: head/Makefile Modified: head/Makefile

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

2015-03-09 Thread Warner Losh
Author: imp Date: Mon Mar 9 15:43:33 2015 New Revision: 279814 URL: https://svnweb.freebsd.org/changeset/base/279814 Log: Add the DTrace modules to the build, rather than only build the dtrace modules. Modified: head/sys/arm/conf/BEAGLEBONE Modified: head/sys/arm/conf/BEAGLEBONE

Re: svn commit: r279814 - head/sys/arm/conf

2015-03-09 Thread Warner Losh
On Mar 9, 2015, at 9:58 AM, Ian Lepore i...@freebsd.org wrote: On Mon, 2015-03-09 at 15:43 +, Warner Losh wrote: Author: imp Date: Mon Mar 9 15:43:33 2015 New Revision: 279814 URL: https://svnweb.freebsd.org/changeset/base/279814 Log: Add the DTrace modules to the build, rather

Re: svn commit: r279814 - head/sys/arm/conf

2015-03-10 Thread Warner Losh
On Mar 10, 2015, at 5:02 AM, Peter Jeremy pe...@rulingia.com wrote: On 2015-Mar-09 09:58:36 -0600, Ian Lepore i...@freebsd.org wrote: Can we not do this, and instead just build all modules? I'm not sure why we eliminate or override modules on some armv6 socs and not on others, but I think

svn commit: r279905 - head

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 08:32:20 2015 New Revision: 279905 URL: https://svnweb.freebsd.org/changeset/base/279905 Log: It appears that xlint isn't used in the build process, so it certainly doesn't need to be a build tool. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r279906 - head/usr.bin

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 08:32:22 2015 New Revision: 279906 URL: https://svnweb.freebsd.org/changeset/base/279906 Log: These local variables are unused. gc them. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

svn commit: r279907 - head/usr.bin/xlint

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 08:32:24 2015 New Revision: 279907 URL: https://svnweb.freebsd.org/changeset/base/279907 Log: TARGET_* shouldn't be used here. Use MACHINE_* instead. Modified: head/usr.bin/xlint/Makefile.inc Modified: head/usr.bin/xlint/Makefile.inc

svn commit: r279899 - head/sys/conf

2015-03-11 Thread Warner Losh
Author: imp Date: Thu Mar 12 03:57:19 2015 New Revision: 279899 URL: https://svnweb.freebsd.org/changeset/base/279899 Log: Categorize certain kernel builds as being broken in certain places. Differential Revision: https://reviews.freebsd.org/D2010 Modified: head/sys/conf/kern.opts.mk

svn commit: r279898 - in head: share/mk sys/conf

2015-03-11 Thread Warner Losh
Author: imp Date: Thu Mar 12 03:57:00 2015 New Revision: 279898 URL: https://svnweb.freebsd.org/changeset/base/279898 Log: Add support for specifying unsupported / broken options that override any defaults or user specified actions on the command line. This would be useful for specifying

svn commit: r279902 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/iio include/dt-bindings/pinctrl include/dt-bindings/regulator include/dt-bindings/reset include/dt-bindi...

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 06:43:58 2015 New Revision: 279902 URL: https://svnweb.freebsd.org/changeset/base/279902 Log: File names with commas in them cause issues for freebsd-update. We don't actually use these files at the moment, so eliminate them until we actually do. In the mean

svn commit: r280639 - head

2015-03-25 Thread Warner Losh
Author: imp Date: Wed Mar 25 21:59:36 2015 New Revision: 280639 URL: https://svnweb.freebsd.org/changeset/base/280639 Log: Add some more explanation to the different phases of the build. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r280728 - head/sys/conf

2015-03-26 Thread Warner Losh
Author: imp Date: Fri Mar 27 02:35:25 2015 New Revision: 280728 URL: https://svnweb.freebsd.org/changeset/base/280728 Log: Categorize certain kernel builds as being broken in certain places. Differential Revision: https://reviews.freebsd.org/D2011 Modified: head/sys/conf/kern.opts.mk

svn commit: r280729 - head/sys/modules

2015-03-26 Thread Warner Losh
Author: imp Date: Fri Mar 27 02:35:33 2015 New Revision: 280729 URL: https://svnweb.freebsd.org/changeset/base/280729 Log: sym and cxgb build on arm, add them to the build. Differential Revision: https://reviews.freebsd.org/D514 Modified: head/sys/modules/Makefile Modified:

svn commit: r280727 - in head: share/mk sys/conf

2015-03-26 Thread Warner Losh
Author: imp Date: Fri Mar 27 02:35:11 2015 New Revision: 280727 URL: https://svnweb.freebsd.org/changeset/base/280727 Log: Add support for specifying unsupported / broken options that override any defaults or user specified actions on the command line. This would be useful for specifying

Re: svn commit: r280728 - head/sys/conf

2015-03-26 Thread Warner Losh
On Mar 26, 2015, at 9:04 PM, Rui Paulo rpa...@me.com wrote: On Mar 26, 2015, at 19:35, Warner Losh i...@freebsd.org wrote: Author: imp Date: Fri Mar 27 02:35:25 2015 New Revision: 280728 URL: https://svnweb.freebsd.org/changeset/base/280728 Log: Categorize certain kernel builds

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

2015-02-27 Thread Warner Losh
https://reviews.freebsd.org/D1981 contains the fix. Please continue the conversation there. I believe I fixed everything, including a bug in the original code. Warner On Feb 27, 2015, at 8:56 AM, Ian Lepore i...@freebsd.org wrote: On Fri, 2015-02-27 at 08:46 -0700, Warner Losh wrote

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

2015-02-27 Thread Warner Losh
Sure wish my code review got this much love… Warner On Feb 27, 2015, at 8:30 AM, Ed Maste ema...@freebsd.org wrote: On 27 February 2015 at 10:12, Benjamin Kaduk bjkf...@gmail.com wrote: As of r278229, the kernel is compiled with -fwrapv, so signed integer overflow in the FreeBSD kernel

svn commit: r279373 - head/sys/kern

2015-02-27 Thread Warner Losh
Author: imp Date: Fri Feb 27 21:15:12 2015 New Revision: 279373 URL: https://svnweb.freebsd.org/changeset/base/279373 Log: Make sched_random() return an unsigned number, and use uint32_t consistently. This also matches the per-cpu pointer declaration anyway. This changes the tweak we

Re: svn commit: r279381 - head/sys/boot/amd64/efi

2015-02-27 Thread Warner Losh
On Feb 27, 2015, at 3:22 PM, David E. O'Brien obr...@freebsd.org wrote: Author: obrien Date: Fri Feb 27 22:22:05 2015 New Revision: 279381 URL: https://svnweb.freebsd.org/changeset/base/279381 Log: Use sys/boot/userboot/libstand/ and not /usr/lib/libstand.a. Modified:

svn commit: r279500 - head/sys/dev/ed

2015-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 21:41:33 2015 New Revision: 279500 URL: https://svnweb.freebsd.org/changeset/base/279500 Log: Unlock the main lock before returning rather than after to eliminate dead code that shouldn't have been dead. Reported by: Maxime Villard Modified:

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

2015-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 21:41:35 2015 New Revision: 279501 URL: https://svnweb.freebsd.org/changeset/base/279501 Log: Don't leak 'used' in a few error cases. Reported by: Maxime Villard Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c

svn commit: r279502 - head/sys/fs/nandfs

2015-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 21:41:37 2015 New Revision: 279502 URL: https://svnweb.freebsd.org/changeset/base/279502 Log: nandfs_meta_bread() calls bread() which can set bp to NULL in some error cases. Calling brelse() with a NULL pointer is not allowed, so only call brelse() when the bp

Re: svn commit: r278479 - in head: etc sys/kern

2015-02-27 Thread Warner Losh
[[ I know I’m a little behind… ]] On Feb 10, 2015, at 7:16 AM, John Baldwin j...@freebsd.org wrote: On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote: Author: rpaulo Date: Mon Feb 9 23:13:50 2015 New Revision: 278479 URL: https://svnweb.freebsd.org/changeset/base/278479 Log:

svn commit: r279383 - head/sys/kern

2015-02-27 Thread Warner Losh
Author: imp Date: Fri Feb 27 23:14:08 2015 New Revision: 279383 URL: https://svnweb.freebsd.org/changeset/base/279383 Log: Put back Andy's void for gcc happiness. Submitted by: jchandra@ Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

svn commit: r279349 - head/sys/kern

2015-02-26 Thread Warner Losh
Author: imp Date: Fri Feb 27 02:56:58 2015 New Revision: 279349 URL: https://svnweb.freebsd.org/changeset/base/279349 Log: Create sched_rand() and move the LCG code into that. Call this when we need randomness in ULE. This removes random() call from the rebalance interval code.

svn commit: r280766 - head/sys/conf

2015-03-27 Thread Warner Losh
Author: imp Date: Fri Mar 27 17:36:22 2015 New Revision: 280766 URL: https://svnweb.freebsd.org/changeset/base/280766 Log: Add a note of clarification. MK_* variables only control what modules are built by default. You can still override that with MODULES_EXTRA for experimental features

Re: svn commit: r280728 - head/sys/conf

2015-03-27 Thread Warner Losh
On Mar 27, 2015, at 1:54 AM, Bjoern A. Zeeb b...@freebsd.org wrote: On 27 Mar 2015, at 02:35 , Warner Losh i...@freebsd.org wrote: Author: imp Date: Fri Mar 27 02:35:25 2015 New Revision: 280728 URL: https://svnweb.freebsd.org/changeset/base/280728 Log: Categorize certain kernel

svn commit: r280771 - head/share/mk

2015-03-27 Thread Warner Losh
Author: imp Date: Fri Mar 27 21:47:15 2015 New Revision: 280771 URL: https://svnweb.freebsd.org/changeset/base/280771 Log: Revert the __ALWAYS_NO stuff. It had already been committed as BROKEN. Modified: head/share/mk/bsd.mkopt.mk Modified: head/share/mk/bsd.mkopt.mk

svn commit: r282146 - head/lib/msun/tests

2015-04-28 Thread Warner Losh
Author: imp Date: Tue Apr 28 14:14:06 2015 New Revision: 282146 URL: https://svnweb.freebsd.org/changeset/base/282146 Log: The presence/absence of CPU features should be tested with MACHINE_CPUARCH or MACHINE_ARCH, not MACHINE. The latter is for kernel only things. Also, I think this should

  1   2   3   4   5   6   7   8   9   10   >