Commit Graph

198601 Commits

Author SHA1 Message Date
jruoho 3c37c8c0bc Adjust the detection of Turbo Boost to prevent a theoretical array OOB access. 2011-03-02 06:23:17 +00:00
jruoho 5bfb3ade6b Append Intel's Turbo Boost to the debug printfs if we detect it. 2011-03-02 06:17:08 +00:00
riz 1680d3ca61 Skip the sigfpe_flt and sigfpe_int tests on powerpc; powerpc does
not fault on divide-by-zero.  As discussed on tech-userlevel.
2011-03-02 03:42:56 +00:00
riz 736d6f3deb PR#44239 is now fixed, remove the xfail from the test. 2011-03-01 22:52:54 +00:00
riz 213d0d6de1 Always return at least one parity region. Fixes PR#44239.
Fix from oster@, code (such as it is) by me.
2011-03-01 22:51:14 +00:00
macallan 5bf2d32443 use hardware to draw characters, while there use vcons_replay_msgbuf() 2011-03-01 21:47:13 +00:00
pooka 1939d9d97e msdosfs xfail for PR kern/44661 2011-03-01 20:16:33 +00:00
jruoho 52af638039 Xref est(4). 2011-03-01 19:41:05 +00:00
dyoung 439199a3fb Pull pfsync_stats() out of inet.c and into pfsync.c so that inet.c does
not have to #include PF header files that pollute the global namespace
by #defining v4 and v6 (sheesh).
2011-03-01 19:01:59 +00:00
joerg 20a3edc3f6 Ensure that the LWP private area has a consistent value after exec. 2011-03-01 18:53:10 +00:00
pooka bb225c94f3 xfail dir_rmdirdotdot for tmpfs (PR kern/44657) 2011-03-01 15:33:35 +00:00
pooka da0742f9b8 Reset node's parent pointer when it's removed. Technically the
parent still exists, but allows us to avoid complicated g/c algorithms
if the parent *is* removed.
2011-03-01 15:14:35 +00:00
pooka 878d41e6e9 Rmdir the dir you're in and its parent and try to cd ..
Fails on tmpfs (crash), puffs (cd .. succeeds) and rumpfs (cd .. succeeds).

another testcase derived from the bugfinding genious of Taylor R Campbell
2011-03-01 15:04:47 +00:00
vanhu acd79fcecf plog text fixes, patch from M E Andersson <debian@gisladisker.se> 2011-03-01 14:33:58 +00:00
pooka 8a3bb78f03 Comment out msdosfs skip -- i'm not sure if it will still fail with
the "stack size" problem, but at least it fails due to yet another
refcounting snafu in the msdosfs rename method.
2011-03-01 14:27:32 +00:00
pooka 1157445be6 augment rename test case with the failure from PR kern/44288 2011-03-01 14:21:46 +00:00
vanhu 3b9e5ba27f reset yyerrorcount before doing parse stuff. patch by Roman Hoog Antink <rha@open.ch> 2011-03-01 14:14:50 +00:00
jruoho 5b407ea29a Detach evcnt(9) before the states. 2011-03-01 13:38:45 +00:00
pooka 866d358b14 Attempt further qemu heuristics to avoid failures due to non-working FPU 2011-03-01 12:47:43 +00:00
soda fd45f5444a fuse_opt_parse() was using uninitialized struct fuse_opt_option::data,
this bug made fuse_opt_proc_t not work, if it used first ``data'' argument,
and might cause memory corruption even.
2011-03-01 11:23:42 +00:00
pooka c6cd7e8f80 another comment 2011-03-01 10:54:06 +00:00
pooka 691e852f03 comment 2011-03-01 10:47:29 +00:00
pooka 405dec72d6 Pass accurate protection info from ubc_uiomove() to the pager.
Fixes nfs{,ro}_fileio tests on at least sparc64 (and probably macppc
and other fat endian machines).

The problem was that nfs was fooled to thinking read() caused a
write fault because of VM_PROT_WRITE being unconditionally set and
therefore set NMODIFIED on a r/o file system.  It is absolutely
beyond me why the test worked on i386/amd64.  Incidentally, I seem
to have "misplaced" a few goats.
2011-03-01 10:02:11 +00:00
phx 1b9ef66f08 Revert the major number for satmgr(4) back to 100 and allocate it from
majors.powerpc, as suggested by matt@.
2011-03-01 09:17:06 +00:00
pooka e71885fb04 Create a pipe on which to select. selecting on STDIN_FILENO seems
to be succesful *sometimes* on some archs (i'm suspecting this is
in some way related to lib/libc/ttyio/t_ttyio failing).
2011-03-01 08:54:18 +00:00
wiz 055ec59523 Whitespace nit. 2011-03-01 08:48:41 +00:00
jruoho e98440f29b Move also the evcnt(9) event counters to one place. No functional change. 2011-03-01 05:57:04 +00:00
jruoho 2562de9c62 Use __arraycount(3). 2011-03-01 05:37:02 +00:00
jruoho b9f7a5accd Simplify by moving the debug printfs to one place. No functional change. 2011-03-01 05:32:03 +00:00
jruoho 83e392c16f Remove the cross-call from the APERF/MPERF -function. 2011-03-01 05:02:16 +00:00
jruoho eef758e412 Update compatibility notes. 2011-03-01 04:45:52 +00:00
jruoho c9111546fe Move the xcall(9) that does the P- and T-state transformations from the MD
layer to the main code. Makes the caches coherent and provides consistent
vmstat(1) output. This is still not quite right, given that most of the
cross-calls are typically unnecessary with the dependency coordination.
2011-03-01 04:35:48 +00:00
haad 6024239e67 Fix problems in libdm manual page pointed by njoly@ thanks for help. 2011-02-28 23:23:08 +00:00
skrll 01a744c41e Add the trapframe pointer to the syscall information. 2011-02-28 21:24:25 +00:00
skrll 3c6d72d744 __HAVE___LWP_GETPRIVATE_FAST works now. 2011-02-28 21:23:33 +00:00
skrll 641cef61dc Don't use %tr3 (aka cr27) in emu trap. cr27 is now used for lwp private
info.
2011-02-28 21:22:35 +00:00
pooka c87fb89aa0 make netcfg produce sensible results in a non-atf env 2011-02-28 21:21:14 +00:00
skrll 0dad921873 Remove old/incorrect comment. 2011-02-28 21:20:50 +00:00
pooka ab076a3e59 g/c use of unused variable too 2011-02-28 21:08:46 +00:00
pooka cb7e71e280 g/c unused variable 2011-02-28 21:08:13 +00:00
pooka d7421024b5 bump nfdsargv[] size belatedly (and add a few extra for needs of future bugs) 2011-02-28 21:03:15 +00:00
pooka 060e3527df make compiler sign-happy 2011-02-28 20:39:07 +00:00
pooka 9ec87a7764 A simple dup2-enforced affine transformation isn't enough when
dealing with dup2() from a rump kernel fd to a host kernel fd.
Consider:

s1 = socket();
s2 = socket();
dup2(s2, 0);

Instead, maintain a real mapping table (and get on my knees and
pray i don't have to touch this hair-splitting code ever again).

Apparently bourne shell scripts from a rump kernel fs work now
(sh script.sh; ./script.sh doesn't work for obvious "IT'S THE WRONG
FS NAMESPACE" reasons).  No test regressions either, so I'm a
happy camper.
2011-02-28 19:57:36 +00:00
christos 0437d56b01 Make error checking consistent, possibly fixes PR/44652. 2011-02-28 18:28:20 +00:00
mjacob 44bf8be11e Update firmware sets for the (rare) 2322, 2400 and 2500. In particular the
latter two sets have boatloads of bug fixes.
2011-02-28 17:19:43 +00:00
mjacob 29e9eb7163 Update isp driver to be in sync with other platforms. Mostly very minor changes
with effectively zero impact on NetBSD.
2011-02-28 17:17:55 +00:00
riz a110815e0b Use le16enc()/be16enc() to encode LE/BE values back into the audio stream.
This fixes the tests/dev/audio test on my macppc box.

While I'm here, use le16dec()/be16dec() directly instead of rewriting them.
2011-02-28 16:56:39 +00:00
nakayama 8281676ab4 lom_refresh():
Update only the sensor status specified by the edata as noted in
sysmon_envsys(9).

lom_sysctl_alarm():
Update alarm status before reading via sysctl to make it usable at
a boot time.
2011-02-28 14:29:29 +00:00
macallan ad600d617b use ARM32_MMAP_WRITECOMBINE when mmap()ing video memory for improved X11 speed 2011-02-28 10:05:04 +00:00
macallan 7b3a5e8aef implement arm32_pmap_flags() to allow mappings with write buffering enabled,
mostly for video memory
Tested on shark
2011-02-28 10:03:49 +00:00