summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-04-1322-345/+292
| | | | Sponsored by: The FreeBSD Foundation
* MFHgjb2016-04-1387-10450/+29933
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * fmt(1): for pointers use NULL instead of 0pfg2016-04-131-4/+3
| | | | | | | | While here clean excessive not lint comment indentation.
| * Apply revisions 1.4 and 1.5 from ldapd's ber.c to ypldap's copy, so it canaraujo2016-04-131-0/+9
| | | | | | | | | | | | deal with messages that haven't been fully read from the server yet. Obtained from: OpenBSD r1.11
| * Try harder to find svnswills2016-04-131-8/+9
| | | | | | | | | | | | | | While here, elliminate last references to CVS_UPDATE and SUP_UPDATE Reviewed by: gjb Approved by: gjb
| * fmt(1): reformat with indent(1).pfg2016-04-131-380/+497
| | | | | | | | | | | | | | Failed attempt to get nearer to style(9) and the format from the original OpenBSD code. At least it should be readable now. No functional change.
| * 1. modify fwdump (a.k.a grcdump) memory is allocated and freed on as neededdavidcs2016-04-133-67/+166
| | | | | | | | | | | | | | | | | | | | | | | | basis. 2. grcdump can be taken at failure points by invoking bxe_grc_dump() when trigger_grcdump sysctl flag is set. When grcdump is taken grcdump_done sysctl flag is set. 3. grcdump_done can be monitored by the user to retrieve the grcdump. Submitted by:vaishali.kulkarni@qlogic.com Approved by:davidcs@freebsd.org MFC after:5 days
| * Add a small tool, resizewin(1), to query terminal for window sizecem2016-04-134-0/+200
| | | | | | | | | | | | | | Submitted by: Daniel O'Connor Reviewed by: kan, wblock, cem Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D4438
| * Merge libxo 0.4.6phil2016-04-1215-9564/+27213
| |\ | | | | | | | | | | | | Reviewed by: sjg Approved by: sjg (mentor)
| | * Tag libxo 0.4.6phil2016-04-12337-0/+71639
| | |
| | * import libso 0.4.6phil2016-04-122-1/+247
| | |
| | * Import libxo 0.4.6phil2016-04-1215-9831/+27203
| | |
| | * Give Phil and easy to use import script.obrien2016-03-171-0/+86
| | |
| | * Tag libxo 0.4.5phil2016-03-17341-0/+54021
| | | | | | | | | | | | Approved by: sjg
| * | Remove PS_STRINGS fallback from setproctitleemaste2016-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | In r103767 the kern.ps_strings sysctl was added as the preferred way to locate the ps_strings struct and is available in any FreeBSD release supported within the last decade. Reviewed by: kib
| * | fsck_ffs for pointers replace 0 with NULL.pfg2016-04-129-16/+16
| | | | | | | | | | | | | | | | | | Found with devel/coccinelle. Reviewed by: mckusick
| * | Add support for Flash Updatedavidcs2016-04-123-5/+400
| | | | | | | | | | | | | | | | | | Submitted by:nrapendra.singh@qlogic.com;vaishali.kulkarni@qlogic.com;davidcs@freebsd.org Approved by:davidcs@freebsd.org MFC after:5 days
| * | cxgbe(4): Always dispatch all work requests that have been written to thenp2016-04-121-2/+3
| | | | | | | | | | | | descriptor ring before leaving drain_wrq_wr_list.
| * | Refactor the handling of ICMP/IPv4 packets for SCTP/IPv4.tuexen2016-04-121-100/+63
| | | | | | | | | | | | | | | | | | | | | This cleansup the code and prepares upcoming handling of ICMP/IPv4 packets for SCTP/UDP/IPv4 packets. IPv6 changes will follow... MFC after: 3 days
| * | Add fastreg support to krping (ported from upstream).np2016-04-121-36/+1027
| | | | | | | | | | | | | | | | | | Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D5777
| * | Enable DEVICE_NUMA with up to 8 domains by default on amd64.jhb2016-04-123-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 8 memory domains should handle a quad-socket board with dual-domain processors. Reviewed by: kib Relnotes: maybe? Differential Revision: https://reviews.freebsd.org/D5893
| * | cxgbe(4): Always read the entire mailbox into the reply buffer.np2016-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The size of the reply can be different from the size of the command in case a debug firmware asserts. fw_asrt() needs the entire reply in order to decode the location of the assert. Sponsored by: Chelsio Communications
| * | 1. Process tx completions in bxe_periodic_callout_func() and restartdavidcs2016-04-122-23/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transmissions if possible. 2. For SIOCSIFFLAGS call bxe_init_locked() only if !BXE_STATE_DISABLED 3. remove code not needed in bxe_init_internal_common() Submitted by:vaishali.kulkarni@qlogic.com;venkata.bhavaraju@qlogic.com Approved by:davidcs@freebsd.org MFC after:5 days
| * | boot1: regenerate FAT templates after r297871emaste2016-04-125-78/+81
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
| * | boot1.efifat: provide a fallback startup.nshemaste2016-04-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case the firmware falls through to executing startup.sh, populate it with the name of our boot loader. In normal operation this should not be necessary but may allow the system to boot if it would otherwise just remain at a shell prompt. Reviewed by: andrew, imp, smh MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5878
| * | If the VOP_SETATTR() call that saves the exclusive create verifier failed,rmacklem2016-04-121-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the NFS server would leave the newly created vnode locked. This could result in a file system that would not unmount and processes wedged, waiting for the file to be unlocked. Since this VOP_SETATTR() never fails for most file systems, this bug doesn't normally manifest itself. I found it during testing of an exported GlusterFS file system, which can fail. This patch adds the vput() and changes the error to the correct NFS one. MFC after: 2 weeks
| * | Fix rare double free in vdev_geom_attrchangedasomers2016-04-121-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c Don't drop the g_topology_lock before freeing old_physpath. That opens up a race where one thread can call vdev_geom_attrchanged, set old_physpath, drop the g_topology_lock, then block trying to acquire the SCL_STATE lock. Then another thread can come into vdev_geom_attrchanged, set old_physpath to the same value, and proceed to free it. When the first thread resumes, it will free the same location. It turns out that the SCL_STATE lock isn't needed. It was originally added by gibbs to protect vd->vdev_physpath while updating the same. However, the update process subsequently was switched to an atomic operation (a pointer swap). Now, there is no need for the SCL_STATE lock, and hence no need to drop the g_topology_lock. Reviewed by: delphij MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D5413
| * | Make all CT Pass-Through (name server requests) asynchronous.mav2016-04-121-57/+78
| | | | | | | | | | | | | | | | | | | | | | | | Previously we had to do it synchronously because we could not drop the lock due to potential scratch memory use conflicts. Previous commits fixed that collision, so here it goes -- slower and less reliable external requests are executed asynchronously without spinning in tight loop and with more safe timeout handling.
| * | Restore some comments in previous commit.pfg2016-04-121-3/+3
| | |
| * | bootpd(8): De-register and minor cleanups.pfg2016-04-127-37/+34
| | | | | | | | | | | | | | | For bootptest(8) also remuve an unused variable and replace 0 with a NULL for a pointer.
| * | Fix overflow checking.trasz2016-04-121-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some other potential problems related to overflowing racct counters; I'll revisit those later. Submitted by: Pieter de Goeje (earlier version) Reviewed by: emaste@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * | Rename the 'M_B' macro in t4_regs.h to 'CXGBE_M_B'.jhb2016-04-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a conflict with the M_B macro in powerpc's <machine/db_machdep.h> exposed by the recent addition of DDB commands to the cxgbe driver. Discussed with: np Reported by: bz Sponsored by: Chelsio Communications
| * | Replace 0 with NULL for pointers in misc. device drivers.pfg2016-04-1225-64/+67
| | | | | | | | | | | | Found with devel/coccinelle.
| * | Make the usage() mention the -u option added in r295212.trasz2016-04-121-1/+1
| | | | | | | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * | Switch isp_getpdb() to synchronous IOCB DMA area.mav2016-04-121-18/+11
| | | | | | | | | | | | | | | While technically it is not IOCB, it is synchronous and can be called from different places, so calling FC_SCRATCH_ACQUIRE() here is inconvenient.
| * | Allocate separate DMA area for synchronous IOCB execution.mav2016-04-124-39/+70
| | | | | | | | | | | | | | | | | | | | | | | | Usually IOCBs should be put on queue for asynchronous processing and should not require additional DMA memory. But there are some cases like aborts and resets that for external reasons has to be synchronous. Give those cases separate 2*64 byte DMA area to decouple them from other DMA scratch area users, using it for asynchronous requests.
| * | re-enable AMD Topology extension on certain models if disabled by BIOSavg2016-04-125-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some BIOSes disable AMD Topology extension on AMD Family 15h notebook processors. We re-enable the extension, so that we can properly discover core and cache topology. Linux seems to do the same. Reported by: Johannes Dieterich <dieterich.joh@gmail.com> Reviewed by: jhb, kib Tested by: Johannes Dieterich <dieterich.joh@gmail.com> (earlier version) MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D5883
| * | Reimplement ISP_TSK_MGMT IOCTL via asynchronous request.mav2016-04-121-44/+59
| | | | | | | | | | | | | | | I am not sure this code is not completely dead, but it used DMA scratch are without good reason and asked to be refactored.
| * | When processing an ICMP packet containing an SCTP packet, ittuexen2016-04-122-29/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is required to check the verification tag. However, this requires the verification tag to be not 0. Enforce this. For packets with a verification tag of 0, we need to check it it contains an INIT chunk and use the initiate tag for the validation. This will be a separate commit, since it touches also other code. MFC after: 1 week
| * | Add couple missing memory barriers.mav2016-04-121-1/+3
| | |
| * | If off-page lookup failed, there is no memory to performkib2016-04-121-1/+2
| | | | | | | | | | | | | | | | | | shared_mutex_init() upon. Sponsored by: The FreeBSD Foundation
| * | Move Mediatek/Ralink PCIe to NEW_PCIBsgalabov2016-04-122-303/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This revision fixes minor issues and moves the Mediatek/Ralink PCIe support to use NEW_PCIB. https://svnweb.freebsd.org/changeset/base/297849 is the other part of this changeset. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5908
| * | Define PCI_RES_BUS for MIPS.sgalabov2016-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | This is done as part of the work on D5908, but as a separate commit. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD
| * | l2arc: make sure that all writes honor ashift of a cache deviceavg2016-04-122-97/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously uncompressed buffers did not obey that rule. Type of b_asize is changed to uint64_t for consistency, given that this is a zeta-byte filesystem. l2arc_compress_buf is renamed to l2arc_transform_buf to better reflect its new utility. Now not only we ensure that a compressed buffer has a size aligned to ashift, but we also allocate a properly sized temporary buffer if the original buffer is not compressed and it has an odd size. This ensures that all I/O to the cache device is always ashift-aligned, in terms of both a request offset and a request size. If the aligned data is larger than the original data, then we have to use a temporary buffer when reading it as well. Also, enhance physical zio alignment checks using vdev_logical_ashift. On FreeBSD we have this information, so we can make stricter assertions. Reviewed by: smh, mav MFC after: 1 month Sponsored by: ClusterHQ Differential Revision: https://reviews.freebsd.org/D2789
| * | Revert r297396 Modify "4958 zdb trips assert on pools with ashift >= 0xe"avg2016-04-121-14/+0
| | | | | | | | | | | | A better fix is following.
| * | [amd64] dtrace_invop handler is to be called only for kernel exceptionsavg2016-04-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DTrace-related exceptions in userland code are handled elsewhere. One practical problem was a crash in dtrace_invop_start() when saved %rsp pointed to a virtual address that was not backed. i386 code already ignored userland exceptions. Reviewed by: markj, kib MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D5906
| * | Regeneratebdrewery2016-04-121-5/+16
| | |
| * | Add some more content for WITH_META_MODE.bdrewery2016-04-121-1/+10
| | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * | Document the behavior of NO_DIRDEPS/NO_DIRDEPS_BELOW.bdrewery2016-04-121-1/+3
| | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * | META_MODE: Avoid changed build command every build.bdrewery2016-04-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the file is generated with -f using another Makefile, 2 different Makefiles are trying to handle the .meta file for the target. The obvious .NOMETA_CMP or .NOMETA on the ${MAKE} targets don't work as they are very limited in scope in bmake. Using .PHONY fixes the problem and ensures that the ${MAKE} command is always ran to check if it is outdated in the sub-make. An example of the problem in gnu/lib/libgcc (with make -dM): /usr/obj/root/git/freebsd/gnu/lib/libgcc/tm.h.meta: 2: a build command has changed TARGET_CPU_DEFAULT="" HEADERS="options.h i386/biarch64.h i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos-undef.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h i386/x86-64.h i386/freebsd.h i386/freebsd64.h defaults.h" DEFINES="" /bin/sh /root/git/freebsd/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h vs (cd /root/git/freebsd/gnu/lib/libgcc; make -f /root/git/freebsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/root/git/freebsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/root/git/freebsd/gnu/lib/libgcc/../../../contrib/gcc tm.h) Skipping meta for tm.h: .NOMETA (cd /root/git/freebsd/gnu/lib/libgcc; make -f /root/git/freebsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/root/git/freebsd/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/root/git/freebsd/gnu/lib/libgcc/../../../contrib/gcc tm.h) `tm.h' is up to date. Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud