summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Merge ACPICA 20160422.jkim2016-04-271-1/+4
|
* o Add device tree files and kernel configuration filesbr2016-04-261-3/+7
| | | | | for RISC-V cpus synthesized on FPGA hardware. o Include new files to the build.
* Move arm's devmap to some generic place, so it can be usedbr2016-04-263-3/+3
| | | | | | | | | by other architectures. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D6091 Sponsored by: DARPA, AFRL Sponsored by: HEIF5
* Revert r298477 ("Clear the DDR memory").br2016-04-251-1/+0
| | | | | | | | | There is no need to clear all the DDR memory (we only need to clear BSS section). I was playing with non-default version of hardware (the bitfile synthesized for 4-level page memory system) and clearing was helpful, but then realized support for 4-level page system is untested/broken in both RocketCore and lowRISC.
* Clear the DDR memory. This should be done by bootloaders,br2016-04-221-0/+1
| | | | | | but they have no such feature yet. This fixes operation on Rocket Core and lowRISC.
* Revert r298357wma2016-04-201-8/+0
| | | | Revert workaround fixed by r298361
* Update comment added in r298357emaste2016-04-201-3/+2
| | | | | | | The additional regex replacements are actully required due to an elfcopy bug which is now fixed (by r298361), not a Clang/GCC issue. Sponsored by: The FreeBSD Foundation
* Fix MFS symbol redefinition with clang 3.8.0wma2016-04-201-0/+9
| | | | | | | | | | | Newest CLANG objcpy uses different name parsing. Modify regexp to match (i.e. avoid substitution of "/" or "-" with "_"). Obtained from: Semihalf Sponsored by: Juniper Networks Reviewed by: hselasky, zbb Differential Revision: https://reviews.freebsd.org/D5873
* Add CAM_NETFLIX_IOSCHED to the build.imp2016-04-171-0/+1
|
* Add Codel to NOTES.loos2016-04-161-0/+1
| | | | | X-MFC with: r287009 Sponsored by: Rubicon Communications (Netgate)
* MFHgjb2016-04-1611-12/+14
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Replace <tab><tab> with <space><tab>.loos2016-04-151-1/+1
| | | | | | | | | | | | No functional change. Sponsored by: Rubicon Communications (Netgate)
| * Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machineandrew2016-04-153-5/+5
| | | | | | | | | | | | | | independent code that needs to know about INTRNG such as PCI drivers. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
| * Make NIRQ configurable for MIPSsgalabov2016-04-151-0/+1
| | | | | | | | | | | | | | Submitted by: kan Reviewed by: kan Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5964
| * 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
| * hyperv: Deprecate HYPERV option by moving Hyper-V IDT vector into vmbussephe2016-04-154-4/+2
| | | | | | | | | | | | | | Submitted by: Jun Su <junsu microsoft com> Reviewed by: jhb, kib, sephe Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5910
| * Add External Actions KPI to ipfw(9).ae2016-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It allows implementing loadable kernel modules with new actions and without needing to modify kernel headers and ipfw(8). The module registers its action handler and keyword string, that will be used as action name. Using generic syntax user can add rules with this action. Also ipfw(8) can be easily modified to extend basic syntax for external actions, that become a part base system. Sample modules will coming soon. Obtained from: Yandex LLC Sponsored by: Yandex LLC
| * New CAM I/O scheduler for FreeBSD. The default I/O scheduler is the sameimp2016-04-142-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as before. The common scheduling bits have moved from inline code in each of the CAM periph drivers into a library that implements the default scheduling. In addition, a number of rate-limiting and I/O preference options can be enabled by adding CAM_IOSCHED_NETFLIX to your config file. A number of extra stats are also maintained. CAM_IOSCHED_NETFLIX isn't on by default because it uses a separate BIO_READ and BIO_WRITE queue, so doesn't honor BIO_ORDERED between these two types of operations. We already didn't honor it for BIO_DELETE, and we don't depend on BIO_ORDERED between reads and writes anywhere in the system (it is currently used with BIO_FLUSH in ZFS to make sure some writes are complete before others start and as a poor-man's soft dependency in one place in UFS where we won't be issuing READs until after the operation completes). However, out of an abundance of caution, it isn't enabled by default. Plus, this also brings in NCQ TRIM support for those SSDs that support it. A black list is also provided for known rogues that use NCQ trim as an excuse to corrupt the drive. It was difficult to separate out into a separate commit. This code has run in production at Netflix for over a year now. Sponsored by: Netflix, Inc Differential Revision: https://reviews.freebsd.org/D4609
| * Implement the dependency condition more safely.bdrewery2016-04-141-1/+1
| | | | | | | | | | | | Nested : are not handled well without "". Sponsored by: EMC / Isilon Storage Division
| * Sort so pic_if.m is in the correct location with the other kern files.andrew2016-04-141-1/+1
| | | | | | | | | | Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* | 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
OpenPOWER on IntegriCloud