Re: svn commit: r254544 - head/sys/vm
on 20/08/2013 02:54 Jeff Roberson said the following: > Author: jeff > Date: Mon Aug 19 23:54:24 2013 > New Revision: 254544 > URL: http://svnweb.freebsd.org/changeset/base/254544 > > Log: >- Increase the active lru refresh interval to 10 minutes. This has been > shown to negatively impact some workloads and the goal is only to > eliminate worst case behaviors for very long periods of paging > inactivity. Eventually we should determine a more complex scaling > factor for this feature. >- Rate limit low memory callback handlers to limit thrashing. Set the > default to 10 seconds. I wonder if an impact of this rate limiting change on ZFS ARC behavior has been evaluated... > Sponsored by: EMC / Isilon Storage Division > > Modified: > head/sys/vm/vm_pageout.c > > Modified: head/sys/vm/vm_pageout.c > == > --- head/sys/vm/vm_pageout.c Mon Aug 19 23:02:39 2013(r254543) > +++ head/sys/vm/vm_pageout.c Mon Aug 19 23:54:24 2013(r254544) > @@ -159,6 +159,8 @@ static int vm_max_launder = 32; > static int vm_pageout_update_period; > static int defer_swap_pageouts; > static int disable_swap_pageouts; > +static int lowmem_period = 10; > +static int lowmem_ticks; > > #if defined(NO_SWAPPING) > static int vm_swap_enabled = 0; > @@ -179,6 +181,9 @@ SYSCTL_INT(_vm, OID_AUTO, pageout_update > CTLFLAG_RW, &vm_pageout_update_period, 0, > "Maximum active LRU update period"); > > +SYSCTL_INT(_vm, OID_AUTO, lowmem_period, CTLFLAG_RW, &lowmem_period, 0, > + "Low memory callback period"); > + > #if defined(NO_SWAPPING) > SYSCTL_INT(_vm, VM_SWAPPING_ENABLED, swap_enabled, > CTLFLAG_RD, &vm_swap_enabled, 0, "Enable entire process swapout"); > @@ -901,9 +906,10 @@ vm_pageout_scan(struct vm_domain *vmd, i > > /* >* If we need to reclaim memory ask kernel caches to return > - * some. > + * some. We rate limit to avoid thrashing. >*/ > - if (pass > 0) { > + if (vmd == &vm_dom[0] && pass > 0 && > + lowmem_ticks + (lowmem_period * hz) < ticks) { > /* >* Decrease registered cache sizes. >*/ > @@ -913,6 +919,7 @@ vm_pageout_scan(struct vm_domain *vmd, i >* drained above. >*/ > uma_reclaim(); > + lowmem_ticks = ticks; > } > > /* > @@ -1680,10 +1687,11 @@ vm_pageout(void) > > /* >* Set interval in seconds for active scan. We want to visit each > - * page at least once a minute. > + * page at least once every ten minutes. This is to prevent worst > + * case paging behaviors with stale active LRU. >*/ > if (vm_pageout_update_period == 0) > - vm_pageout_update_period = 60; > + vm_pageout_update_period = 600; > > /* XXX does not really belong here */ > if (vm_page_max_wired == 0) > -- Andriy Gapon ___ 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: r260904 - head/lib/libfetch
Author: des Date: Mon Jan 20 11:13:05 2014 New Revision: 260904 URL: http://svnweb.freebsd.org/changeset/base/260904 Log: Fix format string. Submitted by: Jörg Sonnenberger MFC after:1 week Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c == --- head/lib/libfetch/common.c Mon Jan 20 07:09:19 2014(r260903) +++ head/lib/libfetch/common.c Mon Jan 20 11:13:05 2014(r260904) @@ -679,7 +679,7 @@ fetch_ssl_setup_transport_layer(SSL_CTX if (getenv("SSL_NO_TLS1") != NULL) ssl_ctx_options |= SSL_OP_NO_TLSv1; if (verbose) - fetch_info("SSL options: %x", ssl_ctx_options); + fetch_info("SSL options: %lx", ssl_ctx_options); SSL_CTX_set_options(ctx, ssl_ctx_options); } ___ 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: r260910 - head/usr.sbin/pciconf
Author: jhb Date: Mon Jan 20 15:51:02 2014 New Revision: 260910 URL: http://svnweb.freebsd.org/changeset/base/260910 Log: - Allow PCI devices that are attached to a driver to be identified by their device name instead of just the selector. - Accept an optional device argument to -l to restrict the output to only listing details about a single device. This is mostly useful in conjunction with other flags like -e or -c to allow a user to query details about a single device. MFC after:1 week Modified: head/usr.sbin/pciconf/pciconf.8 head/usr.sbin/pciconf/pciconf.c Modified: head/usr.sbin/pciconf/pciconf.8 == --- head/usr.sbin/pciconf/pciconf.8 Mon Jan 20 15:33:31 2014 (r260909) +++ head/usr.sbin/pciconf/pciconf.8 Mon Jan 20 15:51:02 2014 (r260910) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 1, 2012 +.Dd January 20, 2014 .Dt PCICONF 8 .Os .Sh NAME @@ -33,13 +33,13 @@ .Nd diagnostic utility for the PCI bus .Sh SYNOPSIS .Nm -.Fl l Op Fl bcev +.Fl l Oo Fl bcev Oc Op Ar device .Nm -.Fl a Ar selector +.Fl a Ar device .Nm -.Fl r Oo Fl b | h Oc Ar selector addr Ns Op : Ns Ar addr2 +.Fl r Oo Fl b | h Oc Ar device addr Ns Op : Ns Ar addr2 .Nm -.Fl w Oo Fl b | h Oc Ar selector addr value +.Fl w Oo Fl b | h Oc Ar device addr value .Sh DESCRIPTION The .Nm @@ -54,7 +54,9 @@ normally only the super-user. .Pp With the .Fl l -option, it lists all devices found by the boot probe in the following format: +option, +.Nm +lists PCI devices in the following format: .Bd -literal foo0@pci0:0:4:0: class=0x01 card=0x chip=0x000f1000 rev=0x01 \ hdr=0x00 @@ -65,16 +67,14 @@ hdr=0x00 .Ed .Pp The first column gives the -device name, unit number, and -.Ar selector . -If there is no device configured in the kernel for the +driver name, unit number, and selector . +If there is no driver attached to the .Tn PCI -device in question, the device name will be +device in question, the driver name will be .Dq none . -Unit numbers for unconfigured devices start at zero and are incremented for -each unconfigured device that is encountered. -The -.Ar selector +Unit numbers for detached devices start at zero and are incremented for +each detached device that is encountered. +The selector is in a form which may directly be used for the other forms of the command. The second column is the class code, with the class byte printed as two hex digits, followed by the sub-class and the interface bytes. @@ -182,18 +182,36 @@ option is supplied, will attempt to load the vendor/device information database, and print vendor, device, class and subclass identification strings for each device. .Pp +If the optional +.Ar device +argument is given with the +.Fl l +flag, +.Nm +will only list details about a single device instead of all devices. +.Pp All invocations of .Nm except for .Fl l require a -.Ar selector -of the form +.Ar device . +The device can be identified either by a device name if the device is +attached to a driver or by a selector. +Selectors identify a PCI device by its address in PCI config space and +can take one of the following forms: +.Pp +.Bl -bullet -offset indent -compact +.It .Li pci Ns Va domain Ns \&: Ns Va bus Ns \&: Ns Va device Ns \&: \ -Ns Va function Ns , -.Li pci Ns Va bus Ns \&: Ns Va device Ns \&: Ns Va function Ns , or -.Li pci Ns Va bus Ns \&: Ns Va device Ns . -In case of an abridged form, omitted selector components are assumed to be 0. +Ns Va function Ns +.It +.Li pci Ns Va bus Ns \&: Ns Va device Ns \&: Ns Va function Ns +.It +.Li pci Ns Va bus Ns \&: Ns Va device Ns +.El +.Pp +In the case of an abridged form, omitted selector components are assumed to be 0. An optional leading device name followed by @ and an optional final colon will be ignored; this is so that the first column in the output of .Nm Modified: head/usr.sbin/pciconf/pciconf.c == --- head/usr.sbin/pciconf/pciconf.c Mon Jan 20 15:33:31 2014 (r260909) +++ head/usr.sbin/pciconf/pciconf.c Mon Jan 20 15:51:02 2014 (r260910) @@ -35,6 +35,7 @@ static const char rcsid[] = #include #include +#include #include #include #include @@ -67,8 +68,10 @@ struct pci_vendor_info TAILQ_HEAD(,pci_vendor_info) pci_vendors; +static struct pcisel getsel(const char *str); static void list_bars(int fd, struct pci_conf *p); -static void list_devs(int verbose, int bars, int caps, int errors); +static void list_devs(const char *name, int verbose, int bars, int caps, +int errors); static void list_verbose(struct pci_conf *p); static const char *guess_class(struct pci_conf *p); static const char *guess_subclass(struct pci_conf *p); @@ -83,10 +86,10 @@ static void usage(void) { fprintf(stderr, "%s\n%s\n%s\n%s\n", - "usage: pciconf -l [-bcev]", -
svn commit: r260911 - head/sys/dev/uart
Author: imp Date: Mon Jan 20 17:45:36 2014 New Revision: 260911 URL: http://svnweb.freebsd.org/changeset/base/260911 Log: Don't lock in the generic grab just to lock again in the specific grabs. (I committed the wrong version of uart_core.c, which still had this). Pointy hat: imp Modified: head/sys/dev/uart/uart_core.c Modified: head/sys/dev/uart/uart_core.c == --- head/sys/dev/uart/uart_core.c Mon Jan 20 15:51:02 2014 (r260910) +++ head/sys/dev/uart/uart_core.c Mon Jan 20 17:45:36 2014 (r260911) @@ -629,18 +629,14 @@ void uart_grab(struct uart_devinfo *di) { - uart_lock(di->hwmtx); if (di->sc) UART_GRAB(di->sc); - uart_unlock(di->hwmtx); } void uart_ungrab(struct uart_devinfo *di) { - uart_lock(di->hwmtx); if (di->sc) UART_UNGRAB(di->sc); - uart_unlock(di->hwmtx); } ___ 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: r260912 - head/sys/x86/x86
Author: jhb Date: Mon Jan 20 17:55:22 2014 New Revision: 260912 URL: http://svnweb.freebsd.org/changeset/base/260912 Log: - Only check the ivars for direct descendants. - A couple of whitespace fixes. Modified: head/sys/x86/x86/nexus.c Modified: head/sys/x86/x86/nexus.c == --- head/sys/x86/x86/nexus.cMon Jan 20 17:45:36 2014(r260911) +++ head/sys/x86/x86/nexus.cMon Jan 20 17:55:22 2014(r260912) @@ -368,12 +368,13 @@ nexus_alloc_resource(device_t bus, devic int needactivate = flags & RF_ACTIVE; /* -* If this is an allocation of the "default" range for a given RID, and -* we know what the resources for this device are (ie. they aren't maintained -* by a child bus), then work out the start/end values. +* If this is an allocation of the "default" range for a given +* RID, and we know what the resources for this device are +* (ie. they aren't maintained by a child bus), then work out +* the start/end values. */ if ((start == 0UL) && (end == ~0UL) && (count == 1)) { - if (ndev == NULL) + if (device_get_parent(child) != bus || ndev == NULL) return(NULL); rle = resource_list_find(&ndev->nx_resources, type, *rid); if (rle == NULL) @@ -492,6 +493,7 @@ static int nexus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) { + if (rman_get_flags(r) & RF_ACTIVE) { int error = bus_deactivate_resource(child, type, rid, r); if (error) ___ 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: r260913 - in head: include lib/libc/gen libexec/getty
Author: nwhitehorn Date: Mon Jan 20 18:15:06 2014 New Revision: 260913 URL: http://svnweb.freebsd.org/changeset/base/260913 Log: Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Comments and suggestions by: grehan, dteske, jilles MFC after:1 month Modified: head/include/ttyent.h head/lib/libc/gen/getttyent.c head/libexec/getty/ttys.5 Modified: head/include/ttyent.h == --- head/include/ttyent.h Mon Jan 20 17:55:22 2014(r260912) +++ head/include/ttyent.h Mon Jan 20 18:15:06 2014(r260913) @@ -37,6 +37,7 @@ #define_TTYS_OFF "off" #define_TTYS_ON"on" +#define_TTYS_ONIFCONSOLE "onifconsole" #define_TTYS_SECURE"secure" #define_TTYS_INSECURE "insecure" #define_TTYS_WINDOW"window" Modified: head/lib/libc/gen/getttyent.c == --- head/lib/libc/gen/getttyent.c Mon Jan 20 17:55:22 2014 (r260912) +++ head/lib/libc/gen/getttyent.c Mon Jan 20 18:15:06 2014 (r260913) @@ -39,6 +39,9 @@ __FBSDID("$FreeBSD$"); #include #include +#include +#include + static char zapchar; static FILE *tf; static size_t lbsize; @@ -64,6 +67,36 @@ getttynam(const char *tty) return (t); } +static int +auto_tty_status(const char *ty_name) +{ + size_t len; + char *buf, *cons, *nextcons; + + /* Check if this is an enabled kernel console line */ + buf = NULL; + if (sysctlbyname("kern.console", NULL, &len, NULL, 0) == -1) + return (0); /* Errors mean don't enable */ + buf = malloc(len); + if (sysctlbyname("kern.console", buf, &len, NULL, 0) == -1) + goto done; + + if ((cons = strchr(buf, '/')) == NULL) + goto done; + *cons = '\0'; + nextcons = buf; + while ((cons = strsep(&nextcons, ",")) != NULL && strlen(cons) != 0) { + if (strcmp(cons, ty_name) == 0) { + free(buf); + return (TTY_ON); + } + } + +done: + free(buf); + return (0); +} + struct ttyent * getttyent(void) { @@ -126,6 +159,8 @@ getttyent(void) tty.ty_status &= ~TTY_ON; else if (scmp(_TTYS_ON)) tty.ty_status |= TTY_ON; + else if (scmp(_TTYS_ONIFCONSOLE)) + tty.ty_status |= auto_tty_status(tty.ty_name); else if (scmp(_TTYS_SECURE)) tty.ty_status |= TTY_SECURE; else if (scmp(_TTYS_INSECURE)) Modified: head/libexec/getty/ttys.5 == --- head/libexec/getty/ttys.5 Mon Jan 20 17:55:22 2014(r260912) +++ head/libexec/getty/ttys.5 Mon Jan 20 18:15:06 2014(r260913) @@ -102,8 +102,11 @@ ttys as a group. .Pp As flag values, the strings ``on'' and ``off'' specify that .Xr init 8 -should (should not) execute the command given in the second field, -while ``secure'' (if ``on'' is also specified) allows users with a +should (should not) execute the command given in the second field. +``onifconsole'' will cause this line to be enabled if and only if it is +an active kernel console device (it is equivalent to ``on'' in this +case). +The flag ``secure'' (if the console is enabled) allows users with a uid of 0 to login on this line. The flag ``dialin'' indicates that a tty entry describes a dialin ___ 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: r260914 - head/sys/ia64/ia64
Author: marcel Date: Mon Jan 20 18:37:35 2014 New Revision: 260914 URL: http://svnweb.freebsd.org/changeset/base/260914 Log: In pmap_set_pte(), make sure to enforce ordering by inserting a memory fence. Under system load, the CPU has been found to change the order by which the stores are made visible. When the tag is made visible before the other TLB values, other CPUs may use the invalid TLB values and do bad things. While here (i.e. not a fix) don't return errors from pmap_remove_vhpt() to callers of pmap_remove_pte(). Those callers don't check the return value and as such don't do what is needed to keep a consistent state. More importantly, pmap_remove_vhpt() can't really have an error without it indicating something unintended. Using KASSERT is therefore better. PR: 182999, 183227 Modified: head/sys/ia64/ia64/pmap.c Modified: head/sys/ia64/ia64/pmap.c == --- head/sys/ia64/ia64/pmap.c Mon Jan 20 18:15:06 2014(r260913) +++ head/sys/ia64/ia64/pmap.c Mon Jan 20 18:37:35 2014(r260914) @@ -1303,6 +1303,8 @@ pmap_set_pte(struct ia64_lpte *pte, vm_o pte->itir = PAGE_SHIFT << 2; + ia64_mf(); + pte->tag = ia64_ttag(va); } @@ -1321,8 +1323,8 @@ pmap_remove_pte(pmap_t pmap, struct ia64 * First remove from the VHPT. */ error = pmap_remove_vhpt(va); - if (error) - return (error); + KASSERT(error == 0, ("%s: pmap_remove_vhpt returned %d", + __func__, error)); pmap_invalidate_page(va); ___ 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: r260915 - head/sys/vm
Author: glebius Date: Mon Jan 20 18:47:56 2014 New Revision: 260915 URL: http://svnweb.freebsd.org/changeset/base/260915 Log: ANSIfy declarations. Ok'ed by: alc Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c == --- head/sys/vm/vnode_pager.c Mon Jan 20 18:37:35 2014(r260914) +++ head/sys/vm/vnode_pager.c Mon Jan 20 18:47:56 2014(r260915) @@ -244,8 +244,7 @@ retry: * The object must be locked. */ static void -vnode_pager_dealloc(object) - vm_object_t object; +vnode_pager_dealloc(vm_object_t object) { struct vnode *vp; int refs; @@ -280,11 +279,8 @@ vnode_pager_dealloc(object) } static boolean_t -vnode_pager_haspage(object, pindex, before, after) - vm_object_t object; - vm_pindex_t pindex; - int *before; - int *after; +vnode_pager_haspage(vm_object_t object, vm_pindex_t pindex, int *before, +int *after) { struct vnode *vp = object->handle; daddr_t bn; @@ -363,9 +359,7 @@ vnode_pager_haspage(object, pindex, befo * operation (possibly at object termination time), so we must be careful. */ void -vnode_pager_setsize(vp, nsize) - struct vnode *vp; - vm_ooffset_t nsize; +vnode_pager_setsize(struct vnode *vp, vm_ooffset_t nsize) { vm_object_t object; vm_page_t m; @@ -490,9 +484,7 @@ vnode_pager_addr(struct vnode *vp, vm_oo * small block filesystem vnode pager input */ static int -vnode_pager_input_smlfs(object, m) - vm_object_t object; - vm_page_t m; +vnode_pager_input_smlfs(vm_object_t object, vm_page_t m) { struct vnode *vp; struct bufobj *bo; @@ -584,9 +576,7 @@ vnode_pager_input_smlfs(object, m) * old style vnode pager input routine */ static int -vnode_pager_input_old(object, m) - vm_object_t object; - vm_page_t m; +vnode_pager_input_old(vm_object_t object, vm_page_t m) { struct uio auio; struct iovec aiov; @@ -659,11 +649,7 @@ vnode_pager_input_old(object, m) * backing vp's VOP_GETPAGES. */ static int -vnode_pager_getpages(object, m, count, reqpage) - vm_object_t object; - vm_page_t *m; - int count; - int reqpage; +vnode_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage) { int rtval; struct vnode *vp; @@ -683,11 +669,8 @@ vnode_pager_getpages(object, m, count, r * own vnodes if they fail to implement VOP_GETPAGES. */ int -vnode_pager_generic_getpages(vp, m, bytecount, reqpage) - struct vnode *vp; - vm_page_t *m; - int bytecount; - int reqpage; +vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m, int bytecount, +int reqpage) { vm_object_t object; vm_offset_t kva; @@ -1024,12 +1007,8 @@ vnode_pager_generic_getpages(vp, m, byte * backing vp's VOP_PUTPAGES. */ static void -vnode_pager_putpages(object, m, count, sync, rtvals) - vm_object_t object; - vm_page_t *m; - int count; - boolean_t sync; - int *rtvals; +vnode_pager_putpages(vm_object_t object, vm_page_t *m, int count, +boolean_t sync, int *rtvals) { int rtval; struct vnode *vp; ___ 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: r260921 - head/sys/arm/conf
Author: imp Date: Mon Jan 20 19:57:30 2014 New Revision: 260921 URL: http://svnweb.freebsd.org/changeset/base/260921 Log: We need nand now that the boards reference it. Modified: head/sys/arm/conf/NOTES Modified: head/sys/arm/conf/NOTES == --- head/sys/arm/conf/NOTES Mon Jan 20 19:38:44 2014(r260920) +++ head/sys/arm/conf/NOTES Mon Jan 20 19:57:30 2014(r260921) @@ -60,6 +60,7 @@ deviceat91_board_sam9g20ek device at91_board_sam9x25ek device at91_board_tsc4370 device at91rm9200 +device nand device board_ln2410sbc nooptions SMP ___ 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: r260922 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 20:06:13 2014 New Revision: 260922 URL: http://svnweb.freebsd.org/changeset/base/260922 Log: Sync with (local) changes against releng/10.0/release/doc/ that were needed to fix 10.0-RELEASE release notes. This corresponds to r43586 through r43593 of the doc/ repository. There are no corresponding changes to the src/ repository tracking these. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 19:57:30 2014(r260921) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 20:06:13 2014(r260922) @@ -27,6 +27,7 @@ 2011 2012 2013 +2014 mailto:d...@freebsd.org";>The &os; Documentation Project @@ -128,11 +129,6 @@ The maximum amount of memory the &os; kernel can address has been increased from 1TB to 4TB. -A new &man.cpuset.2; API has been added - for thread to CPU binding and CPU resource grouping and - assignment. The &man.cpuset.1; userland utility has been added - to allow manipulation of processor sets. - The &man.ddb.4; kernel debugger now has an output capture facility. Input and output from &man.ddb.4; can now be captured to a memory buffer for later inspection using &man.sysctl.8; or @@ -146,37 +142,6 @@ utility. More details can be found in the &man.ddb.4; manual page. -The kernel now supports a new textdump format of kernel - dumps. A textdump provides higher-level information via - mechanically generated/extracted debugging output, rather than a - simple memory dump. This facility can be used to generate brief - kernel bug reports that are rich in debugging information, but - are not dependent on kernel symbol tables or precisely - synchronized source code. More information can be found in the - &man.textdump.4; manual page. - -Kernel support for M:N threading has been removed. While - the KSE (Kernel Scheduled Entities) project was quite successful - in bringing threading to FreeBSD, the M:N approach taken by the - KSE library was never developed to its full potential. - Backwards compatibility for applications using KSE threading - will be provided via &man.libmap.conf.5; for dynamically linked - binaries. The &os; Project greatly appreciates the work of - &a.julian;, &a.deischen;, and &a.davidxu; on KSE support. - -The &os; kernel now exports information about certain kernel - features via the kern.features sysctl tree. - The &man.feature.present.3; library call provides a convenient - interface for user applications to test the presence of - features. - -The &os; kernel now has support for large - memory page mappings (superpages). - -The ULE - scheduler is now the default process scheduler - in GENERIC kernels. - Support was added for the new Intel on-CPU Bull Mountain random number generator, found on IvyBridge and supposedly later CPUs, @@ -246,6 +211,7 @@ hv_vmbus_load="YES" Al + Hardware Support - The &man.cmx.4; driver, a driver for Omnikey CardMan 4040 -PCMCIA smartcard readers, has been added. - - The &man.syscons.4; driver now supports Colemak keyboard layout. - - The &man.uslcom.4; driver, a driver for Silicon -Laboratories CP2101/CP2102-based USB serial adapters, has been -imported from OpenBSD. - Multimedia Support @@ -287,29 +245,8 @@ hv_vmbus_load="YES" Al Network Interface Support - The &man.ale.4; driver has been added to provide support - for Atheros AR8121/AR8113/AR8114 Gigabit/Fast Ethernet controllers. - - The &man.em.4; driver has been split into two drivers - with some common parts. The &man.em.4; driver will continue - to support adapters up to the 82575, as well as new - client/desktop adapters. A new &man.igb.4; driver - will support new server adapters. - - The &man.jme.4; driver has been added to provide support - for PCIe network adapters based on JMicron JMC250 Gigabit - Ethernet and JMC260 Fast Ethernet controllers. - - The &man.malo.4; driver has been added to provide - support for Marvell Libertas 88W8335 based PCI network - adapters. - The firmware for the &man.mxge.4; driver has been - updated from 1.4.25 to 1.4.29. - - The &man.sf.4; driver has been overhauled to improve its - performance and to add support for checksum offloading. It - should also work on all architectures. + 1.4.55. The &man.re.4; driv
svn commit: r260923 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 20:28:04 2014 New Revision: 260923 URL: http://svnweb.freebsd.org/changeset/base/260923 Log: Fix formatting, indentation, line length in preparation of upcoming changes to this file. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 20:06:13 2014(r260922) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 20:28:04 2014(r260923) @@ -1,12 +1,11 @@ %release; ]> http://docbook.org/ns/docbook"; xmlns:xlink="http://www.w3.org/1999/xlink"; version="5.0"> -&os; &release.current; Release Notes - + &os; &release.current; Release Notes The &os; Project @@ -28,7 +27,8 @@ 2012 2013 2014 -mailto:d...@freebsd.org";>The &os; Documentation Project +mailto:d...@freebsd.org";>The &os; Documentation + Project @@ -41,13 +41,13 @@ -The release notes for &os; &release.current; contain a summary - of the changes made to the &os; base system on the - &release.branch; development line. - This document lists applicable security advisories that were issued since - the last release, as well as significant changes to the &os; - kernel and userland. - Some brief remarks on upgrading are also presented. +The release notes for &os; &release.current; contain + a summary of the changes made to the &os; base system on the + &release.branch; development line. This document lists + applicable security advisories that were issued since the last + release, as well as significant changes to the &os; kernel and + userland. Some brief remarks on upgrading are also + presented. @@ -55,30 +55,32 @@ Introduction This document contains the release notes for &os; -&release.current;. It -describes recently added, changed, or deleted features of &os;. -It also provides some notes on upgrading -from previous versions of &os;. - - The &release.type; distribution to which these release notes -apply represents the latest point along the &release.branch; development -branch since &release.branch; was created. Information regarding pre-built, binary -&release.type; distributions along this branch -can be found at &release.url;. - - The &release.type; distribution to which these release notes -apply represents a point along the &release.branch; development -branch between &release.prev; and the future &release.next;. -Information regarding -pre-built, binary &release.type; distributions along this branch -can be found at &release.url;. - - This distribution of &os; &release.current; is a -&release.type; distribution. It can be found at &release.url; or any of its mirrors. More -information on obtaining this (or other) &release.type; -distributions of &os; can be found in the Obtaining -&os; appendix to the &os; -Handbook. +&release.current;. It describes recently added, changed, or +deleted features of &os;. It also provides some notes on +upgrading from previous versions of &os;. + + The &release.type; distribution to which +these release notes apply represents the latest point along the +&release.branch; development branch since &release.branch; was +created. Information regarding pre-built, binary &release.type; +distributions along this branch can be found at &release.url;. + + The &release.type; distribution to +which these release notes apply represents a point along the +&release.branch; development branch between &release.prev; and the +future &release.next;. Information regarding pre-built, binary +&release.type; distributions along this branch can be found at +&release.url;. + + This distribution of &os; +&release.current; is a &release.type; distribution. It can be +found at &release.url; or +any of its mirrors. More information on obtaining this (or other) +&release.type; distributions of &os; can be found in the Obtaining + &os; appendix to the &os; Handbook. All users are encouraged to consult the release errata before installing &os;. The errata document is updated with @@ -87,101 +89,109 @@ information on known bugs, security advisories, and corrections to documentation. An up-to-date copy of the errata for &os; &release.current; can be found on the &os; Web site. - What's New - This section describes -the most user-visible new or changed features in &os; -since &release.prev;. -In general, changes described here are unique to the &release.branch; -branch unless specifically marked as &merged; features. - - - Typical release note ite
Re: svn commit: r260898 - head/sys/kern
On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: > On 19 Jan 2014, at 17:59, Neel Natu wrote: > > Author: neel > > Date: Mon Jan 20 01:59:35 2014 > > New Revision: 260898 > > URL: http://svnweb.freebsd.org/changeset/base/260898 > > > > Log: > > Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries > > for > > WITNESS to actually work. > > This value should be automatically tuned... How do you propose to do so? This is the count of locks initialized before witness' own SYSINIT is executed and the array it sizes is allocated statically at compile time. This used to not be a static array, but an intrusive list embedded in locks themselves, but we decided to shave a pointer off of each lock that was only used for that and to use a statically sized table instead. -- 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: r260926 - in head: sys/dev/pci sys/sys usr.sbin/pciconf
Author: jhb Date: Mon Jan 20 20:56:09 2014 New Revision: 260926 URL: http://svnweb.freebsd.org/changeset/base/260926 Log: Add support for displaying VPD for PCI devices via pciconf. - Store the length of each read-only VPD value since not all values are guaranteed to be ASCII values (though most are). - Add a new pciio ioctl to fetch VPD for a single PCI device. The values are returned as a list of variable length records, one for the device name and each keyword. - Add a new -V flag to pciconf's list mode which displays VPD data for each device. MFC after:1 week Modified: head/sys/dev/pci/pci.c head/sys/dev/pci/pci_user.c head/sys/dev/pci/pcivar.h head/sys/sys/pciio.h head/usr.sbin/pciconf/pciconf.8 head/usr.sbin/pciconf/pciconf.c Modified: head/sys/dev/pci/pci.c == --- head/sys/dev/pci/pci.c Mon Jan 20 20:34:31 2014(r260925) +++ head/sys/dev/pci/pci.c Mon Jan 20 20:56:09 2014(r260926) @@ -985,7 +985,7 @@ pci_read_vpd(device_t pcib, pcicfgregs * state = -2; break; } - dflen = byte2; + cfg->vpd.vpd_ros[off].len = dflen = byte2; if (dflen == 0 && strncmp(cfg->vpd.vpd_ros[off].keyword, "RV", 2) == 0) { @@ -1179,6 +1179,17 @@ pci_get_vpd_readonly_method(device_t dev return (ENXIO); } +struct pcicfg_vpd * +pci_fetch_vpd_list(device_t dev) +{ + struct pci_devinfo *dinfo = device_get_ivars(dev); + pcicfgregs *cfg = &dinfo->cfg; + + if (!cfg->vpd.vpd_cached && cfg->vpd.vpd_reg != 0) + pci_read_vpd(device_get_parent(device_get_parent(dev)), cfg); + return (&cfg->vpd); +} + /* * Find the requested HyperTransport capability and return the offset * in configuration space via the pointer provided. The function Modified: head/sys/dev/pci/pci_user.c == --- head/sys/dev/pci/pci_user.c Mon Jan 20 20:34:31 2014(r260925) +++ head/sys/dev/pci/pci_user.c Mon Jan 20 20:56:09 2014(r260926) @@ -407,6 +407,89 @@ pci_conf_match_old32(struct pci_match_co #endif /* PRE7_COMPAT */ static int +pci_list_vpd(device_t dev, struct pci_list_vpd_io *lvio) +{ + struct pci_vpd_element vpd_element, *vpd_user; + struct pcicfg_vpd *vpd; + size_t len; + int error, i; + + vpd = pci_fetch_vpd_list(dev); + if (vpd->vpd_reg == 0 || vpd->vpd_ident == NULL) + return (ENXIO); + + /* +* Calculate the amount of space needed in the data buffer. An +* identifier element is always present followed by the read-only +* and read-write keywords. +*/ + len = sizeof(struct pci_vpd_element) + strlen(vpd->vpd_ident); + for (i = 0; i < vpd->vpd_rocnt; i++) + len += sizeof(struct pci_vpd_element) + vpd->vpd_ros[i].len; + for (i = 0; i < vpd->vpd_wcnt; i++) + len += sizeof(struct pci_vpd_element) + vpd->vpd_w[i].len; + + if (lvio->plvi_len == 0) { + lvio->plvi_len = len; + return (0); + } + if (lvio->plvi_len < len) { + lvio->plvi_len = len; + return (ENOMEM); + } + + /* +* Copyout the identifier string followed by each keyword and +* value. +*/ + vpd_user = lvio->plvi_data; + vpd_element.pve_keyword[0] = '\0'; + vpd_element.pve_keyword[1] = '\0'; + vpd_element.pve_flags = PVE_FLAG_IDENT; + vpd_element.pve_datalen = strlen(vpd->vpd_ident); + error = copyout(&vpd_element, vpd_user, sizeof(vpd_element)); + if (error) + return (error); + error = copyout(vpd->vpd_ident, vpd_user->pve_data, + strlen(vpd->vpd_ident)); + if (error) + return (error); + vpd_user = PVE_NEXT(vpd_user); + vpd_element.pve_flags = 0; + for (i = 0; i < vpd->vpd_rocnt; i++) { + vpd_element.pve_keyword[0] = vpd->vpd_ros[i].keyword[0]; + vpd_element.pve_keyword[1] = vpd->vpd_ros[i].keyword[1]; + vpd_element.pve_datalen = vpd->vpd_ros[i].len; + error = copyout(&vpd_element, vpd_user, sizeof(vpd_element)); + if (error) + return (error); + error = copyout(vpd->vpd_ros[i].value, vpd_user->pve_data, + vpd->vpd_ros[i].len); + if (error) + return (error); + vpd_user = PVE_NEXT(vpd_user); + } + vpd_element.pve_flags = PVE_FLAG_RW; + for (i = 0; i < vpd->vpd_wcnt; i++) { + vpd_element.pve_keyword[0] = vpd->vpd_w[i].keyword[0]; + vpd_element.pv
Re: svn commit: r260898 - head/sys/kern
On 20 Jan 2014, at 08:32, John Baldwin wrote: > On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: >> On 19 Jan 2014, at 17:59, Neel Natu wrote: >>> Author: neel >>> Date: Mon Jan 20 01:59:35 2014 >>> New Revision: 260898 >>> URL: http://svnweb.freebsd.org/changeset/base/260898 >>> >>> Log: >>> Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries >>> for >>> WITNESS to actually work. >> >> This value should be automatically tuned... > > How do you propose to do so? This is the count of locks initialized before > witness' own SYSINIT is executed and the array it sizes is allocated > statically at compile time. Witness is never used (witness_cold) until witness_initialise() is called, right? > This used to not be a static array, but an > intrusive list embedded in locks themselves, but we decided to shave a > pointer off of each lock that was only used for that and to use a statically > sized table instead. Why don’t we start with a static value (say 1024) and then reinitialise and copy array if it doesn’t fit instead of crashing the kernel? -- Rui Paulo ___ 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: r260930 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 21:50:04 2014 New Revision: 260930 URL: http://svnweb.freebsd.org/changeset/base/260930 Log: Document r260926, support for displaying VPD for PCI devices via pciconf(8). Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:50:02 2014(r260929) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:50:04 2014(r260930) @@ -168,7 +168,8 @@ Userland Changes - +Support for displaying VPD for PCI devices + via &man.pciconf.8; has been added. /etc/rc.d Scripts ___ 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: r260929 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 21:50:02 2014 New Revision: 260929 URL: http://svnweb.freebsd.org/changeset/base/260929 Log: Final sweep to remove items that now exist in a release. While here, clean up spacing between closing para tags and closing sectN tags. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:50:00 2014(r260928) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:50:02 2014(r260929) @@ -110,21 +110,18 @@ Virtualization support - ARM support - Boot Loader Changes - @@ -134,14 +131,12 @@ Multimedia Support - Network Interface Support - @@ -149,14 +144,12 @@ Network Protocols - Disks and Storage - @@ -168,7 +161,6 @@ ZFS - @@ -176,169 +168,7 @@ Userland Changes -On platforms where &man.clang.1; is the - default system compiler, (such as i386, amd64, arm) GCC and GNU - libstdc++ are no longer built by default. &man.clang.1; and - libc++ from LLVM are used on these platforms by instead. GCC - 4.2.1 and libstdc++ are still built and used by default on pc98 - and all other platforms where &man.clang.1; is not the default - system compiler. - -&man.clang.1; and llvm have been updated - to version 3.3 release. Please refer to http://llvm.org/releases/3.3/tools/clang/docs/ReleaseNotes.html";> - Clang 3.3 Release Notes. - -BIND has been replaced by - &man.unbound.8; for local dns resolution in the base system. - With this change, nslookup and dig are no longer a part of the - base system. Users should instead use &man.host.1; and - &man.drill.1; Alternatively, nslookup and dig can be obtained by - installing the dns/bind-tools port. - -sysinstall has been removed from the base - system. Auxiliary libraries and tools used by sysinstall such - as libdisk, libftpio, and sade have also been removed. - sysinstall has been replaced by &man.bsdinstall.8; and - &man.bsdconfig.8;. - -&man.freebsd-version.1; has been added. - This tool makes a best effort to determine the version and patch - level of the installed kernel and userland. - -GNU patch has been removed from the base - system, and replaced by a BSD-licensed &man.patch.1; - program. - -GNU sort has been removed from the base - system, and replaced by a BSD-licensed &man.sort.1; - program. - -Berkely yacc (byacc) has been imported - from http://invisible-island.net/byacc/";>invisible - island. This brings bison compatibilities to - &man.yacc.1; while preserving full backwards compatibility with - previous version of &man.yacc.1;. - -&man.lex.1; has been replaced by flex - 2.5.37 - -&man.make.1; has been replaced with the - Portable BSD make tool (bmake) from NetBSD. - -Support for usernames up to 32 - characters. - -The &man.adduser.8; utility now supports - a -M option to set the mode of a new user's - home directory. - -BSD-licensed versions of &man.ar.1; and &man.ranlib.1;, - based on libarchive, have replaced the GNU - Binutils versions of these utilities. - -BSD-licensed versions of &man.bc.1; and &man.dc.1; have - replaced their GNU counterparts. - -&man.chflags.1; now supports - a -v flag for verbose output and - a -f flag to ignore errors with the same - semantics as (for example) &man.chmod.1;. - -For compatibility with other implementations, &man.cp.1; now - supports a -a flag, which is equivalent to - specifying the -RrP flags. - -BSD-licensed version of &man.cpio.1; based on - libarchive, has replaced the GNU cpio. - Note that the GNU cpio is still installed as - gcpio. - -The &man.env.1; program now supports -u - name which will completely - unset the given variable name by - removing it from the environment, instead of just setting it to - a null value. - -The &man.fdopendir.3; library function has been - added. - -The &man.fetch.3; library now support HTTP 1.1 - If-Modified-Since behavior. The &man.fetch.1; program now - supports -i filename - which will only download the specified HTTP URL if the content - is newer than filename. - -&man.find.1; has been enhanced by the addition of a number - of primaries that were present in GNU find but not &os; - &man.find.1;. - -&man.kg
svn commit: r260928 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 21:50:00 2014 New Revision: 260928 URL: http://svnweb.freebsd.org/changeset/base/260928 Log: Remove entries that: - exist in a release [1] - do not have a corresponding revision class [1] This is done to make ensure for 11.0-RELEASE, we do not end up with entries from older releases, like happened with 10.0-R. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:49:59 2014(r260927) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:50:00 2014(r260928) @@ -104,132 +104,28 @@ Kernel Changes -The use of unmapped VMIO buffers - eliminates the need to perform TLB shootdown for mapping on - buffer creation and reuse, greatly reducing the amount of IPIs - for shootdown on big-SMP machines and eliminating up to 25-30% - of the system time on i/o intensive workloads. - -The maximum amount of memory - the &os; kernel can address has been increased from 1TB to - 4TB. - -The &man.ddb.4; kernel debugger now has an - output capture facility. Input and output from &man.ddb.4; can - now be captured to a memory buffer for later inspection using - &man.sysctl.8; or a textdump. The new - capture command controls this feature. - -The &man.ddb.4; debugger now supports a simple - scripting facility, which supports a set of named scripts - consisting of a set of &man.ddb.4; commands. These commands can - be managed from within &man.ddb.4; or with the use of the new - &man.ddb.8; utility. More details can be found in the - &man.ddb.4; manual page. - -Support was added for - the new Intel on-CPU Bull Mountain random number generator, - found on IvyBridge and supposedly later CPUs, accessible with - RDRAND instruction. + Virtualization support - The BSD Hypervisor, - &man.bhyve.8; is included with &os;. &man.bhyve.8; requires - Intel CPUs with VT-x and Extended Page Table (EPT) support. - These features are on all Nehalem models and beyond (e.g. - Nehalem and newer), but not on the lower-end Atom CPUs. - - &man.virtio.4; support has been added. - &man.virtio.4; is the name for the paravirtualization - interface developed for the Linux KVM, but since adopted to - other virtual machine hypervisors (with the notable exception - of Xen). This work brings in a BSD-licensed clean-room - implementation of the virtio kernel drivers for disk IO - (&man.virtio_blk.4; and &man.virtio_scsi.4;), network IO - (&man.vtnet.4;), memory ballooning (&man.virtio_balloon.4;), - and PCI. Tested with on Qemu/KVM, VirtualBox, and - &man.bhyve.4;. - - Paravirtualized - drivers which support Microsoft Hyper-V have been imported and - made part of the amd64 GENERIC kernel. For i386, these - drivers are not part of GENERIC, so the following lines must - be added to /boot/loader.conf to load - these drivers: - - hv_ata_pci_disengage_load="YES" -hv_netsvc_load="YES" -hv_utils_load="YES" -hv_vmbus_load="YES" - - Alternatively, the Hyper-V drivers can be added to the - i386 kernel by adding device hyperv to the - kernel config, and then recompiling the kernel. Please refer - to: http://wiki.freebsd.org/HyperV";>FreeBSD - and Microsoft Windows Server Hyper-V support for full - instructions on how to set up Hyper-V support under - FreeBSD. - - The &man.vmx.4; driver has been added. - &man.vmx.4; is a VMware VMXNET3 ethernet driver ported from - OpenBSD. - - Xen PVHVM - virtualization is now part of the GENERIC kernel. + ARM support - Raspberry PI support has been added. - Refer to these http://kernelnomicon.org/?p=164";>setup - instructions and http://www.raspberrypi.org/quick-start-guide";>quick - start guide. - - The default ABI on ARM is now the ARM - EABI. This brings a number of improvements and allows future - support for VFP and Thumb-2. - - ARM support has been greatly improved, - including support for ARMv6 and ARMv7, SMP and thread-local - storage (TLS). Additionally support for some newer SoC like - the MV78x60 and OMAP4 was added. See http://lists.freebsd.org/pipermail/freebsd-arm/2012-August/003757.html";>this - announcement for further details. - - Superpages support on ARM has been - added. Superpages support provides improved performance and - scalability by allowing TLB translations to dyn
svn commit: r260927 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 21:49:59 2014 New Revision: 260927 URL: http://svnweb.freebsd.org/changeset/base/260927 Log: Trim copyright years. Add missing punctuation. Use in place of literal quotes. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 20:56:09 2014(r260926) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:49:59 2014(r260927) @@ -12,20 +12,6 @@ $FreeBSD$ -2000 -2001 -2002 -2003 -2004 -2005 -2006 -2007 -2008 -2009 -2010 -2011 -2012 -2013 2014 mailto:d...@freebsd.org";>The &os; Documentation Project @@ -365,7 +351,7 @@ hv_vmbus_load="YES" File Systems A new kernel-based iSCSI target and - initiator has been added + initiator has been added. UFS filesystems can now be enlarged with &man.growfs.8; while mounted read-write. This is especially @@ -374,7 +360,7 @@ hv_vmbus_load="YES" A state of the art FUSE implementation is now part of the base system. It allows the use of nearly - all fusefs file systems + all fusefs file systems. ZFS @@ -393,7 +379,7 @@ hv_vmbus_load="YES" Support for the high performance LZ4 compression algorithm has been added to ZFS. LZ4 is usually faster and can achieve a higher compression ratio than LZJB, - the default compression algorithm + the default compression algorithm. Support for L2ARC compression has been added to ZFS. @@ -469,7 +455,7 @@ hv_vmbus_load="YES" 2.5.37 &man.make.1; has been replaced with the - "Portable" BSD make tool (bmake) from NetBSD. + Portable BSD make tool (bmake) from NetBSD. Support for usernames up to 32 characters. @@ -608,7 +594,7 @@ hv_vmbus_load="YES" CVS has been removed from the base system, but is still available from - ports + ports. Subversion has been imported into the base system and is installed as svnlite. @@ -671,7 +657,7 @@ hv_vmbus_load="YES" pkg_info, pkg_updating, and pkg_version utilities have been removed. &man.pkg.7; must now be used to install binary packages. &man.pkg.7; is the next generation &os; package - manager, also referred to as "pkgng". + manager, also referred to as pkgng. ___ 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: r260934 - head/sys/powerpc/powermac
Author: andreast Date: Mon Jan 20 21:54:05 2014 New Revision: 260934 URL: http://svnweb.freebsd.org/changeset/base/260934 Log: Fix the resource information for the i2s-a node on certain G5 PowerMacs. This is the first step needed to get the snapper codec working on those machines. The second step is to enable the corresponding I2S device and its clock. Tested on machines where the snapper codec was already working, a G4 PowerBook and a PowerMac9,1 with a Shasta based macio. The PowerMac7,2/7,3 with a K2 based macio can now also play sound. MFC after:1 month Modified: head/sys/powerpc/powermac/macio.c head/sys/powerpc/powermac/maciovar.h Modified: head/sys/powerpc/powermac/macio.c == --- head/sys/powerpc/powermac/macio.c Mon Jan 20 21:52:00 2014 (r260933) +++ head/sys/powerpc/powermac/macio.c Mon Jan 20 21:54:05 2014 (r260934) @@ -236,13 +236,45 @@ macio_add_intr(phandle_t devnode, struct static void macio_add_reg(phandle_t devnode, struct macio_devinfo *dinfo) { - struct macio_reg *reg; - int i, nreg; + struct macio_reg *reg, *regp; + phandle_t child; + charbuf[8]; + int i, layout_id = 0, nreg, res; nreg = OF_getprop_alloc(devnode, "reg", sizeof(*reg), (void **)®); if (nreg == -1) return; +/* + * Some G5's have broken properties in the i2s-a area. If so we try + * to fix it. Right now we know of two different cases, one for + * sound layout-id 36 and the other one for sound layout-id 76. + * What is missing is the base address for the memory addresses. + * We take them from the parent node (i2s) and use the size + * information from the child. + */ + +if (reg[0].mr_base == 0) { + child = OF_child(devnode); + while (child != 0) { + res = OF_getprop(child, "name", buf, sizeof(buf)); + if (res > 0 && strcmp(buf, "sound") == 0) + break; + child = OF_peer(child); + } + +res = OF_getprop(child, "layout-id", &layout_id, + sizeof(layout_id)); + +if (res > 0 && (layout_id == 36 || layout_id == 76)) { +res = OF_getprop_alloc(OF_parent(devnode), "reg", + sizeof(*regp), (void **)®p); +reg[0] = regp[0]; +reg[1].mr_base = regp[1].mr_base; +reg[2].mr_base = regp[1].mr_base + reg[1].mr_size; +} +} + for (i = 0; i < nreg; i++) { resource_list_add(&dinfo->mdi_resources, SYS_RES_MEMORY, i, reg[i].mr_base, reg[i].mr_base + reg[i].mr_size, @@ -284,6 +316,7 @@ macio_attach(device_t dev) phandle_t subchild; device_t cdev; u_int reg[3]; + char compat[32]; int error, quirks; sc = device_get_softc(dev); @@ -297,6 +330,9 @@ macio_attach(device_t dev) return (ENXIO); } + /* Used later to see if we have to enable the I2S part. */ + OF_getprop(root, "compatible", compat, sizeof(compat)); + sc->sc_base = reg[2]; sc->sc_size = MACIO_REG_SIZE; @@ -378,6 +414,21 @@ macio_attach(device_t dev) bus_write_4(sc->sc_memr, HEATHROW_FCR, fcr); } + + /* +* Make sure the I2S0 and the I2S0_CLK are enabled. +* On certain G5's they are not. +*/ + if ((strcmp(ofw_bus_get_name(cdev), "i2s") == 0) && + (strcmp(compat, "K2-Keylargo") == 0)) { + + uint32_t fcr1; + + fcr1 = bus_read_4(sc->sc_memr, KEYLARGO_FCR1); + fcr1 |= FCR1_I2S0_CLK_ENABLE | FCR1_I2S0_ENABLE; + bus_write_4(sc->sc_memr, KEYLARGO_FCR1, fcr1); + } + } return (bus_generic_attach(dev)); Modified: head/sys/powerpc/powermac/maciovar.h == --- head/sys/powerpc/powermac/maciovar.hMon Jan 20 21:52:00 2014 (r260933) +++ head/sys/powerpc/powermac/maciovar.hMon Jan 20 21:54:05 2014 (r260934) @@ -48,6 +48,9 @@ #define FCR_ENET_ENABLE0x6000 #define FCR_ENET_RESET 0x8000 +#define FCR1_I2S0_CLK_ENABLE 0x1000 +#define FCR1_I2S0_ENABLE 0x2000 + /* Used only by macio_enable_wireless() for now. */ #define KEYLARGO_GPIO_BASE 0x6a #define KEYLARGO_EXTINT_GPIO_REG_BASE 0x58 ___ svn-src-head@freebsd.org mailing list h
svn commit: r260936 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 21:58:29 2014 New Revision: 260936 URL: http://svnweb.freebsd.org/changeset/base/260936 Log: Document r260913, onifconsole ttys(5) flag. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:58:20 2014(r260935) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:58:29 2014(r260936) @@ -172,6 +172,12 @@ Support for displaying VPD for PCI devices via &man.pciconf.8; has been added. +A new flag, onifconsole has + been added to /etc/ttys. This allows the + system to provide a login prompt via serial console if the + device is an active kernel console, otherwise it is equivalent + to off. + /etc/rc.d Scripts ___ 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: r260931 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 21:50:06 2014 New Revision: 260931 URL: http://svnweb.freebsd.org/changeset/base/260931 Log: Document r260921, nand(4) enabled by default for arm. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:50:04 2014(r260930) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:50:06 2014(r260931) @@ -115,7 +115,8 @@ ARM support - + The &man.nand.4; device is enabled for + ARM devices by default. ___ 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: r260937 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 22:08:09 2014 New Revision: 260937 URL: http://svnweb.freebsd.org/changeset/base/260937 Log: Document r260910. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 21:58:29 2014(r260936) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 22:08:09 2014(r260937) @@ -178,6 +178,13 @@ device is an active kernel console, otherwise it is equivalent to off. +Allow &man.pciconf.8; to identify PCI + devices that are attached to a driver to be identified by their + device name instead of just the selector. Additionally, an + optional device argument to the -l flag + to restrict the output to only listing details about a single + device. + /etc/rc.d Scripts ___ 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: r260938 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 22:08:11 2014 New Revision: 260938 URL: http://svnweb.freebsd.org/changeset/base/260938 Log: Document r260903. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 22:08:09 2014(r260937) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 22:08:11 2014(r260938) @@ -117,6 +117,9 @@ The &man.nand.4; device is enabled for ARM devices by default. + + Support for GPS ports has been added to + &man.uhso.4;. ___ 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: r260898 - head/sys/kern
On Mon, 20 Jan 2014 11:32:29 -0500 John Baldwin wrote: > On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: > > On 19 Jan 2014, at 17:59, Neel Natu wrote: > > > Author: neel > > > Date: Mon Jan 20 01:59:35 2014 > > > New Revision: 260898 > > > URL: http://svnweb.freebsd.org/changeset/base/260898 > > > > > > Log: > > > Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient > > > entries for > > > WITNESS to actually work. > > > > This value should be automatically tuned... > > How do you propose to do so? This is the count of locks initialized > before witness' own SYSINIT is executed and the array it sizes is > allocated statically at compile time. This used to not be a static > array, but an intrusive list embedded in locks themselves, but we > decided to shave a pointer off of each lock that was only used for > that and to use a statically sized table instead. > > -- > John Baldwin As + * MAXCPU, as evidently most recent overflows reported were caused by jacking MAXCPU up from its default value? -- Alexander Kabaev signature.asc Description: PGP signature
svn commit: r260939 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 22:25:50 2014 New Revision: 260939 URL: http://svnweb.freebsd.org/changeset/base/260939 Log: Document r260888. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 22:08:11 2014(r260938) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 22:25:50 2014(r260939) @@ -104,7 +104,9 @@ Kernel Changes - +Add a VT kernel + configuration file, which enables the new vt + console driver. Virtualization support ___ 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: r260942 - head/usr.sbin/pkg
Author: bapt Date: Mon Jan 20 22:54:11 2014 New Revision: 260942 URL: http://svnweb.freebsd.org/changeset/base/260942 Log: Implicit include of sys/queue.h instead of relying on gelf.h/libelf.h to bring it Newer version of gelf.h and libelf.h does not include sys/queue.h anymore Submitted by: kaiw MFC after:3 days Modified: head/usr.sbin/pkg/config.c Modified: head/usr.sbin/pkg/config.c == --- head/usr.sbin/pkg/config.c Mon Jan 20 22:54:06 2014(r260941) +++ head/usr.sbin/pkg/config.c Mon Jan 20 22:54:11 2014(r260942) @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include #include ___ 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: r260943 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:08:31 2014 New Revision: 260943 URL: http://svnweb.freebsd.org/changeset/base/260943 Log: Document r260847. Reword entry for r260888. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 22:54:11 2014(r260942) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:08:31 2014(r260943) @@ -104,9 +104,12 @@ Kernel Changes -Add a VT kernel - configuration file, which enables the new vt - console driver. +The VT kernel + configuration file has been added, which enables the new + vt console driver. + +The &man.virtio_random.4; driver has been + added to harvest entropy from the host system. Virtualization support ___ 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: r260944 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:08:33 2014 New Revision: 260944 URL: http://svnweb.freebsd.org/changeset/base/260944 Log: Document r260594. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:08:31 2014(r260943) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:08:33 2014(r260944) @@ -193,6 +193,11 @@ to restrict the output to only listing details about a single device. +When unable to load a kernel module with + &man.kldload.8;, a message informing to view output of + &man.dmesg.8; is now printed, opposed to the previous output + Exec format error.. + /etc/rc.d Scripts ___ 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: r260946 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:12:12 2014 New Revision: 260946 URL: http://svnweb.freebsd.org/changeset/base/260946 Log: Document r260583. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:12:10 2014(r260945) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:12:12 2014(r260946) @@ -113,6 +113,9 @@ The &man.virtio_random.4; driver has been added to harvest entropy from the host system. + + Unmapped IO support has been added to + &man.virtio_scsi.4;. ___ 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: r260945 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:12:10 2014 New Revision: 260945 URL: http://svnweb.freebsd.org/changeset/base/260945 Log: Move r260847 to 'kernel-virtualization'. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:08:33 2014(r260944) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:12:10 2014(r260945) @@ -108,13 +108,11 @@ configuration file has been added, which enables the new vt console driver. -The &man.virtio_random.4; driver has been - added to harvest entropy from the host system. - Virtualization support - + The &man.virtio_random.4; driver has + been added to harvest entropy from the host system. ___ 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: r260949 - in head/sys/boot: i386/libi386 pc98/libpc98
Author: mav Date: Mon Jan 20 23:27:05 2014 New Revision: 260949 URL: http://svnweb.freebsd.org/changeset/base/260949 Log: Make comconsole options set before its activation to be remembered. MFC after:2 weeks Sponsored by: iXsystems, Inc. Modified: head/sys/boot/i386/libi386/comconsole.c head/sys/boot/pc98/libpc98/comconsole.c Modified: head/sys/boot/i386/libi386/comconsole.c == --- head/sys/boot/i386/libi386/comconsole.c Mon Jan 20 23:25:52 2014 (r260948) +++ head/sys/boot/i386/libi386/comconsole.c Mon Jan 20 23:27:05 2014 (r260949) @@ -181,8 +181,7 @@ comc_speed_set(struct env_var *ev, int f return (CMD_ERROR); } -if ((comconsole.c_flags & (C_ACTIVEIN | C_ACTIVEOUT)) != 0 && - comc_curspeed != speed) +if (comc_curspeed != speed) comc_setup(speed, comc_port); env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); @@ -200,8 +199,7 @@ comc_port_set(struct env_var *ev, int fl return (CMD_ERROR); } -if ((comconsole.c_flags & (C_ACTIVEIN | C_ACTIVEOUT)) != 0 && - comc_port != port) +if (comc_port != port) comc_setup(comc_curspeed, port); env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); @@ -309,6 +307,8 @@ comc_setup(int speed, int port) unsetenv("hw.uart.console"); comc_curspeed = speed; comc_port = port; +if ((comconsole.c_flags & (C_ACTIVEIN | C_ACTIVEOUT)) == 0) + return; outb(comc_port + com_cfcr, CFCR_DLAB | COMC_FMT); outb(comc_port + com_dlbl, COMC_BPS(speed) & 0xff); Modified: head/sys/boot/pc98/libpc98/comconsole.c == --- head/sys/boot/pc98/libpc98/comconsole.c Mon Jan 20 23:25:52 2014 (r260948) +++ head/sys/boot/pc98/libpc98/comconsole.c Mon Jan 20 23:27:05 2014 (r260949) @@ -181,8 +181,7 @@ comc_speed_set(struct env_var *ev, int f return (CMD_ERROR); } -if ((comconsole.c_flags & (C_ACTIVEIN | C_ACTIVEOUT)) != 0 && - comc_curspeed != speed) +if (comc_curspeed != speed) comc_setup(speed, comc_port); env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); @@ -200,8 +199,7 @@ comc_port_set(struct env_var *ev, int fl return (CMD_ERROR); } -if ((comconsole.c_flags & (C_ACTIVEIN | C_ACTIVEOUT)) != 0 && - comc_port != port) +if (comc_port != port) comc_setup(comc_curspeed, port); env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); @@ -309,6 +307,8 @@ comc_setup(int speed, int port) unsetenv("hw.uart.console"); comc_curspeed = speed; comc_port = port; +if ((comconsole.c_flags & (C_ACTIVEIN | C_ACTIVEOUT)) == 0) + return; outb(comc_port + com_cfcr, CFCR_DLAB | COMC_FMT); outb(comc_port + com_dlbl, COMC_BPS(speed) & 0xff); ___ 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: r260951 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:31:18 2014 New Revision: 260951 URL: http://svnweb.freebsd.org/changeset/base/260951 Log: Document r260552. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:31:16 2014(r260950) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:31:18 2014(r260951) @@ -149,7 +149,9 @@ Network Interface Support - + Firmware for &intel; + Centrino™ Wireless-N 105 devices has been added + to the base system. ___ 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: r260950 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:31:16 2014 New Revision: 260950 URL: http://svnweb.freebsd.org/changeset/base/260950 Log: Document r260582. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:27:05 2014(r260949) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:31:16 2014(r260950) @@ -116,6 +116,9 @@ Unmapped IO support has been added to &man.virtio_scsi.4;. + + Unmapped IO support has been added to + &man.virtio_blk.4;. ___ 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: r260952 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:31:20 2014 New Revision: 260952 URL: http://svnweb.freebsd.org/changeset/base/260952 Log: Document r260532. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:31:18 2014(r260951) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:31:20 2014(r260952) @@ -108,6 +108,16 @@ configuration file has been added, which enables the new vt console driver. +Support for Posted Interrupt + Processing is enabled if supported by the CPU. + This feature can be disabled with: + +&prompt.root; sysctl hw.vmm.vmx.use_apic_pir=0 + +Additionally, to persist this setting across reboots, add + hw.vmm.vmx.use_apic_pir=0 to + /etc/sysctl.conf. + Virtualization support ___ 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: r260953 - head/sys/dev/vt/hw/fb
Author: ray Date: Mon Jan 20 23:36:16 2014 New Revision: 260953 URL: http://svnweb.freebsd.org/changeset/base/260953 Log: Style(9) fix. No functional changes. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/hw/fb/vt_fb.c Modified: head/sys/dev/vt/hw/fb/vt_fb.c == --- head/sys/dev/vt/hw/fb/vt_fb.c Mon Jan 20 23:31:20 2014 (r260952) +++ head/sys/dev/vt/hw/fb/vt_fb.c Mon Jan 20 23:36:16 2014 (r260953) @@ -69,8 +69,9 @@ vt_fb_ioctl(struct vt_device *vd, u_long return (info->fb_ioctl(info->fb_cdev, cmd, data, 0, td)); } -static int vt_fb_mmap(struct vt_device *vd, vm_ooffset_t offset, -vm_paddr_t *paddr, int prot, vm_memattr_t *memattr) +static int +vt_fb_mmap(struct vt_device *vd, vm_ooffset_t offset, vm_paddr_t *paddr, +int prot, vm_memattr_t *memattr) { struct fb_info *info; ___ 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: r260954 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:50:30 2014 New Revision: 260954 URL: http://svnweb.freebsd.org/changeset/base/260954 Log: Document r260448. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:36:16 2014(r260953) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:50:30 2014(r260954) @@ -162,6 +162,10 @@ Firmware for &intel; Centrino™ Wireless-N 105 devices has been added to the base system. + + Support for the &intel; + Centrino™ Wireless-N 135 chipset has been + added. ___ 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: r260955 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:50:32 2014 New Revision: 260955 URL: http://svnweb.freebsd.org/changeset/base/260955 Log: Move r260532 to kernel-virtualization. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:50:30 2014(r260954) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:50:32 2014(r260955) @@ -108,16 +108,6 @@ configuration file has been added, which enables the new vt console driver. -Support for Posted Interrupt - Processing is enabled if supported by the CPU. - This feature can be disabled with: - -&prompt.root; sysctl hw.vmm.vmx.use_apic_pir=0 - -Additionally, to persist this setting across reboots, add - hw.vmm.vmx.use_apic_pir=0 to - /etc/sysctl.conf. - Virtualization support @@ -129,6 +119,16 @@ Unmapped IO support has been added to &man.virtio_blk.4;. + + Support for Posted Interrupt + Processing is enabled if supported by the CPU. + This feature can be disabled with: + + &prompt.root; sysctl hw.vmm.vmx.use_apic_pir=0 + + Additionally, to persist this setting across reboots, add + hw.vmm.vmx.use_apic_pir=0 to + /etc/sysctl.conf. ___ 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: r260956 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:50:34 2014 New Revision: 260956 URL: http://svnweb.freebsd.org/changeset/base/260956 Log: Document r260410. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:50:32 2014(r260955) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:50:34 2014(r260956) @@ -129,6 +129,17 @@ Additionally, to persist this setting across reboots, add hw.vmm.vmx.use_apic_pir=0 to /etc/sysctl.conf. + + Support for the Virtual Interrupt + Delivery feature of &intel; VT-x is enabled if + supported by the CPU. This feature can be disabled + with: + + &prompt.root; sysctl hw.vmm.vmx.use_apic_vid=0 + + Additionally, to persist this setting across reboots, add + hw.vmm.vmx.use_apic_vid=0 to + /etc/sysctl.conf. ___ 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: r260957 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:52:28 2014 New Revision: 260957 URL: http://svnweb.freebsd.org/changeset/base/260957 Log: Move r260903, misplaced. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:50:34 2014(r260956) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:52:28 2014(r260957) @@ -104,6 +104,9 @@ Kernel Changes +Support for GPS ports has been added to + &man.uhso.4;. + The VT kernel configuration file has been added, which enables the new vt console driver. @@ -147,9 +150,6 @@ The &man.nand.4; device is enabled for ARM devices by default. - - Support for GPS ports has been added to - &man.uhso.4;. ___ 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: r260959 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Mon Jan 20 23:59:32 2014 New Revision: 260959 URL: http://svnweb.freebsd.org/changeset/base/260959 Log: Reformat to fix a nit in the rendered output. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:56:49 2014(r260958) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Mon Jan 20 23:59:32 2014(r260959) @@ -124,23 +124,18 @@ &man.virtio_blk.4;. Support for Posted Interrupt - Processing is enabled if supported by the CPU. - This feature can be disabled with: - - &prompt.root; sysctl hw.vmm.vmx.use_apic_pir=0 - - Additionally, to persist this setting across reboots, add + Processing is enabled if supported by the CPU. This + feature can be disabled by running sysctl + hw.vmm.vmx.use_apic_pir=0. Additionally, to + persist this setting across reboots, add hw.vmm.vmx.use_apic_pir=0 to /etc/sysctl.conf. Support for the Virtual Interrupt Delivery feature of &intel; VT-x is enabled if - supported by the CPU. This feature can be disabled - with: - - &prompt.root; sysctl hw.vmm.vmx.use_apic_vid=0 - - Additionally, to persist this setting across reboots, add + supported by the CPU. This feature can be disabled by running + sysctl hw.vmm.vmx.use_apic_vid=0. + Additionally, to persist this setting across reboots, add hw.vmm.vmx.use_apic_vid=0 to /etc/sysctl.conf. ___ 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: r260967 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Tue Jan 21 01:12:48 2014 New Revision: 260967 URL: http://svnweb.freebsd.org/changeset/base/260967 Log: Document r260445. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 00:34:37 2014(r260966) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:48 2014(r260967) @@ -234,7 +234,8 @@ Contributed Software - +&man.byacc.1; has been updated to version + 20140101. ___ 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: r260968 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Tue Jan 21 01:12:50 2014 New Revision: 260968 URL: http://svnweb.freebsd.org/changeset/base/260968 Log: Document r259626. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:48 2014(r260967) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:50 2014(r260968) @@ -236,6 +236,9 @@ &man.byacc.1; has been updated to version 20140101. + +Timezone data files have been updated to + version 2013i. ___ 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: r260970 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Tue Jan 21 01:12:54 2014 New Revision: 260970 URL: http://svnweb.freebsd.org/changeset/base/260970 Log: Document r258838. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:52 2014(r260969) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:54 2014(r260970) @@ -224,6 +224,10 @@ &man.dmesg.8; is now printed, opposed to the previous output Exec format error.. +The &man.casperd.8; daemon has been added, + which provides access to functionality that is not available in + the capability mode sandbox. + /etc/rc.d Scripts ___ 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: r260969 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Tue Jan 21 01:12:52 2014 New Revision: 260969 URL: http://svnweb.freebsd.org/changeset/base/260969 Log: Document r258884. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:50 2014(r260968) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:52 2014(r260969) @@ -239,6 +239,9 @@ Timezone data files have been updated to version 2013i. + +&man.lldb.1; has been updated to upstream + snapshot version r196259. ___ 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: r260971 - head/release/doc/en_US.ISO8859-1/relnotes
Author: gjb Date: Tue Jan 21 01:21:20 2014 New Revision: 260971 URL: http://svnweb.freebsd.org/changeset/base/260971 Log: Document r258830. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml == --- head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:12:54 2014(r260970) +++ head/release/doc/en_US.ISO8859-1/relnotes/article.xml Tue Jan 21 01:21:20 2014(r260971) @@ -172,6 +172,10 @@ Support for the &intel; Centrino™ Wireless-N 135 chipset has been added. + + Support for Broadcom chipsets + BCM57764, BCM57767, BCM57782, BCM57786 and BCM57787 has + been added to &man.bge.4;. ___ 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: r260972 - in head/sys/amd64/vmm: . io
Author: neel Date: Tue Jan 21 03:01:34 2014 New Revision: 260972 URL: http://svnweb.freebsd.org/changeset/base/260972 Log: There is no need to initialize the IOMMU if no passthru devices have been configured for bhyve to use. Suggested by: grehan@ Modified: head/sys/amd64/vmm/io/iommu.c head/sys/amd64/vmm/io/ppt.c head/sys/amd64/vmm/io/ppt.h head/sys/amd64/vmm/vmm.c Modified: head/sys/amd64/vmm/io/iommu.c == --- head/sys/amd64/vmm/io/iommu.c Tue Jan 21 01:21:20 2014 (r260971) +++ head/sys/amd64/vmm/io/iommu.c Tue Jan 21 03:01:34 2014 (r260972) @@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include @@ -43,7 +44,13 @@ __FBSDID("$FreeBSD$"); #include "vmm_mem.h" #include "iommu.h" -static boolean_t iommu_avail; +SYSCTL_DECL(_hw_vmm); +SYSCTL_NODE(_hw_vmm, OID_AUTO, iommu, CTLFLAG_RW, 0, "bhyve iommu parameters"); + +static int iommu_avail; +SYSCTL_INT(_hw_vmm_iommu, OID_AUTO, initialized, CTLFLAG_RD, &iommu_avail, +0, "bhyve iommu initialized?"); + static struct iommu_ops *ops; static void *host_domain; @@ -160,7 +167,7 @@ iommu_init(void) if (error) return; - iommu_avail = TRUE; + iommu_avail = 1; /* * Create a domain for the devices owned by the host Modified: head/sys/amd64/vmm/io/ppt.c == --- head/sys/amd64/vmm/io/ppt.c Tue Jan 21 01:21:20 2014(r260971) +++ head/sys/amd64/vmm/io/ppt.c Tue Jan 21 03:01:34 2014(r260972) @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include @@ -100,7 +101,12 @@ static struct pptdev { } msix; } pptdevs[64]; +SYSCTL_DECL(_hw_vmm); +SYSCTL_NODE(_hw_vmm, OID_AUTO, ppt, CTLFLAG_RW, 0, "bhyve passthru devices"); + static int num_pptdevs; +SYSCTL_INT(_hw_vmm_ppt, OID_AUTO, devices, CTLFLAG_RD, &num_pptdevs, 0, +"number of pci passthru devices"); static int ppt_probe(device_t dev) @@ -282,7 +288,14 @@ ppt_teardown_msix(struct pptdev *ppt) } int -ppt_num_devices(struct vm *vm) +ppt_avail_devices(void) +{ + + return (num_pptdevs); +} + +int +ppt_assigned_devices(struct vm *vm) { int i, num; Modified: head/sys/amd64/vmm/io/ppt.h == --- head/sys/amd64/vmm/io/ppt.h Tue Jan 21 01:21:20 2014(r260971) +++ head/sys/amd64/vmm/io/ppt.h Tue Jan 21 03:01:34 2014(r260972) @@ -36,10 +36,16 @@ int ppt_setup_msi(struct vm *vm, int vcp uint64_t addr, uint64_t msg, int numvec); intppt_setup_msix(struct vm *vm, int vcpu, int bus, int slot, int func, int idx, uint64_t addr, uint64_t msg, uint32_t vector_control); -intppt_num_devices(struct vm *vm); +intppt_assigned_devices(struct vm *vm); boolean_t ppt_is_mmio(struct vm *vm, vm_paddr_t gpa); /* + * Returns the number of devices sequestered by the ppt driver for assignment + * to virtual machines. + */ +intppt_avail_devices(void); + +/* * The following functions should never be called directly. * Use 'vm_assign_pptdev()' and 'vm_unassign_pptdev()' instead. */ Modified: head/sys/amd64/vmm/vmm.c == --- head/sys/amd64/vmm/vmm.cTue Jan 21 01:21:20 2014(r260971) +++ head/sys/amd64/vmm/vmm.cTue Jan 21 03:01:34 2014(r260972) @@ -266,7 +266,8 @@ vmm_handler(module_t mod, int what, void switch (what) { case MOD_LOAD: vmmdev_init(); - iommu_init(); + if (ppt_avail_devices() > 0) + iommu_init(); error = vmm_init(); if (error == 0) vmm_initialized = 1; @@ -604,7 +605,7 @@ vm_unassign_pptdev(struct vm *vm, int bu if (error) return (error); - if (ppt_num_devices(vm) == 0) { + if (ppt_assigned_devices(vm) == 0) { vm_iommu_unmap(vm); vm_gpa_unwire(vm); } @@ -624,7 +625,7 @@ vm_assign_pptdev(struct vm *vm, int bus, * * We need to do this before the first pci passthru device is attached. */ - if (ppt_num_devices(vm) == 0) { + if (ppt_assigned_devices(vm) == 0) { KASSERT(vm->iommu == NULL, ("vm_assign_pptdev: iommu must be NULL")); maxaddr = vmm_mem_maxaddr(); ___ 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: r260973 - in head/sys/x86: include pci x86
Author: jhb Date: Tue Jan 21 03:14:19 2014 New Revision: 260973 URL: http://svnweb.freebsd.org/changeset/base/260973 Log: - Reuse legacy_pcib_(read|write)_config() methods in the QPI pcib driver. - Reuse legacy_pcib_alloc_msi{,x}() methods in the QPI and mptable pcib drivers. Modified: head/sys/x86/include/legacyvar.h head/sys/x86/pci/pci_bus.c head/sys/x86/pci/qpi.c head/sys/x86/x86/mptable_pci.c Modified: head/sys/x86/include/legacyvar.h == --- head/sys/x86/include/legacyvar.hTue Jan 21 03:01:34 2014 (r260972) +++ head/sys/x86/include/legacyvar.hTue Jan 21 03:14:19 2014 (r260973) @@ -57,6 +57,9 @@ int legacy_pcib_write_ivar(device_t dev, uintptr_t value); struct resource *legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags); +intlegacy_pcib_alloc_msi(device_t pcib, device_t dev, int count, +int maxcount, int *irqs); +intlegacy_pcib_alloc_msix(device_t pcib, device_t dev, int *irq); intlegacy_pcib_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr, uint32_t *data); Modified: head/sys/x86/pci/pci_bus.c == --- head/sys/x86/pci/pci_bus.c Tue Jan 21 03:01:34 2014(r260972) +++ head/sys/x86/pci/pci_bus.c Tue Jan 21 03:14:19 2014(r260973) @@ -92,7 +92,7 @@ legacy_pcib_route_interrupt(device_t pci /* Pass MSI requests up to the nexus. */ -static int +int legacy_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) { @@ -103,7 +103,7 @@ legacy_pcib_alloc_msi(device_t pcib, dev irqs)); } -static int +int legacy_pcib_alloc_msix(device_t pcib, device_t dev, int *irq) { device_t bus; Modified: head/sys/x86/pci/qpi.c == --- head/sys/x86/pci/qpi.c Tue Jan 21 03:01:34 2014(r260972) +++ head/sys/x86/pci/qpi.c Tue Jan 21 03:14:19 2014(r260973) @@ -45,8 +45,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include +#include +#include +#include #include #include @@ -237,42 +238,6 @@ qpi_pcib_read_ivar(device_t dev, device_ } } -static uint32_t -qpi_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, -u_int reg, int bytes) -{ - - return (pci_cfgregread(bus, slot, func, reg, bytes)); -} - -static void -qpi_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, -u_int reg, uint32_t data, int bytes) -{ - - pci_cfgregwrite(bus, slot, func, reg, data, bytes); -} - -static int -qpi_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, -int *irqs) -{ - device_t bus; - - bus = device_get_parent(pcib); - return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, - irqs)); -} - -static int -qpi_pcib_alloc_msix(device_t pcib, device_t dev, int *irq) -{ - device_t bus; - - bus = device_get_parent(pcib); - return (PCIB_ALLOC_MSIX(device_get_parent(bus), dev, irq)); -} - static int qpi_pcib_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr, uint32_t *data) @@ -302,11 +267,11 @@ static device_method_t qpi_pcib_methods[ /* pcib interface */ DEVMETHOD(pcib_maxslots,pcib_maxslots), - DEVMETHOD(pcib_read_config, qpi_pcib_read_config), - DEVMETHOD(pcib_write_config,qpi_pcib_write_config), - DEVMETHOD(pcib_alloc_msi, qpi_pcib_alloc_msi), + DEVMETHOD(pcib_read_config, legacy_pcib_read_config), + DEVMETHOD(pcib_write_config,legacy_pcib_write_config), + DEVMETHOD(pcib_alloc_msi, legacy_pcib_alloc_msi), DEVMETHOD(pcib_release_msi, pcib_release_msi), - DEVMETHOD(pcib_alloc_msix, qpi_pcib_alloc_msix), + DEVMETHOD(pcib_alloc_msix, legacy_pcib_alloc_msix), DEVMETHOD(pcib_release_msix,pcib_release_msix), DEVMETHOD(pcib_map_msi, qpi_pcib_map_msi), Modified: head/sys/x86/x86/mptable_pci.c == --- head/sys/x86/x86/mptable_pci.c Tue Jan 21 03:01:34 2014 (r260972) +++ head/sys/x86/x86/mptable_pci.c Tue Jan 21 03:14:19 2014 (r260973) @@ -76,27 +76,6 @@ mptable_hostb_attach(device_t dev) return (bus_generic_attach(dev)); } -/* Pass MSI requests up to the nexus. */ -static int -mptable_hostb_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, -int *irqs) -{ - device_t bus; - - bus = device_get_parent(pcib); - return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, - irqs)); -} - -static int -mptable_hostb_alloc_msix(device_t pcib, device_t dev, int *irq) -{ - device_t bus;
svn commit: r260974 - head/sys/kern
Author: jhb Date: Tue Jan 21 03:24:52 2014 New Revision: 260974 URL: http://svnweb.freebsd.org/changeset/base/260974 Log: Fix a typo. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c == --- head/sys/kern/vfs_bio.c Tue Jan 21 03:14:19 2014(r260973) +++ head/sys/kern/vfs_bio.c Tue Jan 21 03:24:52 2014(r260974) @@ -715,7 +715,7 @@ kern_vfs_bio_buffer_alloc(caddr_t v, lon } /* -* Ideal allocation size for the transient bio submap if 10% +* Ideal allocation size for the transient bio submap is 10% * of the maximal space buffer map. This roughly corresponds * to the amount of the buffer mapped for typical UFS load. * ___ 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: r260975 - head/sys/vm
Author: jhb Date: Tue Jan 21 03:27:47 2014 New Revision: 260975 URL: http://svnweb.freebsd.org/changeset/base/260975 Log: Fix a couple of typos. Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c == --- head/sys/vm/vm_pageout.cTue Jan 21 03:24:52 2014(r260974) +++ head/sys/vm/vm_pageout.cTue Jan 21 03:27:47 2014(r260975) @@ -1121,7 +1121,7 @@ vm_pageout_scan(struct vm_domain *vmd, i } else if ((m->flags & PG_WINATCFLS) == 0 && pass < 2) { /* * Dirty pages need to be paged out, but flushing -* a page is extremely expensive verses freeing +* a page is extremely expensive versus freeing * a clean page. Rather then artificially limiting * the number of pages we can flush, we instead give * dirty pages extra priority on the inactive queue @@ -1183,7 +1183,7 @@ vm_pageout_scan(struct vm_domain *vmd, i * to be freed and dirty pages to be moved to the end * of the queue. Since dirty pages are also moved to * the end of the queue once-cleaned, this gives -* way too large a weighting to defering the freeing +* way too large a weighting to deferring the freeing * of dirty pages. * * We can't wait forever for the vnode lock, we might ___ 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: r260976 - head/share/misc
Author: gjb Date: Tue Jan 21 05:54:14 2014 New Revision: 260976 URL: http://svnweb.freebsd.org/changeset/base/260976 Log: Add 10.0-RELEASE. Sponsored by: The FreeBSD Foundation Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree == --- head/share/misc/bsd-family-tree Tue Jan 21 03:27:47 2014 (r260975) +++ head/share/misc/bsd-family-tree Tue Jan 21 05:54:14 2014 (r260976) @@ -291,7 +291,11 @@ FreeBSD 5.2 | | || | | | FreeBSD 10 -current | NetBSD -current OpenBSD -current | || | | | - vv v v v + |v v v v + | + *--FreeBSD + | 10.0 + v Time @@ -605,6 +609,7 @@ NetBSD 6.1.22013-09-30 [NBD] Mac OS X 10.9 2013-10-22 [APL] OpenBSD 5.42013-11-01 [OBD] DragonFly 3.6.02013-11-25 [DFB] +FreeBSD 10.0 2014-01-20 [FBD] Bibliography ___ 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: r260977 - head/share/misc
Author: gjb Date: Tue Jan 21 05:56:35 2014 New Revision: 260977 URL: http://svnweb.freebsd.org/changeset/base/260977 Log: Add 11.0-CURRENT. Sponsored by: The FreeBSD Foundation Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree == --- head/share/misc/bsd-family-tree Tue Jan 21 05:54:14 2014 (r260976) +++ head/share/misc/bsd-family-tree Tue Jan 21 05:56:35 2014 (r260977) @@ -289,12 +289,15 @@ FreeBSD 5.2 | | || | | | || | | | || | | | -FreeBSD 10 -current | NetBSD -current OpenBSD -current | + || NetBSD -current OpenBSD -current | || | | | |v v v v | *--FreeBSD | 10.0 + | + | +FreeBSD 11 -current v Time ___ 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"