| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
support for unwinding from dtrace.
Tested by: gnn (with dtrace)
Sponsored by: ABT Systems Ltd
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
are passed down properly when there's more than one.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
the directory doesn't exist before creating it. This makes the NO_ROOT
case actually work.
Suggested by: brooks@
|
|
|
|
|
|
| |
user defines. Make this work with WITH_INSTALL_AS_USER as well.
Noticed by: ian@
|
|
|
|
| |
Submitted by: jhb@
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: Guy Yur
|
|
|
|
|
|
| |
pass WITHOUT_MODULES down. There's no need to make this conditional.
Submitted by: Guy Yur
|
|
|
|
| |
else.
|
|
|
|
|
| |
PR: kern/197143
Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
|
|
|
|
|
| |
Submitted by: Michael Butler <imb@protected-networks.net>
Reported by: O. Hartmann <ohartman@zedat.fu-berlin.de>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Differential Revision: D1753
|
|
|
|
|
|
|
|
| |
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..
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Review note - icl.c was moved to icl_soft.c.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
clang 3.6.0 will emit a number of such warnings for those files, and
they are partially contributed code.
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D1687
Reviewed by: rpaulo
Sponsored by: DARPA, AFRL
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
|
| |
modules, etc
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
| |
only when gcc is being used. This is what r277225 should have been.
Suggested by: dim@
|
|
|
|
| |
MFC after: 2 months
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
This will need a proper cleanup and in the meantime after r277302 unbreak
LINT builds.
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
on amd64 only.
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Relnotes: yes
|
|
|
|
|
|
| |
and USB CDC Modem same time by single cable.
Reviewed by: hselasky@
|
|
|
|
| |
them.
|