enami
02c2c060ff
Also hijack futimens(2) so that t_sh test passes.
2015-03-03 01:24:39 +00:00
enami
80c6af722d
Fix the name of failed function in warning message.
2015-03-03 00:20:38 +00:00
enami
a4c990f5c2
Hijack utimensat(2) so that t_vfs test passes after cp(1)/mv(1) are
...
changed to use the system call. Linux also has this system call, but
not tested this on linux.
2015-03-03 00:19:07 +00:00
riastradh
dae0a2cc06
Replace `out' label by break.
...
Reduces diff from upstream a little.
No functional change, confirmed by diffing `objdump -dr' output.
2015-03-02 23:29:56 +00:00
riastradh
fb34b3a2a0
Narrow the scope of the gmbus wait lock to where we need it.
2015-03-02 23:05:03 +00:00
christos
bdd961faf7
add pwait.
2015-03-02 21:55:44 +00:00
christos
90298a02bf
add pwait
2015-03-02 21:54:13 +00:00
christos
8fb724825c
Add -s option, cleanup warnings.
2015-03-02 21:53:48 +00:00
christos
b957b96ffc
Add pwait, from FreeBSD
2015-03-02 21:43:39 +00:00
christos
598d99601c
put the exit code of the process in data, like FreeBSD does.
2015-03-02 19:24:53 +00:00
christos
6998697823
say that we put the exit code in data.
2015-03-02 19:24:19 +00:00
riastradh
96ef47eb7a
Drop the gmbus wait lock to delay.
2015-03-02 18:36:49 +00:00
riastradh
afd556cfa9
Return the error if there is one in radeon_fence_wait_seq.
...
Don't just always say we succeeded!
2015-03-02 17:53:00 +00:00
riastradh
ae9280efd2
Don't sleep in the drm_vma allocator. Fail with ENOSPC, not ENOMEM.
...
Caller has dev->struct_mutex locked and will handle ENOSPC anyway.
2015-03-02 17:34:23 +00:00
riastradh
3bcdd265e2
Make sure wedged actually gets set on all code paths.
...
Otherwise GCC helpfully realizes we're invoking undefined behaviour
and optimizes away the possibility that this routine will return
success, without saying a word about it.
2015-03-02 17:30:17 +00:00
christos
c3a1a6aa5e
Add more zeroes in the constants, no functional change
2015-03-02 16:16:08 +00:00
christos
8ffb98d6a6
From Tom Ivar Helbekkmo:
...
- Use mutexes and condvars instead of spl() calls.
- Add a couple of bugfixes from FreeBSD (the easily observed ones).
- Add a simple watchdog thread for the newer versions of the hardware,
that tickles the controller at task submission time if it seems not ready
(from FreeBSD).
- Add a buffer allocation size hack to the ioctl handler, to work around
a firmware bug in some versions of the controller (also from FreeBSD).
- Rearrange the bus_dmamap_sync() calls to make the use match the
documentation.
2015-03-02 15:26:57 +00:00
nakayama
c466086210
prom_printf converts "\n" to "\r\n" internally, so omit "\r".
2015-03-02 14:17:06 +00:00
nakayama
503edb5a9d
PANICSTACK is a pointer itself, not a pointer to pointer.
2015-03-02 13:58:55 +00:00
martin
60e30960bb
Handle EINVAL in the fault path, send SIGSEGV on mmap access past EOF.
2015-03-02 13:53:19 +00:00
joerg
5a02bfcb09
Explicitly deal with end of lists. PR 49708.
2015-03-02 13:51:24 +00:00
nakayama
b4280b5ff8
Use panic stack temporarily for calling prom_printf in a trap
...
handler.
It seems that openfirmware cannot handle over 4GB pointers, and
stack pointers may point to over 4GB since VA layout was rearranged
by rev 1.33 of vmparam.h. Therefore, use panic stack to avoid
panicking in OF_write used by prom_printf.
2015-03-02 13:48:00 +00:00
martin
1384b20533
Handle EINVAL in the fault path and send SIGBUS for mmap acces past EOF.
2015-03-02 13:36:36 +00:00
nonaka
e9f9997b8d
Correctly set lowest_present_ofdm in iwm_mvm_ack_rates().
...
From OpenBSD rev.1.23.
2015-03-02 12:07:27 +00:00
jmcneill
2944c17539
sc_gic_lines is the total number of valid lines but pic_sources[] is sparse; when initializing mpsafe targets make sure to go all the way to the end (sc_pic.pic_maxsources) instead
2015-03-02 11:37:25 +00:00
martin
bc4b70818c
Handle EINVAL in fault path, so mmap() access past EOF gets SIGBUS.
2015-03-02 11:07:16 +00:00
martin
85e6484569
Send SIGBUS when accessing mmap() past end of file (handle EINVAL in fault
...
path). While there, handle ENOMEM as well.
2015-03-02 11:05:12 +00:00
enami
c1e351a1b2
Don't truncate at microseconds while preserving timestamps.
...
One of motivation of this change is to make the behavior of test(1)
-nt/ot with preserved copy (like cp -p) closer to the NetBSD 6.
Of course whether full timestamps are kept or not depends also on
underlying file system.
The ifdef added in mv(1) since existing ifdefs was our local change
to compile it on solaris (though I couldn't test it):
http://mail-index.netbsd.org/tech-userlevel/2014/11/28/msg008831.html
2015-03-02 03:17:24 +00:00
riastradh
8aae5c1e3e
Fix broken error checking in kmalloc_array/kcalloc.
2015-03-02 02:26:37 +00:00
jmcneill
52ddb733c2
UART TTY support.
2015-03-01 23:39:28 +00:00
christos
bed3f92b62
Sync the HAVE's with reality
2015-03-01 21:00:40 +00:00
tnn
d3bf9a40c8
xgetbv expects XCR0 to be speficied in %ecx, don't leave %ecx undefined
2015-03-01 18:02:42 +00:00
jmcneill
df81c70737
auto-detect RAM size
2015-03-01 15:37:26 +00:00
jmcneill
6ad5a230fa
ODROID-C1 SMP support.
2015-03-01 15:07:49 +00:00
jmcneill
5c30d8706b
remove debug printf
2015-03-01 15:06:09 +00:00
mlelstv
4b8999e0dd
safely update existing wedge links
2015-03-01 14:21:17 +00:00
mlelstv
e0f31e2bee
Detect overflow when rounding length parameter and return ENOMEM.
...
Fixes PR kern/49692.
2015-03-01 13:43:51 +00:00
njoly
561e5b0384
Add Linux specific fcntl(2) commands. Support F_DUPFD_CLOEXEC.
2015-03-01 13:19:39 +00:00
mrg
3abb44d943
fix the previous; it had a reversed test and was also missing bsd.own.mk
...
before checking MK* values.
2015-03-01 11:19:08 +00:00
mrg
9a104ac13a
fix some comments about the half-working i386 hack.
2015-03-01 10:07:01 +00:00
mrg
fe7264a410
be explicit about stdout mode.
2015-03-01 09:56:54 +00:00
skrll
91c6f8e34e
Fix previous for HEAD
2015-03-01 09:53:36 +00:00
skrll
d65f508683
Whitespace.
2015-03-01 08:10:57 +00:00
skrll
a659afd5f1
Improve debug
2015-03-01 08:03:35 +00:00
skrll
6165b21981
Whitespace
2015-03-01 08:00:57 +00:00
mrg
50e581ea01
add build framework to choose between xf86-video-ati 6.x (UMS/KMS)
...
and 7.x (KMS only), and switch x86 to the latest (KMS only) version.
(if someone can make x86 install both radeon_drv.so.[67] and leave
the default symlink to .7, that would be nice. renaming it so that
it's easier to choose via xorg.conf is a little more tricky..)
2015-03-01 07:46:04 +00:00
mlelstv
3a26d93cff
Also unmap video memory when detaching console
2015-03-01 07:05:59 +00:00
christos
e0e35c7751
PR/39918: ITOH Yasufumi: Replace KASSERT with continue, since the file
...
descriptor can be closed since closef() does not pay attention to FDEFER.
XXX: Pullup-7
2015-03-01 01:14:41 +00:00
asau
7004d56080
Hide more subroutines in processing phase.
2015-03-01 01:07:46 +00:00
asau
2390183275
Close files opened at processing time within processing phase.
2015-03-01 01:00:07 +00:00