ƒ¬o209717 191 792 375 114 135 151 193 275 312 460 217 113 139 159 145 238 212 136 117 114 221 219 472 172 181 157 198 158 385 163 116 132 254 138 144 247 146 116 145 161 1255 250 160 123 243 422 475 238 610 370 436 181 159 245 289 352 565 243 259 131 470 470 223 193 144 493 217 260 378 291 293 374 969 941 816 490 350 225 216 507 409 227 396 282 206 251 228 348 141 375 269 455 275 144 292 178 298 126 195 166 176 197 376 246 248 373 348 197 197 211 145 145 156 155 155 193 169 164 164 404 266 1020 228 204 268 778 133 1181 140 178 132 128 175 212 216 245 180 151 183 113 709 136 120 181 330 566 492 343 325 510 145 370 155 169 246 311 252 163 290 158 555 194 171 210 136 128 274 253 281 566 294 957 390 136 167 207 288 216 158 202 209 352 248 247 531 166 344 164 148 152 200 142 K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-06T07:11:04.870856Z K 7 svn:log V 698 - Handle the truncation of an inode with an effective link count of 0 in the context of the process that reduced the effective count. Previously all truncation as a result of unlink happened in the softdep flush thread. This had the effect of being impossible to rate limit properly with the journal code. Now the process issuing unlinks is suspended when the journal files. This has a side-effect of improving rm performance by allowing more concurrent work. - Handle two cases in inactive, one for effnlink == 0 and another when nlink finally reaches 0. - Eliminate the SPACECOUNTED related code since the truncation is no longer delayed. Discussed with: mckusick END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-07-06T08:56:34.119863Z K 7 svn:log V 283 Fix a race condition, where a TTY could be destroyed twice. There are special cases where tty_rel_free() can be called twice in a row, namely when closing and revoking the TTY at the same moment. Only call destroy_dev_sched_cb() once. Reported by: Jeremie Le Hen MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-07-06T10:10:35.924615Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-06T10:22:17.576073Z K 7 svn:log V 40 Import fasttrap_isa.c from OpenSolaris. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-06T10:28:19.967244Z K 7 svn:log V 56 Merge from vendor-sys/opensolaris: * add fasttrap files END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-07-06T10:45:38.614668Z K 7 svn:log V 97 Avoid double-free. In error cases ipfw(4) frees the mbuf(4), we don't need to. PR: kern/145462 END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-07-06T12:13:15.209520Z K 7 svn:log V 182 Fix a double-free bug which can occur if both bit error rate and packet duplication probability are configured on a ng_pipe node. Submitted by: Jeffrey Ahrenholtz MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-06T15:27:05.894287Z K 7 svn:log V 211 Move the EOI logic when starting ithreads into intr_machdep instead of relying on it as a side effect of PIC_MASK() in the PIC drivers, and add an inmplementation of assign_cpu() for the kernel interrupt layer. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-06T15:31:58.471869Z K 7 svn:log V 359 Fix interrupt distribution to multiple CPUs on systems with cascaded PICs. Because slave PICs send all interrupts to their CPU 0 output line (which is routed to a pin on the master PIC), changes to per-CPU register banks like EOI on the slave PIC must be accessed for CPU 0, instead of the CPU actually processing the interrupt. Submitted by: Andreas Tobler END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-06T15:38:38.259861Z K 7 svn:log V 116 It does not actually make sense to provide an IPI facility on non-root PICs, so replace cpuid logic with an assert. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-06T15:45:59.446411Z K 7 svn:log V 13 IFC @ 209726 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-06T16:42:11.599796Z K 7 svn:log V 44 Remove email address that no longer exists. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-06T16:48:59.983370Z K 7 svn:log V 59 Apply some header changes from HEAD (r209613 and r209639). END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-06T16:55:39.311339Z K 7 svn:log V 50 Remove defunct email address from header as well. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-06T16:56:27.768660Z K 7 svn:log V 142 Introduce USD_{SET,GET}{BASE,LIMIT}. These help setting up the user segment descriptor hi and lo values. Idea from Solaris. Reviewed by: kib END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-07-06T16:58:24.992487Z K 7 svn:log V 120 MFC r207303 (originally by kmacy): need to initialize the lock before it is used Reported on: stable@ (MFC missing) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-06T17:00:20.835277Z K 7 svn:log V 41 Switch to my @freebsd.org email address. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-06T17:18:05.805195Z K 7 svn:log V 24 Import ACPICA 20100702. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-06T17:19:39.206086Z K 7 svn:log V 21 Tag ACPICA 20100702. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-06T17:20:08.942759Z K 7 svn:log V 126 Fix acl_from_text(3) - and, therefore, setfacl(1) - for user and group names names starting with a digit. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-06T18:05:05.745909Z K 7 svn:log V 125 Fix a possible null pointer dereference. A patch for -STABLE was Submitted by: Yamagi Burmeister (lists at yamagi dot org) END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-06T18:06:10.731134Z K 7 svn:log V 379 Mention the radiolist option in the man page. It is being listed when dialog(1) is run without arguments and works as expected. Therefore, it should be part of the manual as well. Note: dialog(1) has not been updated for many years and is not actively maintained at the moment. PR: docs/139682 Submitted by: manolis@ Discussed with: jkim@ MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-07-06T18:07:56.156287Z K 7 svn:log V 81 Also install the new bsd.arch.inc.mk filed. Missed in r204020. Reviewed by: imp END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-06T18:08:55.224581Z K 7 svn:log V 88 Plug a possible memory leak. Submitted by: Yamagi Burmeister (lists at yamagi dot org) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-06T18:17:31.639362Z K 7 svn:log V 61 Zero entire status block and add missing bus_dmamap_sync(9). END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-06T18:20:49.145865Z K 7 svn:log V 105 In revoke(), verify that VCHR vnode indeed belongs to devfs. Found and tested by: pho MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-06T18:22:57.286483Z K 7 svn:log V 66 Calculate nshift only once. Also noted by: avg MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-06T19:05:41.648506Z K 7 svn:log V 292 ATA device reset starts probe sequence from the beginning. If reset caused by timeout/error of one of probe commands, process may continue infinitely. Make CAM ATA more robust to faulty devices and false positive detections, abort probe after two restarts on timeouts or ten on other errors. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-06T19:43:40.782197Z K 7 svn:log V 68 Use canonical spelling of FreeBSD.org Submitted by: Garrett Cooper END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-06T20:57:28.327927Z K 7 svn:log V 23 Merge ACPICA 20100702. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-06T21:41:08.428735Z K 7 svn:log V 39 Fix mis-merges in the previous commit. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-07-06T22:33:22.202733Z K 7 svn:log V 158 Simplify the wording of the console configuration dialogs since we now only have a single video console driver. Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-06T23:13:21.437797Z K 7 svn:log V 43 Provide more examples for error injection. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-06T23:20:43.813816Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@209749 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-06T23:29:55.689878Z K 7 svn:log V 154 A few patches from Ed Maste by way of Kris Moore 1. Change detect-vmware to detect-emulation 2. improve laptop detection 3. better, network descriptions END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-06T23:31:52.997184Z K 7 svn:log V 54 These files should have been added/deleted in r209751 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-07T00:03:06.472723Z K 7 svn:log V 24 Further simplification. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-07T02:16:47.132941Z K 7 svn:log V 50 Switch ia64 to the unified busdma implementation. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-07T04:06:38.225187Z K 7 svn:log V 66 Use an unbuffered transmit function for low-level console output. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-07-07T06:06:54.471717Z K 7 svn:log V 1159 When dhclient obtains a lease, it runs dhclient-script and expects it to configure the interface. When the script is complete, dhclient monitors the routing socket and will terminate if its address is deleted or if its interface is removed or brought down. Because the routing socket is already open when dhclient-script is run, dhclient ignores address deletions for 10 seconds after the script was run. If the address that will be obtained is already configured on the interface before dhclient starts, and if dhclient-script takes more than 10 seconds (perhaps due to dhclient-*-hooks latencies), on script completion, dhclient will immediately and silently exit when it sees the RTM_DELADDR routing message resulting from the script reassigning the address to the interface. This change logs dhclient's reason for exiting and also changes the 10 second timeout to be effective from completion of dhclient-script rather than from when it was started. We now ignore RTM_DELADDR and RTM_NEWADDR messages when the message contains no interface address (which should not happen) rather than exiting. Not reviewed by: brooks (timeout) MFC after: 3 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-07-07T07:09:33.357772Z K 7 svn:log V 158 - Add support for the "sec" option to "zfs set sharenfs" Submitted by: Dmitry Morozovsky Approved by: delphij (mentor) MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-07-07T09:23:46.910856Z K 7 svn:log V 66 Add the u3g(4) driver. I can't find any reason why it's not here. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-07-07T10:55:13.116893Z K 7 svn:log V 26 Fix typo from hand-merge. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-07-07T11:19:06.598482Z K 7 svn:log V 150 If a user calls sctp_sendx() with a NULL sinfo we will crash. Instead we should provide our own temp structure to use internally. MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-07-07T12:00:11.227704Z K 7 svn:log V 325 - Simplify logic in handling ticks wrap-up - Fix a bug where thread may be in sleeping state but the wchan won't be set, leading to an empty container for sleepq_type(). [0] Sponsored by: Sandvine Incorporated [0] Submitted by: Bryan Venteicher MFC after: 3 days X-MFC: 209577 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-07-07T12:04:56.967477Z K 7 svn:log V 377 Simplify code some and correct a few bugs and omissions related to unaligned accesses. There still seems to be something not quite right here, but this should fix problems related to useracc failing when the access could have been fixed up (due to always assuming word access width in useracc even for halfword unaligned accesses), as well as providing unaligned ld/sd fixup. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-07T12:08:58.752686Z K 7 svn:log V 142 Fix style issues with the previous commit, namely use-tab-instead-of-space and don't use underscores in macro variables. Pointed out by: bde END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-07-07T12:44:19.062802Z K 7 svn:log V 514 Increase the default and minimum partition sizes. Bump / to 1GB, /var to 4GB and /tmp to 1GB. A 512MB root partition is now too small to hold two kernels, so to prevent installkernel failing 1GB is a better default. Likewise, applications are storing more data in /var so 4GB is more reasonable on a modern machine. The previous minimum partition sizes were too small to hold a minimal installation, and have been adjusted accordingly. Discussed with: rwatson, simon Approved by: rrs (mentor) MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-07T14:15:51.087161Z K 7 svn:log V 269 MFC r209490,209492: Move default HZ from 100 to 1000 on powerpc, and rearrange the logic slightly, so that it is set to 100 on ARM and MIPS and defaults to 1000, instead of defaulting to 100, and setting it to 1000 on everything but ARM and MIPS. Reviewed by: marcel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-07T14:19:58.499506Z K 7 svn:log V 335 MFC r209222: Modify the console mouse pointer drawing routine to use single-byte writes instead of 4-byte ones. Because the mouse pointer can start part way through a character cell, 4-byte memory operations are not necessarily aligned, triggering a fatal alignment exception when the console pointer was moved on PowerPC G5 systems. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-07T14:21:40.817939Z K 7 svn:log V 81 MFC r209114: Make SMP work on MPC7400-based Apple desktops like the PowerMac3,3. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-07T14:24:48.644408Z K 7 svn:log V 64 As per discussion in freebsd-arch, remove the vendor-cddl tree. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-07T15:05:44.022366Z K 7 svn:log V 149 Fix the CS line definitions. These bits are for the CS2/CS1 lines rather than CS1/CS0. This has been tested on the Ubiqiti Routerstation Pro board. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-07-07T17:05:32.025044Z K 7 svn:log V 191 Package set for 8.1-RELEASE. We still have a 2Gb maximum file size limit caused by cvsup still being used for some of our mirror system. That is being worked on. Reviewed by: re@, portmgr@ END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-07-07T17:20:16.642031Z K 7 svn:log V 254 Merge r209770 from stable/8: > Package set for 8.1-RELEASE. We still have a 2Gb maximum file size > limit caused by cvsup still being used for some of our mirror system. > That is being worked on. Reviewed by: re@, portmgr@ Approved by: re (implicit) END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-07T17:44:09.658042Z K 7 svn:log V 472 Fix an error in the EXAMPLES section of getopt(1), which is based on the same fix present in NetBSD. Note: the getopt man page contains more antique information like this. An overhaul of the man page and/or sync with NetBSD would be the right thing to do. But since this is out of the scope of the PR, I'll leave it as it is for now. PR: docs/133118 Submitted by: Oleg A. Mamontov (oleg at mamontov dot net) Discussed with: jilles@ MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-07-07T17:52:13.259278Z K 7 svn:log V 151 MFC r207303 (originally by kmacy): need to initialize the lock before it is used Reported on: stable@ (MFC missing) Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-07T19:06:53.720441Z K 7 svn:log V 163 Use the kernel's start address to determine what to map. This allows us to link the kernel at different addresses without needing to build a corresponding loader. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-07T19:34:48.068673Z K 7 svn:log V 36 Remove pointless BOOTP conditional. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-07-07T19:52:50.367338Z K 7 svn:log V 374 MFC: r209695 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which apart from generally doing the wrong thing can lead to a panic when a CPU is told to IPI itself (which sun4u doesn't support). Reported and tested by: Nathaniel W Filardo - Add __unused where appropriate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-07-07T19:52:57.760024Z K 7 svn:log V 374 MFC: r209695 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which apart from generally doing the wrong thing can lead to a panic when a CPU is told to IPI itself (which sun4u doesn't support). Reported and tested by: Nathaniel W Filardo - Add __unused where appropriate. END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-07-07T20:06:48.820439Z K 7 svn:log V 128 Add further documentation for netDev in install.cfg to reflect the new usage. Approved by: cperciva (mentor) MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-07T20:07:33.353832Z K 7 svn:log V 98 Add acpi_find_table() -- a convenience function for looking up an ACPI table given the signature. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-07T20:21:24.748541Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@209779 END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-07-07T21:00:17.906223Z K 7 svn:log V 397 MFC: r209695 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which apart from generally doing the wrong thing can lead to a panic when a CPU is told to IPI itself (which sun4u doesn't support). Reported and tested by: Nathaniel W Filardo - Add __unused where appropriate. Approved by: re (kib) END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-07-07T22:53:58.902736Z K 7 svn:log V 122 Add support for remote logging to syslogd via an install.cfg variable. Approved by: cperciva (mentor) MFC after: 3 weeks END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-08T02:35:37.919522Z K 7 svn:log V 162 MFC r205959: Add support for ALQ(9) to be compiled and loaded as a kernel module. Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-08T02:41:55.255330Z K 7 svn:log V 280 MFC r206026: - Factor code to destroy an ALQ out of alq_close() into a private alq_destroy(). - Use the new alq_destroy() to properly handle a failure case in alq_open(). Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-08T02:43:52.796012Z K 7 svn:log V 193 MFC r206027: According to SLEEP(9), msleep() is deprecated in favour of mtx_sleep(). Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-08T02:46:42.447758Z K 7 svn:log V 195 MFC r206028: The ALQ should not be considered drained until it has been made inactive. Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-07-08T03:28:25.234598Z K 7 svn:log V 279 Remove the ability to upgrade via sysinstall. This feature has been flaky and broken for a number of years. freebsd-update now provides a reasonable way to handle upgrades, so keeping this functionality in sysinstall only serves to mislead users. Approved by: cperciva (mentor) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-08T03:28:25.348751Z K 7 svn:log V 871 MFC r207223: - Rework the underlying ALQ storage to be a circular buffer, which amongst other things allows variable length messages to be easily supported. - Extend KPI with alq_writen() and alq_getn() to support variable length messages, which is enabled at ALQ creation time depending on the arguments passed to alq_open(). Also add variants of alq_open() and alq_post() that accept a flags argument. The KPI is still fully backwards compatible and shouldn't require any change in ALQ consumers unless they wish to utilise the new features. - Introduce the ALQ_NOACTIVATE and ALQ_ORDERED flags to allow ALQ consumers to have more control over IO scheduling and resource acquisition respectively. - Strengthen invariants checking. - Document ALQ changes in ALQ(9) man page. Sponsored by: FreeBSD Foundation Reviewed by: gnn, jeff, rpaulo, rwatson END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-08T03:35:00.241076Z K 7 svn:log V 848 Correctly maintain the per-cpu field "curpmap" on amd64 just like we do on i386. The consequences of not doing so on amd64 became apparent with the introduction of the COUNT_IPIS and COUNT_XINVLTLB_HITS options. Specifically, single-threaded applications were generating unnecessary IPIs to shoot-down the TLB on other processors. However, this is clearly nonsensical because a single-threaded application is only running on the current processor. The reason that this happens is that pmap_activate() is unable to properly update the old pmap's field "pm_active" without the correct "curpmap". So, in effect, stale bits in "pm_active" were leading pmap_protect(), pmap_remove(), pmap_remove_pages(), etc. to flush the TLB contents on some arbitrary processor that wasn't even running the same application. Reviewed by: kib MFC after: 3 weeks END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-08T03:41:57.277551Z K 7 svn:log V 718 MFC r209119,209325: - Add a utility macro to simplify calculating an aggregate sum from a DPCPU counter variable. - Rename the internal for loop iterator to "_i" to avoid potential shadowing of external variables named "i". The "_" prefix is reserved for infrastructure type code and is therefore not expected to be used by normal code likely to call DPCPU_SUM(). [1] - Change DPCPU_SUM to return the sum rather than calculate and assign it internally. Usage is now: "sum = DPCPU_SUM(dpcpu_var, member_to_sum);" [2] - Fix some style nits. [3] Sponsored by: FreeBSD Foundation Suggested by: bde [3], mdf [1], kib [1,2], pjd [1,3] Reviewed by: jhb, rpaulo, rwatson (old version of r209119), kib (r209325) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-07-08T04:04:27.258578Z K 7 svn:log V 392 o) Allow changing trap_debug at runtime and set it to 0 by default if TRAP_DEBUG is defined. o) Crash user programs that try to access kernel addresses rather than kindly fixing them up as though they were misaligned and rather than generating kernel-level addresses errors and eventually panicking by trying to access addresses that are outright invalid, crash the user program. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-08T08:37:51.045620Z K 7 svn:log V 257 Make VM_ALLOC_RETRY flag mandatory for vm_page_grab(). Assert that the flag is always provided, and unconditionally retry after sleep for the busy page or failed allocation. The intent is to remove VM_ALLOC_RETRY eventually. Proposed and reviewed by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-08T08:39:02.514347Z K 7 svn:log V 132 Do not mention VM_ALLOC_RETRY in comment, and normalize the terminology (blocking -> sleeping). Reviewed by: alc MFC after: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-07-08T11:21:11.096725Z K 7 svn:log V 123 This releases JC from mentorship. He has shown an outstanding ability to work in the community and I think he is Ready ;-) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-07-08T12:20:15.488390Z K 7 svn:log V 410 Merge 209589 from head: After processing the O_SKIPTO opcode our cmd points to the next rule, and "match" processing at the end of inner loop would look ahead into the next rule, which is incorrect. Particularly, in the case when the next rule started with F_NOT opcode it was skipped blindly. To fix this, exit the inner loop with the continue operator forcibly and explicitly. PR: kern/147798 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-07-08T12:21:25.671764Z K 7 svn:log V 312 Merge 209633, 209722 from head: The struct ipfw_rule_ref follows the struct m_tag. Deal with this correctly. This fixes breakage of ng_ipfw(4) in r201527. Submitted by: Alexander Zagrebin Avoid double-free. In error cases ipfw(4) frees the mbuf(4), we don't need to. PR: kern/145462 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-07-08T13:07:40.060614Z K 7 svn:log V 130 Since r209216 bpf(4) searches for mbuf_tags(9) and thus will not work with a stub m_hdr instead of a full mbuf. PR: kern/148050 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-08T13:34:01.378192Z K 7 svn:log V 303 MFC 175676: Implement a quiet prefix, which will disable some diagnostics. The fast prefix also implies quiet. During boot we use either fast or quiet. For shutdown we already use 'faststop'. So, this informational message should only appear during interactive use. Reviewed by: silence on freebsd-rc@ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-08T14:08:03.020378Z K 7 svn:log V 186 Extend the ath debugging a little to log the interface name. Some devices have >1 atheros card and the current debug prints make it impossible to tell which interface is being unhappy. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-08T14:19:52.384092Z K 7 svn:log V 105 Fix iicbus_get_addr() on 64-bit big-endian systems. The bus accessor passes a uintptr_t, not a uint32_t. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-08T14:29:23.283779Z K 7 svn:log V 150 Change the argument type to OF_call_method to take an array of cell_t instead of unsigned longs to prepare for platforms where they are not the same. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-08T14:34:15.615885Z K 7 svn:log V 132 Introduce a sysctl block for if_arge and, for now, a blank debug sysctl placeholder for later. Add in a missing FreeBSD ID string. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-08T14:35:35.435715Z K 7 svn:log V 247 Fix several bugs in the real-mode Open Firmware implementation and provide a virtual-mode version for use on 64-bit systems, which have 32-bit firmware implementations and require similar constraints on addressing to the real-mode implementation. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-08T14:40:46.170555Z K 7 svn:log V 41 Make ofw_syscons work on 64-bit systems. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-08T14:49:55.821978Z K 7 svn:log V 277 Merge jmallett@'s n64 work into HEAD - changeset 8 Updated PTE/PDE macros from http://svn.freebsd.org/base/user/jmallett/octeon Introduce pmap_segshift() macro, use pmap_segmap() in place of pmap_pde, and remove pmap_pde(). Approved by: rrs (mentor) Obtained from: jmallett@ END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-08T14:56:42.155026Z K 7 svn:log V 171 Fix minor issue in sys/mips/mips/cache_mipsNN.c, using int type for virtual addr will break on 64 bit, change to vm_offset_t. Reviewed by: imp@ Approved by: rrs (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-08T14:59:32.660645Z K 7 svn:log V 359 Address PR kern/148307 - fix if_ath TX mbuf alignment/size constraint checks The existing code only checked the alignment of the first mbuf and didn't enforce the size constraints. This commit introduces a simple function to check the alignment and size of all mbufs in the list. This fixes the initial issue in the PR. PR: kern/148307 Reviewed by: gonzo@ END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-08T15:05:23.503520Z K 7 svn:log V 177 64 bit compilation support XLR platform code. Mostly changes to make casting between int and pointer and printing 64bit values safe for 32 and 64 bit compile. Approved by: rrs END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-08T15:20:57.359300Z K 7 svn:log V 49 Add TX-path aligned/unaligned stats for if_arge. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-08T15:22:46.977549Z K 7 svn:log V 194 Enable KX bit, which is needed for 64 bit access, in status register for XLR. Update exception handlers and other functions which set/change status registers to preserve this. Approved by: rrs END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-08T15:37:16.497412Z K 7 svn:log V 81 Use 64 bit type for rqb_word_t in n64 kernel. Reviewed by: imp Approved by: rrs END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-08T15:38:55.580904Z K 7 svn:log V 197 Replace the existing PowerPC busdma implementation with the one from amd64 (with slight modifications). This provides support for bounce buffers, which are required on systems with RAM above 4 GB. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-08T15:47:03.702164Z K 7 svn:log V 26 Diff reduction with HEAD. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-08T16:06:58.569863Z K 7 svn:log V 98 64 bit ld script for mips, and configuration file for 64 bit compilation on XLR Approved by: rrs END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-08T16:11:06.066171Z K 7 svn:log V 69 Fix XLR64, the previous version had the contents of file duplicated. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-07-08T16:53:19.201782Z K 7 svn:log V 85 Assert that low and high are >= 0. The allocator doesn't support the negative range. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-08T18:15:06.317615Z K 7 svn:log V 97 Missed a file in r209803: this header contains a definition of OFW_STD_32BIT. Pointy hat to: me END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-08T18:22:49.391804Z K 7 svn:log V 279 Remove enabling RX checksum offloading in RX filter setup. RX checksum is enabled in sge_init_locked(). While I'm here do not set RX checksum bits in RX descriptor initialization. It is controller's job to set these bits. Tested by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-08T19:15:26.697416Z K 7 svn:log V 153 - Various style and whitespace fixes. - Make sugid_coredump and kern_logsigexit private to kern_sig.c. Submitted by: bde (partially) MFC after: 1 month END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-07-08T19:22:52.081985Z K 7 svn:log V 153 Properly recognize a number followed by non-digits as a jail name. Call "0" a name because zero is used to indicate no specified jid. MFC after: 3 days END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-07-08T19:36:38.787921Z K 7 svn:log V 276 MFC r209597: Fixes NULL pointer reference that it's occurred when the state is changed to RUN because ic->ic_newassoc isn't set anywhere now. In the previous bwi_newassoc() is used to initialize AMRR rate routines. Tested by: Warren Block END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-07-08T19:40:09.983817Z K 7 svn:log V 251 MFC r209598: Initializes the ratectl for a node when the state is changed to RUN. This prevents a kernel fault by dividing with zero because the initial rate was 0 and didn't be initialized. Tested by: Warren Block END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:17:56.160086Z K 7 svn:log V 104 MFC r209056: vnode.h: expand debug macros to non-empty void statements when DEBUG_VFS_LOCKS is disabled END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:18:52.391931Z K 7 svn:log V 104 MFC r209056: vnode.h: expand debug macros to non-empty void statements when DEBUG_VFS_LOCKS is disabled END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:38:48.730479Z K 7 svn:log V 118 MFC r209062: fix a few cases where a string is passed via format argument instead of via %s Note: no MFC to stable/7 END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:40:57.503666Z K 7 svn:log V 53 MFC r209425: udf_vnops: cosmetic followup to r208671 END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:43:20.920980Z K 7 svn:log V 53 MFC r209425: udf_vnops: cosmetic followup to r208671 END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:46:55.438498Z K 7 svn:log V 64 MFC r209193: sound/pcm: use non-const string with SYSCTL_STRING END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:57:07.818134Z K 7 svn:log V 63 MFC r209228: device.hints: do install when WITHOUT_BOOT is set END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T20:57:37.012188Z K 7 svn:log V 63 MFC r209228: device.hints: do install when WITHOUT_BOOT is set END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T21:02:31.967323Z K 7 svn:log V 100 MFC r209247: lock_profile_release_lock: do not compare unsigned with zero Note: no MFC to stable/7 END K 10 svn:author V 5 randi K 8 svn:date V 27 2010-07-08T21:26:26.787065Z K 7 svn:log V 75 Revert r209787 pending further discussion. Approved by: cperciva (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T21:34:18.270146Z K 7 svn:log V 72 MFC r209413: readelf.1: remove duplicate -u/--unwind option description END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-07-08T21:35:57.231420Z K 7 svn:log V 72 MFC r209413: readelf.1: remove duplicate -u/--unwind option description END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-08T21:56:05.015868Z K 7 svn:log V 311 MFC 208742: MFamd64: Add a new macro PCPU_XEN_FIELDS to hold XEN-specific per-CPU fields that is always included in PCPU_MD_FIELDS. The macro is empty for non-XEN kernels. This avoids duplicating non-XEN per-CPU fields in two places. While here, remove several unused fields from the XEN-specific structure. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-08T22:13:23.602534Z K 7 svn:log V 172 Implement optional 'precision' for numbers. Previously, it was parsed but ignored. Some third-party modules (e.g., APCICA) prefer this format over zero padding flag '0'. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-08T22:21:18.936540Z K 7 svn:log V 926 Sync. printf() of libstand(3) with sys/kern/subr_prf.c. CVS r1.94 jhb: Cast the integer read as the first argument for %b to an unsigned integer so it's value is not sign extended when assigned to the uintmax_t variable used internally by printf. For example, if bit 31 is set in the cpuid feature word, then %b would print out the initial value as a 16 character hexadecimal value. Now it only prints out an 8 character value. CVS r1.109 njl: Add support for 'h' and 'hh' modifiers for printf(9). CVS r1.117 phk: If we ignore an unknown % sequence, we must stop interpreting the remaining % arguments because the varargs are now out of sync and there is a risk that we might for instance dereference an integer in a %s argument. SVN r209836 jkim: Implement optional 'precision' for numbers. Previously, it was parsed but ignored. Some third-party modules (e.g., APCICA) prefer this format over zero padding flag '0'. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-07-08T23:25:33.309766Z K 7 svn:log V 131 MFC r208587: Add the support for reporting the NOCOREDUMP flag from sysctl_kern_proc_vmmap(). Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 np K 8 svn:date V 27 2010-07-09T00:35:09.289319Z K 7 svn:log V 112 Fix bufsize calculation so that cxgbtool can display information for the last I/O queue too. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-07-09T00:36:35.555430Z K 7 svn:log V 176 Eliminate ext_intr_task. The "slow" interrupt handler is already running on the adapter's task queue. Just do what the task does instead of enqueueing it. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-07-09T00:38:00.161206Z K 7 svn:log V 686 Improve cxgb(4)'s behaviour when faced with temporarily "bouncy" links: - Run the adapter's tick at 1Hz and remove link state checks from it. Instead, have each port check its link state. Delay the check so that it takes place slightly after the driver is notified of a change in link state. This is a cheap way to debounce these notifications if many are received in rapid succession. POLL_LINK_1ST_TIME flag can also be eliminated as a side effect of these changes. - Do not reset the PHY when link goes down. - Clear port's link_fault flag if the PHY indicates link is down. - get_link_status_r should leave speed and duplex alone when link is down. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-09T05:25:14.130832Z K 7 svn:log V 40 Fix build by defining MAX() macro here. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-07-09T08:48:51.149466Z K 7 svn:log V 1088 MFC r208946: New netgraph node ng_patch(4). It performs data modification of packets passing through. Modifications are restricted to a subset of C language operations on unsigned integers of 8, 16, 32 or 64 bit size. These are: set to new value (=), addition (+=), subtraction (-=), multiplication (*=), division (/=), negation (= -), bitwise AND (&=), bitwise OR (|=), bitwise eXclusive OR (^=), shift left (<<=), shift right (>>=). Several operations are all applied to a packet sequentially in order they were specified by user. Submitted by: Maxim Ignatenko Vadim Goncharov Discussed with: net@ MFC r208947: Fix typo. MFC r208989: Style(9) fixes: * Sort includes * Replace #define to #define * Split declarations and initializations * Split long lines Requested by: kib MFC r209194: * Include sys/systm.h for KASSERT() * Remove unneeded includes and comment * Replace home made OFFSETOF() macro with standard offsetof() Pointed out by: bde Approved by: kib (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-07-09T10:57:55.202187Z K 7 svn:log V 49 Remove redundant high >= 0. Reported by: rstone END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-07-09T11:27:33.443306Z K 7 svn:log V 82 Improve last commit: use bpf_mtap2() to avoiding stack usage. Prodded by: julian END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T13:49:20.327406Z K 7 svn:log V 32 SVN missed these files somehow. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-09T13:53:25.821404Z K 7 svn:log V 36 Refine a comment. Reviewed by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-09T13:59:53.657225Z K 7 svn:log V 83 Accidentally committed an older version of this comment rather than the final one. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T14:00:22.767413Z K 7 svn:log V 111 MFppc64: Check if devices are direct-mapped individually instead of just checking the value of hw_direct_map. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T14:01:18.577033Z K 7 svn:log V 115 MFppc64: Use longs instead of ints as the native word type in bcopy(). This will expand nicely on 64-bit systems. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T14:02:24.106327Z K 7 svn:log V 144 MFppc64: Minor 64-bit-cleanliness upgrades and support for platform detection on subtly-broken OF implementations like in the Mambo simulator. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T14:02:57.058946Z K 7 svn:log V 80 Remove an unnecessary include of opt_psim.h, which is not present on powerpc64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T14:04:16.928085Z K 7 svn:log V 51 The number after 2 is 3, not 4. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T14:12:18.379762Z K 7 svn:log V 83 IFC @ 209853 to profit from recent diff reduction. Slowly, the merge progresses... END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T14:38:06.304297Z K 7 svn:log V 13 Fix mismerge END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T15:58:26.243231Z K 7 svn:log V 608 Goodbye MACHINE=powerpc64! Import some minimal bits of the tbemd tree so that we can have MACHINE=powerpc and MACHINE_ARCH=powerpc64. Now that this port's build system no longer relies on checking symlinks into svn, this makes this branch a merge candidate to HEAD. Note to users of this branch: this transition may be slightly bumpy, and will require rebuilding world, at least to get a new config(8). Some ports may behave strangely due to conflation of uname -m and uname -p. Setting UNAME_m=powerpc64 in your environment may paper over such problems as they become apparent. Long ago suggested by: imp END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T16:12:03.894049Z K 7 svn:log V 36 powerpc64 install CDs would be nice END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-09T16:19:51.157527Z K 7 svn:log V 20 Fix build on ppc32. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-07-09T17:11:29.863349Z K 7 svn:log V 89 Fix of a VLAN problem by jhb, the checksum capability got lost along the way. MFC: asap END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-07-09T17:38:15.678343Z K 7 svn:log V 233 Don't use pack() for structures that is used purely for software state. Otherwise the resulting, unaligned mutex structure would trigger panic. Submitted by: Tom Cough Reported/Tested by: jhb MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-09T19:38:30.080042Z K 7 svn:log V 473 Add support for the VM_ALLOC_COUNT() hint to vm_page_alloc(). Consequently, the maintenance of vm_pageout_deficit can be localized to just two places: vm_page_alloc() and vm_pageout_scan(). This change also corrects an off-by-one error in the maintenance of vm_pageout_deficit. Historically, the buffer cache functions, allocbuf() and vm_hold_load_pages(), have not taken into account that vm_page_alloc() already increments vm_pageout_deficit by one. Reviewed by: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-09T20:05:56.488627Z K 7 svn:log V 399 For both i386 and amd64 pmap, - change the type of pm_active to cpumask_t, which it is; - in pmap_remove_pages(), compare with PCPU(curpmap), instead of dereferencing the long chain of pointers [1]. For amd64 pmap, remove the unneeded checks for validity of curpmap in pmap_activate(), since curpmap should be always valid after r209789. Submitted by: alc [1] Reviewed by: alc MFC after: 3 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-07-09T20:43:57.399903Z K 7 svn:log V 246 MFC r209860: Don't use pack() for structures that is used purely for software state. Otherwise the resulting, unaligned mutex structure would trigger panic. Submitted by: Tom Cough Reported/Tested by: jhb PR: kern/148464 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-07-09T20:44:14.108028Z K 7 svn:log V 228 MFC r209860: Don't use pack() for structures that is used purely for software state. Otherwise the resulting, unaligned mutex structure would trigger panic. Submitted by: Tom Cough Reported/Tested by: jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-09T21:21:08.347477Z K 7 svn:log V 413 Some revision of Yukon controller generates corrupted frame when TX checksum offloading is enabled. The frame has a valid checksum value so payload might be modified during TX checksum calculation. Disable TX checksum offloading but give users chance to enable it when they know their controller works without problems with TX checksum offloading. Reported by: Andrzej Tobola iem dot pw dot edu dot pl> END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-09T21:27:42.545110Z K 7 svn:log V 53 Fix spacing. Noted by: pgollucci MFC after: 3 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T02:29:22.656607Z K 7 svn:log V 269 Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T02:32:50.868760Z K 7 svn:log V 55 Minor modifications to know what to do with powerpc64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T03:45:55.242664Z K 7 svn:log V 69 C startup support for 64-bit PowerPC. Obtained from: projects/ppc64 END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-07-10T09:29:48.748493Z K 7 svn:log V 154 MFC r209757: - Add support for the "sec" option to "zfs set sharenfs" Submitted by: Dmitry Morozovsky Approved by: delphij (mentor) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2010-07-10T11:40:31.748783Z K 7 svn:log V 213 Fix reading of empty fifolog files. When we don't have anything to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about Z_OK a bit further down. Approved by: phk MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-10T13:46:14.004561Z K 7 svn:log V 159 Make hw.ata.ata_dma_check_80pin tunable affect not only device side, but also controller side cable checks. Make respective sysctl writable. PR: kern/143462 END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-10T14:31:44.509836Z K 7 svn:log V 71 Document pl_siginfo and PT_FLAG_SI for PT_LWPINFO. MFC after: 1 month END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T14:33:57.356622Z K 7 svn:log V 189 Add definitions for powerpc64 ELF relocation types. Some 64-bit relocations are identical to 32-bit relocations in meaning, name, and number, and I have chosen not to duplicate those here. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T14:34:37.374199Z K 7 svn:log V 58 32-bit sysctl emulation is also interesting on powerpc64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T14:39:08.937970Z K 7 svn:log V 454 The 64-bit PowerPC ABI implemented in binutils 2.15 requires some special quirks for weak-symbol handling. Text symbols require also marking weak the special dot-symbol associated with the function, and data symbols require that you not do that. To fix this, provide a hacked __weak_reference for powerpc64, and define a new __weak_reference_data for the single weak data symbol in base. Revert after: binutils 2.17 import Obtained from: projects/ppc64 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T14:40:57.923453Z K 7 svn:log V 94 powerpc64 floating-point is identical to powerpc, so use the same code on both architectures. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T14:45:03.449911Z K 7 svn:log V 71 Provide 64-bit PowerPC support in libc. Obtained from: projects/ppc64 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T15:12:00.532549Z K 7 svn:log V 109 Remove some dead code found while merging to HEAD. Apparently tedious review of diffs is good for something. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T15:13:49.310956Z K 7 svn:log V 36 Powerpc64 thread libraries support. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T15:15:00.689254Z K 7 svn:log V 28 64-bit PowerPC KVM support. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T15:16:35.979850Z K 7 svn:log V 173 Teach libstand what to do for powerpc64: the same thing as powerpc. Like amd64, libstand apps for powerpc64 systems are 32-bit, due to 32-bit Open Firmware implementations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-10T15:27:27.801060Z K 7 svn:log V 160 On attach, grab channel lock before setting up interrupt. This fixes crash in ATA_CAM mode if phy connect event arrive before CAM bus initialization completed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-10T15:36:27.365256Z K 7 svn:log V 188 If ata_sata_phy_reset() failed and ata_generic_reset() is not called, mark channel as having no devices connected. This improves hot-unplug operation on legacy-emulating SATA controllers. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T17:43:24.669134Z K 7 svn:log V 465 RTLD support for powerpc64. A few small modifications to the Makefile and symbol map are required to support various consequences of the dot symbol scheme: - Symbols beginning with a dot are reserved, so start private symbols with an underscore. - In order to set RTLD breakpoints, gdb must be able to locate the text entry point, not the data section function descriptor, so add .r_debug_state to the symbol map on powerpc64. Obtained from: projects/ppc64 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T17:46:53.324858Z K 7 svn:log V 193 Since powerpc and powerpc64 share an instruction set, bind can and should use the 32-bit atomic operations unmodified. Accomplish this by switching some MACHINE_ARCH values to MACHINE_CPUARCH. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-10T18:22:44.838189Z K 7 svn:log V 864 Reduce the number of global TLB shootdowns generated by pmap_qenter(). Specifically, teach pmap_qenter() to recognize the case when it is being asked to replace a mapping with the very same mapping and not generate a shootdown. Unfortunately, the buffer cache commonly passes an entire buffer to pmap_qenter() when only a subset of the mappings are changing. For the extension of buffers in allocbuf() this was resulting in unnecessary shootdowns. The addition of new pages to the end of the buffer need not and did not trigger a shootdown, but overwriting the initial mappings with the very same mappings was seen as a change that necessitated a shootdown. With this change, that is no longer so. For a "buildworld" on amd64, this change eliminates 14-15% of the pmap_invalidate_range() shootdowns, and about 4% of the overall shootdowns. MFC after: 3 weeks END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-07-10T21:39:03.065079Z K 7 svn:log V 293 Fixes a bug for LP PHY that some frames have 2 padding bytes at the start so we should adjust the mbuf if the driver is running in PIO mode. Now it should work well with WPA authentication and association for LP PHY devices. Tested by: Warren Block MFC after: 1 month END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T22:06:51.415292Z K 7 svn:log V 36 Teach crunchide(1) about PPC ELF64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T22:07:48.973752Z K 7 svn:log V 67 OpenSSL configuration for powerpc64 Obtained from: projects/ppc64 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-10T22:29:05.126669Z K 7 svn:log V 106 IFC @ 209890 The first transport is away! Import from HEAD after merging most of the powerpc64 userland. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-07-10T22:37:23.295858Z K 7 svn:log V 191 Fixes a page fault in bwi_pci_probe() because the array isn't terminated with NULL. PR: kern/148473 Submitted by: Grzegorz Dabrowski MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-11T05:13:38.113260Z K 7 svn:log V 115 Fix SVN mismerge. We somehow ended up with the 32-bit powerpc version in arch/powerpc64 instead of the 64-bit one. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-11T08:41:30.665011Z K 7 svn:log V 66 MFC r209687: Constify source argument for siginfo_to_siginfo32(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-11T08:43:30.923873Z K 7 svn:log V 109 MFC r209793: Do not mention VM_ALLOC_RETRY in comment, and normalize the terminology (blocking -> sleeping). END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-11T09:37:34.776171Z K 7 svn:log V 116 MFC r209685: Introduce a helper function vm_page_find_least(). Use it in several places, which inline the function. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-11T11:58:46.763183Z K 7 svn:log V 259 MFC r209328,r209330: While we indeed can't precisely measure time spent in C1, we can consider measured interval as upper bound. It should be more precise then just assuming 1/(2*hz). For idle CPU it should be quite precise, for busy - not worse then before. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-11T12:06:42.842721Z K 7 svn:log V 155 MFC r209214: When Emulate3Button is active, do not set select() timeout in states when it is not needed. No need to kick CPU every 20ms without a purpose. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-07-11T15:32:20.445790Z K 7 svn:log V 152 MFC r209820: Properly recognize a number followed by non-digits as a jail name. Call "0" a name because zero is used to indicate no specified jid. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-11T16:47:45.993889Z K 7 svn:log V 438 Remove interval validation from cpu_tick_calibrate(). As I found, check was needed at preliminary version of the patch, where number of CPU ticks was divided strictly on 16 seconds. Final code instead uses real interval duration, so precise interval should not be important. Same time aliasing issues around second boundary causes false positives, periodically logging useless "t_delta ... too long/short" messages when HZ set below 256. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-11T17:08:37.204040Z K 7 svn:log V 74 Make kernel panic with reasonable message if no usable event timer found. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-11T20:11:44.844917Z K 7 svn:log V 251 Change the implementation of vm_hold_free_pages() so that it performs at most one call to pmap_qremove(), and thus one TLB shootdown, instead of one call and TLB shootdown per page. Simplify the interface to vm_hold_free_pages(). MFC after: 3 weeks END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-11T20:29:34.321672Z K 7 svn:log V 72 Provide a missing interrupt-parent for the CPM / QUICC node in the DTS. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-11T20:30:59.758579Z K 7 svn:log V 56 Let simplebus(4) diagnostics be a bit more descriptive. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-11T20:33:39.252991Z K 7 svn:log V 60 Save fdtbus trigger / polarity data at their correct index. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-11T20:49:36.092812Z K 7 svn:log V 107 Introduce PowerPC-specific helper routines for FDT. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-11T20:55:39.106951Z K 7 svn:log V 50 Provide more defines for PCI-Express device ctrl. END