Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 21:20:16 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        freebsd-snapshots@FreeBSD.org
Subject:   Re: New FreeBSD snapshots and virtual machine disk images (20130721 r253513)
Message-ID:  <20130724012016.GE10671@glenbarber.us>
In-Reply-To: <20130724000946.GB10671@glenbarber.us>
References:  <20130724000946.GB10671@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help

--FwyhczKCDPOVeYh6
Content-Type: multipart/mixed; boundary="lIrNkN/7tmsD/ALM"
Content-Disposition: inline


--lIrNkN/7tmsD/ALM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 23, 2013 at 08:09:46PM -0400, Glen Barber wrote:
> Subversion logs since the last set of snapshots attached to this
> email.
>=20

It was brought to my attention I neglected to attach this.  Sorry for
that, and sorry for the poorly formatted output.  I'm working on
a better solution for including a changelog...

Glen


--lIrNkN/7tmsD/ALM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="changelog-head-r253328-r253513.txt"

------------------------------------------------------------------------
r253328 | kib | 2013-07-13 19:42:52 +0000 (Sat, 13 Jul 2013) | 10 lines

Create a proper stack frame for i386 version of bcopy(), despite the
function is leaf.  The frame allows ddb to not loose the direct caller
of bcopy() in backtrace.

Other functions from support.s would benefit from the same change as
well, but for now bcopy() is the most frequent offender.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

------------------------------------------------------------------------
r253330 | mjacob | 2013-07-13 21:24:25 +0000 (Sat, 13 Jul 2013) | 13 lines

When fiddling with options of which registers to copy out for
a mailbox command and which registers to copy back in when
the command completes, the bits being set need to not only
specify what bits you want to add from the default from the
table but also what bits you want *subtract* (mask) from the
default from the table.

A failing ISP2200 command pointed this out.

Much appreciation to: marius, who persisted and narrowed down what
the failure delta was, and shamed me into actually fixing it.
MFC after:	1 week

------------------------------------------------------------------------
r253331 | pfg | 2013-07-13 22:06:41 +0000 (Sat, 13 Jul 2013) | 11 lines

Add creation timestamp (birthtime) support for fuse.

I was keeping this #ifdef'd for reference with the MacFUSE change[1]
but on second thought, this is a FreeBSD-only header so the SVN
history should be enough.

Add missing padding while here.

Reference [1]:
http://code.google.com/p/macfuse/source/detail?spec=svn1686&r=1360

------------------------------------------------------------------------
r253332 | hselasky | 2013-07-13 22:39:56 +0000 (Sat, 13 Jul 2013) | 10 lines

Allow regular off-the-shelf keyboards to be overclocked like so-called
"Gamers Keyboards" by adding a tunable, "hw.usb.ukbd.pollrate", which
can fix the polling rate of the attached USB keyboards in the range
1..1000Hz. A similar feature already exists in the USB mouse
driver. Use with care! Might leave you without keyboard input. This
feature is only available when the USB_DEBUG option is set in the
kernel configuration file.

Correct "unit" type to "int" while at it.

------------------------------------------------------------------------
r253333 | dteske | 2013-07-14 03:08:52 +0000 (Sun, 14 Jul 2013) | 22 lines

Re-implement $probe_only aspect of f_media_get_TYPE() (where TYPE is cdrom,
nfs, ftp, http, httpproxy, etc.) and f_device_get() (abstract method for
calling aforementioned f_media_get_TYPE()).

Previously, if $probe_only was present and non-NULL, the TYPE functions
would check for $file and exit with an appropriate error status (success if
the file exists and readable, failure otherwise).

While this has been retained, a pair of globals has been introduced:
$PROBE_EXIST and $PROBE_SIZE (see `/usr/share/bsdconfig/media/common.subr')

The $PROBE_EXIST global can be used where you need the functionality of
simply testing for existence (previously the _only_ functionality).

Meanwhile, the new $PROBE_SIZE global can be used to cause the TYPE function
to print the size of the file (in bytes) on standard-out (or -1) if not
found or an error occurs. NOTE: If an error occurs, it is logged with the
dprintf function, which is visible with `-d' flag or debug=1.

In many cases, where you need to get the size of a file _and_ check for its
existence, you can use the return status of a $PROBE_SIZE call.

------------------------------------------------------------------------
r253338 | hselasky | 2013-07-14 10:13:01 +0000 (Sun, 14 Jul 2013) | 2 lines

Add some missing LIBUSB IOCTL conversion codes.

------------------------------------------------------------------------
r253339 | hselasky | 2013-07-14 10:22:00 +0000 (Sun, 14 Jul 2013) | 2 lines

Add some missing definitions to build a working FreeBSD's libusb under Linux.

------------------------------------------------------------------------
r253340 | rpaulo | 2013-07-14 18:26:47 +0000 (Sun, 14 Jul 2013) | 6 lines

Revert r252725 as it breaks WPA.

We need to fix wpa_supplicant because it checks whether the card has
ic_cryptocaps set. Since net80211 can do software encryption this check in
wpa_supplicant is wrong.

------------------------------------------------------------------------
r253341 | mckusick | 2013-07-14 18:44:33 +0000 (Sun, 14 Jul 2013) | 4 lines

Update to comments describing block allocation policy.

Submitted by: Bruce Evans

------------------------------------------------------------------------
r253342 | rpaulo | 2013-07-14 20:22:16 +0000 (Sun, 14 Jul 2013) | 2 lines

Fix a grammatical error.

------------------------------------------------------------------------
r253344 | pfg | 2013-07-15 00:05:27 +0000 (Mon, 15 Jul 2013) | 18 lines

Update fuse_kernel header.

Bring in the changes from the FUSE kernel interface 7.10
(available under a BSD license).

After 7.10 the linux FUSE developers added support for a
controversial CUSE driver and some linux especific
features that are unlikely to find its way into FreeBSD.

We currently don't implement any of the new features so we
are *not* bumping the FUSE_KERNEL_MINOR_VERSION. The header
should, nevertheless, serve  as a template to add the new
features in a compatible manner.

While here adopt some minor cleanups from the upstream version
like removing FUSE_MAJOR and FUSE_MINOR which were never
used. Also add multiple inclusion header guards,

------------------------------------------------------------------------
r253346 | rodrigc | 2013-07-15 01:32:55 +0000 (Mon, 15 Jul 2013) | 19 lines

PR: 168520 170096
Submitted by: adrian, zec

Fix multiple kernel panics when VIMAGE is enabled in the kernel.
These fixes are based on patches submitted by Adrian Chadd and Marko Zec.

(1)  Set curthread->td_vnet to vnet0 in device_probe_and_attach() just before calling
     device_attach().  This fixes multiple VIMAGE related kernel panics
     when trying to attach Bluetooth or USB Ethernet devices because
     curthread->td_vnet is NULL.

(2)  Set curthread->td_vnet in if_detach().  This fixes kernel panics when detaching networking
     interfaces, especially USB Ethernet devices.

(3)  Use VNET_DOMAIN_SET() in ng_btsocket.c

(4)  In ng_unref_node() set curthread->td_vnet.  This fixes kernel panics
     when detaching Netgraph nodes.

------------------------------------------------------------------------
r253347 | rodrigc | 2013-07-15 01:41:34 +0000 (Mon, 15 Jul 2013) | 4 lines

PR: kern/168520

Revert GRN 253255.  It is not needed now that GRN 253346 is committed.

------------------------------------------------------------------------
r253349 | hrs | 2013-07-15 03:50:14 +0000 (Mon, 15 Jul 2013) | 4 lines

Document options for .eli devices.

Submitted by:	ADAM David Alan Martin

------------------------------------------------------------------------
r253350 | hrs | 2013-07-15 05:09:13 +0000 (Mon, 15 Jul 2013) | 2 lines

Fix compiler warnings.

------------------------------------------------------------------------
r253351 | ae | 2013-07-15 06:16:57 +0000 (Mon, 15 Jul 2013) | 6 lines

Introduce new structure sfstat for collecting sendfile's statistics
and remove corresponding fields from struct mbstat. Use PCPU counters
and SFSTAT_INC() macro for update these statistics.

Discussed with:	glebius

------------------------------------------------------------------------
r253352 | kib | 2013-07-15 06:30:57 +0000 (Mon, 15 Jul 2013) | 5 lines

MFi386: add ddb "show sysregs" command.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

------------------------------------------------------------------------
r253355 | rpaulo | 2013-07-15 07:01:30 +0000 (Mon, 15 Jul 2013) | 5 lines

Move the Raspberry Pi low level options out of the kernel config and into
std.rpi + std.bcm2835.

Reviewed by:	imp

------------------------------------------------------------------------
r253357 | des | 2013-07-15 08:48:45 +0000 (Mon, 15 Jul 2013) | 4 lines

When stopping pfsync, remove the pfsync interface's syncpeer setting.

MFC after:	3 days

------------------------------------------------------------------------
r253360 | glebius | 2013-07-15 12:15:14 +0000 (Mon, 15 Jul 2013) | 3 lines

Nuke "systat -mbuf". It was broken since FreeBSD 5, and since there
haven't been any complaints, no one used it.

------------------------------------------------------------------------
r253361 | glebius | 2013-07-15 12:18:36 +0000 (Mon, 15 Jul 2013) | 6 lines

Nuke mbstat. It wasn't used for mbuf statistics since FreeBSD 5.

Now that r253351 moved sendfile() stats to a separate struct, the
last field used in mbstat is m_mcfail, which is updated, but never
read or obtained from userland.

------------------------------------------------------------------------
r253362 | pluknet | 2013-07-15 14:28:59 +0000 (Mon, 15 Jul 2013) | 6 lines

Add IBM ServeRAID M5110 to the hardware list.
This is a rebranded MegaRAID SAS 2208 [Thunderbolt] found e.g. on x3550 M4.

Reported by:	Ilia Noskov <noskov@nic.ru>
MFC after:	3 days

------------------------------------------------------------------------
r253367 | ae | 2013-07-15 15:40:57 +0000 (Mon, 15 Jul 2013) | 4 lines

Include sys/systm.h after sys/param.h.

Suggested by:	pluknet

------------------------------------------------------------------------
r253368 | ken | 2013-07-15 16:38:48 +0000 (Mon, 15 Jul 2013) | 5 lines

Fix an argument reversal in calls to scsi_read_element_status().

Reported by:	Ulrich Spoerlein <uqs@FreeBSD.org>
MFC after:	3 days

------------------------------------------------------------------------
r253370 | mav | 2013-07-15 18:17:31 +0000 (Mon, 15 Jul 2013) | 3 lines

Make some improvements to r253322 to really rescan target, not a bus.
Add there and in two more places checks for NULL on xpt_alloc_ccb_nowait().

------------------------------------------------------------------------
r253372 | rmh | 2013-07-15 21:57:21 +0000 (Mon, 15 Jul 2013) | 4 lines

Add -n flag for compatibility with Linux version of mount(8).

Reviewed by: freebsd-fs, eadler, mckusick, jh, wblock

------------------------------------------------------------------------
r253376 | kevlo | 2013-07-16 03:12:31 +0000 (Tue, 16 Jul 2013) | 2 lines

Silent warnings.

------------------------------------------------------------------------
r253378 | rpaulo | 2013-07-16 06:43:37 +0000 (Tue, 16 Jul 2013) | 2 lines

Add urtwnfw.

------------------------------------------------------------------------
r253380 | avg | 2013-07-16 07:26:46 +0000 (Tue, 16 Jul 2013) | 6 lines

libc: name passed into __setenv is not necessarily NUL-terminated

That's particularly true when __setenv is called from __merge_environ.

MFC after:	4 days

------------------------------------------------------------------------
r253384 | kevlo | 2013-07-16 09:22:50 +0000 (Tue, 16 Jul 2013) | 2 lines

Add missing header needed by sleep(3).

------------------------------------------------------------------------
r253385 | kevlo | 2013-07-16 09:38:51 +0000 (Tue, 16 Jul 2013) | 5 lines

Use MAN= instead of NO_MAN=

For some reason it still tries to install a priv.1 when using NO_MAN,
even though there isn't one yet.

------------------------------------------------------------------------
r253386 | kevlo | 2013-07-16 09:40:59 +0000 (Tue, 16 Jul 2013) | 2 lines

Need to define NO_MAN here.

------------------------------------------------------------------------
r253391 | glebius | 2013-07-16 12:22:36 +0000 (Tue, 16 Jul 2013) | 4 lines

Sweep unused nlist entries.

Sponsored by:	Nginx, Inc.

------------------------------------------------------------------------
r253392 | jhb | 2013-07-16 14:42:16 +0000 (Tue, 16 Jul 2013) | 9 lines

Workaround some broken BIOSes that specify edge-sensitive but active-low
settings for ACPI-enumerated serial ports by forcing any IRQs that use
an ISA IRQ value with these settings to active-high instead of active-low.

This is known to occur with the BIOS on an Intel D2500CCE motherboard.

Tested by:	Robert Ames <robertames@hotmail.com>, lev
Submitted by:	Juergen Weiss weiss at uni-mainz.de (original patch)

------------------------------------------------------------------------
r253393 | jimharris | 2013-07-16 15:45:37 +0000 (Tue, 16 Jul 2013) | 8 lines

Do not throw an error if the user requests to activate the image from
an empty firmware slot, as long as the user has specified a firmware
image to download into the empty firmware slot.

Sponsored by:	Intel
Reported by:	Joe Golio <joseph.golio@emc.com>
MFC after:	3 days

------------------------------------------------------------------------
r253395 | andre | 2013-07-16 16:37:08 +0000 (Tue, 16 Jul 2013) | 5 lines

Free the non-fatal "timestamp missing" debug string manually as it is
not covered by the catch-all free for the error cases.

Found by:	Coverity

------------------------------------------------------------------------
r253396 | andrew | 2013-07-16 19:15:19 +0000 (Tue, 16 Jul 2013) | 19 lines

2 years, 10 months, 22 days after the projects/arm_eabi branch was created
make the ARM EABI the default ABI on arm, armeb, armv6 and armv6eb.

This is intended to be the default ABI from now on with the old ABI to be
retired. Because of this all users are strongly suggested to upgrade to the
ARM EABI.

As the two ABIs are incompatible it is unlikely upgrading in place will
work. Users should perform a full backup and either use an external machine
to upgrade, or install to an alternative location on their media. They
should also reinstall all ports or packages when these are available.

The only known issues are:
 - pkg incorrectly detects the ABI. This is fixed upstream, and will a
   patch will be made to the port.
 - GDB can have issues with executables built with clang.

__FreeBSD_version has been bumped.

------------------------------------------------------------------------
r253397 | andrew | 2013-07-16 19:20:50 +0000 (Tue, 16 Jul 2013) | 2 lines

Regen.

------------------------------------------------------------------------
r253398 | kib | 2013-07-16 20:14:23 +0000 (Tue, 16 Jul 2013) | 6 lines

Add a tunable to force disable MSI use for xhci(4).

Requested and tested by:	delphij
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days

------------------------------------------------------------------------
r253400 | andrew | 2013-07-16 23:19:05 +0000 (Tue, 16 Jul 2013) | 8 lines

Fix vfp:
 - We should check is_d32 to see howmany registers we have
 - In vfp_restore mark vfpscr as an output register

Without the second part it appears we can return the incorrect value from
vfp_bounce if the VFP condition flags are set as it may override the
register holding the return value.

------------------------------------------------------------------------
r253402 | kevlo | 2013-07-17 00:54:21 +0000 (Wed, 17 Jul 2013) | 2 lines

Use PRId64 instead of %gd to print an int64_t.

------------------------------------------------------------------------
r253403 | kevlo | 2013-07-17 00:58:23 +0000 (Wed, 17 Jul 2013) | 2 lines

Add missing headers.

------------------------------------------------------------------------
r253404 | yongari | 2013-07-17 01:24:23 +0000 (Wed, 17 Jul 2013) | 17 lines

 o TxD ring requires 8 bytes alignment to work so change alignment
   constraint to 8. Previously it may have triggered watchdog
   timeouts.
 o Check whether interrupt is ours or not.
 o Enable interrupts before attemping to transmit queued packets.
   This will slightly improve TX performance.
 o No need to clear IFF_DRV_OACTIVE in a loop. AE_FLAG_TXAVAIL is
   used to know whether there are enough available TxD ring space.
 o Added missing bus_dmamap_sync(9) in ae_rx_intr() and rearranged
   code to avoid unncessary register access.
 o Make sure to clear TxD, TxS, RxD rings in driver initialization.
   Otherwise some data in these rings could be interpreted as
   'updated' which in turn will advance internally maintained
   pointers and can trigger watchdog timeouts.

PR:	kern/180382

------------------------------------------------------------------------
r253406 | yongari | 2013-07-17 01:34:25 +0000 (Wed, 17 Jul 2013) | 3 lines

Avoid magic constant.
No functional change.

------------------------------------------------------------------------
r253407 | np | 2013-07-17 02:37:40 +0000 (Wed, 17 Jul 2013) | 4 lines

Specify a timeout for the PL block.

MFC after:	3 days

------------------------------------------------------------------------
r253408 | yongari | 2013-07-17 04:53:53 +0000 (Wed, 17 Jul 2013) | 29 lines

Implement workaround for BCM5719/BCM5720 TX hang.
The read DMA request logic operation is based on having sufficient
available space in the transmit data buffer (TXMBUF) before a read
DMA can be requested.  There are four read DMA channels that use
the TXMBUF, and the logic checks if the available free space in the
TXMBUF is large enough for all the data in the four Send Buffers
for which buffer descriptors have been fetched.  The Enable_Request
signal is asserted only if the free TXMBUF space is larger than the
sum of the four DMA length registers.  The power-up default value
of BGE_RDMA_LSO_CRPTEN_CTRL register bit 25 (bit 21 on BCM5720) is
zero, which selects the DMA length registers to connect to the
input of the adder block.  The DMA length registers are
asynchronously reset following BCM5719/BCM5720 power-up, and due to
the lack of synchronous deassertion of the length registers reset
signal these resisters may contain uninitialized values following
the reset deassertion.
In the case of the failure the uninitialized DMA length register
values added up to more than the TXMBUF size, which prevented the
assertion of the Enable_Request signal and any subsequent read DMA
to start.  This lockup condition is the root cause of failing to
generate any transmit traffic.

To workaround the issue, select alternate output of multiplexers
and transmit the first four Ethernet frames. This overwrites the
DMA length registers with valid values.

Reported by:	Geans Pin <geanspin@broadcom.com>
Reviewed by:	Geans Pin <geanspin@broadcom.com>

------------------------------------------------------------------------
r253413 | avg | 2013-07-17 08:45:27 +0000 (Wed, 17 Jul 2013) | 10 lines

[fix to r253380] __setenv: be explicit about placing '=' after name

This should a regression introduced in r253380 if malloc'ed memory
happens to have '=' at the right place.

Reported by:	ache
Pointyhat to:	me (avg)
MFC after:	1 day
X-MFC with:	r253380

------------------------------------------------------------------------
r253414 | bapt | 2013-07-17 10:12:31 +0000 (Wed, 17 Jul 2013) | 4 lines

For all european contries using the euro currency, add an UTF-8 definition with the proper Euro symbol

MFC after:	1 week

------------------------------------------------------------------------
r253417 | kib | 2013-07-17 10:56:21 +0000 (Wed, 17 Jul 2013) | 6 lines

Clear the vnode knotes before destroying vpollinfo.

Reported and tested by:	Patrick Lamaiziere <patfbsd@davenulle.org>
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks

------------------------------------------------------------------------
r253419 | bapt | 2013-07-17 11:51:24 +0000 (Wed, 17 Jul 2013) | 2 lines

Change Eu to the proper UTF-8 symbol this was missed in r253414

------------------------------------------------------------------------
r253420 | glebius | 2013-07-17 12:28:48 +0000 (Wed, 17 Jul 2013) | 3 lines

Improve example, so that it doesn't dump core when example module
isn't loaded.

------------------------------------------------------------------------
r253421 | glebius | 2013-07-17 13:13:44 +0000 (Wed, 17 Jul 2013) | 4 lines

Fix typo.

Submitted by:	ae

------------------------------------------------------------------------
r253423 | jhb | 2013-07-17 13:41:54 +0000 (Wed, 17 Jul 2013) | 7 lines

Remove check forbidding requests that would result in one port being set
to Ethernet and the subsequent port being set to IB.

Submitted by:	Shakar Klein @ Mellanox
Tested by:	Morgan Robertson <morganrobertson@gmail.com>
MFC after:	1 week

------------------------------------------------------------------------
r253424 | hrs | 2013-07-17 13:47:13 +0000 (Wed, 17 Jul 2013) | 2 lines

Simplify keywords.h generation.

------------------------------------------------------------------------
r253425 | bapt | 2013-07-17 14:00:51 +0000 (Wed, 17 Jul 2013) | 2 lines

Do not overwrite the new UTF-8 files with the old ISO one

------------------------------------------------------------------------
r253427 | hrs | 2013-07-17 14:05:20 +0000 (Wed, 17 Jul 2013) | 11 lines

- Add support of MK_INET_SUPPORT=no.
- Fix a bug in sodump() which prevented struct sockaddr_in6 from displaying.
- Fix a bug in in fiboptlist_csv() which could cause free() of uninitialized
  pointer.
- Style cleanups:
 . Add missing "static" keywords.
 . Use an array of struct sockaddr_storage instead of sockunion for rtmsg.
 . Use err() and errx() instead of pair of fprintf(stderr, "...") + exit(1).
 . Use nitems() macro.
 . Various style(9) fixes.

------------------------------------------------------------------------
r253429 | hrs | 2013-07-17 14:15:00 +0000 (Wed, 17 Jul 2013) | 2 lines

Use NET_RT_DUMP.0.FIB leaf node instead of setting td_proc->p_fibnum.

------------------------------------------------------------------------
r253433 | rodrigc | 2013-07-17 19:32:07 +0000 (Wed, 17 Jul 2013) | 17 lines

In this GRN, Marcel Moolenaar overhauled the logic for mounting
the root file system on bootup:

   |------------------------------------------------------------------------
   |r214006 | marcel | 2010-10-17 22:01:53 -0700 (Sun, 17 Oct 2010) | 20 lines
   |
   | Re-implement the root mount logic using a recursive approach, whereby each
   |root file system (starting with devfs and a synthesized configuration) can
   |contain directives for mounting another file system as root.
   |------------------------------------------------------------------------

This commit adds a mount.conf(8) man page which documents
the root mount logic.  mount.conf(8) also provides some examples
for the /.mount.conf file, which can be used to change the root mount behavior.

Reviewed by: marcel bjk

------------------------------------------------------------------------
r253434 | jimharris | 2013-07-17 19:41:16 +0000 (Wed, 17 Jul 2013) | 6 lines

Add bus_dmamap_load_bio and bus_dmamap_load_ccb to bus_dma(9).

Sponsored by:	Intel
Reviewed by:	kib
MFC after:	3 days

------------------------------------------------------------------------
r253436 | jimharris | 2013-07-17 23:14:41 +0000 (Wed, 17 Jul 2013) | 6 lines

Always initialize fd to 0 in open_dev().

Sponsored by:	Intel
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r253437 | jimharris | 2013-07-17 23:23:38 +0000 (Wed, 17 Jul 2013) | 10 lines

Define constants for the lengths of the serial number, model number
and firmware revision in the controller's identify structure.

Also modify consumers of these fields to ensure they only use the
specified number of bytes for their respective fields.

Sponsored by:	Intel
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r253438 | jimharris | 2013-07-17 23:26:56 +0000 (Wed, 17 Jul 2013) | 12 lines

Use pause() instead of DELAY() when polling for completion of admin
commands during controller initialization.

DELAY() does not work here during config_intrhook context - we need to
explicitly relinquish the CPU for the admin command completion to
get processed.

Sponsored by:	Intel
Reported by:	Adam Brooks <adam.j.brooks@intel.com>
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r253439 | jkim | 2013-07-17 23:29:56 +0000 (Wed, 17 Jul 2013) | 5 lines

Reload font when syscons(4) is resuming without switching mode.

Reported by:	adrian (more than a year ago)
Prodded by:	adrian (less than a month ago)

------------------------------------------------------------------------
r253440 | grehan | 2013-07-17 23:37:33 +0000 (Wed, 17 Jul 2013) | 6 lines

Major rework of the virtio code. Split out common parts, and modify
the net/block devices accordingly.

Submitted by:	Chris Torek   torek at torek dot net
Reviewed by:	grehan

------------------------------------------------------------------------
r253441 | delphij | 2013-07-18 00:22:42 +0000 (Thu, 18 Jul 2013) | 9 lines

Manually merge part of vendor import r238583 from Illumos.

Illumos changeset: 13680:2bd022a765e2
Illumos ZFS issue:

    2671 zpool import should not fail if vdev ashift has increased

MFC after:	3 days

------------------------------------------------------------------------
r253442 | kevlo | 2013-07-18 01:40:31 +0000 (Thu, 18 Jul 2013) | 5 lines

Replace PRId64 with "jd" in a printf call. Cast the corresponding value to
intmax_t, because the original type is off_t.

Reported by:	bde

------------------------------------------------------------------------
r253443 | hrs | 2013-07-18 02:34:25 +0000 (Thu, 18 Jul 2013) | 4 lines

Fix a gcc warning.

Pointy hat to:	hrs

------------------------------------------------------------------------
r253444 | hrs | 2013-07-18 02:58:24 +0000 (Thu, 18 Jul 2013) | 9 lines

- Fix a bug in ipv6_prefix_IF.  It did not work with the 64-bit prefix
  notation like 2001:db8:1:1.

- Use eui64 flag in ifconfig(8) instead of network6_getladdr()[*] for
  interface indentifier part.

Suggested by:	ume [*]
MFC after:	3 days

------------------------------------------------------------------------
r253445 | joel | 2013-07-18 05:46:33 +0000 (Thu, 18 Jul 2013) | 2 lines

Minor mdoc fixes.

------------------------------------------------------------------------
r253447 | kevlo | 2013-07-18 06:32:19 +0000 (Thu, 18 Jul 2013) | 4 lines

Include stdint.h when use intmax_t.

Reported by:	bde

------------------------------------------------------------------------
r253449 | jhb | 2013-07-18 14:06:01 +0000 (Thu, 18 Jul 2013) | 14 lines

Rework the previous fix for the IB vs Ethernet sysctl handler to be more
generic and apply to all sysfs attributes:
- Use sysctl_handle_string() instead of reimplementing it.
- Remove trailing newline from the current value before passing it to
  userland and append a newline to the new string value before passing it
  to the attribute's store function.
- Don't leak the temporary buffer if the first error check triggers.
- Revert earlier change to mlx4 port mode handler.

PR:		kern/174213
Submitted by:	Garrett Cooper
Reviewed by:	Shakar Klein @ Mellanox
MFC after:	1 week

------------------------------------------------------------------------
r253450 | jhb | 2013-07-18 15:17:11 +0000 (Thu, 18 Jul 2013) | 29 lines

Properly handle I/O windows in bridges with the ISA enable bit set.  These
beasts still exist unfortunately.  More details can be found in other
references, but the short version is that bridges with this bit set ignore
I/O port ranges that alias to valid ISA I/O port ranges.  In the driver
this requires not allocating these alias regions from the parent device
(so they are free to be acquired by ISA devices), and ensuring no child
devices use resources from these alias regions.
- Change the pcib_window structure to allow for an array of backing
  resources rather than a single resource and update the existing code
  to cope with this.  Some of the coping requires using the saved
  base and limit values in pcib_window instead of using rman operations
  on the backing resource.
- Add special handling for allocating and adjusting the I/O port window
  of an ISA-enabled bridge to only allocate the non-alias ranges and
  add those to the associated resource manager.
- Reject I/O port allocations for a fixed request that conflicts with an
  ISA alias range.
- Remove the "no prefected decode" verbose printf during boot.  The absence
  of a "prefetched decode" line is sufficient.
- Replace the "subtractively decoded bridge" verbose printf with a single
  printf that lists all the "special" decoding modes of a bridge: ISA,
  subtractive, and VGA.
- Add a custom bus_release_resource() method to the PCI bus driver so that
  it can properly free resources for I/O windows of PCI-PCI bridges.
  (These resources are not stored in the bridge device's resource list.)

PR:		misc/179033
MFC after:	2 weeks

------------------------------------------------------------------------
r253451 | emaste | 2013-07-18 17:25:50 +0000 (Thu, 18 Jul 2013) | 12 lines

Handle FreeBSD-specific ELF notes

Add a function to return the specific type, when the note's Name field is
'FreeBSD'.

r249558 added FreeBSD-specific ELF note types that reuse type numbers of
existing generic / Linux types.  This caused 'readelf -n' to produce
incorrect output on FreeBSD core files.

Sponsored by:	DARPA, AFRL
MFC after:	3 days

------------------------------------------------------------------------
r253452 | grehan | 2013-07-18 18:40:54 +0000 (Thu, 18 Jul 2013) | 5 lines

Sanity-check the vm exitcode, and exit the process if it's out-of-bounds
or there is no registered handler.

Submitted by:	Bela Lubkin   bela dot lubkin at tidalscale dot com

------------------------------------------------------------------------
r253453 | emaste | 2013-07-18 19:17:58 +0000 (Thu, 18 Jul 2013) | 2 lines

Remove accidentally cut-and-pasted colons

------------------------------------------------------------------------
r253454 | emaste | 2013-07-18 20:36:21 +0000 (Thu, 18 Jul 2013) | 2 lines

Correct alignment in note output

------------------------------------------------------------------------
r253455 | jkim | 2013-07-18 20:59:58 +0000 (Thu, 18 Jul 2013) | 2 lines

Decode PCIe ASPM capability and status.

------------------------------------------------------------------------
r253456 | pjd | 2013-07-18 21:56:10 +0000 (Thu, 18 Jul 2013) | 3 lines

- Make localtime(3) to work in sandbox.
- Move strerror(3) initialization to its own function.

------------------------------------------------------------------------
r253457 | pjd | 2013-07-18 22:11:27 +0000 (Thu, 18 Jul 2013) | 3 lines

Close uniq(1) in the capability mode sandbox and limit descriptors using
capability rights.

------------------------------------------------------------------------
r253458 | jimharris | 2013-07-18 23:12:44 +0000 (Thu, 18 Jul 2013) | 9 lines

Simplify open_dev() by returning errno values rather than just 0 or 1.

Also remove stat() call and just rely on errno from open() call to discern
whether dev node exists or not.

Sponsored by:	Intel
Reviewed by:	kib, carl
MFC after:	3 days

------------------------------------------------------------------------
r253459 | jimharris | 2013-07-18 23:25:57 +0000 (Thu, 18 Jul 2013) | 8 lines

Use _PATH_DEV (from paths.h) for the "/dev/" string, rather than
hard-coding it.

Sponsored by:	Intel
Suggested by:	kib
Reviewed by:	kib, carl
MFC after:	3 days

------------------------------------------------------------------------
r253460 | scottl | 2013-07-19 00:12:41 +0000 (Fri, 19 Jul 2013) | 5 lines

Overhaul error, information, and debug logging.

Obtained from:	Netflix
MFC after:	3 days

------------------------------------------------------------------------
r253461 | emaste | 2013-07-19 01:04:17 +0000 (Fri, 19 Jul 2013) | 4 lines

Correct ELF note decoding for non-core files

Requested by:	kib

------------------------------------------------------------------------
r253469 | scottl | 2013-07-19 06:42:15 +0000 (Fri, 19 Jul 2013) | 8 lines

Since there's no defined schema for the XML that's generated by the
kern.geom.confxml sysctl, it's silly to warn about tags in libgeom,
especially since libgeom exists simply to build a tree out of the conf
information.

Obtained from:	Netflix
MFC after:	3 days

------------------------------------------------------------------------
r253471 | jhb | 2013-07-19 19:06:15 +0000 (Fri, 19 Jul 2013) | 13 lines

Be more aggressive in using superpages in all mappings of objects:
- Add a new address space allocation method (VMFS_OPTIMAL_SPACE) for
  vm_map_find() that will try to alter the alignment of a mapping to match
  any existing superpage mappings of the object being mapped.  If no
  suitable address range is found with the necessary alignment,
  vm_map_find() will fall back to using the simple first-fit strategy
  (VMFS_ANY_SPACE).
- Change mmap() without MAP_FIXED, shmat(), and the GEM mapping ioctl to
  use VMFS_OPTIMAL_SPACE instead of VMFS_ANY_SPACE.

Reviewed by:	alc (earlier version)
MFC after:	2 weeks

------------------------------------------------------------------------
r253472 | tuexen | 2013-07-19 21:16:59 +0000 (Fri, 19 Jul 2013) | 5 lines

Get the code compiling without INET and INET6 being defined.
This is not possible in FreeBSD, but in the upstream code.

MFC after: 2 weeks

------------------------------------------------------------------------
r253473 | jimharris | 2013-07-19 21:30:53 +0000 (Fri, 19 Jul 2013) | 7 lines

Do not call disk_create() until we have completed all initialization of our
internal disk structure.

Sponsored by:	Intel
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r253474 | jimharris | 2013-07-19 21:33:24 +0000 (Fri, 19 Jul 2013) | 10 lines

Fix nvme(4) and nvd(4) to support non 512-byte sector sizes.

Recent testing with QEMU that has variable sector size support for
NVMe uncovered some of these issues.  Chatham prototype boards supported
only 512 byte sectors.

Sponsored by:	Intel
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r253475 | jfv | 2013-07-19 21:37:40 +0000 (Fri, 19 Jul 2013) | 4 lines

Add new Coleto Creek device support: SATA, SMBus, and Watchdog devices.

MFC after: 1 week

------------------------------------------------------------------------
r253476 | jimharris | 2013-07-19 21:40:57 +0000 (Fri, 19 Jul 2013) | 12 lines

Add message when nvd disks are attached and detached.

As part of this commit, add an nvme_strvis() function which borrows
heavily from cam_strvis().  This will allow stripping of
leading/trailing whitespace and also handle unprintable characters
in model/serial numbers.  This function goes into a new nvme_util.c
file which is used by both the driver and nvmecontrol.

Sponsored by:	Intel
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r253477 | np | 2013-07-19 21:54:48 +0000 (Fri, 19 Jul 2013) | 2 lines

There's nothing to free if the unit wasn't allocated.

------------------------------------------------------------------------
r253478 | pfg | 2013-07-20 03:08:50 +0000 (Sat, 20 Jul 2013) | 8 lines

Adjust outsizes:

When birthtime was added (r253331) we missed adding the weight
of the new fields in FUSE_COMPAT_ENTRY_OUT_SIZE and
COMPAT_ATTR_OUT_SIZE. Adjust them accordingly.

Pointed out by:	Jan Beich

------------------------------------------------------------------------
r253479 | pfg | 2013-07-20 03:55:56 +0000 (Sat, 20 Jul 2013) | 8 lines

Adjust outsizes:

Recalculate FUSE_COMPAT_ENTRY_OUT_SIZE and COMPAT_ATTR_OUT_SIZE.
These were wrong in the previous commit. They are actually unused
in FreeBSD though.

Pointed out by:	Jan Beich

------------------------------------------------------------------------
r253480 | yongari | 2013-07-20 07:09:50 +0000 (Sat, 20 Jul 2013) | 4 lines

Setup the PCIE Fast Training Sequence (FTS) value to prevent
transmit hangs for 57766 and non Ax versions of 57765.
While here, correct definition of BGE_CHIPREV_57765_AX.

------------------------------------------------------------------------
r253481 | yongari | 2013-07-20 07:24:01 +0000 (Sat, 20 Jul 2013) | 2 lines

Recognize BCM5725C PHY.

------------------------------------------------------------------------
r253482 | cy | 2013-07-20 07:29:19 +0000 (Sat, 20 Jul 2013) | 10 lines

As per the developers handbook (5.3.1 step 1), bootstrap svn:mergeinfo on
the ipfilter directories in the main tree to the last commit made to
the ipfilter trees in the vendor branches (r253468) which flattened the
ipfilter vendor trees.

Now that this step is complete, we are free to import new sources into the
ipfilter vendor trees.

Approved by:	glebius (Mentor)

------------------------------------------------------------------------
r253483 | yongari | 2013-07-20 07:58:03 +0000 (Sat, 20 Jul 2013) | 17 lines

Add support for upcoming BCM5725 (ASIC 5762) controller.  This is a
new 1Gb server controller chip that will be going into production
soon.
BCM5725 combines MAC with triple-speed PHY, a Network Controller
Sideband Interface (NC-SI) and on-chip memory buffer in a single
device.  BCM5725 has an Application Processing Engine (APE) that is
capable of on-chip management and offloading features.  BCM5725
supports high-precision clock, time stamp registers for
receive/transmit packets and programmable trigger inputs and
watchdog timeouts. These new features are not yet supported by
bge(4).
Many thanks to Broadcom for continuing to support FreeBSD!

Submitted by:	Geans Pin geanspin@Broacom (initial version)
Reviewed by:	Geans Pin geanspin@Broacom
H/W donated by:	Broadcom

------------------------------------------------------------------------
r253489 | andrew | 2013-07-20 09:24:48 +0000 (Sat, 20 Jul 2013) | 14 lines

Start adding support to build bits of our code using the Thumb-2
instruction set. Thumb-2 requires an if-then instruction to implement
conditional codes.

When building for ARM mode the it-then instructions do not generate any
assembled instruction as per the ARMv7-A Architecture Reference Manual, and
are safe to use.

While this allows the atomic instructions to be built, it doesn't mean we
fully support Thumb code. It works in small tests, but is still known to
fail in a large number of places.

While here add a check for the armv6t2 architecture.

------------------------------------------------------------------------
r253493 | tuexen | 2013-07-20 13:14:59 +0000 (Sat, 20 Jul 2013) | 6 lines

Allow the code to be compiled without warnings for any combination
of INET, INET6 and SCTP_DEBUG defines.
The issue was reported by Lally Singh.

MFC after: 2 weeks

------------------------------------------------------------------------
r253494 | kib | 2013-07-20 13:39:41 +0000 (Sat, 20 Jul 2013) | 6 lines

id_t is 64bit, provide the compat32 wrapper for clock_getcpuclockid2(2).

Reported and tested by:	Petr Salinger <Petr.Salinger@seznam.cz>
PR:	threads/180652
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r253495 | kib | 2013-07-20 13:40:03 +0000 (Sat, 20 Jul 2013) | 2 lines

Regenerate

------------------------------------------------------------------------
r253497 | kib | 2013-07-20 13:52:40 +0000 (Sat, 20 Jul 2013) | 6 lines

Use the right name for the vm_map_find(9) flag to specify shared
mapping.  The MAP_SHARED and MAP_INHERIT_SHARE values are identical.

Noted by:	alc
MFC after:	3 days

------------------------------------------------------------------------
r253498 | pfg | 2013-07-20 14:50:35 +0000 (Sat, 20 Jul 2013) | 9 lines

fuse: revert birthtime support.

The creation time support breaks the data structures used in linux
fuse.  libfuse carries it's own header.

Revert the changes for now. We will try to get an agreement with the
fuse  upstream maintainers to avoid having to patch the library
headers all the time.

------------------------------------------------------------------------
r253502 | hrs | 2013-07-20 15:23:42 +0000 (Sat, 20 Jul 2013) | 6 lines

Add cast to (void *) to the following cases to suppress warnings by
-Wcast-align.  These do not increase the alignment requirement:

- rtm = (struct rt_msghdr *)(rtm + rtm->rtm_msglen)
- struct sockaddr *sa = &sa0; sX = (struct sockaddr_X *)sa

------------------------------------------------------------------------
r253503 | hrs | 2013-07-20 15:58:43 +0000 (Sat, 20 Jul 2013) | 2 lines

Show "default" for the zero-filled address consistently when nflag == 0.

------------------------------------------------------------------------
r253504 | hrs | 2013-07-20 16:46:51 +0000 (Sat, 20 Jul 2013) | 4 lines

- Simplify getaddr() and print_getmsg() by using RTAX_* instead of RTA_*
  as the argument.
- Reduce unnecessary loop in print_getmsg().

------------------------------------------------------------------------
r253505 | hrs | 2013-07-20 16:58:17 +0000 (Sat, 20 Jul 2013) | 11 lines

Fix address range specification with ifconfig(8) options such as:

- inet 192.0.2.1-10 netmask 255.255.255.0 (inet range spec + ifconfig options)
- inet6 2001:db8:1::1-f prefixlen 60 (inet6 range spec + ifconfig options)

If prefixlen or netmask option is specified with CIDR notation at
the same time, the option is used.

Tested by:	Michael Grimm
MFC after:	3 days

------------------------------------------------------------------------
r253506 | rmacklem | 2013-07-20 22:35:32 +0000 (Sat, 20 Jul 2013) | 9 lines

The NFSv4 server incorrectly assumed that the high order words of
the attribute bitmap argument would be non-zero. This caused an
interoperability problem for a recent patch to the Linux NFSv4 client.
The Linux folks have changed their patch to avoid this, but this
patch fixes the problem on the server.

Reported and tested by:	Andre Heider (a.heider@gmail.com)
MFC after:	3 days

------------------------------------------------------------------------
r253507 | adrian | 2013-07-21 03:51:24 +0000 (Sun, 21 Jul 2013) | 5 lines

Add two new CPU specific definitions - the watchdog clock frequency and
the UART clock frequency.

The AR933x and AR934x have separate PLL settings for these.

------------------------------------------------------------------------
r253508 | adrian | 2013-07-21 03:52:52 +0000 (Sun, 21 Jul 2013) | 9 lines

Initialise the watchdog and UART frequencies.

For all pre-AR933x chips, the frequency is just the APB frequency.
For the AR933x, the UART frequency is different but we just hacked around
it.

For the AR934x, there's a different PLL setting for these, so they have
to be broken out.

------------------------------------------------------------------------
r253509 | adrian | 2013-07-21 03:54:39 +0000 (Sun, 21 Jul 2013) | 5 lines

Use the UART frequency when programming the UART clock.

This allows the 16550 support to work correctly on the upcoming
AR934x support.

------------------------------------------------------------------------
r253510 | adrian | 2013-07-21 03:55:18 +0000 (Sun, 21 Jul 2013) | 2 lines

Teach the GPIO code about the AR934x GPIO register and pin counts.

------------------------------------------------------------------------
r253511 | adrian | 2013-07-21 03:56:57 +0000 (Sun, 21 Jul 2013) | 17 lines

Implement some initial AR934x support routines.

This code reads the PLL configuration registers and correctly programs
things so the UART and such can come up.

There's MIPS74k platform issues that need fixing; but this at least brings
things up enough to echo stuff out the serial port and allow for interactive
debugging with ddb.

Tested:

* AR71xx SoCs
* AR933x SoC
* AR9344 board (DB120)

Obtained from:	Qualcomm Atheros; Linux/OpenWRT

------------------------------------------------------------------------
r253512 | adrian | 2013-07-21 04:00:48 +0000 (Sun, 21 Jul 2013) | 19 lines

Add some initial board support for the AR934x and the Qualcomm Atheros
DB120 development board.

The AR934x SoCs are a MIPS74k based system with increased RAM addressing
space, some scratch-pad RAM, an improved gige switch PHY and 2x2 or 3x3
on-board dual-band wifi.

This support isn't complete by any stretch; it's just enough to bring
the board up for others to tinker with.  Notably, the MIPS74k support
is broken.  However it boots enough to echo some basic probe/attach
messages, before dying somewhere in the TLB code.

Thankyou to Qualcomm Atheros for their continued support of me doing
open source work with their hardware.

Tested:

* AR9344, mips74k

------------------------------------------------------------------------
r253513 | gjb | 2013-07-21 05:23:34 +0000 (Sun, 21 Jul 2013) | 7 lines

Create memstick images with the '.img' filename extension.

Requested by:	many
Approved by:	kib (mentor)
MFC after:	3 days
X-MFC-To:	stable/9 only


--lIrNkN/7tmsD/ALM--

--FwyhczKCDPOVeYh6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQEcBAEBCAAGBQJR7yvQAAoJEFJPDDeguUajP0EH/2/aUst3QBidiNgo6sQ6KOOE
uAThxjiFDPdHSNxB1qmFXD/utJiK/7uvVSfxtPqawdr9zxqIO8eTkmKOQ+0OYtuZ
vSNn/gfs7nvVqTrIuR9/JZ7R6MSR6jWmN5rp35Ytg3Lx/YwVzu+dQoZrLz+dvgCE
uWixsPOMouWAj/eNopc/qvoes6wejVK46l4zfJri7LD2sD/1HtEuURVE9Z4VIA3u
1N0U20lg39SvMYLHO+XVFhrH6F/T5GTG+05nodEQKA47t1OH3EZdUotrTQGVIR1A
XbDFyu/PUTeM8R6swlxEs5IL/SkgBMMWDHStp4VQPVnhENwLMSpWDUk8Xvqz1vI=
=fT11
-----END PGP SIGNATURE-----

--FwyhczKCDPOVeYh6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130724012016.GE10671>