summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* IFC @ r253461grehan2013-07-19608-8817/+48670
|\
| * Correct ELF note decoding for non-core filesemaste2013-07-191-3/+16
| | | | | | | | Requested by: kib
| * Overhaul error, information, and debug logging.scottl2013-07-198-286/+356
| | | | | | | | | | Obtained from: Netflix MFC after: 3 days
| * Use _PATH_DEV (from paths.h) for the "/dev/" string, rather thanjimharris2013-07-182-2/+4
| | | | | | | | | | | | | | | | | | hard-coding it. Sponsored by: Intel Suggested by: kib Reviewed by: kib, carl MFC after: 3 days
| * Simplify open_dev() by returning errno values rather than just 0 or 1.jimharris2013-07-182-15/+4
| | | | | | | | | | | | | | | | | | Also remove stat() call and just rely on errno from open() call to discern whether dev node exists or not. Sponsored by: Intel Reviewed by: kib, carl MFC after: 3 days
| * Close uniq(1) in the capability mode sandbox and limit descriptors usingpjd2013-07-181-0/+43
| | | | | | | | capability rights.
| * - Make localtime(3) to work in sandbox.pjd2013-07-181-5/+28
| | | | | | | | - Move strerror(3) initialization to its own function.
| * Decode PCIe ASPM capability and status.jkim2013-07-181-20/+38
| |
| * Correct alignment in note outputemaste2013-07-181-1/+1
| |
| * Remove accidentally cut-and-pasted colonsemaste2013-07-181-7/+7
| |
| * Sanity-check the vm exitcode, and exit the process if it's out-of-boundsgrehan2013-07-181-2/+11
| | | | | | | | | | | | or there is no registered handler. Submitted by: Bela Lubkin bela dot lubkin at tidalscale dot com
| * Handle FreeBSD-specific ELF notesemaste2013-07-182-3/+50
| | | | | | | | | | | | | | | | | | | | | | | | Add a function to return the specific type, when the note's Name field is 'FreeBSD'. r249558 added FreeBSD-specific ELF note types that reuse type numbers of existing generic / Linux types. This caused 'readelf -n' to produce incorrect output on FreeBSD core files. Sponsored by: DARPA, AFRL MFC after: 3 days
| * Properly handle I/O windows in bridges with the ISA enable bit set. Thesejhb2013-07-184-91/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | beasts still exist unfortunately. More details can be found in other references, but the short version is that bridges with this bit set ignore I/O port ranges that alias to valid ISA I/O port ranges. In the driver this requires not allocating these alias regions from the parent device (so they are free to be acquired by ISA devices), and ensuring no child devices use resources from these alias regions. - Change the pcib_window structure to allow for an array of backing resources rather than a single resource and update the existing code to cope with this. Some of the coping requires using the saved base and limit values in pcib_window instead of using rman operations on the backing resource. - Add special handling for allocating and adjusting the I/O port window of an ISA-enabled bridge to only allocate the non-alias ranges and add those to the associated resource manager. - Reject I/O port allocations for a fixed request that conflicts with an ISA alias range. - Remove the "no prefected decode" verbose printf during boot. The absence of a "prefetched decode" line is sufficient. - Replace the "subtractively decoded bridge" verbose printf with a single printf that lists all the "special" decoding modes of a bridge: ISA, subtractive, and VGA. - Add a custom bus_release_resource() method to the PCI bus driver so that it can properly free resources for I/O windows of PCI-PCI bridges. (These resources are not stored in the bridge device's resource list.) PR: misc/179033 MFC after: 2 weeks
| * Rework the previous fix for the IB vs Ethernet sysctl handler to be morejhb2013-07-182-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generic and apply to all sysfs attributes: - Use sysctl_handle_string() instead of reimplementing it. - Remove trailing newline from the current value before passing it to userland and append a newline to the new string value before passing it to the attribute's store function. - Don't leak the temporary buffer if the first error check triggers. - Revert earlier change to mlx4 port mode handler. PR: kern/174213 Submitted by: Garrett Cooper Reviewed by: Shakar Klein @ Mellanox MFC after: 1 week
| * Include stdint.h when use intmax_t.kevlo2013-07-181-1/+1
| | | | | | | | Reported by: bde
| * Minor mdoc fixes.joel2013-07-181-10/+10
| |
| * - Fix a bug in ipv6_prefix_IF. It did not work with the 64-bit prefixhrs2013-07-181-16/+4
| | | | | | | | | | | | | | | | | | | | notation like 2001:db8:1:1. - Use eui64 flag in ifconfig(8) instead of network6_getladdr()[*] for interface indentifier part. Suggested by: ume [*] MFC after: 3 days
| * Fix a gcc warning.hrs2013-07-181-1/+4
| | | | | | | | Pointy hat to: hrs
| * Replace PRId64 with "jd" in a printf call. Cast the corresponding value tokevlo2013-07-181-1/+1
| | | | | | | | | | | | intmax_t, because the original type is off_t. Reported by: bde
| * Manually merge part of vendor import r238583 from Illumos.delphij2013-07-182-6/+10
| | | | | | | | | | | | | | | | | | Illumos changeset: 13680:2bd022a765e2 Illumos ZFS issue: 2671 zpool import should not fail if vdev ashift has increased MFC after: 3 days
| * Major rework of the virtio code. Split out common parts, and modifygrehan2013-07-175-961/+1408
| | | | | | | | | | | | | | the net/block devices accordingly. Submitted by: Chris Torek torek at torek dot net Reviewed by: grehan
| * Reload font when syscons(4) is resuming without switching mode.jkim2013-07-171-27/+34
| | | | | | | | | | Reported by: adrian (more than a year ago) Prodded by: adrian (less than a month ago)
| * Use pause() instead of DELAY() when polling for completion of adminjimharris2013-07-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | commands during controller initialization. DELAY() does not work here during config_intrhook context - we need to explicitly relinquish the CPU for the admin command completion to get processed. Sponsored by: Intel Reported by: Adam Brooks <adam.j.brooks@intel.com> Reviewed by: carl MFC after: 3 days
| * Define constants for the lengths of the serial number, model numberjimharris2013-07-174-9/+20
| | | | | | | | | | | | | | | | | | | | | | and firmware revision in the controller's identify structure. Also modify consumers of these fields to ensure they only use the specified number of bytes for their respective fields. Sponsored by: Intel Reviewed by: carl MFC after: 3 days
| * Always initialize fd to 0 in open_dev().jimharris2013-07-171-0/+2
| | | | | | | | | | | | Sponsored by: Intel Reviewed by: carl MFC after: 3 days
| * Add bus_dmamap_load_bio and bus_dmamap_load_ccb to bus_dma(9).jimharris2013-07-171-3/+63
| | | | | | | | | | | | Sponsored by: Intel Reviewed by: kib MFC after: 3 days
| * In this GRN, Marcel Moolenaar overhauled the logic for mountingrodrigc2013-07-172-1/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the root file system on bootup: |------------------------------------------------------------------------ |r214006 | marcel | 2010-10-17 22:01:53 -0700 (Sun, 17 Oct 2010) | 20 lines | | Re-implement the root mount logic using a recursive approach, whereby each |root file system (starting with devfs and a synthesized configuration) can |contain directives for mounting another file system as root. |------------------------------------------------------------------------ This commit adds a mount.conf(8) man page which documents the root mount logic. mount.conf(8) also provides some examples for the /.mount.conf file, which can be used to change the root mount behavior. Reviewed by: marcel bjk
| * Use NET_RT_DUMP.0.FIB leaf node instead of setting td_proc->p_fibnum.hrs2013-07-171-12/+2
| |
| * - Add support of MK_INET_SUPPORT=no.hrs2013-07-172-268/+278
| | | | | | | | | | | | | | | | | | | | | | | | - Fix a bug in sodump() which prevented struct sockaddr_in6 from displaying. - Fix a bug in in fiboptlist_csv() which could cause free() of uninitialized pointer. - Style cleanups: . Add missing "static" keywords. . Use an array of struct sockaddr_storage instead of sockunion for rtmsg. . Use err() and errx() instead of pair of fprintf(stderr, "...") + exit(1). . Use nitems() macro. . Various style(9) fixes.
| * Do not overwrite the new UTF-8 files with the old ISO onebapt2013-07-171-5/+2
| |
| * Simplify keywords.h generation.hrs2013-07-171-9/+5
| |
| * Remove check forbidding requests that would result in one port being setjhb2013-07-171-3/+0
| | | | | | | | | | | | | | | | to Ethernet and the subsequent port being set to IB. Submitted by: Shakar Klein @ Mellanox Tested by: Morgan Robertson <morganrobertson@gmail.com> MFC after: 1 week
| * Fix typo.glebius2013-07-171-1/+1
| | | | | | | | Submitted by: ae
| * Improve example, so that it doesn't dump core when example moduleglebius2013-07-171-2/+6
| | | | | | | | isn't loaded.
| * Change Eu to the proper UTF-8 symbol this was missed in r253414bapt2013-07-171-1/+1
| |
| * Clear the vnode knotes before destroying vpollinfo.kib2013-07-171-0/+2
| | | | | | | | | | | | Reported and tested by: Patrick Lamaiziere <patfbsd@davenulle.org> Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
| * For all european contries using the euro currency, add an UTF-8 definition ↵bapt2013-07-1712-0/+407
| | | | | | | | | | | | with the proper Euro symbol MFC after: 1 week
| * [fix to r253380] __setenv: be explicit about placing '=' after nameavg2013-07-171-2/+1
| | | | | | | | | | | | | | | | | | | | This should a regression introduced in r253380 if malloc'ed memory happens to have '=' at the right place. Reported by: ache Pointyhat to: me (avg) MFC after: 1 day X-MFC with: r253380
| * Implement workaround for BCM5719/BCM5720 TX hang.yongari2013-07-172-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The read DMA request logic operation is based on having sufficient available space in the transmit data buffer (TXMBUF) before a read DMA can be requested. There are four read DMA channels that use the TXMBUF, and the logic checks if the available free space in the TXMBUF is large enough for all the data in the four Send Buffers for which buffer descriptors have been fetched. The Enable_Request signal is asserted only if the free TXMBUF space is larger than the sum of the four DMA length registers. The power-up default value of BGE_RDMA_LSO_CRPTEN_CTRL register bit 25 (bit 21 on BCM5720) is zero, which selects the DMA length registers to connect to the input of the adder block. The DMA length registers are asynchronously reset following BCM5719/BCM5720 power-up, and due to the lack of synchronous deassertion of the length registers reset signal these resisters may contain uninitialized values following the reset deassertion. In the case of the failure the uninitialized DMA length register values added up to more than the TXMBUF size, which prevented the assertion of the Enable_Request signal and any subsequent read DMA to start. This lockup condition is the root cause of failing to generate any transmit traffic. To workaround the issue, select alternate output of multiplexers and transmit the first four Ethernet frames. This overwrites the DMA length registers with valid values. Reported by: Geans Pin <geanspin@broadcom.com> Reviewed by: Geans Pin <geanspin@broadcom.com>
| * Specify a timeout for the PL block.np2013-07-171-1/+4
| | | | | | | | MFC after: 3 days
| * Avoid magic constant.yongari2013-07-172-7/+9
| | | | | | | | No functional change.
| * o TxD ring requires 8 bytes alignment to work so change alignmentyongari2013-07-171-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constraint to 8. Previously it may have triggered watchdog timeouts. o Check whether interrupt is ours or not. o Enable interrupts before attemping to transmit queued packets. This will slightly improve TX performance. o No need to clear IFF_DRV_OACTIVE in a loop. AE_FLAG_TXAVAIL is used to know whether there are enough available TxD ring space. o Added missing bus_dmamap_sync(9) in ae_rx_intr() and rearranged code to avoid unncessary register access. o Make sure to clear TxD, TxS, RxD rings in driver initialization. Otherwise some data in these rings could be interpreted as 'updated' which in turn will advance internally maintained pointers and can trigger watchdog timeouts. PR: kern/180382
| * Add missing headers.kevlo2013-07-172-0/+3
| |
| * Use PRId64 instead of %gd to print an int64_t.kevlo2013-07-171-1/+2
| |
| * Fix vfp:andrew2013-07-161-16/+15
| | | | | | | | | | | | | | | | | | - We should check is_d32 to see howmany registers we have - In vfp_restore mark vfpscr as an output register Without the second part it appears we can return the incorrect value from vfp_bounce if the VFP condition flags are set as it may override the register holding the return value.
| * Add a tunable to force disable MSI use for xhci(4).kib2013-07-161-7/+12
| | | | | | | | | | | | Requested and tested by: delphij Sponsored by: The FreeBSD Foundation MFC after: 3 days
| * Regen.andrew2013-07-161-4/+4
| |
| * 2 years, 10 months, 22 days after the projects/arm_eabi branch was createdandrew2013-07-166-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make the ARM EABI the default ABI on arm, armeb, armv6 and armv6eb. This is intended to be the default ABI from now on with the old ABI to be retired. Because of this all users are strongly suggested to upgrade to the ARM EABI. As the two ABIs are incompatible it is unlikely upgrading in place will work. Users should perform a full backup and either use an external machine to upgrade, or install to an alternative location on their media. They should also reinstall all ports or packages when these are available. The only known issues are: - pkg incorrectly detects the ABI. This is fixed upstream, and will a patch will be made to the port. - GDB can have issues with executables built with clang. __FreeBSD_version has been bumped.
| * Free the non-fatal "timestamp missing" debug string manually as it isandre2013-07-161-1/+4
| | | | | | | | | | | | not covered by the catch-all free for the error cases. Found by: Coverity
| * Do not throw an error if the user requests to activate the image fromjimharris2013-07-161-1/+1
| | | | | | | | | | | | | | | | | | an empty firmware slot, as long as the user has specified a firmware image to download into the empty firmware slot. Sponsored by: Intel Reported by: Joe Golio <joseph.golio@emc.com> MFC after: 3 days
OpenPOWER on IntegriCloud