]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
10 years agoAdd Atmel serial drivers.
imp [Thu, 23 Jan 2014 18:09:10 +0000 (18:09 +0000)]
Add Atmel serial drivers.

10 years agoReplace the old unix_seqpacket and unix_seqpacket_exercise tests, which
asomers [Thu, 23 Jan 2014 17:26:28 +0000 (17:26 +0000)]
Replace the old unix_seqpacket and unix_seqpacket_exercise tests, which
were a little broken and not automatable, with unix_seqpacket_test.
It's coverage is a superset of the old tests and it uses ATF.  It
includes test cases for bugs kern/185813 and kern/185812.

PR: kern/185812
PR: kern/185813
Sponsored by: Spectra Logic
MFC after: 2 weeks

10 years agoThe posix_fallocate(2) syscall should return error number on error,
kib [Thu, 23 Jan 2014 17:24:26 +0000 (17:24 +0000)]
The posix_fallocate(2) syscall should return error number on error,
without modifying errno.

Reported and tested by: Gennady Proskurin <gpr@mail.ru>
Reviewed by: mdf
PR: standards/186028
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

10 years agojemalloc has been updated to version 3.5.0.
skreuzer [Thu, 23 Jan 2014 14:13:12 +0000 (14:13 +0000)]
jemalloc has been updated to version 3.5.0.

Approved by: hrs (mentor)

10 years agoRevert r261014. Let Kevin fix it.
hselasky [Thu, 23 Jan 2014 10:18:28 +0000 (10:18 +0000)]
Revert r261014. Let Kevin fix it.

MFC after: 1 week

10 years agoUpdate EINVAL description.
pluknet [Thu, 23 Jan 2014 09:37:03 +0000 (09:37 +0000)]
Update EINVAL description.
This matches current POSIX standards and actual FreeBSD behavior.

MFC after: 1 week

10 years agoSet "Interrupt Window Exiting" in the case where there is a vector to be
neel [Thu, 23 Jan 2014 06:06:50 +0000 (06:06 +0000)]
Set "Interrupt Window Exiting" in the case where there is a vector to be
injected into the vcpu but the VM-entry interruption information field
already has the valid bit set.

Pointed out by: David Reed (david.reed@tidalscale.com)

10 years agoOpenSSL has been updated to version 1.0.1.f
skreuzer [Thu, 23 Jan 2014 03:24:38 +0000 (03:24 +0000)]
OpenSSL has been updated to version 1.0.1.f

Approved by: hrs (mentor)

10 years agoRemove WITHOUT_ATF as it has been replaced by WITH_TESTS
skreuzer [Thu, 23 Jan 2014 03:14:48 +0000 (03:14 +0000)]
Remove WITHOUT_ATF as it has been replaced by WITH_TESTS

PR: conf/185326
Reported by: Igor Mozolevsky <igor@hybrid-lab.co.uk>
Approved by: hrs (mentor)

10 years agoUpdate jemalloc to version 3.5.0.
jasone [Thu, 23 Jan 2014 02:47:36 +0000 (02:47 +0000)]
Update jemalloc to version 3.5.0.

10 years agoProperly sort the arguments to mtx_init(9).
jhibbits [Thu, 23 Jan 2014 01:09:33 +0000 (01:09 +0000)]
Properly sort the arguments to mtx_init(9).

PR: misc/186020
Submitted by: alfred
MFC after: 1 week

10 years agoDisable output about duplicate services, which were not output during
gjb [Wed, 22 Jan 2014 23:00:29 +0000 (23:00 +0000)]
Disable output about duplicate services, which were not output during
testing.

MFC after: 1 month
X-MFC-After: r261031
Sponsored by: The FreeBSD Foundation

10 years agoDocument EARLY_PRINTF
imp [Wed, 22 Jan 2014 22:25:48 +0000 (22:25 +0000)]
Document EARLY_PRINTF

10 years agoMostly revert r260267 and hopefully really fix the original problem.
mav [Wed, 22 Jan 2014 22:19:53 +0000 (22:19 +0000)]
Mostly revert r260267 and hopefully really fix the original problem.

The latest draft of SBC-3 tells: "A MAXIMUM UNMAP LBA COUNT field set to
a non-zero value indicates the maximum number of LBAs that may be unmapped
by an UNMAP command."  To me it does not sound like that limit is set per
single descriptor, but rather per all command.  And I have at least one
device that behaves exactly that way.  This patch fixes the problem there.

MFC after: 1 week

10 years agoClean up HL201 config (for the hot-e 201 and 101 models from thinlinx).
imp [Wed, 22 Jan 2014 22:01:29 +0000 (22:01 +0000)]
Clean up HL201 config (for the hot-e 201 and 101 models from thinlinx).
Make comments match parameters
Add options for early printf so we get regression build testing on it.
Add preview of options for FDT support coming soon (I hope)

10 years agoImplement support for early printf. You need to define SOCDEV_{PA,VA}
imp [Wed, 22 Jan 2014 21:49:20 +0000 (21:49 +0000)]
Implement support for early printf. You need to define SOCDEV_{PA,VA}
as described in the comments for the eputc function in your config file.

10 years agoAdd support for mapping a small range of the SoC devices for debugging
imp [Wed, 22 Jan 2014 21:23:58 +0000 (21:23 +0000)]
Add support for mapping a small range of the SoC devices for debugging
purposes early in boot.

10 years agoImplement generic support for early printf. Thought I can't find the
imp [Wed, 22 Jan 2014 21:20:08 +0000 (21:20 +0000)]
Implement generic support for early printf. Thought I can't find the
paper trail now, this patch is similar to one posted for one of the
preliminary versions of a new armv6 port. I took them and made them
more generic. Option not enabled by default since each board/port has
to provide its own eputc, and possibly do other things as well...

10 years agoMerge OpenSSL 1.0.1f.
jkim [Wed, 22 Jan 2014 19:57:11 +0000 (19:57 +0000)]
Merge OpenSSL 1.0.1f.

Approved by: so (delphij), benl (silence)

10 years agoext2fs: fix logic error in the previous change.
pfg [Wed, 22 Jan 2014 19:09:41 +0000 (19:09 +0000)]
ext2fs: fix logic error in the previous change.

Use the bitwise negation instead of bogus boolean negation and move
the flag manipulation with the assignment.
Fix some grammatical errors introduced in the same change.

Reported by: bde
MFC after: 3 days

10 years agoWe are using the old callout API and should also add one extra tick in
hselasky [Wed, 22 Jan 2014 17:50:43 +0000 (17:50 +0000)]
We are using the old callout API and should also add one extra tick in
the FreeBSD 10 case.

Suggested by: mav @
MFC after: 1 week

10 years agoAdd quiet support for kldstat -n
bapt [Wed, 22 Jan 2014 17:15:17 +0000 (17:15 +0000)]
Add quiet support for kldstat -n

PR: bin/180014
Submitted by: Olivier Cochard-Labbé <olivier@cochard.me>
MFC after: 1 week

10 years agoGenerate /var/db/services.db during 'make distribution' so that it is
jhb [Wed, 22 Jan 2014 16:59:53 +0000 (16:59 +0000)]
Generate /var/db/services.db during 'make distribution' so that it is
present during new installs.  Update etcupdate and mergemaster to
ignore the generated file.

Tested by: gjb (release build)
MFC after: 1 month

10 years agoSimilar to cap_mkdb(1), add endianness support to services_mkdb(1)
jhb [Wed, 22 Jan 2014 16:50:18 +0000 (16:50 +0000)]
Similar to cap_mkdb(1), add endianness support to services_mkdb(1)
to support cross-builds once this is invoked during releases.

10 years agoRemove NULL pointer dereference.
glebius [Wed, 22 Jan 2014 15:58:43 +0000 (15:58 +0000)]
Remove NULL pointer dereference.

CID: 1009118

10 years agoFix resource leak and simplify code for DIOCCHANGEADDR.
glebius [Wed, 22 Jan 2014 15:44:38 +0000 (15:44 +0000)]
Fix resource leak and simplify code for DIOCCHANGEADDR.

CID: 1007035

10 years agoRemove pkg_* related info from periodic.conf
bapt [Wed, 22 Jan 2014 14:22:44 +0000 (14:22 +0000)]
Remove pkg_* related info from periodic.conf

Reported by: Robin Brocks <robin.brocks@brocks.de>
MFC after: 3 days

10 years agoadd myself to committers-doc.dot
skreuzer [Wed, 22 Jan 2014 14:11:40 +0000 (14:11 +0000)]
add myself to committers-doc.dot

Approved by:    hrs (mentor)

10 years agoFix fallout from r241923. Calculate length of payload in
glebius [Wed, 22 Jan 2014 10:57:42 +0000 (10:57 +0000)]
Fix fallout from r241923. Calculate length of payload in
pim_input() properly.

While here, remove extra variable and incorrect condition
before m_pullup().

Reported by: Olivier Cochard-Labbé <olivier cochard.me>
Sponsored by: Nginx, Inc.

10 years ago- Fix some non-portable code with regard to endianness. Don't use memmove().
hselasky [Wed, 22 Jan 2014 09:57:26 +0000 (09:57 +0000)]
- Fix some non-portable code with regard to endianness. Don't use memmove().
- Fix a range check for maximum transmit length.
- Fix read from missing field when transmitting data.

MFC after: 2 weeks

10 years agoUse the correct bitshift operators for the GPIO definitions.
adrian [Wed, 22 Jan 2014 08:02:07 +0000 (08:02 +0000)]
Use the correct bitshift operators for the GPIO definitions.

Submitted by: Daan Vreeken <Daan@vitsch.nl>
MFC after: 1 week

10 years agoEnsure that the DMA delay does not get rounded down to zero ticks when
hselasky [Wed, 22 Jan 2014 07:48:39 +0000 (07:48 +0000)]
Ensure that the DMA delay does not get rounded down to zero ticks when
a timeout value of a single tick is given. With FreeBSD-10 and newer
the current system time is used as a starting point, and the minimum
callout time of a single tick will be guaranteed. This patch mostly
affect the DMA delay timeouts, which are typically in the range from
0.125 to 2ms.

MFC after: 1 week

10 years agoWait a bit more before we free any EHCI DMA descriptors. Some USB
hselasky [Wed, 22 Jan 2014 07:32:55 +0000 (07:32 +0000)]
Wait a bit more before we free any EHCI DMA descriptors. Some USB
controllers need more time than others.

MFC after: 1 week

10 years agoAdd new quirk.
hselasky [Wed, 22 Jan 2014 07:22:42 +0000 (07:22 +0000)]
Add new quirk.

PR: usb/185968
MFC after: 1 week

10 years agoHandle a VM-exit due to a NMI properly by vectoring to the host's NMI handler
neel [Wed, 22 Jan 2014 04:03:11 +0000 (04:03 +0000)]
Handle a VM-exit due to a NMI properly by vectoring to the host's NMI handler
via a software interrupt.

This is safe to do because the logical processor is already cognizant of the
NMI and further NMIs are blocked until the host's NMI handler executes "iret".

10 years agoFix issue with stale fields from a recycled request pulled off the freelist.
tychon [Wed, 22 Jan 2014 01:57:52 +0000 (01:57 +0000)]
Fix issue with stale fields from a recycled request pulled off the freelist.

Approved by: grehan (co-mentor)

10 years agoIncrease the block-layer backend maximum number of requests to match
tychon [Wed, 22 Jan 2014 01:56:49 +0000 (01:56 +0000)]
Increase the block-layer backend maximum number of requests to match
the AHCI command queue depth.  This allows a slew of commands issued
by a Linux guest to be absorbed without error.

Approved by: grehan (co-mentor)

10 years agoAdd myself to the src-committers list.
tychon [Tue, 21 Jan 2014 23:45:31 +0000 (23:45 +0000)]
Add myself to the src-committers list.

Approved by: neel (mentor)

10 years agoFix memory and references leak due to unfreed path in case we can't
mav [Tue, 21 Jan 2014 23:15:23 +0000 (23:15 +0000)]
Fix memory and references leak due to unfreed path in case we can't
allocate bus scan CCB.

MFC after: 2 weeks

10 years agoext2fs: Translate the EXT4_EXTENTS and EXT4_INDEX to the inode flags.
pfg [Tue, 21 Jan 2014 19:06:29 +0000 (19:06 +0000)]
ext2fs: Translate the EXT4_EXTENTS and EXT4_INDEX to the inode flags.

r260545 cleared the inode flags to fix corruption problems but
we still need to pass some EXT4 flags for the ext4 read-only
mode.  None of these attributes has an equivalent in FreeBSD and
are uninteresting for the system utilities so they should be
innaccessible in ext2_getattrib().

Note: we also use EXT4_HUGE_FILE but we use it directly from the
dinode structure so it is not necessary to translate it,

Suggested by: bde
MFC after: 3 days

10 years agoDo not exit with non-zero return code if sysctl.conf or sysctl.conf.local files
demon [Tue, 21 Jan 2014 18:57:49 +0000 (18:57 +0000)]
Do not exit with non-zero return code if sysctl.conf or sysctl.conf.local files
are absent.

Approved by: delphij

10 years agoFix a problem with OBJECT IDENTIFIER encoding: need to check the
harti [Tue, 21 Jan 2014 16:49:54 +0000 (16:49 +0000)]
Fix a problem with OBJECT IDENTIFIER encoding: need to check the
second subid to be less than 40, not the first when the first
subid is 0 or 1.

10 years agoAdd grembo as a ports committer
grembo [Tue, 21 Jan 2014 13:23:18 +0000 (13:23 +0000)]
Add grembo as a ports committer

Approved by: flo (mentor)

10 years agoadd myself to committers-doc.dot
jgh [Tue, 21 Jan 2014 09:01:08 +0000 (09:01 +0000)]
add myself to committers-doc.dot

Approved by: bcr (mentor)

10 years agoAdd check for "hw.usb.no_pf" sysctl value.
hselasky [Tue, 21 Jan 2014 08:24:12 +0000 (08:24 +0000)]
Add check for "hw.usb.no_pf" sysctl value.

Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week

10 years agoAdd 11.0-CURRENT.
gjb [Tue, 21 Jan 2014 05:56:35 +0000 (05:56 +0000)]
Add 11.0-CURRENT.

Sponsored by: The FreeBSD Foundation

10 years agoAdd 10.0-RELEASE.
gjb [Tue, 21 Jan 2014 05:54:14 +0000 (05:54 +0000)]
Add 10.0-RELEASE.

Sponsored by: The FreeBSD Foundation

10 years agoFix a couple of typos.
jhb [Tue, 21 Jan 2014 03:27:47 +0000 (03:27 +0000)]
Fix a couple of typos.

10 years agoFix a typo.
jhb [Tue, 21 Jan 2014 03:24:52 +0000 (03:24 +0000)]
Fix a typo.

10 years ago- Reuse legacy_pcib_(read|write)_config() methods in the QPI pcib driver.
jhb [Tue, 21 Jan 2014 03:14:19 +0000 (03:14 +0000)]
- Reuse legacy_pcib_(read|write)_config() methods in the QPI pcib driver.
- Reuse legacy_pcib_alloc_msi{,x}() methods in the QPI and mptable pcib
  drivers.

10 years agoThere is no need to initialize the IOMMU if no passthru devices have been
neel [Tue, 21 Jan 2014 03:01:34 +0000 (03:01 +0000)]
There is no need to initialize the IOMMU if no passthru devices have been
configured for bhyve to use.

Suggested by: grehan@

10 years agoDocument r258830.
gjb [Tue, 21 Jan 2014 01:21:20 +0000 (01:21 +0000)]
Document r258830.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r258838.
gjb [Tue, 21 Jan 2014 01:12:54 +0000 (01:12 +0000)]
Document r258838.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r258884.
gjb [Tue, 21 Jan 2014 01:12:52 +0000 (01:12 +0000)]
Document r258884.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r259626.
gjb [Tue, 21 Jan 2014 01:12:50 +0000 (01:12 +0000)]
Document r259626.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260445.
gjb [Tue, 21 Jan 2014 01:12:48 +0000 (01:12 +0000)]
Document r260445.

Sponsored by: The FreeBSD Foundation

10 years agoReformat to fix a nit in the rendered output.
gjb [Mon, 20 Jan 2014 23:59:32 +0000 (23:59 +0000)]
Reformat to fix a nit in the rendered output.

Sponsored by: The FreeBSD Foundation

10 years agoMove r260903, misplaced.
gjb [Mon, 20 Jan 2014 23:52:28 +0000 (23:52 +0000)]
Move r260903, misplaced.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260410.
gjb [Mon, 20 Jan 2014 23:50:34 +0000 (23:50 +0000)]
Document r260410.

Sponsored by: The FreeBSD Foundation

10 years agoMove r260532 to kernel-virtualization.
gjb [Mon, 20 Jan 2014 23:50:32 +0000 (23:50 +0000)]
Move r260532 to kernel-virtualization.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260448.
gjb [Mon, 20 Jan 2014 23:50:30 +0000 (23:50 +0000)]
Document r260448.

Sponsored by: The FreeBSD Foundation

10 years agoStyle(9) fix.
ray [Mon, 20 Jan 2014 23:36:16 +0000 (23:36 +0000)]
Style(9) fix.
No functional changes.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260532.
gjb [Mon, 20 Jan 2014 23:31:20 +0000 (23:31 +0000)]
Document r260532.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260552.
gjb [Mon, 20 Jan 2014 23:31:18 +0000 (23:31 +0000)]
Document r260552.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260582.
gjb [Mon, 20 Jan 2014 23:31:16 +0000 (23:31 +0000)]
Document r260582.

Sponsored by: The FreeBSD Foundation

10 years agoMake comconsole options set before its activation to be remembered.
mav [Mon, 20 Jan 2014 23:27:05 +0000 (23:27 +0000)]
Make comconsole options set before its activation to be remembered.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

10 years agoDocument r260583.
gjb [Mon, 20 Jan 2014 23:12:12 +0000 (23:12 +0000)]
Document r260583.

Sponsored by: The FreeBSD Foundation

10 years agoMove r260847 to 'kernel-virtualization'.
gjb [Mon, 20 Jan 2014 23:12:10 +0000 (23:12 +0000)]
Move r260847 to 'kernel-virtualization'.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260594.
gjb [Mon, 20 Jan 2014 23:08:33 +0000 (23:08 +0000)]
Document r260594.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260847.
gjb [Mon, 20 Jan 2014 23:08:31 +0000 (23:08 +0000)]
Document r260847.
Reword entry for r260888.

Sponsored by: The FreeBSD Foundation

10 years agoImplicit include of sys/queue.h instead of relying on gelf.h/libelf.h to bring it
bapt [Mon, 20 Jan 2014 22:54:11 +0000 (22:54 +0000)]
Implicit include of sys/queue.h instead of relying on gelf.h/libelf.h to bring it
Newer version of gelf.h and libelf.h does not include sys/queue.h anymore

Submitted by: kaiw
MFC after: 3 days

10 years agoDocument r260888.
gjb [Mon, 20 Jan 2014 22:25:50 +0000 (22:25 +0000)]
Document r260888.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260903.
gjb [Mon, 20 Jan 2014 22:08:11 +0000 (22:08 +0000)]
Document r260903.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260910.
gjb [Mon, 20 Jan 2014 22:08:09 +0000 (22:08 +0000)]
Document r260910.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260913, onifconsole ttys(5) flag.
gjb [Mon, 20 Jan 2014 21:58:29 +0000 (21:58 +0000)]
Document r260913, onifconsole ttys(5) flag.

Sponsored by: The FreeBSD Foundation

10 years agoFix the resource information for the i2s-a node on certain G5 PowerMacs.
andreast [Mon, 20 Jan 2014 21:54:05 +0000 (21:54 +0000)]
Fix the resource information for the i2s-a node on certain G5 PowerMacs.
This is the first step needed to get the snapper codec working on those
machines.
The second step is to enable the corresponding I2S device and its clock.

Tested on machines where the snapper codec was already working, a G4 PowerBook
and a PowerMac9,1 with a Shasta based macio.
The PowerMac7,2/7,3 with a K2 based macio can now also play sound.

MFC after: 1 month

10 years agoDocument r260921, nand(4) enabled by default for arm.
gjb [Mon, 20 Jan 2014 21:50:06 +0000 (21:50 +0000)]
Document r260921, nand(4) enabled by default for arm.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r260926, support for displaying VPD for PCI devices via
gjb [Mon, 20 Jan 2014 21:50:04 +0000 (21:50 +0000)]
Document r260926, support for displaying VPD for PCI devices via
pciconf(8).

Sponsored by: The FreeBSD Foundation

10 years agoFinal sweep to remove items that now exist in a release.
gjb [Mon, 20 Jan 2014 21:50:02 +0000 (21:50 +0000)]
Final sweep to remove items that now exist in a release.
While here, clean up spacing between closing para tags and closing
sectN tags.

Sponsored by: The FreeBSD Foundation

10 years agoRemove entries that:
gjb [Mon, 20 Jan 2014 21:50:00 +0000 (21:50 +0000)]
Remove entries that:
 - exist in a release [1]
 - do not have a corresponding revision class

[1] This is done to make ensure for 11.0-RELEASE, we do not end
up with entries from older releases, like happened with 10.0-R.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

10 years agoTrim copyright years.
gjb [Mon, 20 Jan 2014 21:49:59 +0000 (21:49 +0000)]
Trim copyright years.
Add missing punctuation.
Use <quote></quote> in place of literal quotes.

Sponsored by: The FreeBSD Foundation

10 years agoAdd support for displaying VPD for PCI devices via pciconf.
jhb [Mon, 20 Jan 2014 20:56:09 +0000 (20:56 +0000)]
Add support for displaying VPD for PCI devices via pciconf.
- Store the length of each read-only VPD value since not all values are
  guaranteed to be ASCII values (though most are).
- Add a new pciio ioctl to fetch VPD for a single PCI device.  The values
  are returned as a list of variable length records, one for the device
  name and each keyword.
- Add a new -V flag to pciconf's list mode which displays VPD data for
  each device.

MFC after: 1 week

10 years agoFix formatting, indentation, line length in preparation of
gjb [Mon, 20 Jan 2014 20:28:04 +0000 (20:28 +0000)]
Fix formatting, indentation, line length in preparation of
upcoming changes to this file.

Sponsored by: The FreeBSD Foundation

10 years agoSync with (local) changes against releng/10.0/release/doc/
gjb [Mon, 20 Jan 2014 20:06:13 +0000 (20:06 +0000)]
Sync with (local) changes against releng/10.0/release/doc/
that were needed to fix 10.0-RELEASE release notes.

This corresponds to r43586 through r43593 of the doc/
repository.  There are no corresponding changes to the src/
repository tracking these.

Sponsored by: The FreeBSD Foundation

10 years agoWe need nand now that the boards reference it.
imp [Mon, 20 Jan 2014 19:57:30 +0000 (19:57 +0000)]
We need nand now that the boards reference it.

10 years agoANSIfy declarations.
glebius [Mon, 20 Jan 2014 18:47:56 +0000 (18:47 +0000)]
ANSIfy declarations.

Ok'ed by: alc

10 years agoIn pmap_set_pte(), make sure to enforce ordering by inserting a memory
marcel [Mon, 20 Jan 2014 18:37:35 +0000 (18:37 +0000)]
In pmap_set_pte(), make sure to enforce ordering by inserting a memory
fence. Under system load, the CPU has been found to change the order
by which the stores are made visible. When the tag is made visible
before the other TLB values, other CPUs may use the invalid TLB values
and do bad things.

While here (i.e. not a fix) don't return errors from pmap_remove_vhpt()
to callers of pmap_remove_pte(). Those callers don't check the return
value and as such don't do what is needed to keep a consistent state.
More importantly, pmap_remove_vhpt() can't really have an error without
it indicating something unintended. Using KASSERT is therefore better.

PR: 182999, 183227

10 years agoAdd a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the
nwhitehorn [Mon, 20 Jan 2014 18:15:06 +0000 (18:15 +0000)]
Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the
device is an active kernel console and "off" otherwise. This is designed to
allow serial-booting x86 systems to provide a login prompt on the serial line
by default without providing one on all systems by default.

Comments and suggestions by: grehan, dteske, jilles
MFC after: 1 month

10 years ago- Only check the ivars for direct descendants.
jhb [Mon, 20 Jan 2014 17:55:22 +0000 (17:55 +0000)]
- Only check the ivars for direct descendants.
- A couple of whitespace fixes.

10 years agoDon't lock in the generic grab just to lock again in the specific grabs.
imp [Mon, 20 Jan 2014 17:45:36 +0000 (17:45 +0000)]
Don't lock in the generic grab just to lock again in the specific grabs.
(I committed the wrong version of uart_core.c, which still had this).

Pointy hat: imp

10 years ago- Allow PCI devices that are attached to a driver to be identified by their
jhb [Mon, 20 Jan 2014 15:51:02 +0000 (15:51 +0000)]
- Allow PCI devices that are attached to a driver to be identified by their
  device name instead of just the selector.
- Accept an optional device argument to -l to restrict the output to only
  listing details about a single device.  This is mostly useful in
  conjunction with other flags like -e or -c to allow a user to query
  details about a single device.

MFC after: 1 week

10 years agoFix format string.
des [Mon, 20 Jan 2014 11:13:05 +0000 (11:13 +0000)]
Fix format string.

Submitted by: Jörg Sonnenberger <joerg@NetBSD.org>
MFC after: 1 week

10 years agoAdd support for GPS ports to UHSO driver.
hselasky [Mon, 20 Jan 2014 07:09:19 +0000 (07:09 +0000)]
Add support for GPS ports to UHSO driver.

Submitted by: Lundberg, Johannes <johannes@brilliantservice.co.jp>
MFC after: 1 week

10 years agoDummy commit (whitespace changes and style nits) to show previous commit
dteske [Mon, 20 Jan 2014 03:39:08 +0000 (03:39 +0000)]
Dummy commit (whitespace changes and style nits) to show previous commit
(SVN r260866) was [in-part] Submitted-by: Christoph Mallon ...
<christoph.mallon@gmx.de>

MFC After: 3 days
X-MFC-With: r260866

10 years agoDummy commit (s/__num/__number/) in f_expand_number() to describe that the
dteske [Mon, 20 Jan 2014 03:31:16 +0000 (03:31 +0000)]
Dummy commit (s/__num/__number/) in f_expand_number() to describe that the
previous commit here (SVN r260894) was [in-part] from Submitted-by:
Christoph Mallon <christoph.mallon@gmx.de>

MFC after: 3 days

10 years agoBump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries for
neel [Mon, 20 Jan 2014 01:59:35 +0000 (01:59 +0000)]
Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries for
WITNESS to actually work.

Reviewed by: jhb@

10 years agoOptimize f_expand_number(), improving performance.
dteske [Sun, 19 Jan 2014 21:02:24 +0000 (21:02 +0000)]
Optimize f_expand_number(), improving performance.

MFC After: 3 days

10 years agoFree the dma memory from the dma map before destroying the dma map.
imp [Sun, 19 Jan 2014 20:32:20 +0000 (20:32 +0000)]
Free the dma memory from the dma map before destroying the dma map.

10 years agoIntroduce grab and ungrab upcalls. When the kernel desires to grab the
imp [Sun, 19 Jan 2014 19:39:13 +0000 (19:39 +0000)]
Introduce grab and ungrab upcalls. When the kernel desires to grab the
console, it calls the grab functions. These functions should turn off
the RX interrupts, and any others that interfere. This makes mountroot
prompt work again. If there's more generalized need other than
prompting, many of these routines should be expanded to do those new
things.

Should have been part of r260889, but waasn't due to command line typo.

Reviewed by: bde (with reservations)

10 years agoIntroduce grab and ungrab upcalls. When the kernel desires to grab the
imp [Sun, 19 Jan 2014 19:36:11 +0000 (19:36 +0000)]
Introduce grab and ungrab upcalls. When the kernel desires to grab the
console, it calls the grab functions. These functions should turn off
the RX interrupts, and any others that interfere. This makes mountroot
prompt work again. If there's more generalized need other than
prompting, many of these routines should be expanded to do those new
things.

Reviewed by: bde (with reservations)