]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoUse struct thread * directly instead of d_thread_t. This driver is not
jhb [Mon, 5 Jan 2015 19:49:20 +0000 (19:49 +0000)]
Use struct thread * directly instead of d_thread_t.  This driver is not
likely to be merged back to stable/4.

Reviewed by: delphij

9 years agoExclude drivers which build but don't actually work with PAE enabled,
marius [Mon, 5 Jan 2015 19:15:35 +0000 (19:15 +0000)]
Exclude drivers which build but don't actually work with PAE enabled,
missed in r276377

9 years agoRevert r272109 locally, which is not quite equivalent in how it deals with
nwhitehorn [Mon, 5 Jan 2015 18:15:16 +0000 (18:15 +0000)]
Revert r272109 locally, which is not quite equivalent in how it deals with
missing interrupt-parent properties. A better solution will come later,
but this restores pseries in QEMU for the time being.

9 years agoMissed change in r276688. Apologies for build breakage.
nwhitehorn [Mon, 5 Jan 2015 16:52:25 +0000 (16:52 +0000)]
Missed change in r276688. Apologies for build breakage.

9 years agoo Switch to use non-mergeable RX buffers to avoid mbuf adjustment needs
br [Mon, 5 Jan 2015 16:43:22 +0000 (16:43 +0000)]
o Switch to use non-mergeable RX buffers to avoid mbuf adjustment needs
o Operate with copy of iov as we expect later it was not modified

9 years agoreadelf: Handle note types from different operating systems
emaste [Mon, 5 Jan 2015 16:05:15 +0000 (16:05 +0000)]
readelf: Handle note types from different operating systems

Previously elftoolchain readelf(1) produced correct description text
only for Linux note types.

Upstream elftoolchain ticket #473

Differential Revision: https://reviews.freebsd.org/D1428
Reviewed by: kib
Sponsored by: The FreeBSD Foundation

9 years agoFix memory leaks.
trasz [Mon, 5 Jan 2015 15:34:23 +0000 (15:34 +0000)]
Fix memory leaks.

CID: 12585821258583.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation

9 years agoRemove leftovers.
trasz [Mon, 5 Jan 2015 15:29:28 +0000 (15:29 +0000)]
Remove leftovers.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation

9 years agoEnable remote control using a local socket in the default configuration.
des [Mon, 5 Jan 2015 15:09:00 +0000 (15:09 +0000)]
Enable remote control using a local socket in the default configuration.

9 years agoMake a bunch of USB debug SYSCTLs tunable, so that their value(s) can
hselasky [Mon, 5 Jan 2015 15:04:17 +0000 (15:04 +0000)]
Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can
be set before the USB device(s) are probed.

9 years agomfv (r276698): support for remote control over local sockets.
des [Mon, 5 Jan 2015 14:59:18 +0000 (14:59 +0000)]
mfv (r276698): support for remote control over local sockets.

9 years agoFix a few grammar issues.
brueffer [Mon, 5 Jan 2015 13:46:37 +0000 (13:46 +0000)]
Fix a few grammar issues.

9 years agoClang's 3.5 integrated assembler now handles these files correctly (it
imp [Mon, 5 Jan 2015 12:28:22 +0000 (12:28 +0000)]
Clang's 3.5 integrated assembler now handles these files correctly (it
has support for the .codeXX directives). However, it is desirable, for
a time, to allow kernels to be built with clang 3.4. Historically, it
has been advantageous to allow stable X-1 to build kernels the old
way (so long as the impact of doing so is small), and this restores
that ability.

Also, centralize the addition of ${ASM_CFLAGS.${.IMPSRC}}, place it in
kern.mk rather than kern.pre.mk so that all modules can benefit, and
give the same treatment to CFLAGS in kern.mk as well.

9 years agoAdd a very basic manpage for the Etherswitch framework.
brueffer [Mon, 5 Jan 2015 11:40:05 +0000 (11:40 +0000)]
Add a very basic manpage for the Etherswitch framework.

MFC after: 1 week

9 years agoWith r276692 m_align() moved and became an inline function.
bz [Mon, 5 Jan 2015 11:22:58 +0000 (11:22 +0000)]
With r276692 m_align() moved and became an inline function.
Remove the (now) redundant function declaration.

9 years agoMention axge(4).
kevlo [Mon, 5 Jan 2015 10:10:35 +0000 (10:10 +0000)]
Mention axge(4).

9 years agoTo ease changes to underlying mbuf structure and the mbuf allocator, reduce
rwatson [Mon, 5 Jan 2015 09:58:32 +0000 (09:58 +0000)]
To ease changes to underlying mbuf structure and the mbuf allocator, reduce
the knowledge of mbuf layout, and in particular constants such as M_EXT,
MLEN, MHLEN, and so on, in mbuf consumers by unifying various alignment
utility functions (M_ALIGN(), MH_ALIGN(), MEXT_ALIGN() in a single
M_ALIGN() macro, implemented by a now-inlined m_align() function:

- Move m_align() from uipc_mbuf.c to mbuf.h; mark as __inline.
- Reimplement M_ALIGN(), MH_ALIGN(), and MEXT_ALIGN() using m_align().
- Update consumers around the tree to simply use M_ALIGN().

This change eliminates a number of cases where mbuf consumers must be aware
of whether or not mbufs returned by the allocator use external storage, but
also assumptions about the size of the returned mbuf. This will make it
easier to introduce changes in how we use external storage, as well as
features such as variable-size mbufs.

Differential Revision: https://reviews.freebsd.org/D1436
Reviewed by: glebius, trasz, gnn, bz
Sponsored by: EMC / Isilon Storage Division

9 years agoRemove the remnants of the OpenWRT/Linux bits that this was based off
adrian [Mon, 5 Jan 2015 05:30:07 +0000 (05:30 +0000)]
Remove the remnants of the OpenWRT/Linux bits that this was based off
of.

Obtained from: Linux/OpenWRT

9 years agoOops - missed refclk.
adrian [Mon, 5 Jan 2015 05:26:57 +0000 (05:26 +0000)]
Oops - missed refclk.

Tested:

* AP135, QCA955x SoC

9 years agoaddr2line: fflush output after each address lookup
emaste [Mon, 5 Jan 2015 04:56:38 +0000 (04:56 +0000)]
addr2line: fflush output after each address lookup

Certain tools spawn addr2line and pass addresses one at a time for
resolution.

PR: 195561
Reported by: antoine
Sponsored by: The FreeBSD Foundation

9 years agoAdd kexec-based Linux shim loader for use with the firmware petitboot
nwhitehorn [Mon, 5 Jan 2015 04:33:39 +0000 (04:33 +0000)]
Add kexec-based Linux shim loader for use with the firmware petitboot
loader on PS3 and POWER8 systems. This is reasonably portable to other
architectures, especially FDT-based ones, if similar features are useful
elsewhere.

Netboot support is missing for now and will be added in a future commit,
at which time loader.ps3 will be garbage collected.

Done at: Hackathon

9 years agoAdd initial Qualcomm Atheros QCA955x SoC support.
adrian [Mon, 5 Jan 2015 02:06:26 +0000 (02:06 +0000)]
Add initial Qualcomm Atheros QCA955x SoC support.

This adds the initial frequency poking and configures up enough
for it to boot and spit out data over the console.

There's still a whole bunch of work to do in the reset path
and devices to support this thing, but hey, it's alive!

ath> go 0x80050100
## Starting application at 0x80050100 ...
CPU platform: Atheros AR9558 rev 0
CPU Frequency=720 MHz
CPU DDR Frequency=600 MHz
CPU AHB Frequency=200 MHz
platform frequency: 720 MHz
CPU reference clock: 0 MHz
CPU MDIO clock: 40 MHz

Done at: hackathon
Obtained from: Linux OpenWRT, Qualcomm Atheros

9 years agoACK interrupts on the new SoCs.
adrian [Mon, 5 Jan 2015 02:00:41 +0000 (02:00 +0000)]
ACK interrupts on the new SoCs.

9 years agoadd QCA955x SoC types.
adrian [Mon, 5 Jan 2015 01:59:44 +0000 (01:59 +0000)]
add QCA955x SoC types.

9 years agoAdd QCA955x series register definitions.
adrian [Mon, 5 Jan 2015 01:44:23 +0000 (01:44 +0000)]
Add QCA955x series register definitions.

There's likely a bunch of register offsets that I have to add the
register window base to before I use them.

Done at: Hackathon
Obtained from: Linux OpenWRT

9 years agoAvoid calling internal libc function through PLT or accessing data
kib [Mon, 5 Jan 2015 01:06:54 +0000 (01:06 +0000)]
Avoid calling internal libc function through PLT or accessing data
though GOT, by staticizing and hiding.  Add setter for
__error_selector to hide it as well.

Suggested and reviewed by: jilles
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoUse FDT properties to identify a PS3 if present.
nwhitehorn [Mon, 5 Jan 2015 01:05:35 +0000 (01:05 +0000)]
Use FDT properties to identify a PS3 if present.

9 years agoMake PS3 work with the userspace kboot loader. loader.ps3 will disappear
nwhitehorn [Mon, 5 Jan 2015 00:50:16 +0000 (00:50 +0000)]
Make PS3 work with the userspace kboot loader. loader.ps3 will disappear
from the tree in the near future.

Done at: Hackathon

9 years agoBump .Dd again for the change done in r276483
ngie [Mon, 5 Jan 2015 00:03:42 +0000 (00:03 +0000)]
Bump .Dd again for the change done in r276483

Pointyhat to: me

9 years agoExpect :arithmetic_ops_body to fail with syntax errors on FreeBSD
ngie [Sun, 4 Jan 2015 23:41:17 +0000 (23:41 +0000)]
Expect :arithmetic_ops_body to fail with syntax errors on FreeBSD

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

9 years agoDo not configure Altera PIO device on ARM startup.
br [Sun, 4 Jan 2015 23:14:04 +0000 (23:14 +0000)]
Do not configure Altera PIO device on ARM startup.
PIO is a device implemented in soft-core and becomes
available after flashing FPGA only.

9 years agoIntegrate bin/cat/tests from NetBSD into atf/kyua
ngie [Sun, 4 Jan 2015 22:37:44 +0000 (22:37 +0000)]
Integrate bin/cat/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division

9 years agoIntegrate sbin/ifconfig/tests from NetBSD into atf/kyua
ngie [Sun, 4 Jan 2015 22:25:16 +0000 (22:25 +0000)]
Integrate sbin/ifconfig/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division

9 years agoEliminate uninitialized variable warnings in kernel and module builds when
ian [Sun, 4 Jan 2015 20:08:24 +0000 (20:08 +0000)]
Eliminate uninitialized variable warnings in kernel and module builds when
building with gcc 4.2

This has been requested several times over the past few months by several
people (including me), because gcc 4.2 just gets it wrong too often.  It's
causing us to litter the code with lots of bogus initializers just to
squelch the warnings.  We still have clang and coverity telling us about
uninitialized variables, and they do so more accurately.

9 years agoPrevent live-lock and access of destroyed data in taskqueue_drain_all().
gibbs [Sun, 4 Jan 2015 19:55:44 +0000 (19:55 +0000)]
Prevent live-lock and access of destroyed data in taskqueue_drain_all().

Phabric: https://reviews.freebsd.org/D1247
Reviewed by: jhb, avg
Sponsored by: Spectra Logic Corporation

sys/kern_subr_taskqueue.c:
Modify taskqueue_drain_all() processing to use a temporary
"barrier task", rather than rely on a user task that may
be destroyed during taskqueue_drain_all()'s execution.  The
barrier task is queued behind all previously queued tasks
and then has its priority elevated so that future tasks
cannot pass it in the queue.

Use a similar barrier scheme to drain threads processing
current tasks.  This requires taskqueue_run_locked() to
insert and remove the taskqueue_busy object for the running
thread for every task processed.

share/man/man9/taskqueue.9:
Remove warning about live-lock issues with taskqueue_drain_all()
and indicate that it does not wait for tasks queued after
it begins processing.

9 years agoChange the type of blksize_t from uint32_t to a POSIX compliant int32_t
kevlo [Sun, 4 Jan 2015 15:26:02 +0000 (15:26 +0000)]
Change the type of blksize_t from uint32_t to a POSIX compliant int32_t
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html

9 years agomdoc: paragraph improvements.
joel [Sun, 4 Jan 2015 12:49:24 +0000 (12:49 +0000)]
mdoc: paragraph improvements.

9 years agomdoc: use An macro.
joel [Sun, 4 Jan 2015 12:42:08 +0000 (12:42 +0000)]
mdoc: use An macro.

9 years agomdoc: sort SEE ALSO.
joel [Sun, 4 Jan 2015 12:38:00 +0000 (12:38 +0000)]
mdoc: sort SEE ALSO.

9 years agoRegen for r276654 (__getcwd()).
dchagin [Sun, 4 Jan 2015 10:40:23 +0000 (10:40 +0000)]
Regen for r276654 (__getcwd()).

9 years agoIndeed, instead of hiding the kern___getcwd() bug by bogus cast
dchagin [Sun, 4 Jan 2015 10:34:02 +0000 (10:34 +0000)]
Indeed, instead of hiding the kern___getcwd() bug by bogus cast
in r276564, change path type to char * (pathnames are always char *).
And remove bogus casts of malloc().
kern___getcwd() internally doesn't actually use or support u_char *
paths, except to copy them to a normal char * path.

These changes are not visible to libc as libc/gen/getcwd.c misdeclares
__getcwd() as taking a plain char * path.

While here remove _SYS_SYSPROTO_H_ for __getcwd() syscall as
we always have sysproto.h.

Pointed out by: bde

MFC after: 1 week

9 years agoTruncate DB_SMALL_VALUE_MAX to a much lower value.
jhibbits [Sun, 4 Jan 2015 01:45:26 +0000 (01:45 +0000)]
Truncate DB_SMALL_VALUE_MAX to a much lower value.

Unlike the other architectures, the PowerPC kernel is loaded under the 2GB
boundary.

MFC after: 2 weeks

9 years agoAdd pregenerated documentation for as(1) and ld(1)
bapt [Sun, 4 Jan 2015 00:58:30 +0000 (00:58 +0000)]
Add pregenerated documentation for as(1) and ld(1)

9 years agoFix generating documentation with modern texinfo
bapt [Sun, 4 Jan 2015 00:54:29 +0000 (00:54 +0000)]
Fix generating documentation with modern texinfo

9 years agoFix generating documents with modern texinfo
bapt [Sun, 4 Jan 2015 00:44:24 +0000 (00:44 +0000)]
Fix generating documents with modern texinfo

9 years agoDo not erronously export 'openat' symbol from rtld.
kib [Sun, 4 Jan 2015 00:33:41 +0000 (00:33 +0000)]
Do not erronously export 'openat' symbol from rtld.

The symbol leaked after r276630 since lib/libc/sys/openat.c defines
versions for openat using .symver (version script cannot assign two
versions to one symbol), and rtld uses openat.  Instead, directly use
__sys_openat().

Reported and tested by: antoine
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoDon't allow clang to use fpu instructions or registers in kernel modules.
ian [Sun, 4 Jan 2015 00:12:30 +0000 (00:12 +0000)]
Don't allow clang to use fpu instructions or registers in kernel modules.

Submitted by: Keith White <kwhite@site.uottawa.ca>

9 years agoSwitch all arm kernels with option SMP to use SCHED_ULE instead of 4BSD.
ian [Sat, 3 Jan 2015 23:57:03 +0000 (23:57 +0000)]
Switch all arm kernels with option SMP to use SCHED_ULE instead of 4BSD.

9 years agoOnly manpages with fatal errors should be rendered by groff(1)
bapt [Sat, 3 Jan 2015 23:39:44 +0000 (23:39 +0000)]
Only manpages with fatal errors should be rendered by groff(1)

9 years agoRemove commented-out options SMP and APIC_IO from old arm boards that will
ian [Sat, 3 Jan 2015 23:30:29 +0000 (23:30 +0000)]
Remove commented-out options SMP and APIC_IO from old arm boards that will
never be able to support smp.

9 years agoImport NetBSD vis(1) mandoc fixes
bapt [Sat, 3 Jan 2015 23:16:13 +0000 (23:16 +0000)]
Import NetBSD vis(1) mandoc fixes

9 years agoThe radeon DRI module doesn't really work correctly on powerpc, so don't build
jhibbits [Sat, 3 Jan 2015 22:36:18 +0000 (22:36 +0000)]
The radeon DRI module doesn't really work correctly on powerpc, so don't build
it.  Hopefully we'll get radeonkms eventually.

Discussed with: nwhitehorn
MFC after: 2 weeks

9 years agoAdd a new trap-v6.c which has support for all armv7 exceptions. This
ian [Sat, 3 Jan 2015 22:33:18 +0000 (22:33 +0000)]
Add a new trap-v6.c which has support for all armv7 exceptions.  This
mostly paves the way for the new pmap code, and shouldn't result in any
noticible behavior differences.

Submitted by: Svatopluk Kraus <onwahe@gmail.com>,
              Michal Meloun <meloun@miracle.cz

9 years agoPowerPC also needs ofw_bus_if.h when using FDT.
jhibbits [Sat, 3 Jan 2015 21:47:32 +0000 (21:47 +0000)]
PowerPC also needs ofw_bus_if.h when using FDT.

9 years agoMissed the header for the note definition.
jhibbits [Sat, 3 Jan 2015 21:44:47 +0000 (21:44 +0000)]
Missed the header for the note definition.

X-MFC-with: r276634
MFC after: 2 weeks

9 years agoResort and resize the altivec registers in the pcb. vrsave and vscr are both
jhibbits [Sat, 3 Jan 2015 21:08:27 +0000 (21:08 +0000)]
Resort and resize the altivec registers in the pcb.  vrsave and vscr are both
32-bit registers via the PowerPC spec.

X-MFC-with: r276634
MFC after: 2 weeks

9 years agoDump VMX registers into the userland coredump.
jhibbits [Sat, 3 Jan 2015 21:06:06 +0000 (21:06 +0000)]
Dump VMX registers into the userland coredump.

Reviewed by: nwhitehorn
MFC after: 2 weeks

9 years agoCreate a custom /boot/defaults/loader.conf for ARM. This differs from the
ian [Sat, 3 Jan 2015 19:38:37 +0000 (19:38 +0000)]
Create a custom /boot/defaults/loader.conf for ARM.  This differs from the
standard file in the following ways:

 - modules_path includes /boot/dtb
 - It doesn't contain 533 lines, of which 500 are either commented out,
   empty, or something_which_doesnt_work_on_arm_anyway=NO

The standard defaults file takes 40+ seconds to process on an arm beaglebone
board.  This one takes just a couple seconds.

This gets installed instead of the original because of the .PATH magic in
the makefile.

9 years agoFix known issues which blow up the process after dlopen("libthr.so")
kib [Sat, 3 Jan 2015 18:38:46 +0000 (18:38 +0000)]
Fix known issues which blow up the process after dlopen("libthr.so")
(or loading a dso linked to libthr.so into process which was not
linked against threading library).

- Remove libthr interposers of the libc functions, including
  __error(). Instead, functions calls are indirected through the
  interposing table, similar to how pthread stubs in libc are already
  done.  Libc by default points either to syscall trampolines or to
  existing libc implementations.  On libthr load, libthr rewrites the
  pointers to the cancellable implementations already in libthr.  The
  interposition table is separate from pthreads stubs indirection
  table to not pull pthreads stubs into static binaries.

- Postpone the malloc(3) internal mutexes initialization until libthr
  is loaded.  This avoids recursion between calloc(3) and static
  pthread_mutex_t initialization.

- Reinstall signal handlers with wrapper on libthr load.  The
  _rtld_is_dlopened(3) is used to avoid useless calls to sigaction(2)
  when libthr is statically referenced from the main binary.

In the process, fix openat(2), swapcontext(2) and setcontext(2)
interposing.  The libc symbols were exported at different versions
than libthr interposers.  Export both libc and libthr versions from
libc now, with default set to the higher version from libthr.

Remove unused and disconnected swapcontext(3) userspace implementation
from libc/gen.

No objections from: deischen
Tested by: pho, antoine (exp-run) (previous versions)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoAdd rtld private interface for dso to detect dynamic loading
kib [Sat, 3 Jan 2015 18:09:53 +0000 (18:09 +0000)]
Add rtld private interface for dso to detect dynamic loading
vs. static linking.

Tested by: pho, antoine (exp-run)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoRework r276532 a bit. Always avoid recursing into the console drivers
hselasky [Sat, 3 Jan 2015 17:21:19 +0000 (17:21 +0000)]
Rework r276532 a bit. Always avoid recursing into the console drivers
clients, hence they might not handle it very well. This change allows
debugging mutex problems with kernel console drivers when
"debug.witness.skipspin=0" is set in the boot environment.

MFC after: 1 week

9 years agoAlways use -Wno-unknown-pragmas, not just for clang.
imp [Sat, 3 Jan 2015 16:48:08 +0000 (16:48 +0000)]
Always use -Wno-unknown-pragmas, not just for clang.

9 years agoAdd generated files.
des [Sat, 3 Jan 2015 11:52:43 +0000 (11:52 +0000)]
Add generated files.

9 years agoMake sure an error case exits unlocked.
hselasky [Sat, 3 Jan 2015 11:04:17 +0000 (11:04 +0000)]
Make sure an error case exits unlocked.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 1 week

9 years agoAdd a GPIO output mux configuration method.
adrian [Sat, 3 Jan 2015 06:55:58 +0000 (06:55 +0000)]
Add a GPIO output mux configuration method.

The AR934x and later (which will turn up eventually) have a new GPIO
output configuration option - a real MUX rather than a "GPIO or this
function."

For now I'm squirreling it away in the CPU code just so it's done -
I may move this to the GPIO layer later.

Specifically, this is required for setting up some boards that have
external receive side LNA (low noise amplifier) that gets switched on/off
by the on-chip wireless MAC.  If we don't add this support for those
boards then we'll end up with really poor performance.

(I don't yet have one of those APs, but it'll likely show up in a week.)

Obtained from: Linux OpenWRT

9 years agoAdd AR934x specific GPIO functions and output MUX configuration.
adrian [Sat, 3 Jan 2015 06:35:53 +0000 (06:35 +0000)]
Add AR934x specific GPIO functions and output MUX configuration.

Obtained from: Linux OpenWRT

9 years agoAdd AR934x GPIO function configuration.
adrian [Sat, 3 Jan 2015 06:30:30 +0000 (06:30 +0000)]
Add AR934x GPIO function configuration.

Obtained from: Linux OpenWRT

9 years agoFix all nits reported by mandoc -Tlint.
np [Sat, 3 Jan 2015 05:39:01 +0000 (05:39 +0000)]
Fix all nits reported by mandoc -Tlint.

MFC after: 1 month

9 years agoRe-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, support
imp [Sat, 3 Jan 2015 03:35:18 +0000 (03:35 +0000)]
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, support
CWARNFALGS.$file centrally so we don't have to have it in all the
places. Remove a few warning flags that are no longer needed.
Also, always use -Wno-unknown-pragma to (hopefully temporarily) work
around #pragma ident in debug.h in the opensolaris code. Remove some
stale warning suppression that's no longer necessary.

9 years agoUpgrade to Unbound 1.5.1. Almost all our local changes to date have been
des [Sat, 3 Jan 2015 02:40:51 +0000 (02:40 +0000)]
Upgrade to Unbound 1.5.1.  Almost all our local changes to date have been
adopted upstream, greatly reducing the diff.

9 years agoFor now build random into the kernel - there seems to be issues kldload'ing
adrian [Sat, 3 Jan 2015 02:39:28 +0000 (02:39 +0000)]
For now build random into the kernel - there seems to be issues kldload'ing
it at early boot.

9 years agoThe kernel has gotten too big; trim out MSDOSFS for the DIR825B1.
adrian [Sat, 3 Jan 2015 02:34:23 +0000 (02:34 +0000)]
The kernel has gotten too big; trim out MSDOSFS for the DIR825B1.

9 years agoBelatedly commit the patch for SA-14:21 to head. It was not committed to
des [Sat, 3 Jan 2015 01:52:06 +0000 (01:52 +0000)]
Belatedly commit the patch for SA-14:21 to head.  It was not committed to
head at the time because it's a band-aid, rather than a complete fix, but
the complete fix never materialized.

9 years agoFor /dev/mem and /dev/kmem accesses, avoid asserting that addresses
kib [Sat, 3 Jan 2015 01:28:58 +0000 (01:28 +0000)]
For /dev/mem and /dev/kmem accesses, avoid asserting that addresses
are within direct map.  We want to return error instead of panicing.

PR: 194995
Sponsored by: The FreeBSD Foundation

9 years agoRecognize the lexer and parser sources.
des [Sat, 3 Jan 2015 00:31:52 +0000 (00:31 +0000)]
Recognize the lexer and parser sources.

9 years agoAdd a manual page for cxgbetool. It is incomplete but definitely
np [Sat, 3 Jan 2015 00:26:21 +0000 (00:26 +0000)]
Add a manual page for cxgbetool.  It is incomplete but definitely
better than nothing.

MFC after: 1 month

9 years agocxgbe/tom: do not engage the TOE's payload chopper for payload < 2 MSS
np [Sat, 3 Jan 2015 00:09:21 +0000 (00:09 +0000)]
cxgbe/tom: do not engage the TOE's payload chopper for payload < 2 MSS
or for 10Gbps ports.

MFC after: 2 weeks

9 years agoFix alignment directives in arm asm code after clang 3.5 import.
ian [Fri, 2 Jan 2015 23:46:26 +0000 (23:46 +0000)]
Fix alignment directives in arm asm code after clang 3.5 import.

The ancient gas we've been using interprets .align 0 as align to the
minimum required alignment for the current section.  Clang's integrated
assembler interprets it as align to a byte boundary.  Fortunately both
assemblers interpret a non-zero value as align to 2^N so just make sure
we have appropriate non-zero values everywhere.

9 years agoDocument file update.
delphij [Fri, 2 Jan 2015 23:10:28 +0000 (23:10 +0000)]
Document file update.

9 years agoRemove MK_INFO guards in bsd.info.mk per r276556
ngie [Fri, 2 Jan 2015 22:55:30 +0000 (22:55 +0000)]
Remove MK_INFO guards in bsd.info.mk per r276556

As a side-effect now info pages will always be built/installed if
MK_INFO == yes, whereas before their presence was conditional based on the
value of MK_INFO

This .mk file might be removed in the future, pending discussion on -arch. For
now unbreak its use outside of src (with the only use in ports according to
bapt being devel/cvs*)

X-MFC with: r276551, r276556
Reviewed by: bapt
Differential Revision: D1413

9 years agoLink lib/libc/c063 tests to the build.
jilles [Fri, 2 Jan 2015 22:49:05 +0000 (22:49 +0000)]
Link lib/libc/c063 tests to the build.

Some files lack required #include <sys/stat.h>. The #ifdef is per ngie's
request; the includes are clearly necessary for struct stat.

The faccessat test fails because it tries to use AT_SYMLINK_NOFOLLOW with
faccessat(), which is not specified by POSIX.1-2008.

Differential Revision: https://reviews.freebsd.org/D1411
Reviewed by: ngie

9 years agopuc(4): Add an entry for the Feasso PCI FPP-02 2S1P card.
loos [Fri, 2 Jan 2015 22:45:55 +0000 (22:45 +0000)]
puc(4): Add an entry for the Feasso PCI FPP-02 2S1P card.

MFC after: 1 week

9 years agoRemove last vestige of Apple-specific memory parsing removed in r258807.
nwhitehorn [Fri, 2 Jan 2015 22:34:03 +0000 (22:34 +0000)]
Remove last vestige of Apple-specific memory parsing removed in r258807.

9 years agoAdd Makefile for elftoolchain readelf(1)
emaste [Fri, 2 Jan 2015 22:26:54 +0000 (22:26 +0000)]
Add Makefile for elftoolchain readelf(1)

Sponsored by: The FreeBSD Foundation

9 years agoDocument asr(4) removal in r276526.
gjb [Fri, 2 Jan 2015 21:52:01 +0000 (21:52 +0000)]
Document asr(4) removal in r276526.

Sponsored by: The FreeBSD Foundation

9 years agoBump copyright year.
gjb [Fri, 2 Jan 2015 21:46:57 +0000 (21:46 +0000)]
Bump copyright year.

Sponsored by: The FreeBSD Foundation

9 years agoUpdate the 'Submitting Problem Reports' section to reflect
gjb [Fri, 2 Jan 2015 21:46:53 +0000 (21:46 +0000)]
Update the 'Submitting Problem Reports' section to reflect
send-pr(1) deprecation, taking the text from the document
in stable/10.

Sponsored by: The FreeBSD Foundation

9 years agoMFV r276568:
delphij [Fri, 2 Jan 2015 21:20:02 +0000 (21:20 +0000)]
MFV r276568:

Update file to 5.22.

MFC after: 2 weeks

9 years agocxgbe/tom: fix the MSS calculation for IPv6 connections handled by the TOE.
np [Fri, 2 Jan 2015 21:13:24 +0000 (21:13 +0000)]
cxgbe/tom: fix the MSS calculation for IPv6 connections handled by the TOE.

MFC after: 1 week

9 years agoRemove hwlist.asr macro, asr(4) removed in r276526.
gjb [Fri, 2 Jan 2015 21:09:54 +0000 (21:09 +0000)]
Remove hwlist.asr macro, asr(4) removed in r276526.

Sponsored by: The FreeBSD Foundation

9 years agoAdd a manual page for phttpget(8).
delphij [Fri, 2 Jan 2015 21:02:41 +0000 (21:02 +0000)]
Add a manual page for phttpget(8).

MFC after: 1 month

9 years agocxgbe/tom: log some more details in send_flowc_wr.
np [Fri, 2 Jan 2015 20:52:51 +0000 (20:52 +0000)]
cxgbe/tom: log some more details in send_flowc_wr.

MFC after: 1 week

9 years agoVendor import of file 5.22.
delphij [Fri, 2 Jan 2015 20:49:47 +0000 (20:49 +0000)]
Vendor import of file 5.22.

9 years agoreadelf: Correct rounding on note padding
emaste [Fri, 2 Jan 2015 20:49:43 +0000 (20:49 +0000)]
readelf: Correct rounding on note padding

In general 64-bit ELF notes use 4-byte padding, not 8, despite what is
claimed in various specs.

Upstream elftoolchain ticket 472
https://sourceforge.net/p/elftoolchain/tickets/472/

Sponsored by: The FreeBSD Foundation

9 years agoGarbage collect the empty directory.
jkim [Fri, 2 Jan 2015 20:47:52 +0000 (20:47 +0000)]
Garbage collect the empty directory.

9 years agoRemove gnu/ info pages to unbreak the build with MK_GCC != no, etc
ngie [Fri, 2 Jan 2015 20:34:55 +0000 (20:34 +0000)]
Remove gnu/ info pages to unbreak the build with MK_GCC != no, etc

Reported by: Ivan Klymenko <fidaj@ukr.net>
Reviewed by: bapt
Differential Revision: D1412

9 years agoCast *path to silence clang -Wpointer-sign warning.
dchagin [Fri, 2 Jan 2015 19:29:32 +0000 (19:29 +0000)]
Cast *path to silence clang -Wpointer-sign warning.

MFC after: 1 week

9 years agoIn mbuf_to_synq_entry(), use M_START() and M_SIZE() to calculate an offset
rwatson [Fri, 2 Jan 2015 19:06:27 +0000 (19:06 +0000)]
In mbuf_to_synq_entry(), use M_START() and M_SIZE() to calculate an offset
into mbuf storage, to reduce knowledge about mbuf/cluster layout in the
cxgb device driver.

Reviewed by: np
Sponsored by: EMC / Isilon Storage Division

9 years agoRemove info pages
bapt [Fri, 2 Jan 2015 19:05:39 +0000 (19:05 +0000)]
Remove info pages

9 years agoRegen after removal of texinfo
bapt [Fri, 2 Jan 2015 19:01:36 +0000 (19:01 +0000)]
Regen after removal of texinfo