]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoFor x86, read MAXPHYADDR, defined in SDM vol 3 4.1.4 Enumeration of Paging
Konstantin Belousov [Mon, 12 Jan 2015 07:36:25 +0000 (07:36 +0000)]
For x86, read MAXPHYADDR, defined in SDM vol 3 4.1.4 Enumeration of Paging
Features by CPUID as CPUID.80000008H:EAX[7:0], into variable cpu_maxphyaddr.

Reviewed by: alc
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoRemove dead code.
Michael Tuexen [Mon, 12 Jan 2015 07:29:35 +0000 (07:29 +0000)]
Remove dead code.

Reported by: Coverity
CID: 1018053
MFC after: 1 week

9 years agoIncrease the maximum number of dynamic USB quirks. USB memory stick
Hans Petter Selasky [Mon, 12 Jan 2015 06:34:23 +0000 (06:34 +0000)]
Increase the maximum number of dynamic USB quirks. USB memory stick
devices which don't support the synchronize cache SCSI command are
likely to also not support the prevent-allow medium removal SCSI
command.

PR: 185747
MFC after: 1 week

9 years agoAdd PCI ID for the Oxford Semiconductor OXPCIe952 device.
Peter Grehan [Mon, 12 Jan 2015 03:39:56 +0000 (03:39 +0000)]
Add PCI ID for the Oxford Semiconductor OXPCIe952 device.

Seen on the StarTech "1 Port Native ExpressCard RS232 Serial AdapterCard
 with 16950 UART"

Reported and tested by: Michael Dexter
MFC after: 1 week

9 years agoAdd support to turn off Beaglebone with poweroff(8) or shutdown(8) -p.
Luiz Otavio O Souza [Mon, 12 Jan 2015 03:23:16 +0000 (03:23 +0000)]
Add support to turn off Beaglebone with poweroff(8) or shutdown(8) -p.

To cut off the power we need to start the shutdown sequence by writing
the OFF bit on PMIC.

Once the PMIC is programmed the SoC needs to toggle the PMIC_PWR_ENABLE
pin when it is ready for the PMIC to cut off the power.  This is done by
triggering the ALARM2 interrupt on SoC RTC.

The RTC driver only works in power management mode which means it won't
provide any kind of time keeping functionality.  It only implements a way
to trigger the ALARM2 interrupt when requested.

Differential Revision: https://reviews.freebsd.org/D1489
Reviewed by: rpaulo
MFC after: 2 weeks

9 years agoAdd ELF Tool Chain release notes
Ed Maste [Mon, 12 Jan 2015 03:06:29 +0000 (03:06 +0000)]
Add ELF Tool Chain release notes

Most recent import in r276398 and switch to ELF Tool Chain tools by
default in r276796.

Reviewed by: gjb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1501

9 years agoHandle dma mappings with more than one segment for rpi sdhci.
Ian Lepore [Mon, 12 Jan 2015 02:42:33 +0000 (02:42 +0000)]
Handle dma mappings with more than one segment for rpi sdhci.

The driver inherently does dma in 512 byte chunks, but it's possible that
such a buffer can span two physically discontiguous pages (such as when
a userland program does IO on the raw /dev/mmcsdN devices).  Now the driver
can handle a buffer that's split across two pages.

It could in theory handle any number of segments now, but as long as IO is
being done in 512 byte blocks it will never need more than two.

9 years agoEnable ALT_BREAK_TO_DEBUGGER for rpi.
Ian Lepore [Mon, 12 Jan 2015 02:29:23 +0000 (02:29 +0000)]
Enable ALT_BREAK_TO_DEBUGGER for rpi.

9 years agoSplit the <orgname> tag out of being a single-line.
Glen Barber [Mon, 12 Jan 2015 02:10:45 +0000 (02:10 +0000)]
Split the <orgname> tag out of being a single-line.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r276881, libedit UTF-8 support and sh(1) unicode
Glen Barber [Mon, 12 Jan 2015 02:08:13 +0000 (02:08 +0000)]
Document r276881, libedit UTF-8 support and sh(1) unicode
support.

Sponsored by: The FreeBSD Foundation

9 years agoRemove dead code.
Michael Tuexen [Sun, 11 Jan 2015 22:49:20 +0000 (22:49 +0000)]
Remove dead code.

Reported by: Coverity
CID: 748663
MFC after: 1 week

9 years agoRemove dead code.
Michael Tuexen [Sun, 11 Jan 2015 22:23:39 +0000 (22:23 +0000)]
Remove dead code.

Reported by: Coverity
CID: 748660, 748661
MFC after: 1 week

9 years agoReduce the size of the interposing table and amount of
Konstantin Belousov [Sun, 11 Jan 2015 22:16:31 +0000 (22:16 +0000)]
Reduce the size of the interposing table and amount of
cancellation-handling code in the libthr.  Translate some syscalls
into their more generic counterpart, and remove translated syscalls
from the table.

List of the affected syscalls:
creat, open -> openat
raise -> thr_kill
sleep, usleep -> nanosleep
pause -> sigsuspend
wait, wait3, waitpid -> wait4

Suggested and reviewed by: jilles (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoRemove dead code.
Michael Tuexen [Sun, 11 Jan 2015 21:55:30 +0000 (21:55 +0000)]
Remove dead code.

Reported by: Coverity
CID: 748665
MFC after: 1 week

9 years agoRemove dead code.
Michael Tuexen [Sun, 11 Jan 2015 21:44:56 +0000 (21:44 +0000)]
Remove dead code.

Reported by: Coverity
CID: 748666
MFC after: 1 week

9 years agoCheck for and handle failures of bus_dmamap_load(). The driver currently
Ian Lepore [Sun, 11 Jan 2015 21:27:46 +0000 (21:27 +0000)]
Check for and handle failures of bus_dmamap_load().  The driver currently
requires that each 512 byte IO be in a single contiguous buffer, but if a
buffer crosses a page boundary and the physical pages aren't contiguous
you can get an EFBIG failure (too many segments).

The driver really should handle multiple segment IO, but before adding that
I wanted to make sure that it's handling failure properly while the failure
is easily recreatable.

9 years agoHandle the possibility that SDHCI_PLATFORM_START_TRANSFER() can fail, by
Ian Lepore [Sun, 11 Jan 2015 21:25:03 +0000 (21:25 +0000)]
Handle the possibility that SDHCI_PLATFORM_START_TRANSFER() can fail, by
moving the handling of curcmd->error != 0 to the end of the interrupt
handler.  Also make sdhci_finish_data() idempotent by moving the setting
of slot->data_done = 1 down past the point where the busdma buffer is
unmapped.  This allows for the possibility that the finish routine can
get called from multiple places when handling errors.

9 years agoRate-limit error logging to 5 lines per second, so that when an sdcard
Ian Lepore [Sun, 11 Jan 2015 20:55:16 +0000 (20:55 +0000)]
Rate-limit error logging to 5 lines per second, so that when an sdcard
goes bad it doesn't lock up the console with continuous output.

9 years agoFix an off by one in ppsratecheck(). If you asked for N=1 you'd get one,
Ian Lepore [Sun, 11 Jan 2015 20:48:29 +0000 (20:48 +0000)]
Fix an off by one in ppsratecheck().  If you asked for N=1 you'd get one,
but for any N>1 you'd get N-1 packets/events per second.

9 years agoRight now, for non-coherent DMARs, page table update code flushes the
Konstantin Belousov [Sun, 11 Jan 2015 20:27:15 +0000 (20:27 +0000)]
Right now, for non-coherent DMARs, page table update code flushes the
cache for whole page containing modified pte, and more, only last page
in the series of the consequtive pages is flushed (i.e. the affected
mappings should be larger than 2MB).

Avoid excessive flushing and do missed neccessary flushing, by
splitting invalidation and unmapping.  For now, flush exactly the
range of the changed pte.  This is still somewhat bigger than
neccessary, since pte is 8 bytes, while cache flush line is at least
32 bytes.

The originator of the issue reports that after the change,
'dmar_bus_dmamap_unload went from 13,288 cycles down to
3,257. dmar_bus_dmamap_load_buffer went from 9,686 cycles down to
3,517.  and I am now able to get line 1GbE speed with Netperf TCP
(even with 1K message size).'

Diagnosed and tested by: Nadav Amit <nadav.amit@gmail.com>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoFix ordering by SVN revision.
Glen Barber [Sun, 11 Jan 2015 20:07:07 +0000 (20:07 +0000)]
Fix ordering by SVN revision.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271539, bsdinstall(8) parition editor and sade(8)
Glen Barber [Sun, 11 Jan 2015 20:04:35 +0000 (20:04 +0000)]
Document r271539, bsdinstall(8) parition editor and sade(8)
now support ZFS natively.

Sponsored by: The FreeBSD Foundation

9 years agoFix the release notes article.xml file to confirm with
Glen Barber [Sun, 11 Jan 2015 19:01:28 +0000 (19:01 +0000)]
Fix the release notes article.xml file to confirm with
FDP style, specifically reindenting the entire file for
tag alignment, rewrapping lines where necessary.

Sponsored by: The FreeBSD Foundation

9 years agoAdd a comment in the release notes XML file to note the
Glen Barber [Sun, 11 Jan 2015 19:01:25 +0000 (19:01 +0000)]
Add a comment in the release notes XML file to note the
last revision, to make it easier to keep track of where
the last update(s) left off.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r276551, texinfo and info page removal.
Glen Barber [Sun, 11 Jan 2015 19:01:23 +0000 (19:01 +0000)]
Document r276551, texinfo and info page removal.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275963, CPU frequency/voltage control driver for
Glen Barber [Sun, 11 Jan 2015 19:01:20 +0000 (19:01 +0000)]
Document r275963, CPU frequency/voltage control driver for
RPI.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275874, bsdinstall(8) now uses dpv(3) when extracting
Glen Barber [Sun, 11 Jan 2015 19:01:17 +0000 (19:01 +0000)]
Document r275874, bsdinstall(8) now uses dpv(3) when extracting
the distribution packages.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275748, arc_meta_limit now exposed through kernel
Glen Barber [Sun, 11 Jan 2015 19:01:15 +0000 (19:01 +0000)]
Document r275748, arc_meta_limit now exposed through kernel
statistics.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275732, OpenCrypto support for AES-ICM and AES-GCM.
Glen Barber [Sun, 11 Jan 2015 19:01:12 +0000 (19:01 +0000)]
Document r275732, OpenCrypto support for AES-ICM and AES-GCM.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275718, binutils PowerPC relocations update.
Glen Barber [Sun, 11 Jan 2015 19:01:09 +0000 (19:01 +0000)]
Document r275718, binutils PowerPC relocations update.

Sponsored by: The FreeBSD Foundation

9 years agoFix indentation for r270096 entry.
Glen Barber [Sun, 11 Jan 2015 19:01:07 +0000 (19:01 +0000)]
Fix indentation for r270096 entry.
While here, remove the leading 'r' from the revision tag.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275680, fstyp(8) addition.
Glen Barber [Sun, 11 Jan 2015 19:01:04 +0000 (19:01 +0000)]
Document r275680, fstyp(8) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275461, CTL port/LUN limits increased.
Glen Barber [Sun, 11 Jan 2015 19:01:01 +0000 (19:01 +0000)]
Document r275461, CTL port/LUN limits increased.
Add iXsystems to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275299, mrouted rc(8) script removal from base.
Glen Barber [Sun, 11 Jan 2015 19:00:58 +0000 (19:00 +0000)]
Document r275299, mrouted rc(8) script removal from base.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275171, r275190: hpwmc(4) performance counter
Glen Barber [Sun, 11 Jan 2015 19:00:55 +0000 (19:00 +0000)]
Document r275171, r275190: hpwmc(4) performance counter
sampling fixes for G4 and G5 class processors.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274987, gpio(3) addition.
Glen Barber [Sun, 11 Jan 2015 19:00:52 +0000 (19:00 +0000)]
Document r274987, gpio(3) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274960, elfdump(1) cap_limits support.
Glen Barber [Sun, 11 Jan 2015 19:00:49 +0000 (19:00 +0000)]
Document r274960, elfdump(1) cap_limits support.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274733, PMU power-button event support for certain
Glen Barber [Sun, 11 Jan 2015 19:00:47 +0000 (19:00 +0000)]
Document r274733, PMU power-button event support for certain
PowerBooks.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274394, bsdconfig(8) skips initial tzetup(8) screen
Glen Barber [Sun, 11 Jan 2015 19:00:44 +0000 (19:00 +0000)]
Document r274394, bsdconfig(8) skips initial tzetup(8) screen
if run within a VM.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274386, apci(4) and pci(4) fix for ACPI S3 state.
Glen Barber [Sun, 11 Jan 2015 19:00:41 +0000 (19:00 +0000)]
Document r274386, apci(4) and pci(4) fix for ACPI S3 state.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274246, gre(4) overhaul, me(4) addition.
Glen Barber [Sun, 11 Jan 2015 19:00:38 +0000 (19:00 +0000)]
Document r274246, gre(4) overhaul, me(4) addition.
Add Yandex LLC to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274085, vt(4) is now default.
Glen Barber [Sun, 11 Jan 2015 19:00:35 +0000 (19:00 +0000)]
Document r274085, vt(4) is now default.

Sponsored by: The FreeBSD Foundation

9 years agoSwitch around the order of static inline to be in line with how it's
Adrian Chadd [Sun, 11 Jan 2015 18:43:45 +0000 (18:43 +0000)]
Switch around the order of static inline to be in line with how it's
used elsewhere, and to keep gcc-4.7 happy.

This is a request from the DragonflyBSD project.

9 years agoStore the shadow command/mode register in the softc, not a local static var.
Ian Lepore [Sun, 11 Jan 2015 17:00:24 +0000 (17:00 +0000)]
Store the shadow command/mode register in the softc, not a local static var.

Submitted by: Michal Meloun

9 years agoRename gic_init_secondary to arm_init_secondary_ic to help with the merge
Andrew Turner [Sun, 11 Jan 2015 16:46:43 +0000 (16:46 +0000)]
Rename gic_init_secondary to arm_init_secondary_ic to help with the merge
of the arm_intrng project branch.

9 years agoWhen aggregating TRIM segments, move the new one to the list end.
Alexander Motin [Sun, 11 Jan 2015 16:36:39 +0000 (16:36 +0000)]
When aggregating TRIM segments, move the new one to the list end.

New segment at the list head may block all TRIM requests until txg of that
segment can be processed.  On my random I/O tests this change reduce peak
TRIM list length from 650 to 450 segments.  Hopefully it should reduce TRIM
burstiness when list processing is unblocked.

MFC after: 2 weeks

9 years agoRemove no longer used "M_FLOWID" flag and update the netisr manpage.
Hans Petter Selasky [Sun, 11 Jan 2015 16:15:31 +0000 (16:15 +0000)]
Remove no longer used "M_FLOWID" flag and update the netisr manpage.
This patch completes process started by r275358.

Sponsored by: Mellanox Technologies

9 years agoFix support for ConnectX2 hardware.
Hans Petter Selasky [Sun, 11 Jan 2015 15:00:08 +0000 (15:00 +0000)]
Fix support for ConnectX2 hardware.

MFC after: 3 days
Sponsored by: Mellanox Technologies

9 years agoRework the GIC driver to ease the import of the arm_intrng branch. The
Andrew Turner [Sun, 11 Jan 2015 10:26:49 +0000 (10:26 +0000)]
Rework the GIC driver to ease the import of the arm_intrng branch. The
common code has been pulled out to static functions.

9 years agoDo not regenerate and install liblzma.pc when only build libraries
Baptiste Daroussin [Sun, 11 Jan 2015 09:25:01 +0000 (09:25 +0000)]
Do not regenerate and install liblzma.pc when only build libraries
aka do not regenerate while generating 32bits libs

Reported by: antoine

9 years agocxgb: replace r273280 with a more comprehensive fix.
Navdeep Parhar [Sun, 11 Jan 2015 07:51:58 +0000 (07:51 +0000)]
cxgb: replace r273280 with a more comprehensive fix.

Poll for link state when the link is down, even for interrupt capable
PHYs.

Allow PHYs to report a dubious "partial" link.  If this state is seen 3
consecutive times (each check is ~1s apart) then reset the PHY.  This is
a workaround for a situation where repeatedly toggling the link from the
peer gets the AEL2005 PHY into a state where it never establishes a PCS
block lock even when everything is in order.

MFC after: 1 week

9 years agoAdd LBA as secondary sort key for synchronous I/O requests.
Alexander Motin [Sun, 11 Jan 2015 00:26:18 +0000 (00:26 +0000)]
Add LBA as secondary sort key for synchronous I/O requests.

On FreeBSD gethrtime() implemented via getnanouptime(), that has 1ms (1/hz)
precision.  It makes primary sort key (timestamp) collision very possible.
In such situations sorting by secondary key of LBA is much more reasonable
then by totally meaningless zio pointer value.

With this change on multi-threaded synchronous ZVOL read I've measured 10%
throughput increase and average latency reduction.

MFC after: 2 weeks

9 years agoUse .MAKE.LEVEL being defined as a bootstrap aid when providing
Warner Losh [Sat, 10 Jan 2015 23:43:39 +0000 (23:43 +0000)]
Use .MAKE.LEVEL being defined as a bootstrap aid when providing
fallback targets to build the aic generated files. fmake doesn't like
the current construct, and since it doesn't have .MAKE.LEVEL, just
don't provide the fallback targets for fmake. This gives a little
extra compatibility to old systems trying to build new kernels at
almost no cost to the current code.

9 years agoTake out some more no-error warnings, as the build is clean without
Warner Losh [Sat, 10 Jan 2015 23:43:37 +0000 (23:43 +0000)]
Take out some more no-error warnings, as the build is clean without
them.

9 years agoFix calculation of requester for PCI device behind PCIe/PCI bridge.
Konstantin Belousov [Sat, 10 Jan 2015 23:12:49 +0000 (23:12 +0000)]
Fix calculation of requester for PCI device behind PCIe/PCI bridge.
In my case on the test machine, I have hierarchy of
pcib2 (PCIe port on host bridge with PCIe capability) -> pci2 ->
    pcib3 (ITE PCIe/PCI bridge) -> pci3 -> em1

The device to check PCIe capability is pcib2 and not pcib3, as it is
currently done in the code.  Also, in case of the bridge, we shall
step to pcib2 for the loop iteration, since pcib3 does not carry PCIe
capability info and would force wrong recalculation of rid.

Also change the returned requester to the PCIe bus which provides port
for the bridge.  This only results in changing
hw.busdma.pciX.X.X.X.bounce tunable to force identity-mapped context
for the device.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoPrint rid when announcing DMAR context creation. Print sid when fault
Konstantin Belousov [Sat, 10 Jan 2015 22:57:08 +0000 (22:57 +0000)]
Print rid when announcing DMAR context creation.  Print sid when fault
occurs.  This allows to connect dots in case the requester is
calculated erronously.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoFix typo in hpet(4) device name in r273598 entry.
Glen Barber [Sat, 10 Jan 2015 22:23:41 +0000 (22:23 +0000)]
Fix typo in hpet(4) device name in r273598 entry.

Submitted by: Jan Beich
Sponsored by: The FreeBSD Foundation

9 years agoReword entry for r270745: 'tracer' keyword displays the tracing
Glen Barber [Sat, 10 Jan 2015 22:23:38 +0000 (22:23 +0000)]
Reword entry for r270745: 'tracer' keyword displays the tracing
process, not the child<->parent mapping.

Submitted by: mjg
Sponsored by: The FreeBSD Foundation

9 years agoAdd the llvm-symbolizer tool, which enables the sanitizers to report
Dimitry Andric [Sat, 10 Jan 2015 22:22:42 +0000 (22:22 +0000)]
Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information.  This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

9 years agoRemove a few redundant DPADD/LDADD pairs in llvm utilities.
Dimitry Andric [Sat, 10 Jan 2015 22:11:49 +0000 (22:11 +0000)]
Remove a few redundant DPADD/LDADD pairs in llvm utilities.

9 years agoMinor fixes:
Glen Barber [Sat, 10 Jan 2015 22:04:46 +0000 (22:04 +0000)]
Minor fixes:
 - Capitalize titles
 - Typo fix.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273806, Chelsio T5 userspace library.
Glen Barber [Sat, 10 Jan 2015 22:04:43 +0000 (22:04 +0000)]
Document r273806, Chelsio T5 userspace library.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273598, /dev/heptN devices for HPET access from
Glen Barber [Sat, 10 Jan 2015 22:04:41 +0000 (22:04 +0000)]
Document r273598, /dev/heptN devices for HPET access from
userland.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273515, virtio_console(4) addition.
Glen Barber [Sat, 10 Jan 2015 22:04:38 +0000 (22:04 +0000)]
Document r273515, virtio_console(4) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273331, vxlan(4) addition.
Glen Barber [Sat, 10 Jan 2015 22:04:35 +0000 (22:04 +0000)]
Document r273331, vxlan(4) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273264, SD card detection instability fix for RPI.
Glen Barber [Sat, 10 Jan 2015 22:04:32 +0000 (22:04 +0000)]
Document r273264, SD card detection instability fix for RPI.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273178, kern.vt.spclkeys replaced with individual
Glen Barber [Sat, 10 Jan 2015 22:04:30 +0000 (22:04 +0000)]
Document r273178, kern.vt.spclkeys replaced with individual
kern.vt.kbd_* variants.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273146, OpenSSL updated to 1.0.1j.
Glen Barber [Sat, 10 Jan 2015 22:04:27 +0000 (22:04 +0000)]
Document r273146, OpenSSL updated to 1.0.1j.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272842, r272848, dl_iterate_pthr(3) always
Glen Barber [Sat, 10 Jan 2015 22:04:24 +0000 (22:04 +0000)]
Document r272842, r272848, dl_iterate_pthr(3) always
returns the path of the dlpi_name ELF object.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272730, support for AR816x/AR817x in alc(4).
Glen Barber [Sat, 10 Jan 2015 22:04:21 +0000 (22:04 +0000)]
Document r272730, support for AR816x/AR817x in alc(4).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272720, PLPMTUD blackhole detection (RFC 4821).
Glen Barber [Sat, 10 Jan 2015 22:04:18 +0000 (22:04 +0000)]
Document r272720, PLPMTUD blackhole detection (RFC 4821).
Add Limelight Networks to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272488, userland CTF support in DTrace.
Glen Barber [Sat, 10 Jan 2015 22:04:15 +0000 (22:04 +0000)]
Document r272488, userland CTF support in DTrace.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272350, MK_ARM_EABI removal.
Glen Barber [Sat, 10 Jan 2015 22:04:12 +0000 (22:04 +0000)]
Document r272350, MK_ARM_EABI removal.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272274, canmount=off set on /var when installing on
Glen Barber [Sat, 10 Jan 2015 22:04:10 +0000 (22:04 +0000)]
Document r272274, canmount=off set on /var when installing on
ZFS.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272273, '%U' and '%W' support added to strptime(3).
Glen Barber [Sat, 10 Jan 2015 22:04:07 +0000 (22:04 +0000)]
Document r272273, '%U' and '%W' support added to strptime(3).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272198, mkimg(1) longopts to obtain information about
Glen Barber [Sat, 10 Jan 2015 22:04:04 +0000 (22:04 +0000)]
Document r272198, mkimg(1) longopts to obtain information about
the utility itself.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272166, primes(6) fix for incorrectly-returned values.
Glen Barber [Sat, 10 Jan 2015 22:04:01 +0000 (22:04 +0000)]
Document r272166, primes(6) fix for incorrectly-returned values.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272089, ipfw(4) fix when using dummynet(4) at layer 2
Glen Barber [Sat, 10 Jan 2015 22:03:58 +0000 (22:03 +0000)]
Document r272089, ipfw(4) fix when using dummynet(4) at layer 2
leading to possible kernel panic.

Sponsored by: The FreeBSD Foundation

9 years agoAdd an 'abi-compat' subsection to the 'userland' section.
Glen Barber [Sat, 10 Jan 2015 22:03:56 +0000 (22:03 +0000)]
Add an 'abi-compat' subsection to the 'userland' section.

Document r271982, compat.linux.osrelease updated after
support for CentOS 6 ports has been added.

Sponsored by: The FreeBSD Foundation

9 years agoBump copyright year, following past few commits.
Glen Barber [Sat, 10 Jan 2015 22:03:53 +0000 (22:03 +0000)]
Bump copyright year, following past few commits.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271705, hardware context support added to drm/i915.
Glen Barber [Sat, 10 Jan 2015 22:03:50 +0000 (22:03 +0000)]
Document r271705, hardware context support added to drm/i915.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271697, dtrace fixes for FreeBSD/powerpc.
Glen Barber [Sat, 10 Jan 2015 22:03:47 +0000 (22:03 +0000)]
Document r271697, dtrace fixes for FreeBSD/powerpc.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271482, mkimg(1) support for empty partition
Glen Barber [Sat, 10 Jan 2015 22:03:44 +0000 (22:03 +0000)]
Document r271482, mkimg(1) support for empty partition
entries.

Sponsored by: The FreeBSD Foundation

9 years agoAdd a 'periodic-scripts' subsection to the 'userland'
Glen Barber [Sat, 10 Jan 2015 22:03:42 +0000 (22:03 +0000)]
Add a 'periodic-scripts' subsection to the 'userland'
section.

Document r271321, don't cross mount boundaries when
cleaning tmp files.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270745, ps(1) 'tracer' keyword addition.
Glen Barber [Sat, 10 Jan 2015 22:03:39 +0000 (22:03 +0000)]
Document r270745, ps(1) 'tracer' keyword addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270676, support for ${LOCALBASE}/etc/rc.conf.d in
Glen Barber [Sat, 10 Jan 2015 22:03:36 +0000 (22:03 +0000)]
Document r270676, support for ${LOCALBASE}/etc/rc.conf.d in
rc(8).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270675, mailwrapper(8) supports mailer.conf(5) in
Glen Barber [Sat, 10 Jan 2015 22:03:33 +0000 (22:03 +0000)]
Document r270675, mailwrapper(8) supports mailer.conf(5) in
LOCALBASE.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270096, autofs(5).
Glen Barber [Sat, 10 Jan 2015 22:03:30 +0000 (22:03 +0000)]
Document r270096, autofs(5).

Sponsored by: The FreeBSD Foundation

9 years agoRegenerate the manpages for the additional llvm/clang tools. This
Dimitry Andric [Sat, 10 Jan 2015 21:44:31 +0000 (21:44 +0000)]
Regenerate the manpages for the additional llvm/clang tools.  This
contains only very minor updates.

9 years agoMinimize the usage of SCTP_BUF_IS_EXTENDED.
Michael Tuexen [Sat, 10 Jan 2015 20:49:57 +0000 (20:49 +0000)]
Minimize the usage of SCTP_BUF_IS_EXTENDED.
This should help Robert...

9 years agoUse new optimized dmu_read_uio_dbuf() for ZVOLs in device mode.
Alexander Motin [Sat, 10 Jan 2015 18:28:58 +0000 (18:28 +0000)]
Use new optimized dmu_read_uio_dbuf() for ZVOLs in device mode.

This slightly reduces overhead by avoiding dnode_hold()/dnode_rele() calls.

MFC after: 2 weeks

9 years agoRetire SCTP_BUF_EXTEND_SIZE. This patch was suggested by
Michael Tuexen [Sat, 10 Jan 2015 13:56:26 +0000 (13:56 +0000)]
Retire SCTP_BUF_EXTEND_SIZE. This patch was suggested by
Robert Watson.

9 years agoGarbage collect m_copymdata(), an mbuf utility routine introduced
Robert Watson [Sat, 10 Jan 2015 10:41:23 +0000 (10:41 +0000)]
Garbage collect m_copymdata(), an mbuf utility routine introduced
in FreeBSD 7 that has not been used since.  It contains a number
of unresolved bugs including an inverted bcopy() and incorrect
handling of read-only mbufs using internal storage.  Removing this
unused code is substantially essier than fixing it in order to
update it to the coming mbuf world order -- but it can always be
restored from revision history if it turns out to prove useful for
future work.

Pointed out by: jmallett
Sponsored by: EMC / Isilon Storage Division

9 years agoAdd a regression test for PR 192108.
Jeremie Le Hen [Sat, 10 Jan 2015 10:16:22 +0000 (10:16 +0000)]
Add a regression test for PR 192108.

I won't go through the hassle of MFCing it since I expect all changes to go
first through HEAD anyway.

PR: 192108

9 years agoRestore Ethernet-within-IP Encapsulation support that was broken after
Andrey V. Elsukov [Sat, 10 Jan 2015 08:28:50 +0000 (08:28 +0000)]
Restore Ethernet-within-IP Encapsulation support that was broken after
r273087. Move all checks from gif_output() into gif_transmit(). Previously
they were checked always, because if_start always called gif_output.
Now gif_transmit() can be called directly from if_bridge() code and we need
do checks here.

PR: 196646
MFC after: 1 week

9 years agoAllow clock_getcpuclockid() on the CPU-time clock for zombie process.
Dmitry Chagin [Sat, 10 Jan 2015 07:22:38 +0000 (07:22 +0000)]
Allow clock_getcpuclockid() on the CPU-time clock for zombie process.
Posix does not prohibit this.

Differential Revision: https://reviews.freebsd.org/D1470

Reviewed by: kib
MFC after: 1 week

9 years agoIncrease default MAXTSIZ to allow execution of larger binaries.
Justin Hibbits [Sat, 10 Jan 2015 06:54:10 +0000 (06:54 +0000)]
Increase default MAXTSIZ to allow execution of larger binaries.

This allows executing static clang built with -O0.

The value is configurable by a sysctl, so if one needs to clamp it down, they
still can.

Discussed with: nwhitehorn,emaste

9 years agoImprove style and fix a possible use-after-free case introduced in r268384
Xin LI [Sat, 10 Jan 2015 06:48:35 +0000 (06:48 +0000)]
Improve style and fix a possible use-after-free case introduced in r268384
by reinitializing the 'freestate' pointer after freeing the memory.

Obtained from: HardenedBSD (71fab80c5dd3034b71a29a61064625018671bbeb)
PR: 194525
Submitted by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
MFC after: 2 weeks

9 years agoUse if_name() macro instead of ifp->if_xname.
Andrey V. Elsukov [Sat, 10 Jan 2015 03:29:17 +0000 (03:29 +0000)]
Use if_name() macro instead of ifp->if_xname.

MFH: 1 week

9 years agoFix an error introduced in r274246.
Andrey V. Elsukov [Sat, 10 Jan 2015 03:26:46 +0000 (03:26 +0000)]
Fix an error introduced in r274246.
Pass mtag argument into m_tag_locate() to continue the search from
the last found mtag.

X-MFC after: r274246