kib
3fc50687aa
Only enable kdtrace hook in the LINT on the architectures that implement it.
2010-06-18 18:51:09 +00:00
mav
a2f18e904a
Do not print first digits of IRQ number if whole number doesn't fit.
2010-06-18 18:18:03 +00:00
nwhitehorn
b877c685c2
Add MSI support for PCI devices attached to the CPC925 and CPC945 bridges
...
found in Apple and IBM G5 systems.
2010-06-18 17:39:56 +00:00
nwhitehorn
861b0ae690
Missed change to sun4v while adding iparent lookup to the OFW interrupt
...
map interface.
2010-06-18 16:29:03 +00:00
kan
7a861d7b87
Do not allow EOF token to be put back into input buffer.
...
This reimplements previous change from r20930 in more generic way.
MFC after: 1 week
2010-06-18 16:07:24 +00:00
nwhitehorn
033a2ddfa0
Add support for the Keywest I2C controller in Apple uninorth northbridges.
...
Although the Keywest registers have only 1 byte of content, they are
secretly 4-byte registers, which became apparent from them moving on the
big-endian Uninorth version of the controller.
2010-06-18 14:28:57 +00:00
nwhitehorn
fa9c80db42
Revert changes accidentally committed as part of r209298.
2010-06-18 14:20:54 +00:00
nwhitehorn
6a83117174
Following r209299, level interrupts are low by default on PPC, so remove
...
the hack here to reprogram the interrupt for K2 SATA devices.
2010-06-18 14:17:45 +00:00
nwhitehorn
071d45eec9
Change the default interrupt polarity on PowerPC systems from high to low.
...
On Apple systems at least, all the level interrupts are wired active low.
Before this change, our PIC programming only worked because Apple hardware
ignores the interrupt polarity bit on all interrupts except IRQ 0.
2010-06-18 14:16:24 +00:00
nwhitehorn
c757ee90ae
Provide for multiple, cascaded PICs on PowerPC systems, and extend the
...
OFW interrupt map interface to also return the device's interrupt parent.
MFC after: 8.1-RELEASE
2010-06-18 14:06:27 +00:00
kib
f26dfb440a
Add unwind annotations to the asm part of crt1 on i386. Terminate the
...
process with SIGTRAP if _start1() unexpectedly returns.
Reviewed by: kan
MFC after: 2 weeks
2010-06-18 11:10:39 +00:00
kib
056723449a
Often reported issue with newer ld is:
...
error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created.
The issue is that crtend is compiled with unwind table, and also it
places the special CIE into the .eh_frame indicating the end of section,
that is located before generated unwind table. New ld has assertion that
verifies that closing CIE is indeed the last CIE, causing the crypting
message to be issued, and refusing to generate dwarf unwind.
Add -fno-asynchronous-unwind-tables to disable unwind table generation
for crtbegin/crtend. While there, disable omitting the frame pointer [1].
Requested by: kan [1]
Reviewed by: kan
MFC after: 2 weeks
2010-06-18 11:09:51 +00:00
tuexen
de5b3a7add
Fix a rece condition in the shutdown handling.
...
The race condition resulted in a panic.
MFC after: 3 days
2010-06-18 09:01:44 +00:00
dougb
27ff4601c5
Add the AAAA address for i.root-servers.net
2010-06-18 08:11:52 +00:00
sbruno
1014412bc5
Much closer approximation of the kernel's calculation of this value.
...
Reviewed by: alc
Obtained from: Yahoo Inc.
2010-06-18 01:17:16 +00:00
mm
09f088a457
Import latest ARC change from OpenSolaris:
...
- large ghost eviction causes high write latency
- arc_adjust might adjust MRU unnecessarily
- arc_adapt can lead to wild arc_p adjustment
OpenSolaris onnv-revision: 12636:13b5d698941e
Submitted by: avg
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6950219, 6953403, 6951024)
MFC after: 1 month
2010-06-17 22:47:44 +00:00
delphij
4368976729
Remove an unused comment.
2010-06-17 19:48:03 +00:00
sbruno
72002cd955
Expand man page to document the fact that mptutil/mpt doesn't support RAID volumes in excess of 2TB. Document workaround via geom or zfs
...
Modified submitter's original patch to reference why this is broken and what to do to work around the issue.
Submitted by: hubert@tournier.org
PR: bin/147572
Reviewed by: jhb
MFC after: 2 weeks
2010-06-17 19:28:56 +00:00
pjd
0e09f70bb6
Turn off UMA allocations on all archs by default. It isn't stable even on
...
amd64.
Reported by: many
MFC after: 3 days
2010-06-17 17:41:42 +00:00
pjd
b3024a4af9
Backout r207970 for now, it can lead to deadlocks.
...
Reported by: kan
MFC after: 3 days
2010-06-17 17:39:51 +00:00
jfv
11dfcfdfe4
Two stats were duplicated, thanks to Andrew Boyer
...
for pointing this out.
2010-06-17 17:38:39 +00:00
rpaulo
a8c5bafed5
Make DTrace syscall provider work again by including opt_kdtrace.h here.
2010-06-17 17:34:45 +00:00
jh
8a203f841c
- Fix compilation of the subr_unit.c user space test program.
...
- Use %zu for size_t in a few format strings.
2010-06-17 16:12:06 +00:00
gabor
d721395aa6
- Update GCC reference from 3.3 to 4.2 [1]
...
- Add reference to c99(7)
Submitted by: stefanf
2010-06-17 14:37:47 +00:00
gabor
b258e1aaa8
- Fix typo, it should have been c78.7
...
Submitted by: pluknet <pluknet@gmail.com>
2010-06-17 13:59:41 +00:00
netchild
603823a076
Add the ZFS periodic daily scripts to the ZFS part.
2010-06-17 12:37:50 +00:00
kib
188338f3b7
In the ia32_{get,set}_fpcontext(), use fpu{get,set}userregs instead
...
of fpu{get,set}regs.
Noted by: bde
MFC after: 1 month
2010-06-17 12:35:17 +00:00
netchild
881839de98
- add the zfs scrub script
...
- move the zfs status script into the MK_ZFS conditional to respect
WITHOUT_ZFS
Noticed by: Andrzej Tobola <ato@iem.pw.edu.pl>
2010-06-17 12:25:47 +00:00
gabor
49b988c960
- Add c99(7) manual page
...
- Add MLINKS to c.7, c79.7, c89.7, c90.7
2010-06-17 12:05:47 +00:00
mav
71d7c38373
Merge COUNT_XINVLTLB_HITS and COUNT_IPIS kernel options from i386 to amd64.
...
This information can be very valuable for CPU sleep-time (and respectively
idle power consumption) optimization.
Add counters for timer-related IPIs.
Reviewed by: jhb@ (previous version)
2010-06-17 11:54:49 +00:00
avg
9f2d4c3357
lock_profile_release_lock: do not compare unsigned with zero
...
Found by: Coverity Prevent
CID: 3660
Reviewed by: jhb
MFC after: 2 weeks
2010-06-17 10:15:13 +00:00
ed
70171ee94e
Remove the unit argument from the recently added make_dev_p().
...
New code that creates character devices shouldn't use device unit
numbers, but only si_drv[12] to hold pointer to per-device data. Make
this function more future proof by removing the unit number argument.
Discussed with: kib
2010-06-17 08:49:31 +00:00
jchandra
ef78a755d6
Merge jmallett@'s n64 work into HEAD - changeset 4
...
Re-write tlb operations in C with a simpler API.
Update callers to use the new API.
Changes from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs(mentor), jmallett
2010-06-17 05:03:01 +00:00
gnn
67fd9a4a1d
Move statistics into the sysctl tree making it easier to find
...
and use them.
Add previously hidden statistics, some of which include interrupt
and host/card communication counters.
2010-06-16 20:57:41 +00:00
gnn
8b63d86a34
Move statistics into the sysctl tree making it easier to find
...
and use them.
Add previously hidden statistics, some of which include interrupt
and host/card communication counters.
2010-06-16 17:36:53 +00:00
raj
331d2f7657
Use awk alone for extracting FDT_DTS_FILE instead of grep/cut, which is
...
simpler and more robust.
Submitted by: Andrzej Tobola
2010-06-16 16:52:35 +00:00
jchandra
54db007c16
Merge jmallett@'s n64 work into HEAD - changeset 3
...
Update rtld MIPS code to use assembly macros that work on o32/n64.
Changes from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs(mentor), jmallett
2010-06-16 16:39:01 +00:00
jfv
73fa18d121
Changes from John Baldwin adding to last commit,
...
change rxeof api for poll friendliness, and
eliminate unnecessary link tasklet use. Thanks John!
2010-06-16 16:37:36 +00:00
jh
1c0174e29a
Correct the function name in a KASSERT.
2010-06-16 16:02:17 +00:00
brucec
9f6e36d162
Call free and freeaddrinfo before exiting.
...
PR: bin/144730
PR: bin/144974
Submitted by: Earl R. Lapus <earl.lapus at gmail.com>
Approved by: rrs (mentor)
MFC after: 1 month
2010-06-16 15:49:17 +00:00
brucec
2f90e1d7fc
* Allow partial MB/GB values to be entered in the slice and label editors.
...
* Don't strdup the name when calling deviceRegister because the string is
copied within new_device.
* Use a subtype of 165, not 3, when creating a slice in noninteractive
mode.
PR: bin/135333
PR: bin/66350
Approved by: rrs (mentor)
MFC after: 1 month
2010-06-16 15:40:13 +00:00
mav
0df344c42a
Freq sysctls are quite heavy due to set of malloc()/free() calls. Avoid
...
reading current frequency on every period. Instead do it only after
changing and periodically from time to time if somebody else change it.
Also dynamically decrease sampling frequency up to 4 times on inactivity,
2010-06-16 15:09:45 +00:00
jchandra
fc8e5640fd
Merge jmallett@'s n64 work into HEAD - changeset 2
...
Update libc Makefiles.
Add makecontext implementation.
Changes from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs(mentor), jmallett
2010-06-16 14:13:36 +00:00
raj
fe3438c772
Move ARM nexus rman initialization to attach routine.
...
This fixes a panic, which started to trigger after r209129 cleanup.
Submitted by: Andrew Turner
2010-06-16 14:10:39 +00:00
jchandra
fa919cddc1
Merge jmallett@'s n64 work into HEAD - changeset 1.
...
Update libc assembly code to use macros that work on both o32 and n64.
Merge string functions from NetBSD.
The changes are from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs (mentor), jmallett
2010-06-16 12:55:14 +00:00
pjd
9a26791248
Remove redundant assignment.
...
MFC after: 3 days
2010-06-16 12:42:20 +00:00
avg
78e411f4bf
device.hints: do not install when WITHOUT_BOOT is set
...
Forced commit to fix commit message in r209228.
Discussed with: imp
MFC after: 2 weeks
2010-06-16 08:20:01 +00:00
avg
e4753d546f
device.hints: do install when WITHOUT_BOOT is set
...
Discussed with: imp
MFC after: 2 weeks
2010-06-16 07:52:44 +00:00
alc
534c9ebdcf
Eliminate unnecessary page queues locking.
2010-06-16 00:41:21 +00:00
imp
b6af132fc7
Allow boot.config to have different values than just -h.
...
Submitted by: bsdrp by way of freenas and olivier cochard-labbe
MFC after: 3 days
2010-06-15 23:55:42 +00:00