summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-04-16451-2748/+9397
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Add a test for cancelling an active AIO request on a socket.jhb2016-04-161-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | The older AIO code awakened all pending AIO requests on a socket when any data arrived. This could result in AIO daemons blocking on an empty socket buffer. These requests could not be cancelled which led to a deadlock during process exit. This test reproduces this case. The newer AIO code is able to cancel the pending AIO request correctly. Reviewed by: ngie (-ish) Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D4363
| * Cleanup unnecessary semicolons from utilities we all love.pfg2016-04-1528-58/+58
| |
| * Replace <tab><tab> with <space><tab>.loos2016-04-151-1/+1
| | | | | | | | | | | | No functional change. Sponsored by: Rubicon Communications (Netgate)
| * Fix the 'type' for a few variables from tcpcb.hiren2016-04-152-9/+9
| | | | | | | | | | | | Reviewed by: markj Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D5973
| * savecore(8): Explicitly cast to fix i386 warningcem2016-04-151-3/+3
| |
| * elfcopy: fix symbol table handling when sections come after symtab/strtabemaste2016-04-151-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a symbol table handling bug in elfcopy: elfcopy puts .symtab, .strtab and .shstrtab sections in the end of the output object. If the input objects have more sections after any of these 3 sections, the section table will be reordered, and in that case the section symbols should be regenerated for relocations. The bug is triggered since newer clang puts .strtab section in the beginning of the object produced. Ticket: #525 Reported by: royger Obtained from: ELF Tool Chain r3443
| * Document SHLIB/SHLIB_CXX/NO_PIC.bdrewery2016-04-151-2/+10
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Import to 0.6.1phil2016-04-1547-808/+2487
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0.5.0: document "trim" modifier add xo_emit_field functions Add xo_set_file{,_h} functions Fix LIBXO_* variables; add -L and -I as needed add --disable-silent-rules and an explicit make; s/PACKAGE-NAME/PACKAGE_NAME/; add /download/ to 'url' fix silliness where xo_flush_h emitted closing tag (html); make the caller (xo_message) do it flush after transitions; fix flush call in xo_do_emit mkdir the version-specific packaging dir use "XO_" instead of LIBXO_ 0.6.0: Add --with-retain-size to set the size (in bits) of the retain hash buckets Add The Argument Modifier ({a:}) Add retain and no-retain to --libxo autoconf: Add test for monitor.h Document quote heuristic go deep with nroff backslashes Use "ULL" for 32 bit check add xo_retain_clear and xo_retain_clear_all docs: combine two 'handles' section; move command line argument section handle GETTEXT when msgfmt isn't where it's supposed to be (FreeBSD) make 'retain' a flag (XOEF_RETAIN) instead of a role; it's simpler, and doesn't feel as tacky. "{R:}" was painful to document, which means it's painful to use. new xo_emit_f functions nuke some unused UNUSEDs test code: path must be static update test cases 0.6.1: fix version number (missed a commit during new-release) Reviewed by: sjg Approved by: sjg (mentor)
| | * Tag libxo 0.6.0phil2016-04-15356-0/+73146
| | |
| | * Import libxo 0.6.0phil2016-04-1545-800/+2473
| | |
| | * Tag libxo 0.4.7phil2016-04-15336-0/+71473
| | |
| | * Import libxo 0.4.7phil2016-04-1515-263/+97
| | |
| | * add FreeBSD header to copied filesphil2016-04-121-3/+6
| | |
| | * add "svn up" after taggingphil2016-04-121-0/+1
| | |
| | * import libxo 0.4.6phil2016-04-122-37/+267
| | |
| * | Add SHLIB_CXX to allow building a C++ shared library without a static one.bdrewery2016-04-151-2/+7
| | | | | | | | | | | | | | | Submitted by: ngie Sponsored by: EMC / Isilon Storage Division
| * | Set CPP from XCPP for the libcompat build.bdrewery2016-04-151-0/+1
| | | | | | | | | | | | Submitted by: Mark Millard <markmi@dsl-only.net>
| * | Add 4Kn kernel dump supportcem2016-04-155-40/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (And 4Kn minidump support, but only for amd64.) Make sure all I/O to the dump device is of the native sector size. To that end, we keep a native sector sized buffer associated with dump devices (di->blockbuf) and use it to pad smaller objects as needed (e.g. kerneldumpheader). Add dump_write_pad() as a convenience API to dump smaller objects with zero padding. (Rather than pull in NPM leftpad, we wrote our own.) Savecore(1) has been updated to deal with these dumps. The format for 512-byte sector dumps should remain backwards compatible. Minidumps for other architectures are left as an exercise for the reader. PR: 194279 Submitted by: ambrisko@ Reviewed by: cem (earlier version), rpokala Tested by: rpokala (4Kn/512 except 512 fulldump), cem (512 fulldump) Relnotes: yes Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5848
| * | sys/net* : for pointers replace 0 with NULL.pfg2016-04-1526-76/+76
| | | | | | | | | | | | | | | | | | Mostly cosmetical, no functional change. Found with devel/coccinelle.
| * | fs misc: for pointers replace 0 with NULL.pfg2016-04-154-7/+7
| | | | | | | | | | | | | | | | | | Mostly cosmetical, no functional change. Found with devel/coccinelle.
| * | ddb: for pointers replace 0 with NULL.pfg2016-04-152-5/+5
| | | | | | | | | | | | | | | | | | Mostly cosmetical, no functional change. Found with devel/coccinelle.
| * | Don't corrupt ZFS label's physpath attribute when booting while a disk is ↵asomers2016-04-151-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | missing Prior to this change, vdev_geom_open_by_path would call vdev_geom_attach prior to verifying the device's GUIDs. vdev_geom_attach calls vdev_geom_attrchange to set the physpath in the vdev object. The result is that if the disk could not be found, then the labels for other disks in the same TLD would overwrite the missing disk's physpath with the physpath of whichever disk currently has the same devname as the missing one used to have. MFC after: 4 weeks Sponsored by: Spectra Logic Corp
| * | compat/linux: for pointers replace 0 with NULL.pfg2016-04-151-1/+1
| | | | | | | | | | | | | | | | | | plvc is a pointer, no functional change. Found with devel/coccinelle.
| * | g_gate: for pointers replace 0 with NULL.pfg2016-04-151-1/+1
| | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle.
| * | kern: for pointers replace 0 with NULL.pfg2016-04-1517-24/+24
| | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle.
| * | Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machineandrew2016-04-1559-166/+166
| | | | | | | | | | | | | | | | | | | | | independent code that needs to know about INTRNG such as PCI drivers. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
| * | import libxo-0.4.7phil2016-04-1516-270/+104
| | | | | | | | | | | | | | | | | | | | | | | | Fix bug w/ {e:} in html, where no default encoding format was built docs: "t" == "trim" (typo) (cf svn commit: r290445 - head/contrib/libxo/libxo) Reviewed by: sjg Approved by: sjg (mentor)
| * | netinet: for pointers replace 0 with NULL.pfg2016-04-1513-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle. Reviewed by: ae. tuexen
| * | Make NIRQ configurable for MIPSsgalabov2016-04-152-2/+7
| | | | | | | | | | | | | | | | | | | | | Submitted by: kan Reviewed by: kan Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5964
| * | Import Mediatek/Ralink dtsi patches against OpenWRT dtsi filessgalabov2016-04-159-0/+480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This revision suggests dtsi patches to be used with the original OpenWRT dtsi files so we can re-use what has already been done in OpenWRT for the Mediatek/Ralink SoCs. The only thing that is required after importing this revision should be the following: 1. Import OpenWRT dts/dtsi files into sys/gnu/dts/mips 2. Run the following script in sys/gnu/dts/mips: for f in `ls [mr]t*.dtsi`; do printf "\n#include <fbsd-$f>\n" > $f done This will apply our dtsi patches to OpenWRT's dtsi files and will allow us to re-use dts/dtsi files for ~170 Mediatek/Ralink boards. Currently our drivers are not 100% compatible with OpenWRT's dts files, but they're compatible enough. We can add more functionality in the future that would better leverage the OpenWRT work as well. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5965
| * | Change the fdt_static_dtb.S dependencysgalabov2016-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdt_static_dtb.S dependency in sys/conf/files is currently set as: $S/boot/fdt/dts/${MACHINE}/${FDT_DTS_FILE} This is wrong, as what fdt_static_dtb.S actually uses is the DTB file produced from the FDT_DTS_FILE. In addition it also makes using DTS files stored in $S/gnu/dts/${MACHINE}/ impossible. So, change the dependency to "fdt_dtb_file", which seems to be the right option here anyway. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5963
| * | Make mx25l compatible with jedec,spi-nor as wellsgalabov2016-04-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of dts files define the SPI flashes supported by mx25l as compatible with 'jedec,spi-nor', so we add this to the mx25l compat_data. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5962
| * | Mediatek/Ralink: Get our drivers closer to OpenWRT dts definitionssgalabov2016-04-1510-36/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This revision gets our Mediatek/Ralink drivers closer to OpenWRT's dts definitions, so we can reuse them with less modifications later in order to bring support for a lot of boards at once. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5961
| * | Remove unneeded initialization in mtk_xhci.csgalabov2016-04-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is actually initialized properly within xhci.c, so it's better to not initialize it in mtk_xhci.c Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5935
| * | In order to build a kernel with one of these configs the user should dosgalabov2016-04-1510-0/+411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the following: 1. Give the appropriate board dts file to be used by either: 1.1. edit the SoC kernel config required (e.g., MT7620A_FDT) and include the required FDT_DTS_FILE makeoption; or 1.2. simply supply FDT_DTS_FILE="xx.dts" on the command line when building the kernel Of course, the user can also create a completely new kernel config to match the desired board and include the SoC kernel config from within it. If required, edit the MEDIATEK config file, which includes optional drivers and comment out the unneeded ones. 2.1. this would only make sense if kernel size is a concern. Even if we build the kernel with all drivers, if we lzma it and package it as a uImage, its size is still around 1.1MiB. The user will have to choose a dts file (or create a new one) from sys/gnu/dts/mips , where all Mediatek/Ralink dts files will be imported via a later revision. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision: https://reviews.freebsd.org/D5966
| * | Always calculate divisor for the counter mode of LAPIC timer. Even ifkib2016-04-151-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initially configured in the TSC deadline mode, eventtimer subsystem can be switched to periodic, and then DCR register is loaded with unitialized value. Reset the LAPIC eventtimer frequency and min/max periods when changing between deadline and counted periodic modes. Reported and tested by: Vladimir Zakharov <zakharov.vv@gmail.com> Sponsored by: The FreeBSD Foundation
| * | arm: for pointers replace 0 with NULL.pfg2016-04-1513-28/+28
| | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle.
| * | Add a flag field to struct gic_irqsrc and use it to mark when we shouldandrew2016-04-151-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | write to the End of Interrupt (EOI) register before handling the interrupt. This should be a noop as it will be set for all edge triggered interrupts, however this will not be the case for MSI interrupts. These are also edge triggered, however we should not write to the EOI register until later in arm_gic_pre_ithread. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
| * | mips: for pointers replace 0 with NULL.pfg2016-04-1510-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle. Reviewed by: adrian
| * | powerpc: for pointers replace 0 with NULL.pfg2016-04-154-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle. Reviewed by: jhibbits
| * | Add initial GICv2m support to the arm GIC driver. This will be used toandrew2016-04-151-0/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support MSI and MSI-X interrupts, however intrng needs updates before this can happen. For now we just attach the driver until the MSI API is ready. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5950
| * | Allocate RACCT/RCTL zones without UMA_ZONE_NOFREE; no idea why it was theretrasz2016-04-152-3/+3
| | | | | | | | | | | | | | | | | | | | | in the first place. MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * | Sync cam.ko module source list with the static kernel file list.kib2016-04-151-1/+1
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
| * | netpfil: for pointers replace 0 with NULL.pfg2016-04-153-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle. Reviewed by: ae
| * | sparc64: for pointers replace 0 with NULL.pfg2016-04-151-1/+1
| | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle.
| * | ofed: for pointers replace 0 with NULL.pfg2016-04-152-2/+2
| | | | | | | | | | | | | | | | | | | | | These are mostly cosmetical, no functional change. Found with devel/coccinelle. Reviewed by: hselasky
| * | Sort variable declarations.trasz2016-04-152-42/+35
| | | | | | | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * | busdma/bounce: revert r292255royger2016-04-151-12/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert r292255 because it can create bounced regions without contiguous page offsets, which is needed for USB devices. Another solution would be to force bouncing the full buffer always (even when only one page requires bouncing), but this seems overly complicated and unnecessary, and it will probably involve using more bounce pages than the current code. Reported by: phk
| * | Avoid NULL pointer dereference, for a process which is not (yet) akib2016-04-151-1/+2
| | | | | | | | | | | | | | | | | | | | | member of a process group, e.g. during the system bootstrap. Submitted by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> MFC after: 1 week
OpenPOWER on IntegriCloud