T208901 99 1476 494 323 300 378 521 208 178 118 161 413 307 142 142 517 286 136 155 172 830 205 205 322 299 241 211 221 419 104 256 253 191 138 132 250 212 168 277 212 145 224 203 169 110 687 779 147 277 289 200 317 273 816 270 283 163 221 252 178 372 247 182 166 172 166 140 121 103 2189 249 129 103 157 157 212 126 110 114 114 114 114 139 126 193 203 366 229 333 289 1736 223 185 1016 441 993 373 190 239 242 K 10 svn:author V 3 ken K 8 svn:date V 27 2010-06-08T03:13:26.655935Z K 7 svn:log V 1382 A number of netfront fixes and stability improvements: - Re-enable TSO. This was broken previously due to CSUM_TSO clearing the CSUM_TCP flag, so our checksum flags were incorrectly set going to the netback driver. That was fixed in r206844 in tcp_output.c, so we can turn TSO back on here. - Fix the way transmit slots are calculated, so that we can't overfill the ring. - Avoid sending packets with more fragments/segments than netback can handle. The Linux netback code can only handle packets of MAX_SKB_FRAGS, which turns out to be 18 on machines with 4K pages. We can easily generate packets with 32 or so fragments with TSO turned on. Right now the solution is just to drop the packets (since netback doesn't seem to handle it gracefully), but we should come up with a way to allow a driver to tell the TCP stack the maximum number of fragments it can handle in a single packet. - Fix the way the consumer is tracked in the receive path. It could get out of sync fairly easily. - Use standard Xen ring macros to make it clearer how netfront is using the rings. - Get rid of Linux-ish negative errno return values. - Added more documentation to the driver. - Refactored code to make it easier to read. - Some other minor fixes. Reviewed by: gibbs Reviewed by: gibbs Sponsored by: Spectra Logic MFC after: 7 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-08T03:39:31.040054Z K 7 svn:log V 401 2 Bugs: 1) Only use both mapping arrays when NR sack is off. This way we can hold off moving the cumack (not the best but workable) when NR-sack is on. 2) We must make sure to just return on the move of the bit to the NR array if the cum-ack as already went past the TSN. This prevents marking a bit behind the array and hitting the invariant code that panic's us. MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-08T04:41:31.459317Z K 7 svn:log V 230 MFC r208765 In the unlikely event that pmap_ts_referenced() demoted five superpage mappings to the same underlying physical page, the calling thread would be left forever pinned to the same processor. Approved by: re (kib) END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-08T04:48:36.254975Z K 7 svn:log V 207 MFC r208765 In the unlikely event that pmap_ts_referenced() demoted five superpage mappings to the same underlying physical page, the calling thread would be left forever pinned to the same processor. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-08T05:14:18.928301Z K 7 svn:log V 282 Make additional definitions up to and including SPC-4. Add in definitions for REPORT and SET TARGET PORT GROUP commands (foundations for future work). Regularize opcodes to be upper case hex. Pick *one* of tab or space after #define (tab) and stick with that. MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-06-08T07:49:02.876646Z K 7 svn:log V 427 Import initial linux KPI compat code inspired by Luigi's kmod compat port. - Define linux bits using the same headers as linux uses for maximum include compatibility. The same include nesting is used where possible. - Some files are empty as nothing from them was required to build ofed. - Some implementations are still stubs (file, device, idr, dma-mapping). Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-08T10:03:08.506629Z K 7 svn:log V 115 Disable NCQ and PMP support for VIA VT8251 AHCI. It was reported to be unreliable under load. Linux does the same. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-08T10:52:37.116892Z K 7 svn:log V 86 MFC r208796: Fix PCH chipset IDs. They are 0x3bxx, not 0x3axx. Approved by: re (kib) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-08T15:45:04.647998Z K 7 svn:log V 21 Sort alphabetically. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-08T15:45:38.822759Z K 7 svn:log V 64 Remove this workaround. Clang can cope with this just fine now. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-08T16:17:25.895195Z K 7 svn:log V 317 Implement the usage of Report Luns as part of SCSI probing for SCP3 or better devices. This can be disabled on a per-device basis using quirks as well. This also handles the case where there is actually no connected LUN 0 (which can definitely be the case for storage arrays). Reviewed by: scsi@ MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-08T16:17:47.005907Z K 7 svn:log V 214 Fix a sign bug that caused adaptive spinning in sx_xlock() to not work properly. Among other things it did not drop Giant while spinning leading to livelocks. Reviewed by: rookie, kib, jmallett MFC after: 3 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-08T16:48:49.816641Z K 7 svn:log V 50 mdoc: replace troff macros with -mdoc equivalents END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-08T16:48:59.839045Z K 7 svn:log V 50 mdoc: remove literal tabs where they don't belong END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-08T17:08:13.606549Z K 7 svn:log V 424 - Use a bit more care when moving I/O APIC interrupts between CPUs. Mask the interrupt followed by a brief delay if it is not currently masked before moving the interrupt. - Move the icu_lock out of ioapic_program_intpin() and into callers. This closes a race where ioapic_program_intpin() could use a stale value of the masked state to compute the masked bit in the register. Reviewed by: mav MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-08T17:26:18.592901Z K 7 svn:log V 185 MFC r208168: It is not necessary (and in some cases harmful) to hardcode ata_kauai's IRQ to 39 on K2 devices, as well as Shasta ones. Reported by: Andreas Tobler Approved by: re (kib) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-06-08T17:28:28.583482Z K 7 svn:log V 40 Remove unused macros. Reviewed by: bde END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-08T17:44:49.984202Z K 7 svn:log V 60 One byte off for scsi_target_group cdb. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-08T17:51:21.115389Z K 7 svn:log V 80 Move the I/O APIC code to the x86 tree since it is identical on i386 and amd64. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-06-08T17:54:28.087722Z K 7 svn:log V 737 Reorganize the code in bdwrite() which handles move of dirtiness from the buffer pages to buffer. Combine the code to set buffer dirty range (previously in vfs_setdirty()) and to clean the pages (vfs_clean_pages()) into new function vfs_clean_pages_dirty_buf(). Now the vm object lock is acquired only once. Drain the VPO_BUSY bit of the buffer pages before setting valid and clean bits in vfs_clean_pages_dirty_buf() with new helper vfs_drain_busy_pages(). pmap_clear_modify() asserts that page is not busy. In vfs_busy_pages(), move the wait for draining of VPO_BUSY before the dirtyness handling, to follow the structure of vfs_clean_pages_dirty_buf(). Reported and tested by: pho Suggested and reviewed by: alc MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-08T18:04:07.780307Z K 7 svn:log V 112 Move the machine check support code to the x86 tree since it is identical on i386 and amd64. Requested by: alc END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-08T18:36:03.598753Z K 7 svn:log V 112 Move the MD support for PCI message signalled interrupts to the x86 tree as it is identical for i386 and amd64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-06-08T19:26:22.627565Z K 7 svn:log V 225 MFC r208806: Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by: Nikolay Denev < ndenev <> gmail at com > Approved by: re (bz) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-06-08T19:36:41.489517Z K 7 svn:log V 202 MFC r208806: Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by: Nikolay Denev < ndenev <> gmail at com > END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-06-08T21:27:05.295293Z K 7 svn:log V 148 The lock associated with the /dev/apm knote is already held, so use KNOTE_LOCKED() instead of KNOTE_UNLOCKED(). Reported by: mav MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-08T22:26:47.932323Z K 7 svn:log V 115 Add the VHBA package. It is here in tools because it's really a testbed. Sponsored by: Panasas MFC after: 1 month END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-08T22:40:02.890302Z K 7 svn:log V 125 Try and narrow the gap in which you act on an event that has been canceled. Obtained from: Jaako Heinonen MFC after: 1 month END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-08T22:46:44.375861Z K 7 svn:log V 323 Rearrange how things are done to avoid dereferencing stale pointers in the case of immediate unconfigure after configure. Hold the periph an extra count while we have the task to create sysctl context outstanding so that the periph doesn't go away unexpectedly. Sponsored by: Panasas Reviewed by: scsi@ MFC after: 1 month END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-09T01:02:08.305230Z K 7 svn:log V 8 ANSIfy. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-09T02:03:26.472024Z K 7 svn:log V 158 o) Actually spell __typeof in the normal kernel way, rather than the GCC extension way. [1] o) Fix cvmx-thunder.c build on FreeBSD. Submitted by: [1] bde END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-09T02:04:41.682543Z K 7 svn:log V 155 Copy cvmx-cn3010-evb-hs5.c from the Simple Executive to octeon_ds1337.c, which will implement those functions in a way appropriate for the FreeBSD kernel. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-09T02:07:51.886584Z K 7 svn:log V 94 Add support for a simple realtime clock implemented via the Simple Executive's RTC functions. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-09T05:06:42.832539Z K 7 svn:log V 41 Add a trivial driver for the Octeon RNG. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-09T05:49:02.627557Z K 7 svn:log V 40 Add set of codec IDs. PR: kern/147466 END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-09T07:31:32.163115Z K 7 svn:log V 157 mdoc: spell out theta, the Unicode glyph is hard to read for terminal fonts It is referred to as "theta" later in the document anyway, so stop being fancy. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-09T07:31:41.274976Z K 7 svn:log V 117 MFC r197477 - clean up keys deleted via pthread_key_delete() PR: 135462 Approved by: re (kib) Nod timeout: davidxu END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-06-09T07:36:35.395690Z K 7 svn:log V 74 MFC r197477 - clean up keys deleted via pthread_key_delete() PR: 135462 END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-09T08:53:50.930370Z K 7 svn:log V 184 Remove -mdoc macros from -man page Neither groff nor mandoc render these when in -man mode. This was introduced in r38083 as a local change, therefore no commit to the vendor branch. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-09T09:44:05.625555Z K 7 svn:log V 119 MFC r208800: scsi_cd: pass correct pointer to free() Found with: Coverity Prevent(tm) CID: 2986 Approved by: re(kib) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-09T09:51:16.238498Z K 7 svn:log V 53 MFC r208800: scsi_cd: pass correct pointer to free() END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-09T10:13:59.884240Z K 7 svn:log V 131 MFC r208671: udf_readlink: fix malloc call with uninitialized size parameter Found by: clang static analyzer Approved by: re(kib) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-06-09T10:14:43.661430Z K 7 svn:log V 110 MFC r208671: udf_readlink: fix malloc call with uninitialized size parameter Found by: clang static analyzer END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-06-09T10:36:25.487202Z K 7 svn:log V 75 fix memset() calls. Found with: Coverity Prevent(tm) CID: 8531 END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-09T11:54:46.256229Z K 7 svn:log V 19 Add my playground. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-09T12:06:08.304311Z K 7 svn:log V 595 Import code of new sade in my directory: 1. Partition related code seems done, you can create/add/delete/change partitions and partition schemes. It works with libgeom(3) and uses geom PART class to manage partitions. I think there are needed some #ifdef's for other that i386/amd64 hw platforms, but this will be later. 2. File systems related code are in design state. And i am open for suggestions. At this time sade can get file systems list (only UFS and swap), browse it and it's properties. It does not do any changes on disk. Approved by: kib (mentor, blanket approval) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-09T12:25:57.435910Z K 7 svn:log V 687 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@ Approved by: mav (mentor) MFC after: 1 month END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-09T12:30:40.199980Z K 7 svn:log V 56 Fix typo. Approved by: mav (mentor) MFC after: 1 month END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-09T14:30:21.473243Z K 7 svn:log V 184 MFC r208074: fsirand(8): make WARNS=3 clean - Drop bogus quad_t cast for di_gen, it is a 32bit type - Print di_gen with leading zeros, to get consistent output Approved by: re (kib) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-06-09T14:31:11.888310Z K 7 svn:log V 196 MFC r208753: Add required header for isalnum(3) to quench compiler warnings Forgotten in: r174678 Submitted by: Alexander Best alexbestms at wwu.de Approved by: das Approved by: re (kib) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-06-09T14:54:05.867900Z K 7 svn:log V 103 MFC r208771: Improve wording and fix style. Sponsored by: Sandvine Incorporated Approved by: re (bz) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-06-09T15:29:12.667201Z K 7 svn:log V 225 Add a new function devfs_parent_dirent() for resolving devfs parent directory entry. Use the new function in devfs_fqpn(), devfs_lookupx() and devfs_vptocnp() instead of manually resolving the parent entry. Reviewed by: kib END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-09T16:39:18.203330Z K 7 svn:log V 180 BUG:Turns out we need to use both bit maps to calculate the cum-ack (we were not doing it for the NR-Sack case). With this fix NR-sack should now work correctly. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-09T16:42:42.248370Z K 7 svn:log V 723 Fix serveral bugs all having to do with freeing an sctp_inpcb: 1) Make sure not to remove the flag on the PCB until after the close() caller is back in control with the lock. Otherwise a quickly freeing assoc could kill the inpcb and cause a panic. 2) Make sure all calls to log_closing have not released the locks before calling the log function, we don't want the logging function to crash us due to a freed inpcb. 3) Make sure that when we get to the end, we release all locks (after removing them from view) and as long as we are NOT the inp-kill timer removing the inp, call the callout_drain() function so a racing timer won't later call in and cause a racing crash. MFC after: 1 week END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T17:59:52.962843Z K 7 svn:log V 172 Import LLVM/clang from vendor stripped of docs/ test/ website/ www/ examples/ in llvm/ and/or llvm/contrib/clang/ respectively. Approved by: ed (mentor) Approved by: core END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-09T18:11:12.864859Z K 7 svn:log V 191 Remove unneeded directories. Even though Roman removed these directories in his working copy, they weren't removed from the actual repository, also causing his working copy to be corrupted. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-09T18:46:28.985050Z K 7 svn:log V 68 Record merge for r198262 (done in r208894) Approved by: re (bz) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-09T18:59:07.814300Z K 7 svn:log V 124 Check return value from archive_read_new(). Found with: Coverity Prevent(tm) CID: 8462 Reviewed by: des MFC after: 1 week END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T19:08:17.774870Z K 7 svn:log V 154 Comment out piece of code using __clear_cache() which FreeBSD does not have. This is only used for JIT on ARM so it's harmless. Approved by: ed (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T19:09:49.247424Z K 7 svn:log V 81 Change the default CPU to i486 on i386 (architecture). Approved by: ed (mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-09T19:10:27.886276Z K 7 svn:log V 271 Fix yet another bug in binutils 2.15 in which objcopy could segfault when making a PPC64 ELF file from something that was not an ELF file (e.g. binary input). This caused intermittent crashes while building uathload on PPC64. Reported by: Yannick Bertin, Andreas Tobler END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T19:12:25.727065Z K 7 svn:log V 149 Adjust include paths to FreeBSD. Remove /usr/local/include and add /usr/include/clang/$VERSION (currently VERSION is 2.0). Approved by: ed (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T19:15:58.544392Z K 7 svn:log V 85 Remove the commented out piece that slipped as a mismerge. Approved by: ed (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T19:32:20.432270Z K 7 svn:log V 69 Import the build makefiles for clang/LLVM. Approved by: ed (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T19:57:20.459413Z K 7 svn:log V 75 Hook clang into the build on i386/amd64/powerpc. Approved by: ed (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T20:11:35.582287Z K 7 svn:log V 69 Add WITHOUT_CLANG file with a description. Approved by: ed (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-09T20:13:50.059331Z K 7 svn:log V 43 Regen src.conf.5 Approved by: ed (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-09T20:18:18.501297Z K 7 svn:log V 30 This should be commented out. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-09T20:20:24.365527Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-06-09T21:40:38.098001Z K 7 svn:log V 2091 Apply driver update from LSI. Many thanks to LSI for continuing to support FreeBSD. 1) Timeout ioctl command timeouts. Do not reset the controller if ioctl command completed successfully. 2) Remove G66_WORKAROUND code (this bug never shipped). 3) Remove unnecessary interrupt lock (intr_lock). 4) Timeout firmware handshake for PChip reset (don't wait forever). 5) Handle interrupts inline. 6) Unmask command interrupt ONLY when adding a command to the pending queue. 7) Mask command interrupt ONLY after removing the last command from the pending queue. 8) Remove TW_OSLI_DEFERRED_INTR_USED code. 9) Replace controller "state" with separate data fields to avoid races: TW_CLI_CTLR_STATE_ACTIVE ctlr->active TW_CLI_CTLR_STATE_INTR_ENABLED ctlr->interrupts_enabled TW_CLI_CTLR_STATE_INTERNAL_REQ_BUSY ctlr->internal_req_busy TW_CLI_CTLR_STATE_GET_MORE_AENS ctlr->get_more_aens TW_CLI_CTLR_STATE_RESET_IN_PROGRESS ctlr->reset_in_progress TW_CLI_CTLR_STATE_RESET_PHASE1_IN_PROGRESS ctlr->reset_phase1_in_progress 10) Fix "req" leak in twa_action() when simq is frozen and req is NOT null. 11) Replace softc "state" with separate data fields to avoid races: TW_OSLI_CTLR_STATE_OPEN sc->open TW_OSLI_CTLR_STATE_SIMQ_FROZEN sc->simq_frozen 12) Fix reference to TW_OSLI_REQ_FLAGS_IN_PROGRESS in tw_osl_complete_passthru() 13) Use correct CAM status values. Change CAM_REQ_CMP_ERR to CAM_REQ_INVALID. Remove use of CAM_RELEASE_SIMQ for physical data addresses. 14) Do not freeze/ release the simq with non I/O commands. When it is appropriate to temporarily freeze the simq with an I/O command use: xpt_freeze_simq(sim, 1); ccb->ccb_h.status |= CAM_RELEASE_SIMQ; otherwise use: xpt_freeze_simq(sim, 1); xpt_release_simq(sim, 1); Submitted by: Tom Couch PR: kern/147695 MFC after: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-06-09T22:05:29.229810Z K 7 svn:log V 156 Found by Michael. In cases where we run out of memory (no more inp space) we don't propely NULL the INP on return. Obtained from: tuexen MFC after: 3 Days END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T06:20:26.732253Z K 7 svn:log V 38 Fix typo. Spotted by: Garrett Cooper END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T06:22:10.730657Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T06:48:09.814037Z K 7 svn:log V 66 Bump __FreeBSD_version to indicate the addition of Clang to HEAD. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-06-10T10:17:00.366989Z K 7 svn:log V 63 - Fix style(9) Submitted by: ed Approved by: delphij (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-06-10T10:28:38.429882Z K 7 svn:log V 117 - Axe out signal handling code, the shell will take care of this Suggested by: jilles Approved by: delphij (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T10:39:32.983558Z K 7 svn:log V 35 Properly tag LLVM. Tags are cheap. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T10:39:55.524875Z K 7 svn:log V 19 Finally tag Clang. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T10:42:08.446439Z K 7 svn:log V 23 Use consistent naming. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T10:42:35.786262Z K 7 svn:log V 23 Use consistent naming. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T10:43:16.387500Z K 7 svn:log V 23 Use consistent naming. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T10:43:44.349242Z K 7 svn:log V 23 Use consistent naming. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-06-10T11:01:17.384854Z K 7 svn:log V 44 Cosmetic change to XML - less ugly newlines END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-06-10T11:48:14.275214Z K 7 svn:log V 31 Unconfuse THREAD and SMT flags END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T12:06:35.917368Z K 7 svn:log V 101 Brand our Clang binary. That way it's easier for the Clang folks to keep track of what we're doing. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-06-10T12:15:09.103468Z K 7 svn:log V 111 Disable usage of __DATE__. This ensures that the Clang binary doesn't change checksums every time it's built. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-06-10T14:19:51.327034Z K 7 svn:log V 274 Make the char *n_name member of struct nlist 'const'. This avoids errors or __DECONST() from places with higher WARNS levels. Adjust a local cache variable in ipcs to const as well to compile in the new world order. Suggested by: jhb Reviewed by: jhb, kib, brueffer (man) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-10T16:13:32.911621Z K 7 svn:log V 131 Introduce -fformat-extensions. A local FreeBSD extension used for additional printf modifiers in kernel. Approved by: ed (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-10T16:14:05.041273Z K 7 svn:log V 240 Store interrupt trap frame into struct thread. It allows interrupt handler to obtain both trap frame and opaque argument submitted on registrction. After kernel and all drivers get used to it, legacy hack can be removed. Reviewed by: jhb@ END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-06-10T16:45:30.590041Z K 7 svn:log V 197 Style(9) fixes: * Sort includes * Replace #define to #define * Split declarations and initializations * Split long lines Requested by: kib Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-10T16:56:35.468620Z K 7 svn:log V 1642 Reduce the scope of the page queues lock and the number of PG_REFERENCED changes in vm_pageout_object_deactivate_pages(). Simplify this function's inner loop using TAILQ_FOREACH(), and shorten some of its overly long lines. Update a stale comment. Assert that PG_REFERENCED may be cleared only if the object containing the page is locked. Add a comment documenting this. Assert that a caller to vm_page_requeue() holds the page queues lock, and assert that the page is on a page queue. Push down the page queues lock into pmap_ts_referenced() and pmap_page_exists_quick(). (As of now, there are no longer any pmap functions that expect to be called with the page queues lock held.) Neither pmap_ts_referenced() nor pmap_page_exists_quick() should ever be passed an unmanaged page. Assert this rather than returning "0" and "FALSE" respectively. ARM: Simplify pmap_page_exists_quick() by switching to TAILQ_FOREACH(). Push down the page queues lock inside of pmap_clearbit(), simplifying pmap_clear_modify(), pmap_clear_reference(), and pmap_remove_write(). Additionally, this allows for avoiding the acquisition of the page queues lock in some cases. PowerPC/AIM: moea*_page_exits_quick() and moea*_page_wired_mappings() will never be called before pmap initialization is complete. Therefore, the check for moea_initialized can be eliminated. Push down the page queues lock inside of moea*_clear_bit(), simplifying moea*_clear_modify() and moea*_clear_reference(). The last parameter to moea*_clear_bit() is never used. Eliminate it. PowerPC/BookE: Simplify mmu_booke_page_exists_quick()'s control flow. Reviewed by: kib@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-06-10T17:04:01.949673Z K 7 svn:log V 130 Do not disable edge-triggered interrupts before migration. DELAY() with interrupt disabled highly probable causes interrupt loss. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-06-10T17:49:36.408367Z K 7 svn:log V 91 Untangle g_print_bio(), silencing Coverity. Found with: Coverity Prevent CID: 3566, 3567 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-06-10T17:53:35.355021Z K 7 svn:log V 919 MFC r208862: Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be passed to controller. This could end up with mbuf double free or unexpected NULL pointer dereference in upper stack. To fix the issue, save loaded buffer's length and reinitialize RX descriptors with the saved value whenever bge(4) reuses the loaded RX buffers. While I'm here, increase the number of RX buffers to 512 from 256. This simplifies RX buffer handling as well as giving more RX buffers. Controller supports just fixed number of RX buffers (i.e. 512) and bge(4) used to rely on hope that our CPU is fast enough to keep up with the controller. With this change, bge(4) will use 1MB for RX buffers but I don't think it would cause problems in these days. Reported by: marcel Tested by: marcel Approved by: re (bz) END K 10 svn:author V 3 kan K 8 svn:date V 27 2010-06-10T17:59:47.027808Z K 7 svn:log V 348 Do not require pos parameter to be zero in MAP_ANONYMOUS mmap requests in Linux emulation layer. Linux seems to only require that pos is page-aligned, but otherwise ignores it. Default FreeBSD mmap parameter checking is too strict to allow some Linux binaries to run. tsMuxeR is one example of such a binary. Discussed with: jhb MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-06-10T18:04:25.306429Z K 7 svn:log V 896 MFC r208862: Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be passed to controller. This could end up with mbuf double free or unexpected NULL pointer dereference in upper stack. To fix the issue, save loaded buffer's length and reinitialize RX descriptors with the saved value whenever bge(4) reuses the loaded RX buffers. While I'm here, increase the number of RX buffers to 512 from 256. This simplifies RX buffer handling as well as giving more RX buffers. Controller supports just fixed number of RX buffers (i.e. 512) and bge(4) used to rely on hope that our CPU is fast enough to keep up with the controller. With this change, bge(4) will use 1MB for RX buffers but I don't think it would cause problems in these days. Reported by: marcel Tested by: marcel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-06-10T19:11:00.914258Z K 7 svn:log V 272 MFC r208835: Make sure that interrupt sense settings set after interrupts are enabled are respected. This fixes loading the Apple onboard audio driver (snd_ai2s) as a module after boot, which would previously cause a panic. PR: powerpc/146888 Approved by: re (kensmith) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-06-10T19:38:07.674878Z K 7 svn:log V 95 Don't pass a buffer directly as a printflike format string. Found by: clang MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-10T19:58:54.070287Z K 7 svn:log V 143 MFC rev 208622: The EFI system partition used to make the CD image bootable is running out of space. Bump it up... Approved by: re (kensmith) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-06-10T19:59:23.391567Z K 7 svn:log V 144 Remove Xcode cmake win32 projects unittests from LLVM and clang.xcodeproj INPUTS win32 from clang. Requested by: jkim Approved by: ed (mentor) END