summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* x86: detect mwait capabilities and extensions, when presentavg2013-07-287-0/+49
| | | | | Reviewed by: kib (earlier amd64-only version) MFC after: 2 weeks
* Rename the existing std.imx and imx.files to std.imx51 and files.imx51, toian2013-07-283-2/+2
| | | | pave the way for adding imx6 support.
* Fix compilation when debugging is disabled.adrian2013-07-281-2/+1
|
* Fix printf of seconds for systems where time_t is 64 bits.ian2013-07-281-2/+3
|
* Commit the missing header change.adrian2013-07-281-0/+2
|
* - Add const-qualifiers to the arguments of isonum_*().marius2013-07-281-13/+22
| | | | | - According to ISO 9660 7.1.2, isonum_712() should return a signed value. - Try to get isonum_*() closer to style(9).
* When creation of the v_pollinfo raced and our instance of vpollinfokib2013-07-281-4/+11
| | | | | | | | | | | | | | must be destroyed, knlist_clear() and seldrain() calls could be avoided, since vpollinfo was not used. More, the knlist_clear() calling protocol requires the knlist locked, which is not true at the call site. Split the destruction into the helper destroy_vpollinfo_free(), and call it when raced, instead of destroy_vpollinfo(). Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 days
* Remove EOL whitespace.joel2013-07-281-1/+1
|
* mdoc and language improvements.joel2013-07-281-14/+29
|
* Update subversion-1.8.0 -> 1.8.1. Update supportingpeter2013-07-28171-19882/+6068
|\ | | | | | | | | | | | | components: apr-1.4.6 -> 1.4.8 and apr-util-1.4.1 -> 1.5.2. This is a post point-zero bug-fix / fix-sharp-edges release, including some workarounds for UTF-8 for people who haven't yet turned on WITH_ICONV.
| * Import Apache apr-util-1.5.2 into vendor staging area.peter2013-07-2859-17913/+3001
| |
* | Refactor the VAP transmit path code into a utility function that bothadrian2013-07-282-217/+155
| | | | | | | | | | | | | | | | | | | | the normal and the mesh transmit paths can use. The API is a bit horrible because it both consumes the mbuf and frees the node reference regardless of whether it succeeds or not. It's a hold-over from how the code behaves; it'd be nice to have it not free the node reference / mbuf if TX fails and let the caller decide what to do.
* | DTrace: re-apply r249426 now that the underlying issues have been solved.pfg2013-07-2817-23/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge change from illumos: 3519 DTrace fails to resolve const types from fbt 3520 dtrace internal error -- token type 316 is not a valid D compilation token 3521 clean up dtrace unit tests Illumos Revision: e98f46c Reference: https://www.illumos.org/issues/3519 https://www.illumos.org/issues/3520 https://www.illumos.org/issues/3521 Tested by: Fabian Keil Obtained from: Illumos MFC after: 1 month
* | DTrace: re-merge remainder of r249367 (original from Illumos).pfg2013-07-2834-274/+813
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring back some important fixes from Illumos: 3022 DTrace: keys should not affect the sort order when sorting by value 3023 it should be possible to dereference dynamic variables 3024 D integer narrowing needs some work We particularly avoid the LD_NOLAZYLOAD changes that Illumos made as those don't apply to FreeBSD and were causing problems in interactive mode. Illumos Revision: 13758:23432da34147 Reference: https://www.illumos.org/issues/3022 https://www.illumos.org/issues/3023 https://www.illumos.org/issues/3024 MFC after: 1 month Tested by: markj
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-252-25/+25
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 14060:aeb4e8fef072 Illumos ZFS issues: 3829 fix for 3740 changed behavior of zfs destroy/hold/release ioctl
| * | Update vendor/illumos/dist to illumos-gate 14056:812b3d1ca0a0delphij2013-06-251-0/+11
| | | | | | | | | | | | | | | Illumos ZFS issues: 3818 zpool status -x should report pools with removed l2arc devices
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-127-137/+161
| | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 14052:1a272fe1337b Illumos ZFS issues: 3740 Poor ZFS send / receive performance due to snapshot hold / release processing
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 14050:0c8d9998d589 Illumos ZFS issues: 3747 txg commit callbacks don't work
| * | Update vendor/illumos/dist to illumos-gate 14049:4a7f6353bcf0delphij2013-06-112-24/+29
| | | | | | | | | | | | | | | Illumos ZFS issues: 3745 zpool create should treat -O mountpoint and -m the same
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-06-111-0/+5
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 14045:9475b3fef59d Illumos ZFS issues: 3741 zfs needs better comments
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2013-05-231-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | to illumos-gate 14031:e4eb37f33d60 Illumos ZFS issues: 3699 zfs hold or release of a non-existent snapshot does not output error 3739 cannot set zfs quota or reservation on pool version < 22
* | | Synchronize device cache on close only if there were some write operations.mav2013-07-272-10/+24
| | | | | | | | | | | | | | | | | | While these operations are not really needed otherwise, at least for SCSI they may cause extra errors if some other initiator holds write exclusive reservation on the LUN (SYNCHRONIZE CACHE handled as "write" operation).
* | | Provide some examples for watchdogd usage.alfred2013-07-271-1/+76
| | |
* | | Oops, revert unwanted part of r253721.mav2013-07-271-2/+0
| | |
* | | Detect unsupported PREVENT ALLOW MEDIUM REMOVAL and SYNCHRONIZE CACHE(10)mav2013-07-271-0/+24
| | | | | | | | | | | | to not spam devices with useless commands and logs with errors.
* | | Use kern_ioctl() rather than ioctl() for testing the FBT provider, since themarkj2013-07-277-12/+12
| | | | | | | | | | | | latter doesn't exist in FreeBSD. All the tests under fbtprovider pass now.
* | | Fix watchdog pretimeout.alfred2013-07-275-21/+301
| | | | | | | | | | | | | | | | | | | | | | | | The original API calls for pow2ns, however the new APIs from Linux call for seconds. We need to be able to convert to/from 2^Nns to seconds in both userland and kernel to fix this and properly compare units.
* | | Put in commented-out version of beastie menu commandskientzle2013-07-271-0/+4
| | | | | | | | | | | | so that non-i386 users can easily experiment with this.
* | | Install Forth infrastructure along with ubldr.kientzle2013-07-271-1/+14
| | | | | | | | | | | | | | | Note: loader.rc is installed as loader.rc.sample so that by default, none of this is actually used.
* | | update ciss debugger command to iterate over multiple raid controllers up tosbruno2013-07-271-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | max controllers supported PR: kern/179932 Reviewed by: Markus Gebert <markus.gebert@hostpoint.ch> MFC after: 2 weeks Sponsored by: Yahoo! Inc.
* | | MFgem r251960: re-check the mgt device object for the requested pagekib2013-07-271-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | after the object was relocked. Tested by: dumbbell Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | | The pmap_qenter() and pmap_qremove() perform TLB invalidation on itskib2013-07-271-10/+0
| | | | | | | | | | | | | | | | | | | | | own, no need to call pmap_invalidate_range() one more time. Noted by: alc MFC after: 1 week
* | | At some point after stable/7 the ACPI and ISA interfaces to the IPMI controllersbruno2013-07-272-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no longer have the parent in the device tree. This causes the identify function in ipmi_isa.c to attempt to probe and poke at the ISA IPMI interface Move the check for ipmi_attached out of the ipmi_isa_attach function and into the ipmi_isa_identify function. Remove the check of the device tree for ipmi devices attached. This probing appears to make Broadcom management firmware on Dell machines crash and emit NMI EISA warnings at various times requiring power cycles of the machines to restore. Bump MAX_TIMEOUT to 6 seconds as a hack for super slow IPMI interfaces that need longer to respond to our intial probes on startup. Tested on Dell R410, R510, R815, HP DL160G6 This is MFC candidate for 9.2R Reviewed by: peter MFC after: 2 weeks Sponsored by: Yahoo! Inc.
* | | - Set the System Identifier in the Primary Volume Descriptor to FreeBSDmarius2013-07-272-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than NetBSD. - Correctly set the Expiration Time in the Primary Volume Descriptor; according to ISO 9660 8.4.26.1 unspecified date and time are denoted by the digit 0 in RBP 1 to 16 but the number 0 in RBP 17. [1] - Merge iso9660_rrip.c rev. 1.11 from NetBSD: name_len should be read as unsigned byte. [2] Note: This is according to ISO 9660 9.1.10. - Rock Ridge TF entries should use a length of 5, because after the 4 bytes of generic SUSP header there is one byte of flags. See typedef of ISO_RRIP_TF in iso9660_rrip.h. [1] Submitted by: Thomas Schmitt [1] Obtained from: NetBSD [2] MFC after: 3 days
* | | Introduce 3 seconds timeout on `graid stop` command (mostly with -f flag).mav2013-07-272-11/+8
| | | | | | | | | | | | | | | Since completion waiting goes in g_event thread, it may cause GEOM deadlock if consumer on top (for example, ZFS) uses g_event thread for closing.
* | | Implement some function tracing.adrian2013-07-271-9/+293
| | | | | | | | | | | | Submitted by: Cedric GROSS <cg@cgross.info>
* | | Display a string instead of a numeric code in the linkdnrc sysctl.np2013-07-271-2/+34
| | | | | | | | | | | | Submitted by: gnn@
* | | Expand the list of devices claimed by cxgbe(4).np2013-07-271-11/+12
| | |
* | | Improve page LRU quality and simplify the logic.jeff2013-07-261-71/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't short-circuit aging tests for unmapped objects. This biases against unmapped file pages and transient mappings. - Always honor PGA_REFERENCED. We can now use this after soft busying to lazily restart the LRU. - Don't transition directly from active to cached bypassing the inactive queue. This frees recently used data much too early. - Rename actcount to act_delta to be more consistent with use and meaning. Reviewed by: kib, alc Sponsored by: EMC / Isilon Storage Division
* | | Fix Denial of Service vulnerability in named(8). [13:07]delphij2013-07-261-1/+1
| | | | | | | | | | | | | | | | | | Security: CVE-2013-4854 Security: FreeBSD-SA-13:07.bind Approved by: so
* | | Add support for packet-sniffing tracers to cxgbe(4). This works withnp2013-07-2610-23/+825
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all T4 and T5 based cards and is useful for analyzing TSO, LRO, TOE, and for general purpose monitoring without tapping any cxgbe or cxl ifnet directly. Tracers on the T4/T5 chips provide access to Ethernet frames exactly as they were received from or transmitted on the wire. On transmit, a tracer will capture a frame after TSO segmentation, hw VLAN tag insertion, hw L3 & L4 checksum insertion, etc. It will also capture frames generated by the TCP offload engine (TOE traffic is normally invisible to the kernel). On receive, a tracer will capture a frame before hw VLAN extraction, runt filtering, other badness filtering, before the steering/drop/L2-rewrite filters or the TOE have had a go at it, and of course before sw LRO in the driver. There are 4 tracers on a chip. A tracer can trace only in one direction (tx or rx). For now cxgbetool will set up tracers to capture the first 128B of every transmitted or received frame on a given port. This is a small subset of what the hardware can do. A pseudo ifnet with the same name as the nexus driver (t4nex0 or t5nex0) will be created for tracing. The data delivered to this ifnet is an additional copy made inside the chip. Normal delivery to cxgbe<n> or cxl<n> will be made as usual. /* watch cxl0, which is the first port hanging off t5nex0. */ # cxgbetool t5nex0 tracer 0 tx0 (watch what cxl0 is transmitting) # cxgbetool t5nex0 tracer 1 rx0 (watch what cxl0 is receiving) # cxgbetool t5nex0 tracer list # tcpdump -i t5nex0 <== all that cxl0 sees and puts on the wire If you were doing TSO, a tcpdump on cxl0 may have shown you ~64K "frames" with no L3/L4 checksum but this will show you the frames that were actually transmitted. /* all done */ # cxgbetool t5nex0 tracer 0 disable # cxgbetool t5nex0 tracer 1 disable # cxgbetool t5nex0 tracer list # ifconfig t5nex0 destroy
* | | Merge ACPICA 20130725.jkim2013-07-2624-634/+1533
| | |
* | | Make the BSD-licensed patch the default.pfg2013-07-265-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BSD-licensed patch(1) command has matured and it's behaviour can be considered equivalent to the older version of GNU patch in the tree. The switch has been extensively tested [1] and only two ports presented regressions, which have since been fixed. For convenience a new WITH_GNU_PATCH option is available, but it will likely be removed in the near future. PR: 176313 Approved by: portmgr
* | | Reserve room for ioctls that aren't in this copy of the driver yet.np2013-07-261-0/+3
| | |
* | | Break out the static, global LACP debug options into a per-lagg unitadrian2013-07-264-19/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sysctl tree. * Create a net.link.lagg.X.lacp node * Add a debug node under that for tx_test and rx_test * Add lacp_strict_mode, defaulting to 1 tx_test and rx_test are still a bitmap of unit numbers for now. At some point it would be nice to create child nodes of the lagg bundle for each sub-interface, and then populate those with various knobs and statistics. Sponsored by: Netflix
* | | - Use kmem_malloc rather than kmem_alloc() for GDT/LDT/tss allocations etc.jeff2013-07-262-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | This eliminates some unusual uses of that API in favor of more typical uses of kmem_malloc(). Discussed with: kib/alc Tested by: pho Sponsored by: EMC / Isilon Storage Division
* | | Implement certificate verification, and many other SSL-relateddes2013-07-266-51/+905
| | | | | | | | | | | | | | | | | | | | | | | | imrovements; complete details in the PR. PR: kern/175514 Submitted by: Michael Gmelin <freebsd@grem.de> MFC after: 1 week
* | | fix UPDATING entry in r253677avg2013-07-261-7/+7
| | | | | | | | | | | | | | | MFC after: 3 weeks X-MFC with: r253677
* | | Style issue in r253661.pfg2013-07-261-1/+1
| | | | | | | | | | | | | | | Pointed out by: avg MFC after: 1 month
* | | make path matching in devfs rules consistent and sane (and safer)avg2013-07-262-24/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change path matching had the following features: - for device nodes the patterns were matched against full path - in the above case '/' in a path could be matched by a wildcard - for directories and links only the last component was matched So, for example, a pattern like 're*' could match the following entries: - re0 device - responder/u0 device - zvol/recpool directory Although it was possible to work around this behavior (once it was spotted and understood), it was very confusing and contrary to documentation. Now we always match a full path for all types of devfs entries (devices, directories, links) and a '/' has to be matched explicitly. This behavior follows the shell globbing rules. This change is originally developed by Jaakko Heinonen. Many thanks! PR: kern/122838 Submitted by: jh MFC after: 4 weeks
OpenPOWER on IntegriCloud