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
asau
ee4b150430
Move run-time data structures into processing part.
2015-03-01 00:51:08 +00:00
asau
82be1f5db2
Move data I/O file pointers into processing part.
2015-03-01 00:38:01 +00:00
mrg
5294eeea2e
fix some comments about MP midi.
2015-03-01 00:34:14 +00:00
jmcneill
3ee2227103
if the root file-system is not yet mounted, hide "vfs load failed" spam with options DEBUG
2015-02-28 23:04:34 +00:00
jmcneill
9df32d801c
invert gpio OEN bit logic, now usb works
2015-02-28 22:53:25 +00:00
asau
1f228785da
Improve modularity of "sed" source:
...
- move program source input subroutines into compiler part;
- move data I/O subroutines into processor part.
2015-02-28 21:56:53 +00:00
martin
1236121fb1
As christos put it: "Tidy up error handling, and return SIGBUS for mmap
...
past the end of file as required by the spec."
2015-02-28 21:44:33 +00:00
rtr
c395e5a2ab
Place opening brace to function at column 0, like in the rest of the file.
2015-02-28 21:42:01 +00:00
riastradh
fd2bb02c5e
Actually poll every tick as advertised.
2015-02-28 21:30:22 +00:00
riastradh
74ed5123ca
Remove extraneous blank line.
2015-02-28 21:17:32 +00:00
jmcneill
c4e54644b6
add dwctwo and usb devices
2015-02-28 18:52:01 +00:00
jmcneill
acbde51a8a
more usb phy / clk init
2015-02-28 18:50:57 +00:00