ƒ»231698 122 414 129 139 139 250 221 250 250 199 99 269 134 137 129 586 155 238 184 371 215 623 541 288 293 292 177 256 141 141 141 277 277 277 291 291 291 529 529 529 226 226 226 687 260 333 1943 184 223 247 247 247 158 158 182 225 221 501 235 214 214 266 13688 121 190 444 444 245 121 134 805 624 585 156 353 6933 275 229 357 357 133 282 349 186 413 372 155 145 278 158 162 121 349 143 312 216 216 158 158 423 533 117 114 573 573 1142 217 149 222 628 199 166 153 257 224 224 248 378 286 235 174 205 296 K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-02-14T18:51:21.645361Z K 7 svn:log V 321 Add options for program (-p) and to turn off waiting (-w) which is now on by default. The default is to wait after each counter is tested. Since the prompt would go to stdout you won't see it if you're redirecting the output of the executed sub-program to /dev/null, so just press return to continue or Ctrl-D to stop. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-02-14T18:57:10.489229Z K 7 svn:log V 37 Remove UCP from the list of counters END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-14T19:08:21.528142Z K 7 svn:log V 43 MFC r231525 (pjd): Nice range comparison. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-14T19:09:01.994123Z K 7 svn:log V 43 MFC r231525 (pjd): Nice range comparison. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-14T19:36:35.359008Z K 7 svn:log V 157 MFC r231118: Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2012-02-14T19:48:57.172879Z K 7 svn:log V 127 MFC r221595: For zero-sized sections, set the `d_buf` field of the `Elf_Data` descriptor returned by `elf_rawdata()` to NULL. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-14T19:49:06.986197Z K 7 svn:log V 157 MFC r231118: Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-14T19:49:36.638743Z K 7 svn:log V 157 MFC r231118: Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2012-02-14T19:50:41.408373Z K 7 svn:log V 105 MFC r221598: Document the behavior of `elf_getdata()` and `elf_rawdata()` with zero-sized ELF sections. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-02-14T19:58:00.971470Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-14T20:05:28.276417Z K 7 svn:log V 173 Improve the radar register config API. * Fix the "enabled" flag to actually reflect whether radar detection is enabled or not. * Add flags for the relstep/relpwr checks. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-14T20:06:28.607187Z K 7 svn:log V 39 Fix the usefir128 config bit flipping. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-14T20:08:50.305947Z K 7 svn:log V 42 Add some missing radar config parameters. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-02-14T20:12:16.670403Z K 7 svn:log V 31 Create branch for ioat driver. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-02-14T20:34:25.183208Z K 7 svn:log V 489 When initialising the CP0 status register during boot on 64-bit MIPS, set all three of the kernel, supervisor, and user-mode 64-bit mode flags. While FreeBSD does not currently use the supervisor ring (and hence this is effectively a NOP on most systems), doing this avoids triggering an exception on 64-bit MIPS CPUs that don't support 32-bit compatibility mode, and therefore don't allow clearing the SX bit. Reviewed by: gonzo MFC after: 3 days Sponsored by: DARPA, SRI International END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-02-14T21:36:55.803313Z K 7 svn:log V 58 Add new USB device ID. MFC after: 3 days PR: usb/165154 END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-14T21:48:46.222160Z K 7 svn:log V 145 Revert r231673 and r231682 for now, until we can run a full make universe with them. Sorry for the breakage. Pointy hat to: me and brooks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T22:06:08.172782Z K 7 svn:log V 93 Initial backport of the multi-FIB IPv6 changes from HEAD. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-14T22:27:43.409763Z K 7 svn:log V 278 Set the max_lun field of the path inquiry CCB to 8. This allows LUNs greater than 0 to be probed. It can be increased later if need be. This brings back SVN rev 224973, which was inadvertently removed with the import of the LSI driver. Reported by: dwhite MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-14T22:49:34.834793Z K 7 svn:log V 120 MFC: bring in the core netmap code (disconnected from the build). As usual, device driver patches will come separately. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-15T01:39:04.627741Z K 7 svn:log V 530 MFC r231244: - Fix some Xr references: - - ada(4): ad(4) - removed, ada(4) would be a self-referencing entry - - cd(4): ad(4) -> ada(4) - - da(4): ad(4) -> ada(4) - - DEVICE_PROBE(9): ugen(5) -> ugen(4) - - ed(4): dhclinet(8) -> dhclient(8) (typo) - - lmc(4): Netgraph(4) -> netgraph(4) - - security(7): rc.conf(8) -> rc.conf(5) - - sfxge(4): cpuset(8) -> cpuset(1) - - sbp(4): sysctl(1) -> sysctl(8) - - portindex(5): build(1) -> build(7) - - u3g(4): usbconfig(5) -> usbconfig(8) - - usb_quirk(4): usbconfig(5) -> usbconfig(8) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-15T01:40:14.781718Z K 7 svn:log V 448 MFC r231244: - Fix some Xr references: - - ada(4): ad(4) - removed, ada(4) would be a self-referencing entry - - cd(4): ad(4) -> ada(4) - - da(4): ad(4) -> ada(4) - - DEVICE_PROBE(9): ugen(5) -> ugen(4) - - lmc(4): Netgraph(4) -> netgraph(4) - - security(7): rc.conf(8) -> rc.conf(5) - - sbp(4): sysctl(1) -> sysctl(8) - - portindex(5): build(1) -> build(7) - - u3g(4): usbconfig(5) -> usbconfig(8) - - usb_quirk(4): usbconfig(5) -> usbconfig(8) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-15T01:41:00.219762Z K 7 svn:log V 195 MFC r231244: - Fix some Xr references: - - lmc(4): Netgraph(4) -> netgraph(4) - - security(7): rc.conf(8) -> rc.conf(5) - - sbp(4): sysctl(1) -> sysctl(8) - - portindex(5): build(1) -> build(7) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-15T01:52:59.743768Z K 7 svn:log V 200 MFC r231171: - Add an option to 404.status-zfs (enabled by default) to list all zfs pools on the system. - While here, document daily_status_zfs_enable in periodic.conf(5). Approved by: jhb END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-15T01:53:46.173604Z K 7 svn:log V 199 MFC r231171: - Add an option to 404.status-zfs (enabled by default) to list all zfs pools on the system. - While here, document daily_status_zfs_enable in periodic.conf(5). Approved by: jhb END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-15T02:01:24.228340Z K 7 svn:log V 83 - Remove some unnecessary cast when assigning NULL to a handle. - Silent a warning END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-02-15T02:59:17.810180Z K 7 svn:log V 159 Add notes about sigev_notify_kevent_flags introduced in revision 230857 which enables thread-friendly polling on same fd for AIO events. Reviewed by: delphij END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:33:48.076776Z K 7 svn:log V 45 MFC r229940: style. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:34:44.712181Z K 7 svn:log V 45 MFC r229940: style. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:35:39.164337Z K 7 svn:log V 45 MFC r229940: style. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:41:48.933972Z K 7 svn:log V 180 MFC r230575-230576: r230275: Use a RX DMA tag to free loaded RX DMA maps. Previously it used a TX DMA tag. r230276: Free allocated jumbo buffers when controller is stopped. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:43:03.660902Z K 7 svn:log V 180 MFC r230575-230576: r230275: Use a RX DMA tag to free loaded RX DMA maps. Previously it used a TX DMA tag. r230276: Free allocated jumbo buffers when controller is stopped. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:43:46.006241Z K 7 svn:log V 180 MFC r230575-230576: r230275: Use a RX DMA tag to free loaded RX DMA maps. Previously it used a TX DMA tag. r230276: Free allocated jumbo buffers when controller is stopped. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:48:22.398326Z K 7 svn:log V 194 MFC r230336: Fix a logic error which resulted in putting PHY into sleep when WOL is active. If WOL is active driver should not put PHY into sleep. This change makes WOL work on RTL8168E. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:49:50.123263Z K 7 svn:log V 194 MFC r230336: Fix a logic error which resulted in putting PHY into sleep when WOL is active. If WOL is active driver should not put PHY into sleep. This change makes WOL work on RTL8168E. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T03:51:09.470755Z K 7 svn:log V 194 MFC r230336: Fix a logic error which resulted in putting PHY into sleep when WOL is active. If WOL is active driver should not put PHY into sleep. This change makes WOL work on RTL8168E. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T04:02:41.525706Z K 7 svn:log V 432 MFC r230286,230337-230338,231159: r230286: Introduce a tunable that disables use of MSI. Non-zero value will use INTx. r230337-230338: Rename dev.bge.%d.msi_disable to dev.bge.%d.msi which matches enable/disable and default it to on. r231159: Call bge_add_sysctls() early and especially before bge_can_use_msi() so r230337 actually has a chance of working and doesn't always unconditionally disable the use of MSIs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T04:03:41.802069Z K 7 svn:log V 432 MFC r230286,230337-230338,231159: r230286: Introduce a tunable that disables use of MSI. Non-zero value will use INTx. r230337-230338: Rename dev.bge.%d.msi_disable to dev.bge.%d.msi which matches enable/disable and default it to on. r231159: Call bge_add_sysctls() early and especially before bge_can_use_msi() so r230337 actually has a chance of working and doesn't always unconditionally disable the use of MSIs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T04:04:36.989449Z K 7 svn:log V 432 MFC r230286,230337-230338,231159: r230286: Introduce a tunable that disables use of MSI. Non-zero value will use INTx. r230337-230338: Rename dev.bge.%d.msi_disable to dev.bge.%d.msi which matches enable/disable and default it to on. r231159: Call bge_add_sysctls() early and especially before bge_can_use_msi() so r230337 actually has a chance of working and doesn't always unconditionally disable the use of MSIs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T04:09:04.222539Z K 7 svn:log V 129 MFC r230288,230339: r230288: Document dev.bge.%d.msi_disable tunable. r230339: Reflect tunable name change made in r230337. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T04:09:23.838676Z K 7 svn:log V 129 MFC r230288,230339: r230288: Document dev.bge.%d.msi_disable tunable. r230339: Reflect tunable name change made in r230337. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-15T04:09:43.319763Z K 7 svn:log V 129 MFC r230288,230339: r230288: Document dev.bge.%d.msi_disable tunable. r230339: Reflect tunable name change made in r230337. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-15T05:35:37.030813Z K 7 svn:log V 592 MFC r224703: In rtinit1(), before rtrequest1_fib() is called, info.rti_flags is initialized by flags (function argument) or-ed with ifa->ifa_flags. If both NIC has a loopback route to itself, so IFA_RTSELF is set on ifa(s). As IFA_RTSELF is defined by RTF_HOST, rtrequest1_fib() is called with RTF_HOST flag even if netmask is not NULL. Consequently, netmask is set to zero in rtrequest1_fib(), and request to add network route is changed under hands to request to add host route. Tested by: Andrew Boyer Submitted by: Svatopluk Kraus END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-15T05:37:41.405262Z K 7 svn:log V 165 MFC r224747: If RTF_HOST flag is specified, then we are interested in destination address. PR: kern/159600 Submitted by: Svatopluk Kraus END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-15T06:16:52.211496Z K 7 svn:log V 238 use 4096 instead of PAGE_SIZE to determine the initial size of the memory allocated for netmap. Apparently the previous value fails with an integer overflow on stable/8-IA64 (4M pages ? curious that it does not fail on stable/9 and head) END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2012-02-15T06:45:49.257434Z K 7 svn:log V 1847 Enhance documentation, improve interoperability, and fix defects in FreeBSD's front and back Xen blkif interface drivers. sys/dev/xen/blkfront/block.h: sys/dev/xen/blkfront/blkfront.c: sys/dev/xen/blkback/blkback.c: Replace FreeBSD specific multi-page ring impelementation with support for both the Citrix and Amazon/RedHat versions of this extension. sys/dev/xen/blkfront/blkfront.c: o Add a per-instance sysctl tree that exposes all negotiated transport parameters (ring pages, max number of requests, max request size, max number of segments). o In blkfront_vdevice_to_unit() add a missing return statement so that we properly identify the unit number for high numbered xvd devices. sys/dev/xen/blkback/blkback.c: o Add static dtrace probes for several events in this driver. o Defer connection shutdown processing until the front-end enters the closed state. This avoids prematurely tearing down the connection when buggy front-ends transition to the closing state, even though the device is open and they veto the close request from the tool stack. o Add nodes for maximum request size and the number of active ring pages to the exising, per-instance, sysctl tree. o Miscelaneous style cleanup. sys/xen/interface/io/blkif.h: o Add extensive documentation of the XenStore nodes used to implement the blkif interface. o Document the startup sequence between a front and back driver. o Add structures and documenatation for the "discard" feature (AKA Trim). o Cleanup some definitions related to FreeBSD's request number/size/segment-limit extension. sys/dev/xen/blkfront/blkfront.c: sys/dev/xen/blkback/blkback.c: sys/xen/xenbus/xenbusvar.h: Add the convenience function xenbus_get_otherend_state() and use it to simplify some logic in both block-front and block-back. MFC after: 1 day END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-15T06:49:50.511842Z K 7 svn:log V 93 Initial backport of the multi-FIB IPv6 changes from HEAD. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2012-02-15T07:30:23.330022Z K 7 svn:log V 128 Limit the ST3146855LW U320 drive to 55 tags to avoid command timeouts under load. Submitted by: Gelson Borsoi MFC after: 1 day END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-15T09:32:20.454478Z K 7 svn:log V 155 MFC r231515: Use the correct constant (with same value) for comparying the SA type. PR: kern/142741 Submitted by: Matthijs Kooiman (matthijs stdin.nl) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-15T09:32:40.622559Z K 7 svn:log V 155 MFC r231515: Use the correct constant (with same value) for comparying the SA type. PR: kern/142741 Submitted by: Matthijs Kooiman (matthijs stdin.nl) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-15T09:32:51.366261Z K 7 svn:log V 155 MFC r231515: Use the correct constant (with same value) for comparying the SA type. PR: kern/142741 Submitted by: Matthijs Kooiman (matthijs stdin.nl) END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-02-15T09:52:09.861157Z K 7 svn:log V 66 MFC r231563: start watchdogd before most of other daemons/servers END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-02-15T09:53:20.358923Z K 7 svn:log V 66 MFC r231563: start watchdogd before most of other daemons/servers END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-15T10:02:19.821635Z K 7 svn:log V 91 Add PART::type attribute handler. It returns partition type as string. MFC after: 2 weeks END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2012-02-15T10:08:13.805214Z K 7 svn:log V 131 MFC: rev. 231543 - Use fixed-width integer types. - Prefer to use C99 stdint types. This fixes ng_cisco on 64-bit architectures. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2012-02-15T10:15:15.962269Z K 7 svn:log V 127 MFC r231543: - Use fixed-width integer types. - Prefer to use C99 stdint types. This fixes ng_cisco on 64-bit architectures. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-15T10:33:29.980759Z K 7 svn:log V 409 Add additional check to EBR probe and create methods: don't try probe and create EBR scheme when parent partition type is not "ebr". This fixes error messages about corrupted EBR for some partitions where is actually another partition scheme. NOTE: if you have EBR on the partition with different than "ebr" (0x05) type, then you will lost access to partitions until it will be changed. MFC after: 2 weeks END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-15T11:11:58.724882Z K 7 svn:log V 140 - Separate different compile logics for better later reuse and readability - Rename some functions that belong to a lower layer for clarity END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-02-15T13:32:56.227273Z K 7 svn:log V 120 MFC: r231273 - Disable the olpt driver. Because it conflicts with the ppc/lpt driver. - Remove obsolete comment. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-02-15T13:36:06.786327Z K 7 svn:log V 120 MFC: r231273 - Disable the olpt driver. Because it conflicts with the ppc/lpt driver. - Remove obsolete comment. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-02-15T13:40:10.663524Z K 7 svn:log V 172 MFC: r231123 - Set TERM to cons25w on pc98 because we still use old cons25w terminal to show Japanese. - Add cons25w to terminal lists. Reviewed by: nwhitehorn END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-15T14:23:01.607270Z K 7 svn:log V 13593 MFC r215818, r216405, r216437, r216448, r216956, r221827, r222975, r223059, r225343, r225704, r225705, r225706, r225707, r225709, r226029, r220647, r230183, r230587, r230916, r228526, r230879: Bring Xen support in stable/8 up to parity with head. Almost all outstanding Xen support differences between head and stable/8 are included, except for the just added r231743. r215818 | cperciva | 2010-11-25 08:05:21 -0700 (Thu, 25 Nov 2010) | 5 lines Rename HYPERVISOR_multicall (which performs the multicall hypercall) to _HYPERVISOR_multicall, and create a new HYPERVISOR_multicall function which invokes _HYPERVISOR_multicall and checks that the individual hypercalls all succeeded. r216405 | rwatson | 2010-12-13 05:15:46 -0700 (Mon, 13 Dec 2010) | 7 lines Add options NO_ADAPTIVE_SX to the XENHVM kernel configuration, matching its similar disabling of adaptive mutexes and rwlocks. The existing comment on why this is the case also applies to sx locks. MFC after: 3 days Discussed with: attilio r216437 | gibbs | 2010-12-14 10:23:49 -0700 (Tue, 14 Dec 2010) | 2 lines Remove spurious printf left over from debugging our XenStore support. r216448 | gibbs | 2010-12-14 13:57:40 -0700 (Tue, 14 Dec 2010) | 4 lines Fix a typo in a comment. Noticed by: Attila Nagy r216956 | rwatson | 2011-01-04 07:49:54 -0700 (Tue, 04 Jan 2011) | 8 lines Make "options XENHVM" compile for i386, not just amd64 -- a largely mechanical change. This opens the door for using PV device drivers under Xen HVM on i386, as well as more general harmonisation of i386 and amd64 Xen support in FreeBSD. Reviewed by: cperciva MFC after: 3 weeks r221827 | mav | 2011-05-12 21:40:16 -0600 (Thu, 12 May 2011) | 2 lines Fix msleep() usage in Xen balloon driver to not wake up on every HZ tick. r222975 | gibbs | 2011-06-10 22:59:01 -0600 (Fri, 10 Jun 2011) | 63 lines Monitor and emit events for XenStore changes to XenBus trees of the devices we manage. These changes can be due to writes we make ourselves or due to changes made by the control domain. The goal of these changes is to insure that all state transitions can be detected regardless of their source and to allow common device policies (e.g. "onlined" backend devices) to be centralized in the XenBus bus code. sys/xen/xenbus/xenbusvar.h: sys/xen/xenbus/xenbus.c: sys/xen/xenbus/xenbus_if.m: Add a new method for XenBus drivers "localend_changed". This method is invoked whenever a write is detected to a device's XenBus tree. The default implementation of this method is a no-op. sys/xen/xenbus/xenbus_if.m: sys/dev/xen/netfront/netfront.c: sys/dev/xen/blkfront/blkfront.c: sys/dev/xen/blkback/blkback.c: Change the signature of the "otherend_changed" method. This notification cannot fail, so it should return void. sys/xen/xenbus/xenbusb_back.c: Add "online" device handling to the XenBus Back Bus support code. An online backend device remains active after a front-end detaches as a reconnect is expected to occur in the near future. sys/xen/interface/io/xenbus.h: Add comment block further explaining the meaning and driver responsibilities associated with the XenBus Closed state. sys/xen/xenbus/xenbusb.c: sys/xen/xenbus/xenbusb.h: sys/xen/xenbus/xenbusb_back.c: sys/xen/xenbus/xenbusb_front.c: sys/xen/xenbus/xenbusb_if.m: o Register a XenStore watch against the local XenBus tree for all devices. o Cache the string length of the path to our local tree. o Allow the xenbus front and back drivers to hook/filter both local and otherend watch processing. o Update the device ivar version of "state" when we detect a XenStore update of that node. sys/dev/xen/control/control.c: sys/xen/xenbus/xenbus.c: sys/xen/xenbus/xenbusb.c: sys/xen/xenbus/xenbusb.h: sys/xen/xenbus/xenbusvar.h: sys/xen/xenstore/xenstorevar.h: Allow clients of the XenStore watch mechanism to attach a single uintptr_t worth of client data to the watch. This removes the need to carefully place client watch data within enclosing objects so that a cast or offsetof calculation can be used to convert from watch to enclosing object. Sponsored by: Spectra Logic Corporation MFC after: 1 week r223059 | gibbs | 2011-06-13 14:36:29 -0600 (Mon, 13 Jun 2011) | 36 lines Several enhancements to the Xen block back driver. sys/dev/xen/blkback/blkback.c: o Implement front-end request coalescing. This greatly improves the performance of front-end clients that are unaware of the dynamic request-size/number of requests negotiation available in the FreeBSD backend driver. This required a large restructuring in how this driver records in-flight transactions and how those transactions are mapped into kernel KVA. For example, the driver now includes a mini "KVA manager" that allocates ranges of contiguous KVA to patches of requests that are physically contiguous in the backing store so that a single bio or UIO segment can be used to represent the I/O. o Refuse to open any backend files or devices if the system has yet to mount root. This avoids a panic. o Properly handle "onlined" devices. An "onlined" backend device stays attached to its backing store across front-end disconnections. This feature is intended to reduce latency when a front-end does a hand-off to another driver (e.g. PV aware bootloader to OS kernel) or during a VM reboot. o Harden the driver against a pathological/buggy front-end by carefully vetting front-end XenStore data such as the front-end state. o Add sysctls that report the negotiated number of segments per-request and the number of requests that can be concurrently in flight. Submitted by: kdm Reviewed by: gibbs Sponsored by: Spectra Logic Corporation MFC after: 1 week r225343 | rwatson | 2011-09-02 11:36:01 -0600 (Fri, 02 Sep 2011) | 7 lines Add support for alternative break-to-debugger support on the Xen console. This should help debug boot-time hangs experienced in 9.0-BETA. MFC after: 3 weeks Tested by: sbruno Approved by: re (kib) r225704 | gibbs | 2011-09-20 17:44:34 -0600 (Tue, 20 Sep 2011) | 29 lines Properly handle suspend/resume events in the Xen device framework. Sponsored by: BQ Internet sys/xen/xenbus/xenbusb.c: o In xenbusb_resume(), publish the state transition of the resuming device into XenbusStateIntiailising so that the remote peer can see it. Recording the state locally is not sufficient to trigger a re-connect sequence. o In xenbusb_resume(), defer new-bus resume processing until after the remote peer's XenStore address has been updated. The drivers may need to refer to this information during resume processing. sys/xen/xenbus/xenbusb_back.c: sys/xen/xenbus/xenbusb_front.c: Register xenbusb_resume() rather than bus_generic_resume() as the handler for device_resume events. sys/xen/xenstore/xenstore.c: o Fix grammer in a comment. o In xs_suspend(), pass suspend events on to the child devices (e.g. xenbusb_front/back, that are attached to the XenStore. Approved by: re MFC after: 1 week r225705 | gibbs | 2011-09-20 18:02:44 -0600 (Tue, 20 Sep 2011) | 35 lines Add suspend/resume support to the Xen blkfront driver. Sponsored by: BQ Internet sys/dev/xen/blkfront/block.h: sys/dev/xen/blkfront/blkfront.c: Remove now unused blkif_vdev_t from the blkfront soft. sys/dev/xen/blkfront/blkfront.c: o In blkfront_suspend(), indicate the desire to suspend by changing the softc connected state to SUSPENDED, and then wait for any I/O pending on the remote peer to drain. Cancel suspend processing if I/O does not drain within 30 seconds. o Enable and update blkfront_resume(). Since I/O is drained prior to the suspension of the VM, the complicated recovery process performed by other Xen blkfront implementations is avoided. We simply tear down the connection to our old peer, and then re-connect. o In blkif_initialize(), fix a resource leak and botched return if we cannot allocate shadow memory for our requests. o In blkfront_backend_changed(), correct our response to the XenbusStateInitialised state. This state indicates that our backend peer has published sufficient data for blkfront to publish ring information and other XenStore data, not that a connection can occur. Blkfront now will only perform connection processing in response to the XenbusStateConnected state. This corrects an issue where blkfront connected before the backend was ready during resume processing. Approved by: re MFC after: 1 week r225706 | gibbs | 2011-09-20 18:06:02 -0600 (Tue, 20 Sep 2011) | 11 lines [ Forced commit. Actual changes accidentally included in r225704 ] sys/dev/xen/control/control.c: Fix locking violations in Xen HVM suspend processing and have it perform similar actions to those performed during an ACPI triggered suspend. Sponsored by: BQ Internet Approved by: re MFC after: 1 week r225707 | gibbs | 2011-09-20 18:08:25 -0600 (Tue, 20 Sep 2011) | 21 lines Correct suspend/resume support in the Netfront driver. Sponsored by: BQ Internet sys/dev/xen/netfront/netfront.c: o Implement netfront_suspend(), a specialized suspend handler for the netfront driver. This routine simply disables the carrier so the driver is idle during system suspend processing. o Fix a leak when re-initializing LRO during a link reset. o In netif_release_tx_bufs(), when cleaning up the grant references for our TX ring, use gnttab_end_foreign_access_ref instead of attempting to grant the page again. o In netif_release_tx_bufs(), we do not track mbufs associated with mbuf chains, but instead just free each mbuf directly. Use m_free(), not m_freem(), to avoid double frees of mbufs. o Refactor some code to enhance clarity. Approved by: re MFC after: 1 week r225709 | gibbs | 2011-09-20 18:15:29 -0600 (Tue, 20 Sep 2011) | 19 lines Update netfront so that it queries and honors published back-end features. sys/dev/xen/netfront/netfront.c: o Add xn_query_features() which reads the XenStore and records the TSO, LRO, and chained ring-request support of the backend. o Rename xn_configure_lro() to xn_configure_features() and use this routine to manage the setup of TSO, LRO, and checksum offload. o In create_netdev(), initialize if_capabilities and if_hwassist to the capabilities found on all backends. Delegate configuration of if_capenable and the TSO flag if if_hwassist to xn_configure_features(). Reported by: Hugo Silva (fix inspired by patch provided) Approved by: re MFC after: 1 week r226029 | jkim | 2011-10-04 17:53:47 -0600 (Tue, 04 Oct 2011) | 2 lines Add strnlen() to libkern. r220647 | jkim | 2011-04-14 16:17:39 -0600 (Thu, 14 Apr 2011) | 4 lines Add event handlers for (ACPI) suspend/resume events. Suspend event handlers are invoked right before device drivers go into sleep state and resume event handlers are invoked right after all device drivers are waken up. r230183 | cperciva | 2012-01-15 19:38:45 -0700 (Sun, 15 Jan 2012) | 3 lines Make XENHVM work on i386. The __ffs() function counts bits starting from zero, unlike ffs(3), which starts counting from 1. r230587 | ken | 2012-01-26 09:35:09 -0700 (Thu, 26 Jan 2012) | 38 lines Xen netback driver rewrite. share/man/man4/Makefile, share/man/man4/xnb.4, sys/dev/xen/netback/netback.c, sys/dev/xen/netback/netback_unit_tests.c: Rewrote the netback driver for xen to attach properly via newbus and work properly in both HVM and PVM mode (only HVM is tested). Works with the in-tree FreeBSD netfront driver or the Windows netfront driver from SuSE. Has not been extensively tested with a Linux netfront driver. Does not implement LRO, TSO, or polling. Includes unit tests that may be run through sysctl after compiling with XNB_DEBUG defined. sys/dev/xen/blkback/blkback.c, sys/xen/interface/io/netif.h: Comment elaboration. sys/kern/uipc_mbuf.c: Fix page fault in kernel mode when calling m_print() on a null mbuf. Since m_print() is only used for debugging, there are no performance concerns for extra error checking code. sys/kern/subr_scanf.c: Add the "hh" and "ll" width specifiers from C99 to scanf(). A few callers were already using "ll" even though scanf() was handling it as "l". Submitted by: Alan Somers Submitted by: John Suykerbuyk Sponsored by: Spectra Logic MFC after: 1 week Reviewed by: ken r230916 | ken | 2012-02-02 10:54:35 -0700 (Thu, 02 Feb 2012) | 13 lines Fix the netback driver build for i386. netback.c: Add missing VM includes. xen/xenvar.h, xen/xenpmap.h: Move some XENHVM macros from to on i386 to match the amd64 headers. conf/files: Add netback to the build. Submitted by: jhb MFC after: 3 days r228526 | kevlo | 2011-12-14 23:29:13 -0700 (Wed, 14 Dec 2011) | 2 lines s/timout/timeout r230879 | ken | 2012-02-01 13:19:33 -0700 (Wed, 01 Feb 2012) | 4 lines Add the GSO prefix descriptor define. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-15T14:26:50.961510Z K 7 svn:log V 25 style(9): sort includes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-15T14:29:23.170726Z K 7 svn:log V 94 In ng_bypass() add more protection against potential race with ng_rmnode() and its followers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-15T14:30:04.311058Z K 7 svn:log V 351 MFC r231647: Do not handle MOD_SHUTDOWN equally to MOD_UNLOAD in sound kernel module. MOD_SHUTDOWN is not an end of existence, and there is a life after it. In particular, code previously called on MOD_SHUTDOWN grabbed lock and deallocated unit numbering. That caused infinite wait loop if snd_uaudio tried to destroy its PCM device after that point. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-15T14:31:45.836642Z K 7 svn:log V 351 MFC r231762: Do not handle MOD_SHUTDOWN equally to MOD_UNLOAD in sound kernel module. MOD_SHUTDOWN is not an end of existence, and there is a life after it. In particular, code previously called on MOD_SHUTDOWN grabbed lock and deallocated unit numbering. That caused infinite wait loop if snd_uaudio tried to destroy its PCM device after that point. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-15T14:56:18.572240Z K 7 svn:log V 148 Remove testing stuff, reducing kernel memory footprint by 1 Kb. Anyway, when we are building a LINT kernel, all these macros are tested via nodes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-15T15:06:03.458823Z K 7 svn:log V 25 Trim double empty lines. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-15T15:54:57.958248Z K 7 svn:log V 38 Fix includes list. Submitted by: bde END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-15T16:09:56.258648Z K 7 svn:log V 713 Fix PAWS (Protect Against Wrapped Sequence numbers) in cases when hz >> 1000 and thus getting outside the timestamp clock frequenceny of 1ms < x < 1s per tick as mandated by RFC1323, leading to connection resets on idle connections. Always use a granularity of 1ms using getmicrouptime() making all but relevant callouts independent of hz. Use getmicrouptime(), not getmicrotime() as the latter may make a jump possibly breaking TCP nfsroot mounts having our timestamps move forward for more than 24.8 days in a second without having been idle for that long. PR: kern/61404 Reviewed by: jhb, mav, rrs Discussed with: silby, lstewart Sponsored by: Sandvine Incorporated (originally in 2011) MFC after: 6 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-15T16:56:52.893196Z K 7 svn:log V 532 MFC r231505,231520: Introduce a new NET_RT_IFLISTL API to query the address list. It works on extended and extensible structs if_msghdrl and ifa_msghdrl. This will allow us to extend both the msghdrl structs and eventually if_data in the future without breaking the ABI. The MFC is just to provide the new API to old stable branches to make updating and if needed downgrading a lot easier for updates to 10. Bump __FreeBSD_version to allow ports to more easily detect the new API. Reviewed by: brooks Tested by: brooks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-15T16:58:08.863765Z K 7 svn:log V 493 MFC r231505,231520: Introduce a new NET_RT_IFLISTL API to query the address list. It works on extended and extensible structs if_msghdrl and ifa_msghdrl. This will allow us to extend both the msghdrl structs and eventually if_data in the future without breaking the ABI. The MFC is just to provide the new API to old stable branches to make updating and if needed downgrading a lot easier for updates to 10. Bump __FreeBSD_version to allow ports to more easily detect the new API. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-15T16:59:24.538359Z K 7 svn:log V 56 Improve error handling in smusat(4). MFC after: 4 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-02-15T17:09:26.108601Z K 7 svn:log V 260 Partial merge of r218345: Unless "cnt" exceeded MAX_COMMIT_COUNT, nfsrv_commit() and nfsvno_fsync() were incorrectly calling vm_object_page_clean(). They were passing the length of the range rather than the ending offset of the range. Reviewed by: kib END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-15T17:28:09.114602Z K 7 svn:log V 6839 MFC r229997, r230033, and r230334 Bring the CAM Target Layer into stable/9. r230334 | ken | 2012-01-19 11:42:03 -0700 (Thu, 19 Jan 2012) | 19 lines Quiet some clang warnings when compiling CTL. ctl_error.c, ctl_error.h: Take out the ctl_sense_format enumeration, and use scsi_sense_data_type instead. Remove ctl_get_sense_format() and switch ctl_build_ua() over to using scsi_sense_data_type. ctl_backend_ramdisk.c, ctl_backend_block.c: Use C99 structure initializers instead of GNU initializers. ctl.c: Switch over to using the SCSI sense format enumeration instead of the CTL-specific enumeration. Submitted by: dim (partially) MFC after: 1 month r230033 | ken | 2012-01-12 15:08:33 -0700 (Thu, 12 Jan 2012) | 5 lines Silence some unnecessary verbosity. Reported by: mav MFC after: 1 month r229997 | ken | 2012-01-11 17:34:33 -0700 (Wed, 11 Jan 2012) | 170 lines Add the CAM Target Layer (CTL). CTL is a disk and processor device emulation subsystem originally written for Copan Systems under Linux starting in 2003. It has been shipping in Copan (now SGI) products since 2005. It was ported to FreeBSD in 2008, and thanks to an agreement between SGI (who acquired Copan's assets in 2010) and Spectra Logic in 2010, CTL is available under a BSD-style license. The intent behind the agreement was that Spectra would work to get CTL into the FreeBSD tree. Some CTL features: - Disk and processor device emulation. - Tagged queueing - SCSI task attribute support (ordered, head of queue, simple tags) - SCSI implicit command ordering support. (e.g. if a read follows a mode select, the read will be blocked until the mode select completes.) - Full task management support (abort, LUN reset, target reset, etc.) - Support for multiple ports - Support for multiple simultaneous initiators - Support for multiple simultaneous backing stores - Persistent reservation support - Mode sense/select support - Error injection support - High Availability support (1) - All I/O handled in-kernel, no userland context switch overhead. (1) HA Support is just an API stub, and needs much more to be fully functional. ctl.c: The core of CTL. Command handlers and processing, character driver, and HA support are here. ctl.h: Basic function declarations and data structures. ctl_backend.c, ctl_backend.h: The basic CTL backend API. ctl_backend_block.c, ctl_backend_block.h: The block and file backend. This allows for using a disk or a file as the backing store for a LUN. Multiple threads are started to do I/O to the backing device, primarily because the VFS API requires that to get any concurrency. ctl_backend_ramdisk.c: A "fake" ramdisk backend. It only allocates a small amount of memory to act as a source and sink for reads and writes from an initiator. Therefore it cannot be used for any real data, but it can be used to test for throughput. It can also be used to test initiators' support for extremely large LUNs. ctl_cmd_table.c: This is a table with all 256 possible SCSI opcodes, and command handler functions defined for supported opcodes. ctl_debug.h: Debugging support. ctl_error.c, ctl_error.h: CTL-specific wrappers around the CAM sense building functions. ctl_frontend.c, ctl_frontend.h: These files define the basic CTL frontend port API. ctl_frontend_cam_sim.c: This is a CTL frontend port that is also a CAM SIM. This frontend allows for using CTL without any target-capable hardware. So any LUNs you create in CTL are visible in CAM via this port. ctl_frontend_internal.c, ctl_frontend_internal.h: This is a frontend port written for Copan to do some system-specific tasks that required sending commands into CTL from inside the kernel. This isn't entirely relevant to FreeBSD in general, but can perhaps be repurposed. ctl_ha.h: This is a stubbed-out High Availability API. Much more is needed for full HA support. See the comments in the header and the description of what is needed in the README.ctl.txt file for more details. ctl_io.h: This defines most of the core CTL I/O structures. union ctl_io is conceptually very similar to CAM's union ccb. ctl_ioctl.h: This defines all ioctls available through the CTL character device, and the data structures needed for those ioctls. ctl_mem_pool.c, ctl_mem_pool.h: Generic memory pool implementation used by the internal frontend. ctl_private.h: Private data structres (e.g. CTL softc) and function prototypes. This also includes the SCSI vendor and product names used by CTL. ctl_scsi_all.c, ctl_scsi_all.h: CTL wrappers around CAM sense printing functions. ctl_ser_table.c: Command serialization table. This defines what happens when one type of command is followed by another type of command. ctl_util.c, ctl_util.h: CTL utility functions, primarily designed to be used from userland. See ctladm for the primary consumer of these functions. These include CDB building functions. scsi_ctl.c: CAM target peripheral driver and CTL frontend port. This is the path into CTL for commands from target-capable hardware/SIMs. README.ctl.txt: CTL code features, roadmap, to-do list. usr.sbin/Makefile: Add ctladm. ctladm/Makefile, ctladm/ctladm.8, ctladm/ctladm.c, ctladm/ctladm.h, ctladm/util.c: ctladm(8) is the CTL management utility. It fills a role similar to camcontrol(8). It allow configuring LUNs, issuing commands, injecting errors and various other control functions. usr.bin/Makefile: Add ctlstat. ctlstat/Makefile ctlstat/ctlstat.8, ctlstat/ctlstat.c: ctlstat(8) fills a role similar to iostat(8). It reports I/O statistics for CTL. sys/conf/files: Add CTL files. sys/conf/NOTES: Add device ctl. sys/cam/scsi_all.h: To conform to more recent specs, the inquiry CDB length field is now 2 bytes long. Add several mode page definitions for CTL. sys/cam/scsi_all.c: Handle the new 2 byte inquiry length. sys/dev/ciss/ciss.c, sys/dev/ata/atapi-cam.c, sys/cam/scsi/scsi_targ_bh.c, scsi_target/scsi_cmds.c, mlxcontrol/interface.c: Update for 2 byte inquiry length field. scsi_da.h: Add versions of the format and rigid disk pages that are in a more reasonable format for CTL. amd64/conf/GENERIC, i386/conf/GENERIC, ia64/conf/GENERIC, sparc64/conf/GENERIC: Add device ctl. i386/conf/PAE: The CTL frontend SIM at least does not compile cleanly on PAE. Sponsored by: Copan Systems, SGI and Spectra Logic MFC after: 1 month END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-15T17:46:16.552866Z K 7 svn:log V 182 MFC r231092 r231092 | emaste | 2012-02-06 11:11:00 -0700 (Mon, 06 Feb 2012) | 4 lines Avoid panic from unlocking a not locked mutex (in some error cases). Reviewed by: ken@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-02-15T18:07:24.229957Z K 7 svn:log V 136 MFC r218949 Eliminate two dubious attempts at optimizing the implementation of a file's last accessed, modified, and changed times. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-02-15T18:15:26.179177Z K 7 svn:log V 264 MFC r229363 Don't pass VM_ALLOC_ZERO to vm_page_grab() in tmpfs_mappedwrite() and tmpfs_nocacheread(). It is both unnecessary and a pessimization. It results in either the page being zeroed twice or zeroed first and then overwritten by an I/O operation. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-02-15T18:18:29.850144Z K 7 svn:log V 264 MFC r229363 Don't pass VM_ALLOC_ZERO to vm_page_grab() in tmpfs_mappedwrite() and tmpfs_nocacheread(). It is both unnecessary and a pessimization. It results in either the page being zeroed twice or zeroed first and then overwritten by an I/O operation. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-02-15T18:34:57.598887Z K 7 svn:log V 37 Bump .Dd date for previous revision. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-15T18:59:26.921384Z K 7 svn:log V 187 reduce the differences between these three files. The three drivers (em, lem and igb) are extremely similar, too bad that the structures use different names and we cannot share the code. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-15T21:03:26.418053Z K 7 svn:log V 253 MFC r230512: sockstat: Also show sockets not associated with a descriptor. Sockets not associated with a file descriptor include TCP TIME_WAIT states and sockets created via the socket(9) API such as from rpc.lockd and the NFS client. PR: bin/164081 END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-02-15T21:20:58.136536Z K 7 svn:log V 94 Wordsmith the can't find kernel error message, and suggest which variable to set to override. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-15T21:32:05.896159Z K 7 svn:log V 319 Some BIOSes are known for corrupting low 64KB between suspend and resume. Mask off the first 16 pages unless we appear to be running in a VM. This address may be overridden by 'hw.physmem.start' tunable from loader. Note Linux used to have a BIOS quirk table for this issue but it seems they made it default recently. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-15T21:48:29.497661Z K 7 svn:log V 277 - Provide MBS patterns to lower layers for better flexibility and avoid converting back and forth. Except with calculated results where it is probably cheaper to convert back than calculating the same in MBS. - Fix a bug in converting back calculated heuristics to MBS. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-15T21:48:44.682107Z K 7 svn:log V 60 MFC r229742: sh: Avoid possible echo options in a testcase. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-15T21:52:14.548114Z K 7 svn:log V 50 MFC r229219: sh: Remove unused function scopyn(). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-15T21:55:48.777025Z K 7 svn:log V 182 MFC r228109: test: Add more testcases. The new testcases pass even on old stable/7, but some other implementations manage to get them wrong. Also remove a few duplicate testcases. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-15T22:07:09.414686Z K 7 svn:log V 63 MFC r226523: Fix some memory errors in *at() regression tests. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-15T22:10:33.616578Z K 7 svn:log V 69 Make ACPI resume beeper less cryptic. Set PIC timer2 mode properly. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-15T22:26:51.953452Z K 7 svn:log V 27 - Axe out unused interface END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-15T22:35:30.048552Z K 7 svn:log V 253 MFC r230512: sockstat: Also show sockets not associated with a descriptor. Sockets not associated with a file descriptor include TCP TIME_WAIT states and sockets created via the socket(9) API such as from rpc.lockd and the NFS client. PR: bin/164081 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-02-15T22:45:57.786605Z K 7 svn:log V 48 MFC r229220: sh: Make various functions static. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-15T22:49:25.553133Z K 7 svn:log V 218 Set up an event handler to turn off speaker if user requested it. Speaker will stop beeping after all device drivers are resumed. Use proper API to "acquire" and "release" PIC timer2 for consistency and correctness. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-15T22:59:15.234798Z K 7 svn:log V 121 MFC r231667: Fix various issues with the NFS and RPC related scripts. Add new functionality to the force_depend method. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-15T23:00:31.119727Z K 7 svn:log V 121 MFC r231667: Fix various issues with the NFS and RPC related scripts. Add new functionality to the force_depend method. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-15T23:02:45.153770Z K 7 svn:log V 64 MFC r231667: Add new functionality to the force_depend method. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-15T23:03:30.560523Z K 7 svn:log V 64 MFC r231667: Add new functionality to the force_depend method. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-15T23:13:29.224527Z K 7 svn:log V 328 (This commit only touches code within the DEV_NETMAP blocks) Introduce some functions to map NIC ring indexes into netmap ring indexes and vice versa. This way we can implement the bound checks only in one place (and hopefully in a correct way). On passing, make the code and comments more uniform across the various drivers. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-15T23:33:22.193122Z K 7 svn:log V 439 Clean up RFLAG and CR3 register handling and nearby comments. For BSP, use spinlock_enter()/spinlock_exit() to save/restore RFLAGS. We know interrupt is disabled when returning from S3. For AP, we do not have to save/restore it because IRET will do it for us any way. Do not save CR3 locally because savectx() does it and BSP does not have to switch to kernel map for amd64. Change contigmalloc(9) flag while I am in the neighborhood. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-16T00:24:10.574622Z K 7 svn:log V 24 Import ACPICA 20120215. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-16T00:25:17.797537Z K 7 svn:log V 21 Tag ACPICA 20120215. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-16T00:38:35.101249Z K 7 svn:log V 477 MFC r231573: Fix panic after "WARNING - ATA_IDENTIFY taskqueue timeout" When performing a firmware upgrade via atacontrol[1] the subsequent command may time out producing the error message above. When this happens the callout could still be active, and the system would then panic due to a destroyed semaphore. Instead, ensure that the callout is done first, via callout_drain. [1] http://lists.freebsd.org/pipermail/freebsd-current/2012-January/031122.html END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-16T00:46:11.516784Z K 7 svn:log V 477 MFC r231573: Fix panic after "WARNING - ATA_IDENTIFY taskqueue timeout" When performing a firmware upgrade via atacontrol[1] the subsequent command may time out producing the error message above. When this happens the callout could still be active, and the system would then panic due to a destroyed semaphore. Instead, ensure that the callout is done first, via callout_drain. [1] http://lists.freebsd.org/pipermail/freebsd-current/2012-January/031122.html END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-02-16T01:32:23.803935Z K 7 svn:log V 1048 MFC r222732,222771,222820,222824,222972,223752,224006,224144,224148,225519,22568 3,228990: - Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisement Options for DNS Configuration). - rtadvd(8) now supports "noifprefix" to disable gathering on-link prefixes from interfaces when no "addr" is specified[2]. An entry in rtadvd.conf with "noifprefix" + no "addr" generates an RA message with no prefix information option. - rtadvd(8) now supports RTM_IFANNOUNCE message to fix crashes when an interface is added or removed. - Implement burst unsolicited RA sending into the internal RA timer framework when AdvSendAdvertisements and/or configuration entries are changed as described in RFC 4861 6.2.4. This fixes issues that make termination of the rtadvd(8) daemon take very long time. - rtadvd(8) now accepts non-existent interfaces as well in the command line. - Add control socket support and rtadvctl(8) utility to show the RA information in rtadvd(8). Dumping by SIGUSR1 has been removed in favor of it. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-02-16T01:41:34.746831Z K 7 svn:log V 124 Add static routes to ::ffff:0.0.0.0/96 and ::0.0.0.0/96 unconditionally when the kernel supports PF_INET6. PR: kern/161899 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-16T02:02:00.564751Z K 7 svn:log V 49 Follow the standard with a little more paranoia. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-16T02:19:53.481706Z K 7 svn:log V 124 Delete a couple of out of date comments that are no longer true in the new NFS client. Requested by: bde MFC after: 1 week END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-02-16T03:05:03.846140Z K 7 svn:log V 530 Enter code freeze for the 8.3 release cycle by turning on approval checking for stable/8. While here turn releng/9.0 over to secteam. I didn't do that at the normal time (a week or two after release) because the SU+J issues being reported were a bit scary. A re-roll with SU+J not being the default filesystem created by bsdinstall(8) seemed like a possibility. After watching things for a while current thinking is we'll leave SU+J the default but an errata notice for a couple issues is likely. Approved by: core (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-02-16T03:10:48.897835Z K 7 svn:log V 101 Switch the default operating system version printed in the manual pages. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-02-16T03:13:53.462161Z K 7 svn:log V 69 Bump the version number from 8.2 to 8.3. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-02-16T03:18:28.656070Z K 7 svn:log V 56 Identify as 8.3-PRERELEASE. Approved by: re (implicit) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-02-16T03:27:38.793094Z K 7 svn:log V 156 Make sure to synchronize icache for the newly loaded loader. Not an issue on most systems, when the relevant icache lines are not full. MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-16T05:00:41.055392Z K 7 svn:log V 128 MFC r22990[45] and r229907-r229919: - fix a variety of warnings produced by gcc46 when compiling world Approved by (cperciva) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-16T05:01:09.785063Z K 7 svn:log V 128 MFC r22990[45] and r229907-r229919: - fix a variety of warnings produced by gcc46 when compiling world Approved by (cperciva) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-16T05:06:07.494357Z K 7 svn:log V 152 Add err(3) to strerror(3) SEE ALSO section PR: docs/164940 Submitted by: Niclas Zeising Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-16T05:11:35.005655Z K 7 svn:log V 282 Add a timestamp to the msgbuf output in order to determine when when messages were printed. This can be enabled with the kern.msgbuf_show_timestamp sysctl PR: kern/161553 Reviewed by: avg Submitted by: Arnaud Lacombe Approved by: cperciva MFC after: 1 month END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-16T05:16:55.413643Z K 7 svn:log V 190 Don't extract the n_type value from the elf header, since it is never used Fix warning when compiling with gcc46: variable 'type' set but not used Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-16T05:17:01.158375Z K 7 svn:log V 139 Removed unused code: fixes compiler warning with CC=gcc46 error: parameter 'fd' set but not used Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-16T05:17:06.654030Z K 7 svn:log V 79 Fix warning when compiling with gcc46 Approved by: cperciva MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-02-16T06:11:00.374728Z K 7 svn:log V 112 MFC r222732: Add ND_OPT_{RDNSS,DNSSL} for Router Advertisement option in RFC 6016. Approved by: re (implicit) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-02-16T06:45:51.318141Z K 7 svn:log V 203 When vm_mmap() is used to map a vm object into a kernel vm_map, it makes no sense to check the size of the kernel vm_map against the user-level resource limits for the calling process. Reviewed by: kib END