summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Use KTR_COMPILE=(KTR_ALL) for LINTs, to get more code coverage.glebius2015-02-191-1/+1
|
* Use the ARM unwinder with dtrace to extract the stack when asked. With thisandrew2015-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | dtrace is able to display a stack trace similar to the one below. # dtrace -p 603 -n 'tcp:kernel::receive { stack(); }' 0 70 :receive kernel`ip_input+0x140 kernel`netisr_dispatch_src+0xb8 kernel`ether_demux+0x1c4 kernel`ether_nh_input+0x3a8 kernel`netisr_dispatch_src+0xb8 kernel`ether_input+0x60 kernel`cpsw_intr_rx+0xac kernel`intr_event_execute_handlers+0x128 kernel`ithread_loop+0xb4 kernel`fork_exit+0x84 kernel`swi_exit kernel`swi_exit Tested by: gnn Sponsored by: ABT Systems Ltd
* Allow the ARM unwinder to work through modules. This will be used to addandrew2015-02-191-0/+1
| | | | | | | support for unwinding from dtrace. Tested by: gnn (with dtrace) Sponsored by: ABT Systems Ltd
* Merge ACPICA 20141107 and 20150204.jkim2015-02-181-0/+1
|
* Populate new KERN_OPTS from all the opt_*.h files inimp2015-02-182-28/+60
| | | | | | | | | | | KERNBUILDDIR. Come up with some sensible defaults (though listing them in kmod.mk may be unwise -- we have no easy way to know what are the best sensible defaults for everything so we just catch the big stuff). Append SRCS.${opt} for each option in KERN_OPTS to SRCS to allow easy conditional compilation. Append any notion of KERN_OPTS_EXTRA to the list of kernel opts. Differential Revision: https://reviews.freebsd.org/D1530
* Globally enable -fms-extensions when building kernel with gcc, and removeglebius2015-02-174-4/+4
| | | | | | | | | this option from all modules that enable it theirselves. In C mode -fms-extensions option enables anonymous structs and unions, allowing us to use this C11 feature in kernel. Of course, clang supports it without any extra options. Reviewed by: dim
* Pull the ARM ddb unwind code out to a new file. This will allow it to beandrew2015-02-171-0/+1
| | | | | | | | | | | used by other places that expect to unwind the stack, e.g. dtrace and stack(9). As I have written most of this code I'm changing the license to the standard FreeBSD license. I have received approval from the other developers who have changed any of the affected code. Approved by: ian, imp, rpaulo, eadler (all license change)
* Fix compilation of the SDP driver and a compile warning after r278886.hselasky2015-02-171-1/+1
| | | | | | | | Also fix the kernel build rule for mlx4_exp.c. This fixes the LINT kernel target for amd64. Sponsored by: Mellanox Technologies MFC after: 1 month
* Update the infiniband stack to Mellanox's OFED version 2.1.hselasky2015-02-171-5/+5
| | | | | | | | | | | | | Highlights: - Multiple verbs API updates - Support for RoCE, RDMA over ethernet All hardware drivers depending on the common infiniband stack has been updated aswell. Discussed with: np @ Sponsored by: Mellanox Technologies MFC after: 1 month
* Import USB display link driver from OpenBSD. Support for compressionhselasky2015-02-151-0/+4
| | | | | | | has been removed and the driver has been greatly simplified and optimised for FreeBSD. The driver is currently not built by default. Requested by: Bruce Simpson <bms@fastmail.net>
* Import videomode code from NetBSD which is needed by USB display link drivers.hselasky2015-02-152-0/+7
|
* Properly quote EXTRA_MODULES and WITHOUT_MODULES to ensure that theyimp2015-02-101-1/+1
| | | | are passed down properly when there's more than one.
* Remove FreeBSD/wii.rpaulo2015-02-102-7/+0
| | | | | | | | | | This port failed to gain traction and probably only a couple Wii consoles ran FreeBSD all the way to single user mode with an md(4). IPC support was never implemented, so it was impossible to use any peripheral Any further development, if any, will happen at https://github.com/rpaulo/wii. Discussed with: nathanw (a long time ago), jhibbits
* Prefer install over mkdir to create the directory. Add test to ensureimp2015-02-091-3/+3
| | | | | | | the directory doesn't exist before creating it. This makes the NO_ROOT case actually work. Suggested by: brooks@
* Move these definitions to bsd.own.mk along side the kernel directory /imp2015-02-091-4/+0
| | | | | | user defines. Make this work with WITH_INSTALL_AS_USER as well. Noticed by: ian@
* Fix typo.imp2015-02-091-1/+1
| | | | Submitted by: jhb@
* We need to create /boot/dtb since some use cases don't create a fullimp2015-02-091-0/+4
| | | | | | | | root with BSD.root.mtree, so it often times will not exist. Rather than force the latter for an installkernel, just create the directory with a comment about why. Submitted by: Guy Yur
* Make sure that we define DTB{OWN,GRP,MODE} so install works.imp2015-02-091-0/+3
| | | | Submitted by: Guy Yur
* Pass MODULES_EXTRA to the modules build. While I'm here, also alwaysimp2015-02-091-3/+1
| | | | | | pass WITHOUT_MODULES down. There's no need to make this conditional. Submitted by: Guy Yur
* Enforce that MK_foo options shall be either "yes" or "no" and nothingimp2015-02-091-0/+8
| | | | else.
* Add WPI_DEBUG option.adrian2015-02-071-0/+3
| | | | | PR: kern/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
* Unbreak the build (memchr is explicitly required by devctl(9) after r278320)ngie2015-02-061-1/+1
| | | | | Submitted by: Michael Butler <imb@protected-networks.net> Reported by: O. Hartmann <ohartman@zedat.fu-berlin.de>
* Always prefer double dashes for GNU LD long options.davide2015-02-061-1/+1
| | | | | | | | | | I discovered this while working on llvm/lld and realized export-dynamic only supported --. Although upstream will eventually grow to support both - and --, switch this in our build system, because GNU ld supports both modes, and because there's some hope lld will become the default linker for FreeBSD in the future. Discussed with: emaste, rdivacky
* Import VCHI driver for Broadcom's VideoCore IV GPUgonzo2015-02-051-0/+3
| | | | Differential Revision: D1753
* turn GEOM_UNCOMPRESS_DEBUG into a proper option so it can be specifiedjmg2015-02-051-1/+2
| | | | | | | | in kernel config files.. put VERBOSE_SYSINIT in it's own option header so the one file, init_main.c, can use it instead of requiring an entire kernel recompile to change one file..
* Add -fwrapv to CFLAGS for the kernel. This essentially un-reverts r259045.peter2015-02-051-0/+8
| | | | | | | | | | | | | The C standard undefines behavior when signed integers overflow. The compiler toolchain has become more adept at detecting this and taking advantage of faster undefined behavior. At the current time this has the unfortunate effect of the clock stopping after 24 days of uptime. clang makes no distinction between -fwrapv and -fno-strict-overflow. gcc does treat them differently but -fwrapv is mature in gcc and is the behavior are actually expecting. Obtained from: kib
* Generalized parts of the XEN timer code into a generic pvclockbryanv2015-02-042-0/+2
| | | | | | | | | KVM clock shares the same data structures between the guest and the host as Xen so it makes sense to just have a single copy of this code. Differential Revision: https://reviews.freebsd.org/D1429 Reviewed by: royger (eariler version) MFC after: 1 month
* Optimise allocation of USB DMA structures. By default don't double maphselasky2015-02-021-0/+1
| | | | | | | | | allocations if only one element should be allocated per page cache. Make one allocation per element compile time configurable. Fix a comment while at it. Suggested by: ian @ MFC after: 1 week
* Build the powerpc64 kernel as a position-independent executable. At startup,nwhitehorn2015-01-311-0/+5
| | | | | | | | | it processes its own ELF relocations and can be loaded and run in place at any physical/virtual address. NB: This requires an updated loader to boot! Relnotes: yes
* Fix build with "device iscsi" in kernel config.trasz2015-01-311-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add kobj interface between ICL and the rest of the iSCSI stack.trasz2015-01-311-0/+1
| | | | | | | Review note - icl.c was moved to icl_soft.c. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* For clang, disable -Wcast-qual warnings for specific aesni files, sincedim2015-01-302-2/+3
| | | | | clang 3.6.0 will emit a number of such warnings for those files, and they are partially contributed code.
* Add ARMv7 performance monitoring counters.br2015-01-281-0/+1
| | | | | | Differential Revision: https://reviews.freebsd.org/D1687 Reviewed by: rpaulo Sponsored by: DARPA, AFRL
* Add MK_AUTOFS knob for building and installing autofs(4), et alngie2015-01-261-0/+1
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add MK_BHYVE knob for building and installing bhyve(4), et alngie2015-01-261-0/+1
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Build cuse(4) if MK_CUSE != nongie2015-01-251-0/+1
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add MK_CCD knob for building and installing ccd(4), ccdconfig, etcngie2015-01-251-0/+1
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernelngie2015-01-251-0/+1
| | | | | | | modules, etc MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Make sure the compiler flag to get cxgbe(4) to compile with gcc is usednp2015-01-241-1/+1
| | | | | | only when gcc is being used. This is what r277225 should have been. Suggested by: dim@
* Refactor PowerPC (especially AIM) init sequence to be less baroque.nwhitehorn2015-01-182-1/+3
| | | | MFC after: 2 months
* Refactor / restructure the RSS code into generic, IPv4 and IPv6 specificadrian2015-01-181-2/+4
| | | | | | | | | | | | | | | | | | | | | | bits. The motivation here is to eventually teach netisr and potentially other networking subsystems a bit more about how RSS work queues / buckets are configured so things have a hope of auto-configuring in the future. * net/rss_config.[ch] takes care of the generic bits for doing configuration, hash function selection, etc; * topelitz.[ch] is now in net/ rather than netinet/; * (and would be in libkern if it didn't directly include RSS_KEYSIZE; that's a later thing to fix up.) * netinet/in_rss.[ch] now just contains the IPv4 specific methods; * and netinet/in6_rss.[ch] now just contains the IPv6 specific methods. This should have no functional impact on anyone currently using the RSS support. Differential Revision: D1383 Reviewed by: gnn, jfv (intel driver bits)
* Extend fixes made in r277308 to fix build of LINT kernels for i386 andhselasky2015-01-181-5/+10
| | | | | | | | | amd64. Until further we need some custom C-flags when building the Linux compat API. MFC after: 1 month Sponsored by: Mellanox Technologies Reported by: bz@
* There are still kernel configs and mk files depending on the OFED option.bz2015-01-181-0/+1
| | | | | This will need a proper cleanup and in the meantime after r277302 unbreak LINT builds.
* Start importing the basic OFED linux compatibility layer changes madehselasky2015-01-172-7/+7
| | | | | | | | | by dumbbell@ to be able to compile this layer as a dependency module. Clean up some Makefiles and remove the no longer used OFED define. Currently only i386 and amd64 targets are supported. MFC after: 1 month Sponsored by: Mellanox Technologies
* Move DEV_ entries scattered to their common section. Add DEV_PCI.imp2015-01-171-7/+8
|
* Plug cxgbe(4) back into !powerpc && !arm builds, instead of building itnp2015-01-161-0/+3
| | | | on amd64 only.
* Make cxgbe(4) buildable with the gcc in base.np2015-01-161-1/+1
|
* Add Altivec/VMX register support to ptrace.jhibbits2015-01-141-0/+1
| | | | | MFC after: 2 weeks Relnotes: yes
* Add usb template SERIALNET allowing us to have both USB CDC Ethernetbr2015-01-131-0/+1
| | | | | | and USB CDC Modem same time by single cable. Reviewed by: hselasky@
* Take out some more no-error warnings, as the build is clean withoutimp2015-01-101-1/+1
| | | | them.
OpenPOWER on IntegriCloud