summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFV r243012:mm2012-11-252-21/+127
| | | | | | | | | | | | Illumos 13886:e3261d03efbf 3349 zpool upgrade -V bumps the on disk version number, but leaves the in core version References: https://www.illumos.org/issues/3349 MFC after: 1 week
* Split IP address validation routines and improve error detection for dotted-dteske2012-11-252-37/+91
| | | | | | quad notation in IPv6 addresses. Approved by: adrian (co-mentor) (implicit)
* MFV r242735:mm2012-11-259-23/+84
| | | | | | | | | | | | | | | | | | | | | Illumos 13879:4eac7a87eff2: 3329 spa_sync() spends 10-20% of its time in spa_free_sync_cb() 3330 space_seg_t should have its own kmem_cache 3331 deferred frees should happen after sync_pass 1 3335 make SYNC_PASS_* constants tunable New loader-only tunables: vfs.zfs.sync_pass_deferred_free vfs.zfs.sync_pass_dont_compress vfs.zfs.sync_pass_rewrite References: https://www.illumos.org/issues/3329 https://www.illumos.org/issues/3330 https://www.illumos.org/issues/3331 https://www.illumos.org/issues/3335 MFC after: 2 weeks
* zfs roopool: add support for multi-vdev configurationsavg2012-11-242-41/+151
| | | | | Tested by: madpilot MFC after: 10 days
* spa_import_rootpool: initialize ub_version before calling spa_config_parseavg2012-11-241-0/+8
| | | | | | | | | | | | | ... because the latter makes some decision based on the version. This is especially important for raidz vdevs. This is similar to what spa_load does. This is not an issue for upstream because they do not seem to support using raidz as a root pool. Reported by: Andrei Lavreniyuk <andy.lavr@gmail.com> Tested by: Andrei Lavreniyuk <andy.lavr@gmail.com> MFC after: 6 days
* spa_import_rootpool: do not call spa_history_log_versionavg2012-11-241-2/+0
| | | | | | | | | | | | The call is a NOP, because pool version in spa_ubsync.ub_version is not initialized and thus appears to be zero. If the version is properly set then the call leads to a NULL pointer dereference because the spa object is still under-constructed. The same change was independently made in the upstream as a part of a larger change (4445fffbbb1ea25fd0e9ea68b9380dd7a6709025). MFC after: 6 days
* assert_vop_locked: make the assertion race-free and more efficientavg2012-11-241-3/+6
| | | | | | this is really a minor improvement for the sake of correctness MFC after: 6 days
* opensolaris compat: terminate cmn_err mesages with a new lineavg2012-11-241-0/+1
| | | | MFC after: 6 days
* zfs: create devices/geoms from zvols after receiveing themavg2012-11-241-0/+6
| | | | | | PR: kern/167066 Tested by: Andreas Nilsson <andrnils@gmail.com> MFC after: 13 days
* Whitespace.dteske2012-11-244-4/+4
| | | | Approved by: adrian (co-mentor) (implicit)
* Add IPv6 address-validation routine.dteske2012-11-242-2/+157
| | | | Approved by: adrian (co-mentor) (implicit)
* The is_delim function works on wchar_t characters not ints, update theandrew2012-11-241-2/+2
| | | | | | function to take a wchar_t as it's argument. This fixes the build when wchar_t is not an int, i.e. ARM EABI.
* o) Have the FreeBSD kernel option "INVARIANTS" trickle down into the Simplejmallett2012-11-243-5/+38
| | | | | | Executive code where similar invariant knobs exist. o) Make the Simple Executive's warning function print "WARNING: " on the same line as the warning it is displaying, rather than on a separate line.
* Add a comment which covers what's going on with the 64 bit TSF write.adrian2012-11-241-0/+12
| | | | | | | | | | | | | | | After chatting with the MAC team, the TSF writes (at least on the 11n MACs, I don't know about pre-11n MACs) are done as 64 bit writes that can take some time. So, doing a 32 bit TSF write is definitely not supported. Leave a comment here which explains that. Whilst here, add a comment which outlines that after a reset or TSF write, the TSF write may take a while (up to 50uS) to update. A write or reset shouldn't be done whilst the previous one is in flight. Also (and this isn't currently done) a read shouldn't occur until the SLEEP32_TSF_WRITE_STAT is clear. Right now we're not doing that, mostly because we haven't been doing lots of TSF resets/writes until recently.
* Use bootverbose to control debug printfs from the Cavium Simple Executivejmallett2012-11-243-2/+21
| | | | | code. Also remove an unnecessary CVMX_ENABLE_DEBUG_PRINTS conditional around what is already a cvmx_dprintf.
* o) Add support for specifying a model of Octeon to target at compile-time,jmallett2012-11-245-13/+49
| | | | | | | reducing the number of runtime checks done by the SDK code. o) Group board/CPU information at early startup by subject matter, so that e.g. CPU information is adjacent to CPU information and board information is adjacent to board information.
* Add Raspberry Pi GPIO drivergonzo2012-11-233-0/+660
| | | | Submitted by: Luiz Otavio O Souza
* Style fixesgonzo2012-11-231-4/+3
| | | | | - Remove C++ - style comments - Use proper device name in panic messages
* The tramp stuff isn't dependent on DDB, so always add these to theimp2012-11-231-2/+0
| | | | CLEANFILES list.
* Strip trailing newline.imp2012-11-231-1/+0
|
* Remove "clone manager: " message from verbose dmesg. It is pointless tomav2012-11-231-7/+0
| | | | print values that are statically hardcoded few lines above that.
* Move sndbuf_setmap() output about buffer addresses from the general verbosemav2012-11-231-1/+1
| | | | output to sound verbose output, where all other sndbuf messages live.
* Document sin6_scope_id handling change and bump FreeBSD_version to 1000025.hrs2012-11-232-1/+9
|
* - Use sin6_scope_id instead of sin6_addr.s6_addr[2].hrs2012-11-231-17/+11
| | | | - Support a flag for ALLOW/BLOCK in source-specific multicast (RFC 4604).
* Document that getpeername(2) and getsockname(2) can fail with EINVAL.kevlo2012-11-232-0/+8
| | | | Reviewed by: glebius
* According to r221124, the default NFS server and client are no longerkevlo2012-11-231-2/+2
| | | | experimental.
* Catch up with r243046. KTR buffer can be changed at runtime.kevlo2012-11-231-1/+1
|
* Remove no longer needed quirk.hselasky2012-11-233-4/+0
| | | | Submitted by: Mark Johnston
* Now that we have working USB keyboard add ukbd to the syscons-enablinggonzo2012-11-231-0/+1
| | | | part of config
* Use a 64 bit TSF write to update the TSF adjust, rather than a 32 bitadrian2012-11-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | | TSF write. The TSF_L32 update is fine for the AR5413 (and later, I guess) 11abg NICs however on the 11n NICs this didn't work. The TSF writes were causing a much larger time to be skipped, leading to the timing to never converge. I've tested this 64 bit TSF read, adjust and write on both the 11n NICs and the AR5413 NIC I've been using for testing. It works fine on each. This patch allows the AR5416/AR9280 to be used as a TDMA member. I don't yet know why the AR9280 is ~7uS accurate rather than ~3uS; I'll look into it soon. Tested: * AR5413, TDMA slave (~ 3us accuracy) * AR5416, TDMA slave (~ 3us accuracy) * AR9280, TDMA slave (~ 7us accuracy)
* Fix up the nexttbtt -> TSF delta calculation to not wrap ridiculouslyadrian2012-11-231-1/+15
| | | | | | | | | | | | | | | | | | on the 802.11n NICs. The 802.11n NICs return a TBTT value that continues far past the 16 bit HAL_BEACON_PERIOD time (in TU.) The code would constrain nextslot to HAL_BEACON_PERIOD, but it wasn't constraining nexttbtt - the pre-11n NICs would only return TU values from 0 -> HAL_BEACON_PERIOD. Thus, when nexttbtt exceeded 64 milliseconds, it would not wrap (but nextslot did) which lead to a huge tsfdelta. So until the slot calculation is converted to work in TSF rather than a mix of TSF and TU, "make" the nexttbtt values match the TU assumptions for pre-11n NICs. This fixes the crazy deltatsf calculations but it doesn't fix the non-convergent tsfdelta issue. That'll be fixed in a subsequent commit.
* Add the HAL wrapper for settsf64.adrian2012-11-231-0/+2
|
* Implement a HAL method to set a 64 bit TSF value.adrian2012-11-234-0/+18
| | | | TODO: implement it (and test) for the AR5210/AR5211.
* Multiple fixes for BCM2835 framebuffergonzo2012-11-231-31/+149
| | | | | | - Get resolution settings from FDT blob - Properly handle 24 and 16 bits per pixel - Add colors support for text console
* Use MIPS_PHYS_TO_DIRECT_UNCACHED rather than a homegrown version which is notjmallett2012-11-231-3/+3
| | | | compatible with 32-bit kernels.
* Look for MAC address in FDT tree nodes that are usb network devices andgonzo2012-11-231-1/+70
| | | | have either "mac-address" or "local-mac-addrress" property.
* Make FDT blob compatible with Raspberry Pi firmware.gonzo2012-11-231-11/+22
| | | | | | | | | Rasperry Pi firmware has a set of hardcoded pathes it uses to fill FDT with system-specific information like display resolution, memory size, UART and SDHCI clocks, ethernet MAC address. Handle two of them: - Add placeholder for ethernet MAC address - Move display node out of "axi" node
* MFS security patches which seem to have accidentally not reached HEAD:cperciva2012-11-232-2/+11
| | | | | | | | | | | Fix insufficient message length validation for EAP-TLS messages. Fix Linux compatibility layer input validation error. Security: FreeBSD-SA-12:07.hostapd Security: FreeBSD-SA-12:08.linux Security: CVE-2012-4445, CVE-2012-4576 With hat: so@
* acpi_cpu: use fixed resource ids for cx state i/o resourcesavg2012-11-221-11/+11
| | | | | | | | | | ... instead of the ever increasing ones. Also, do free old resources when allocating new ones when cx states change. Tested by: Tom Lislegaard <Tom.Lislegaard@proact.no> Obtained from: jkim MFC after: 1 week
* remove vop_lookup_pre and vop_lookup_postavg2012-11-222-12/+0
| | | | | Suggested by: kib MFC after: 5 days
* [mdoc] remove hard sentence breaks.pluknet2012-11-221-3/+6
| | | | MFC after: 3 days
* core(5) references sysctl debug.num_cores, but it is really debug.ncores.pluknet2012-11-221-2/+2
| | | | | PR: docs/173831 MFC after: 1 week
* - Remove reset of vpp pointer in some places as long as it's not reallydavide2012-11-223-5/+0
| | | | | | | | useful and has the side effect of obfuscating the code a bit. - Remove spurious references to simple_lock. Reported by: attilio [1] Sponsored by: iXsystems inc.
* Until now, smbfs_fullpath() computed the full path starting from thedavide2012-11-225-60/+63
| | | | | | | | | | | | | vnode and following back the chain of n_parent pointers up to the root, without acquiring the locks of the n_parent vnodes analyzed during the computation. This is immediately wrong because if the vnode lock is not held there's no guarantee on the validity of the vnode pointer or the data. In order to fix, store the whole path in the smbnode structure so that smbfs_fullpath() can use this information. Discussed with: kib Reported and tested by: pho Sponsored by: iXsystems inc.
* If .PARSEDIR is defined we have bmake, and CTFCONVERT_CMD can be empty.sjg2012-11-221-1/+1
| | | | | PR: 172440 Approved by: marcel (mentor)
* INSTALL_AS_USER: output of id -un will never match 0 so use id -usjg2012-11-221-2/+5
| | | | | | and USER for BINOWN etc. Approved by: marcel (mentor)
* Use %u for unsigned serial numberemaste2012-11-221-1/+1
|
* Fix uplcom clear stall logic for PL2303HX.hselasky2012-11-211-8/+15
| | | | | Submitted by: Mark Johnston MFC after: 1 week
* Revert r243228. This commit appears to cause more trouble thancrees2012-11-211-1/+1
| | | | | it was designed to avoid; the issue described in the PR was no longer an issue anyway.
* Print correct unit number when attaching preloaded memory disks.jh2012-11-211-6/+7
| | | | Retire now unused mdunits variable.
OpenPOWER on IntegriCloud