summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-04-114-2/+22
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Add more fine-grained kernel options for NUMA support.jhb2016-04-092-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | VM_NUMA_ALLOC is used to enable use of domain-aware memory allocation in the virtual memory system. DEVICE_NUMA is used to enable affinity reporting for devices such as bus_get_domain(). MAXMEMDOM must still be set to a value greater than for any NUMA support to be effective. Note that 'cpuset -gd' always works if MAXMEMDOM is enabled and the system supports NUMA. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D5782
| * newvers.sh: rationalize licence condition numberingemaste2016-04-071-1/+1
| |
| * Add option to specify built-in keymap for kbdmuxemaste2016-04-073-0/+10
| | | | | | | | | | PR: 153459 Submitted by: swell.k@gmail.com
* | MFHgjb2016-04-0414-149/+34
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * arm64: bzero optimizationwma2016-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This optimization attempts to utylize as wide as possible register store instructions to zero large buffers. The implementation, if possible, will use 'dc zva' to zero buffer by cache lines. Speedup: 60x faster memory zeroing Submitted by: Dominik Ermel <der@semihalf.com> Obtained from: Semihalf Sponsored by: Cavium Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D5726
| * Move i386/i386/autoconf.c to sys/x86/x86 and use it on both amd64 and i386.jhb2016-04-033-3/+3
| |
| * Move support for Synopsys Designware APB UART out of ns8250 and into ajmcneill2016-04-011-1/+2
| | | | | | | | | | | | | | | | | | separate driver. Add support for activating clock and hwreset resources for these devices when the EXT_RESOURCES option is present. Reviewed by: andrew, mmel, Emmanuel Vadot <manu@bidouilliste.com> Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5749
| * Fix PowerPC LINT build after r297392zbb2016-04-011-1/+1
| | | | | | | | | | | | | | | | | | PowerPC has real Open Firmware and does not necessarily need FDT. Make ofwpci.c only PCI dependent. Pointed out by: emaste Reviewed by: nwhitehorn Obtained from: Semihalf
| * Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.bdrewery2016-03-304-84/+0
| | | | | | | | | | | | | | Reviewed by: emaste, hselasky (partial), brooks (brief) Discussed on: arch@ Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5742
| * Reduce OFW PCI code duplication - involves ARM, PPC and SPARC64zbb2016-03-295-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import portions of the PowerPC OF PCI implementation into new file "ofwpci.c", common for other platforms. The files ofw_pci.c and ofw_pci.h from sys/powerpc/ofw no longer exist. All required declarations are moved to sys/dev/ofw/ofwpci.h. This creates a new ofw_pci_write_ivar() function and modifies some others methods. Most functions contain existing ppc implementations in the majority unchanged. Now there is no need to have multiple identical copies of methods for various architectures. Requested by: jhibbits Reviewed by: jhibbits, marius Submitted by: Marcin Mazurek <mma@semihalf.com> Obtained from: Semihalf Sponsored by: Annapurna Labs Differential Revision: https://reviews.freebsd.org/D4879
| * simplify compile-time default keyboard map generationemaste2016-03-284-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | In r296926 the -P <path> option was added to kbdcontrol, which enables this change for a simplified compile-time default keymap build process. PR: 193865 Reviewed by: Oliver Pinter Tested by: Oliver Pinter MFC After: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5708
| * Adding pci_host_generic unconditionally breaks ARM boards with a PCI(e) ↵bz2016-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | interface. Make it a device option to be included in the kernel configs that request this file. Reported by: mmel Suggested by: mmel Reviewed by: mmel Differential Revision: https://reviews.freebsd.org/D5699
| * Build the zfs module on armv6, but not on older arm.ian2016-03-211-2/+1
| | | | | | | | | | There have been reports in the past that zfs works on armv6, and now people are wanting to test it again, so let's give them something to work with.
| * Remove from NOTES - it's built as a module now.adrian2016-03-211-3/+0
| | | | | | | | Noticed by: sephe
| * Now that urtwn is its own device, and it'll get hotplug loaded byadrian2016-03-201-44/+0
| | | | | | | | | | | | | | | | devd/ifconfig/etc, don't build it in the kernel. This should fix the build as well! Notice by: dchagin
| * Allow pci_host_generic to be compiled into ARM kernels, used, e.g., inbz2016-03-181-0/+1
| | | | | | | | | | | | simulators. Sponsored by: DARPA/AFRL
| * Fix copy-n-pasteo in r296899 ukbdmap.h header generation for pc98emaste2016-03-151-1/+1
| | | | | | | | | | | | | | The ukbd default is specified by UKBD_DFLT_KEYMAP not ATKBD_DFLT_KEYMAP. PR: 193865 Submitted by: Harald Schmalzbauer
| * Add phy framework, a next part of new 'extended resources' family ofmmel2016-03-151-0/+2
| | | | | | | | | | | | | | support frameworks (i.e. clk/regulators/tsensors/fuses...). It provides simple unified consumers interface for manipulations with phy (USB/SATA/PCIe) resources.
| * Add regulator framework, a next part of new 'extended resources' family ofmmel2016-03-151-3/+8
| | | | | | | | | | | | | | | | support frameworks(i.e. clk/reset/phy/tsensors/fuses...). The framework is still far from perfect and probably doesn't have stable interface yet, but we want to start testing it on more real boards and different architectures.
| * CLK: Add enumerator for 'clocks' OFW node. Add bus device bindingsmmel2016-03-151-0/+1
| | | | | | | | for clk_fixed class.
| * Fix atkbdmap.h generation for sc/vt consolesemaste2016-03-154-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keymap header files have historically been generated using the build host's /usr/sbin/kbdcontrol and using the host's keymap files. However, that introduces an issue when building a kernel to use vt(4) on a system using sc(4), or vice versa: kbdcontrol searches for keymap files in the /usr/share subdirectory appropriate for the host, not the target. With this change the build searches both the and sc keymap directories from the source tree. PR: 193865 Submitted by: Harald Schmalzbauer
* | MFHgjb2016-03-145-11/+22
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * We only support GCC 4.8 for these flags.bdrewery2016-03-131-3/+2
| | | | | | | | | | | | | | - 4.7 introduced maybe-uninitialized - 4.8 introduced aggressive-loop-optimizations Sponsored by: EMC / Isilon Storage Division
| * Enable FAST_DEPEND by default.bdrewery2016-03-121-1/+1
| | | | | | | | | | | | | | Missed in r296668. Discussed on: arch Sponsored by: EMC / Isilon Storage Division
| * Reduce duplicated logic from r291744.bdrewery2016-03-122-5/+6
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Stop looking up these values in every subdir on install.bdrewery2016-03-122-1/+5
| | | | | | | | | | | | | | This was slowing down installkernel since it was rerunning this in every module directory. Sponsored by: EMC / Isilon Storage Division
| * FAST_DEPEND: Use .dinclude to enable full .depend logic in bmake.bdrewery2016-03-111-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inclusion of .MAKE.DEPENDFILE (.depend) has special logic in make to ignore stale/missing dependencies. bmake 20160220 added a '.dinclude' directive that uses the special logic for .depend when including the file. This fixes a build error when a file is moved or deleted that exists in a .depend.OBJ file. This happened in r292782 when sha512c.c "moved" and an incremental build of lib/libmd would fail with: make: don't know how to make /usr/src/lib/libcrypt/../libmd/sha512c.c. Stop Now this will just be seen as a stale dependency and cause a rebuild: make: /usr/obj/usr/src/lib/libmd/.depend.sha512c.o, 13: ignoring stale .depend for /usr/src/lib/libcrypt/../libmd/sha512c.c --- sha512c.o --- ... This rebuild will only be done once since the .depend.sha512c.o will be updated on the build with the -MF flags. This also removes -MP being passed for the .depend.OBJ generation (which would create fake targets for system headers) since the logic is no longer needed to protect from missing files. Sponsored by: EMC / Isilon Storage Division
* | MFHgjb2016-03-103-1/+10
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Add support for ddb(4).br2016-03-102-1/+5
| | | | | | | | | | Sponsored by: DARPA, AFRL Sponsored by: HEIF5
| * Add MIPS_INTRNG to sys/conf/options.mipssgalabov2016-03-081-0/+5
| | | | | | | | | | | | | | | | | | This was somehow missed in the commit of https://reviews.freebsd.org/D5182 although it was in the original diff submitted for review. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5568
* | MFHgjb2016-03-061-0/+4
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Merge ^/head r296007 through r296368.dim2016-03-038-14/+15
| |\
| | * Add guessed dependencies to OBJS after bsd.dep.mk in case of it adding to SRCS.bdrewery2016-03-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a regression in r295985. bsd.dep.mk adds to SRCS for dtrace probes, yacc grammars and some others. The code that is moving is planned to be removed once FAST_DEPEND is default (and the only option) though since FAST_DEPEND doesn't use this. Pointyhat to: bdrewery Sponsored by: EMC / Isilon Storage Division
| * | Merge ^/head r295902 through r296006.dim2016-02-2410-31/+69
| |\ \
| * \ \ Merge ^/head r295845 through r295901.dim2016-02-223-3/+6
| |\ \ \
| * \ \ \ Merge ^/head r295601 through r295844.dim2016-02-216-11/+31
| |\ \ \ \
| * \ \ \ \ Merge ^/head r295351 through r295543.dim2016-02-112-2/+3
| |\ \ \ \ \
| * \ \ \ \ \ Merge ^/head r294961 through r295350.dim2016-02-0614-15/+276
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge ^/head r294777 through r294960.dim2016-01-273-93/+76
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge ^/head r294599 through r294776.dim2016-01-263-2/+13
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge ^/head r294169 through r294598.dim2016-01-226-4/+4
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge ^head r294090 through r294168.dim2016-01-162-6/+5
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge ^/head r293850 through r294089.dim2016-01-152-0/+3
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge ^/head r293686 through r293849.dim2016-01-131-0/+19
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge ^/head r293280 through r293429.dim2016-01-081-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | For clang 3.8.0 and higher targeting arm, use the new -mno-movt flag todim2016-01-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disable emitting movt instructions.
* | | | | | | | | | | | | | | MFHgjb2016-03-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | | | | | | | | | | | | | MFHgjb2016-03-0213-36/+71
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
| * | | | | | | | | | | | | | Refactor the AIO subsystem to permit file-type-specific handling andjhb2016-03-013-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improve cancellation robustness. Introduce a new file operation, fo_aio_queue, which is responsible for queueing and completing an asynchronous I/O request for a given file. The AIO subystem now exports library of routines to manipulate AIO requests as well as the ability to run a handler function in the "default" pool of AIO daemons to service a request. A default implementation for file types which do not include an fo_aio_queue method queues requests to the "default" pool invoking the fo_read or fo_write methods as before. The AIO subsystem permits file types to install a private "cancel" routine when a request is queued to permit safe dequeueing and cleanup of cancelled requests. Sockets now use their own pool of AIO daemons and service per-socket requests in FIFO order. Socket requests will not block indefinitely permitting timely cancellation of all requests. Due to the now-tight coupling of the AIO subsystem with file types, the AIO subsystem is now a standard part of all kernels. The VFS_AIO kernel option and aio.ko module are gone. Many file types may block indefinitely in their fo_read or fo_write callbacks resulting in a hung AIO daemon. This can result in hung user processes (when processes attempt to cancel all outstanding requests during exit) or a hung system. To protect against this, AIO requests are only permitted for known "safe" files by default. AIO requests for all file types can be enabled by setting the new vfs.aio.enable_usafe sysctl to a non-zero value. The AIO tests have been updated to skip operations on unsafe file types if the sysctl is zero. Currently, AIO requests on sockets and raw disks are considered safe and are enabled by default. aio_mlock() is also enabled by default. Reviewed by: cem, jilles Discussed with: kib (earlier version) Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D5289
OpenPOWER on IntegriCloud