palle
827ae21f8b
sun4v: the trap base address should be assigned to %l1 so %tba is properly setup later in the code - now the kernel gets as far as printing the copyright disclaimer, kernel version and total and available memory before crashing
2014-05-05 19:04:47 +00:00
martin
fb80a335f8
Comment out the ieee fp flags for alpha for now - something (tm) is not
...
working right, see PR port-alpha/48782.
2014-05-05 18:08:32 +00:00
skrll
1d34270f2d
Fill in netbsd32_vm_default_addr, and provide
...
- compat_13_netbsd32_sigreturn, and
- compat_16_netbsd32___sigreturn14
2014-05-05 17:45:24 +00:00
christos
6a4e46c891
Handle a closing brace at the end of a command without a preceding semi-colon:
...
/foo/ {p;d}
2014-05-05 17:12:11 +00:00
skrll
f90eccea8d
Use a spinlock for completions. Makes vchiq pass LOCKDEBUG where other
...
spinlocks where held when trying to use the completion API.
2014-05-05 15:59:11 +00:00
christos
c4c94e150f
Free pid for linux processes. Reported by Mark Davies, fix by dsl@
...
XXX: pullup 6
2014-05-05 15:45:32 +00:00
skrll
39a9f5a322
Improve locking and kcondvar usage.
...
The "interrupt" lock doesn't need to be a spin mutex as the vchi
completions we're synchronising with are done in thread context.
Don't share the interrupt lock for the msg_sync done synchronisation.
2014-05-05 08:13:31 +00:00
skrll
a774828bd4
In the MULTIPROCESSOR case where another thread wins the race to allocate
...
a new segtab page call mips_pmap_unmap_poolpage on the page our thread
allocated and called mips_pmap_map_poolpage for.
2014-05-05 05:55:21 +00:00
christos
fdca1450dc
remove hack for PR/42848
2014-05-04 22:18:38 +00:00
mrg
424f4c982d
open the tty with O_RDWR|O_NONBLOCK. it seems valid to ask for
...
write permission when we're setting flags, and ucom(4) has an
existing workaround for a bug when O_RDWR is not used, and thus
ttyflags would not work for ucom devices.
2014-05-04 20:43:30 +00:00
skrll
126d985871
Make this compile/work with PARANOIADIAG
2014-05-04 17:06:23 +00:00
njoly
fa686015bc
Regen for pread/pwrite signature.
2014-05-04 10:31:10 +00:00
njoly
470da95e01
Adjust pread/pwrite signature to match reality.
2014-05-04 10:30:39 +00:00
njoly
7d21c20716
Regen for pread/pwrite 64bit offset argument.
2014-05-04 10:10:39 +00:00
njoly
d63cac9fa8
Fix pread/pwrite syscalls which need a 64bit offset argument.
2014-05-04 10:08:53 +00:00
njoly
dc2a049782
Remove now unneeded bsd.kinc.mk.
2014-05-04 10:03:55 +00:00
martin
11775dd78d
The OF_test_method() function takes an instance handle, not a phandle,
...
and returns 0 on success.
Pointed out by Mark Cave-Ayland.
2014-05-04 09:05:39 +00:00
joerg
7e3335542c
Missing register validation check.
2014-05-03 23:19:56 +00:00
martin
0b6a7ee607
Fix comment pointing at the source of the list of functions and add
...
two missing ones: _clrsbsi2 and _clrsbdi2
2014-05-03 16:43:10 +00:00
martin
1c6ed8789e
Also attach to devices named "parallel"
2014-05-03 12:51:31 +00:00
skrll
9529d26c91
Use pmap_tlb_asid_check to reduce code c&p.
2014-05-03 12:50:01 +00:00
nakayama
dc8b8612da
Fix build w/o options SUN4_MMU3L.
2014-05-03 11:17:06 +00:00
skrll
5aa26d5c98
Make PARANOIADIAG compile.
2014-05-03 07:06:31 +00:00
skrll
bc85f1552e
Grab pv_list lock in pmap_unmap_ephemeral_page only when needed.
2014-05-03 06:55:04 +00:00
dogcow
759ce8712d
as suggested by gimpy et al, "no config" the netbsd-device kernels.
...
Reduces `build.sh release` by about a gig.
2014-05-02 23:49:10 +00:00
riastradh
4c9193e998
Cast from uint32_t to bus_addr_t earlier, since it may exceed 32 bits.
2014-05-02 14:36:10 +00:00
hkenken
b8ec0e3375
struct device * -> device_t
2014-05-02 03:05:41 +00:00
martin
4cbf4e7755
Do not create debug info for *_INSTALL kernels.
2014-05-01 18:43:45 +00:00
dsl
2ea4518b97
Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds.
...
One of these (probably the first) is needed to stop the eh-frame
section being created.
The eh_frame section is loadable and bloats the boot images.
This might be enough to make pxeboot work.
2014-05-01 18:37:26 +00:00
tsutsui
18864e9474
Reduce a number of getsecs() calls in le_get() to make netboot a bit faster.
2014-05-01 18:08:47 +00:00
riastradh
c5a81b561e
Tweak some DRM GEM page indexing crap.
...
- Fix order of subtraction in drm_mmap_paddr_locked.
- Address GEM objects' pages from 0, not from the mmap cookie.
- Check page alignment earlier in mmap code paths.
- Sprinkle kasserts throughout.
Still doesn't fix the garbage that is sometimes being scribbled all
over kernel memory!
2014-05-01 15:19:16 +00:00
riastradh
19062f226a
Clear only the requested range in gen6_ggtt_clear_range.
...
Sprinkle kasserts throughout i915_gem_gtt.c.
2014-05-01 14:37:36 +00:00
joerg
9695f56051
Check for mounted /proc.
2014-05-01 03:46:11 +00:00
joerg
e7ed6f13f6
First argument of vchiq_log_info is the log level, not a boolean.
2014-05-01 03:07:50 +00:00
wiz
03d5906507
acpica-20140424 out.
2014-05-01 00:03:01 +00:00
joerg
bbc12701e3
pmap_is_current might be unused, tag it as such.
2014-04-30 21:15:06 +00:00
joerg
cc89f7922a
Most CPUs implement shifts modulo the width, but ARM doesn't. Don't
...
depend on this UB.
2014-04-30 21:04:58 +00:00
joerg
af32f2a15b
Annotate dependencies.
2014-04-30 21:04:21 +00:00
tsutsui
fdbe432a63
Add and enable sti(4) at sgc in install kernels for 425e.
...
Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)
2014-04-30 17:51:53 +00:00
njoly
963ddf84b8
Regen for netbsd32_off_t.
2014-04-30 17:24:20 +00:00
njoly
99b30bf4fc
Do not use native off_t type under compat netbsd32, but a new
...
netbsd32_off_t that provide the expected alignment for 64bit types.
2014-04-30 17:23:45 +00:00
tsutsui
ef266e3f3d
Probe mcclock only on 425e to avoid an extra "not configured" message.
2014-04-30 15:53:09 +00:00
njoly
0f34420c1f
Fix compat netbsd32 syscall return values display by calling
...
output_long() instead of printf().
2014-04-30 11:51:51 +00:00
dogcow
cd6db90cfd
fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works again.
2014-04-30 02:04:11 +00:00
christos
71fd41685f
fix typo
2014-04-30 01:59:30 +00:00
christos
0172bc970f
handle MNT_UPDATE
2014-04-30 01:33:51 +00:00
christos
bf3bbb4c0d
allow update
2014-04-30 01:33:11 +00:00
matt
1b6521b490
Add common support for bringing devices out of reset or enabling their clocks
...
to device_register. Add code to switch USB to host mode.
2014-04-30 01:02:40 +00:00
matt
6c389f60a2
Add some MT7620 support.
2014-04-30 01:01:47 +00:00
matt
5d4dfe4967
Add configs for the Zyxel Keenetic Extra.
2014-04-30 01:01:04 +00:00