jmcneill
d584336a78
Use DRM GEM/CMA helper.
2017-12-26 14:54:52 +00:00
jmcneill
18d142ca0b
Implement the DRM GEM/CMA helpers. The implementation has been extracted
...
from our tegra DRM driver, but generalized for use with other drivers.
2017-12-26 14:53:12 +00:00
martin
63f6d58f43
Fix cargo cult ioctl implementation for LUAINFO: the name and desc fields
...
are arrays, not pointers, so don't use copyoutstr on them, but instead
copyin/copyout the whole array of structures.
Fixes PR 52864 for me (on sparc64).
2017-12-26 12:43:59 +00:00
martin
304fae425d
Note build fallout from vadvise removal.
2017-12-26 11:40:47 +00:00
kamil
d46f49d32a
Refactor pipe1() and correct a bug in sys_pipe2() (SYS_pipe2)
...
sys_pipe2() returns two integers (values), the 2nd one is a copy of the 2nd
file descriptor that lands in fildes[2]. This is a side effect of reusing
the code for sys_pipe() (SYS_pipe) and not cleaning it up.
The first returned value is (on success) 0.
Introduced a small refactoring in pipe1() that it does not operate over
retval[], but on an array int[2]. A user sets retval[] for pipe() when
desired and needed.
This refactoring touches compat code: netbsd32, linux, linux32.
Before the changes on NetBSD/amd64:
$ ktruss -i ./a.out
[...]
15131 1 a.out pipe2(0x7f7fff2e62b8, 0) = 0, 4
[...]
After the changes:
$ ktruss -i ./a.out
[...]
782 1 a.out pipe2(0x7f7fff97e850, 0) = 0
[...]
There should not be a visible change for current users.
Sponsored by <The NetBSD Foundation>
2017-12-26 08:30:57 +00:00
maya
7587a6b792
Match prior syscall behaviour
...
hide __RCSID under the same macros as rest of libc
2017-12-26 05:45:50 +00:00
msaitoh
7281eb3fdc
Make cold __read_mostly like mp_online.
2017-12-26 03:58:03 +00:00
ozaki-r
3283da7f0f
Work around softnet_lock handling
...
nd6_dad_stoptimer can be called with or without softnet_lock held.
callout_halt has to take softnet_lock depending on the situation.
2017-12-26 02:26:45 +00:00
ozaki-r
c00d5e8f6f
Suppress the assertion of IFNET_LOCK in if_mcast_op if MROUTING
...
MROUTING doesn't deal with IFNET_LOCK yet.
Reported by kardel@
2017-12-26 02:01:35 +00:00
joerg
e5e34a6c86
Since GNU ld doesn't honor the PLT entry reservation, also compensate
...
for JMP_IREL relocations at the start of the PLT.
2017-12-25 17:00:15 +00:00
kamil
7db1f47f48
atf: t_ptrace_wait: Mark attach2 as racy
2017-12-25 12:38:01 +00:00
kamil
daf244781b
libc: Add a dummy implementation of vadvise()
...
This readds a symbol that has been removed accidentally without major bump.
The implementation is dummy (similar to the old one), without API in public
headers.
Pointed out by <maya>
Sponsored by <The NetBSD Foundation>
2017-12-25 11:03:30 +00:00
ozaki-r
a45a6f1723
Apply C99-style struct initialization to lockops_t
2017-12-25 09:13:40 +00:00
msaitoh
ee5189c301
- Fix a panic while cleaning PCI interrupt.
...
- Fallback to INTx if MSI allocation succeeded but the establish failed.
2017-12-25 08:39:38 +00:00
rin
59bf4f6ea0
Disable nouveau for INSTALL as in a similar manner to other DRMKMS drivers.
...
XXX pullup to netbsd-8
2017-12-25 06:38:59 +00:00
rin
69006e6b84
install/52845: Enable vga@isa and pcdisplay for INSTALL. Otherwise, install
...
media do not boot on pre-PCI machines.
XXX pullup to netbsd-8 and netbsd-7
2017-12-25 06:35:57 +00:00
rin
a32b59e10c
Drop the following features, which reduces ramdisk.bin about 70KB:
...
- shutdown, rcmd, rcp
- support for byte-swapped FFS and Apple UFS in fsck_ffs and newfs
- support for byte-swapped label and interactive editor in disklabel
OK tsutsui
2017-12-25 06:15:50 +00:00
maya
0a4e3118cb
Fix typo in comment
...
from freebsd
2017-12-25 05:29:27 +00:00
maya
47dee010ce
Return a non-zero (one) exit code on failure for one of the files
...
But keep on processing them, like ls, rm, and other programs do
2017-12-25 05:08:49 +00:00
ozaki-r
d6af4f8075
Fix wrong usage of psref_held
...
We can't use it for checking if a caller does NOT hold a given target.
If you want to do it you should have psref_not_held or something.
2017-12-25 04:41:48 +00:00
christos
57ab0cb5b9
fix priority tests for SCHED_OTHER
2017-12-24 17:37:23 +00:00
christos
70a70ff3ae
No DDB/ksyms
2017-12-24 16:16:30 +00:00
christos
eeb69ff47e
Build compat code for RAMDISK as a library otherwise we get code bloat
...
for code we are not using (there are no compat options in the RAMDISK kernel).
2017-12-24 16:15:53 +00:00
maya
6f158d565c
fix debug build
2017-12-24 01:22:16 +00:00
christos
d3ef0ca68b
Merge the code back; the problem was that since we are reading/writing
...
to a kernel address for PT_{READ,WRITE}_{I,D} we need the kernel vmspace.
2017-12-23 22:12:19 +00:00
christos
17ceb61284
report which errno failed
2017-12-23 22:07:57 +00:00
uwe
ec59efb2b5
The order in which the arguments to a function are evaluated is
...
undefined, so don't use va_arg() twice.
PR lib/52849
2017-12-23 18:25:03 +00:00
jmcneill
2689a8614c
Apply RTL8211E 'no-rx-delay' workaround on Pine64+ boards
2017-12-23 12:50:55 +00:00
jmcneill
c971c5fba1
Add a no-rx-delay device property for RGE8211E that disables RX internal
...
delay using some undocumented registers. Required for stable gigabit links
on Pine64+.
2017-12-23 12:49:54 +00:00
nakayama
392c156f88
Remove duplicates.
2017-12-23 10:15:52 +00:00
nakayama
31892e73da
glint is enabled both xorg-server 1.10 and 1.18.
2017-12-23 10:07:07 +00:00
ryoon
11415a10bb
Use ldscript from src to fix build.sh build
2017-12-23 06:48:30 +00:00
maya
7352b7a0df
Don't handle emulations overriding e_fault.
...
No existing emulations do this.
(COMPAT_IRIX did, but was removed)
2017-12-22 22:59:25 +00:00
kamil
8bb892187e
ptrace atf: Clanup reports of failures
...
Mark resume* suspend* tests as expected failure and link with PR 51995.
Sponsored by <The NetBSD Foundation>
2017-12-22 17:35:14 +00:00
kamil
f06ee48eda
ptrace: Partially undo PT_{READ,WRITE}_{I,D} and unbreak these commands
...
The refactored code did not work and was generating EFAULT.
Sponsored by <The NetBSD Foundation>
2017-12-22 15:02:57 +00:00
jakllsch
4e48b9131a
missing comma 🙄
2017-12-22 14:41:55 +00:00
jakllsch
cec2d2110e
Add RT Systems RTS-03
2017-12-22 14:18:29 +00:00
jakllsch
2a19607f25
Add West Mountain Radio RIGblaster. From OpenBSD uslcom(4).
2017-12-22 14:13:55 +00:00
jakllsch
f3e100f345
regen
2017-12-22 14:06:40 +00:00
jakllsch
a9fd4f0c6b
Add West Mountain Radio IDs from OpenBSD
2017-12-22 14:03:39 +00:00
jakllsch
4d49ac27a5
Add RT Systems RTS-03 USB to Serial Adapter
2017-12-22 13:59:32 +00:00
tsutsui
db12eb1bdb
Update a URL of Am53c974A technical manual.
2017-12-22 13:58:11 +00:00
jmcneill
b97c593815
Fix typo in phy-handle property name
2017-12-22 13:39:57 +00:00
jmcneill
1adeb87694
Enable emac for NanoPi M1
2017-12-22 13:27:29 +00:00
ozaki-r
df9fd3e60f
Fix usage of curlwp_bind in ip_output
...
curlwp_bindx must be called in LIFO order, i.e., we can't call curlwp_bind
and curlwp_bindx like this:
bound1 = curlwp_bind();
bound2 = curlwp_bind();
curlwp_bindx(bound1);
curlwp_bindx(bound2);
ip_outout did so if NET_MPSAFE. Fix it.
2017-12-22 11:22:37 +00:00
ozaki-r
bb81dad9f4
Check LP_BOUND is surely set in curlwp_bindx
...
This may find an extra call of curlwp_bindx.
2017-12-22 10:24:49 +00:00
ozaki-r
3bc7c9e607
Add missing curlwp_bindx
2017-12-22 09:53:06 +00:00
maxv
1a2c414441
Sync comments with reality.
2017-12-22 07:37:27 +00:00
maxv
0d70d45dca
Build and install the prekern by default. I didn't build a full
...
distribution to test this change, but it seems fine enough.
2017-12-22 07:19:02 +00:00
ginsbach
30370dc189
Add board support package - BSP
2017-12-22 02:36:46 +00:00