Commit Graph

184570 Commits

Author SHA1 Message Date
uwe c9c7f30b6e Fix inline asm for tas.b. "=m" is not restrictive enough and gcc may
decide to use addressing modes that tas.b does not support.  'V' is
advertised to be "non-offsettable" subset of 'm' but there's a bug in
gcc that prevents "=V" from working.

When in doubt use brute force, so pass lock pointer as "r" input and
declare "memory" as clobbered.

Landisk kernel diff is 5 instructions (register choice for lock
address in __cpu_simple_lock_try).

sys/dev/raidframe/rf_copyback.c - where old __asm triggered incorrect code
- successfully compiles (as part of sys/rump/dev/lib/libraidframe).
2009-10-13 12:55:53 +00:00
hannken 8deb3262b5 Fix a deadlock where fscow_disestablish() blocks because outstanding
copy-on-write operations wait for si_snaplock.
2009-10-13 12:38:14 +00:00
hannken 64747bca1d Fix a race where the backing store thread runs (and exits immediately)
before kthread_create() returns.
2009-10-13 12:37:19 +00:00
christos da2c7e7359 - use const where appropriate
- don't cast return value from malloc
2009-10-13 12:11:19 +00:00
cegger b999b7186c regen. 2009-10-13 11:56:16 +00:00
cegger 71e630a3b7 - replace 'Advanced Micro Devices' with 'AMD'.
Requested by jmcneill@
- remove duplicate printing of 'AMD' with the AMD HUDSON-2 chipset.
2009-10-13 11:55:54 +00:00
cegger 550de75c2f regen. 2009-10-13 10:46:05 +00:00
cegger b7ebbeb62f AMD SB900 renamed to AMD HUDSON-2 2009-10-13 10:45:14 +00:00
tron 0667eece80 As the directory "/etc/zfs" is created unconditionally it should not depend
on the "MKZFS" flag. Problem pointed out by Havard Eidnes in private e-mail.
2009-10-13 10:18:35 +00:00
apb 138c8d4f23 /usr/X11R7/lib/X11/xkb/symbols/pc used to be a directory, but changed
to a file on 2009-06-12.  Fixing this requires removing the directory
(which we can do) and re-extracting the xbase set (which we can't do),
or at least adding that one file (which we may be able to do if X11SRCDIR
is available).

Reviewed by mrg, snj
2009-10-13 07:47:00 +00:00
yamt 76034769e6 deal with the output of new objdump. 2009-10-13 00:49:38 +00:00
yamt e894729250 sys___aio_suspend50, sys_lio_listio:
- fix the buffer sizes.
	- use kmem_alloc instead of kmem_zalloc for buffers which we will
	  overwrite soon.
2009-10-12 23:43:13 +00:00
wiz 2dfcea5de5 Add quirk for Meizu M6, which doesn't like synchronize cache;
addresses PR 40442.

Idea for quirk from FreeBSD/hps.
2009-10-12 23:43:05 +00:00
yamt bb529e553e compat_50_sys_aio_suspend:
- fix the buffer size.
	- use kmem_alloc instead of kmem_zalloc for buffers which we will
	  overwrite soon.
2009-10-12 23:41:51 +00:00
yamt 29e552b036 wrap long lines. no functional changes. 2009-10-12 23:38:08 +00:00
yamt b8562be527 make aio_worker static. 2009-10-12 23:36:56 +00:00
yamt 5873138145 constify 2009-10-12 23:36:02 +00:00
yamt 28bf72b353 fix KMEM_SIZE vs KMEM_GUARD 2009-10-12 23:35:09 +00:00
yamt de25ce6a4c remove no longer necessary include of drvctl.h 2009-10-12 23:33:02 +00:00
yamt 199e4526f3 aio_suspend1: fix a double free bug. 2009-10-12 23:31:59 +00:00
christos e1d5a1ca51 unbreak sun2. 2009-10-12 22:32:23 +00:00
wiz 9ed0c95351 regen 2009-10-12 22:29:16 +00:00
wiz 79a9d356f7 Fix typo in comment. 2009-10-12 22:28:47 +00:00
wiz b00fb4bb91 Add vendor and product ID for Meizu M6. 2009-10-12 22:28:15 +00:00
christos 34d7482a37 we have getdelim now! 2009-10-12 22:20:50 +00:00
njoly 41e0378a31 +hdaudioctl.debug 2009-10-12 18:04:55 +00:00
skrll 321d0b6e12 Re-run mknative for branding update. 2009-10-12 12:47:09 +00:00
haad 0d2ae1297e Finaly fix ptob problem. ptob was defined for amd64 and not for i386, and
NetBSD version of ptob is not compatible with Solaris one.
2009-10-12 10:05:29 +00:00
tron a0aa4993bd Add "/etc/zfs" directory. 2009-10-12 09:33:34 +00:00
tron 2af3a92c12 Add directory "/etc/zfs". 2009-10-12 08:54:19 +00:00
skrll 699c28bc09 Better branding from mrg 2009-10-12 08:00:41 +00:00
agc eb8043c766 Add lua language bindings for netpgp 2009-10-12 02:55:46 +00:00
pooka c8c66517fe Bump iovec lazy bum magic value to 32: nfsd likes to write mbufs
with 17 per chain (previous i'm-too-lazy-for-my-forloop value was
of course 16).
2009-10-12 02:25:44 +00:00
pooka 8ac0fe74d9 add recvmsg and sendmsg to networking rump syscalls 2009-10-11 23:23:09 +00:00
haad cfd1dcc2c6 Define ptob only if it wasn't defined already in NetBSD headers. 2009-10-11 22:17:57 +00:00
mhitch 8d2f7e8644 Fix DEBUG build - pv_flags does not exist anymore. 2009-10-11 20:37:47 +00:00
skrll c6a66fb3a3 Re-run mknative to pick NetBSD branding. 2009-10-11 18:18:20 +00:00
pooka 7e9bd843aa Include host offset in regular etfs read/write operations (I can't
imagine it being particularly useful, but let's call file this
under POLA).
2009-10-11 18:12:51 +00:00
pooka 860f5d7238 Support creating file system sockets (non-sockets not supported in
VOP_CREATE since I don't want to have to write read/write support
for non-etfs files).
2009-10-11 17:54:22 +00:00
dsl 65dd100015 Check for zero length read here - and return zero.
Most times we've come through spec_read() which has already done the test,
but not always (eg pty with ptsfs mounted).
Without this there is a simple local-user panic in ureadc().
Noted Matthew Mondor on tech-kern.
2009-10-11 17:20:48 +00:00
pooka a5cf1bb4b7 make this compatible with bool.h. no functional change intended. 2009-10-11 16:30:19 +00:00
bsh 0c0e7d064d add options COMPAT_50 to all evbarm boards. 2009-10-11 16:20:22 +00:00
pooka 2ff8677b99 close rump kernel file descriptors properly 2009-10-11 12:51:58 +00:00
nakayama e06b352701 Add .cat and .man tag properly to zfs man pages. 2009-10-11 12:47:38 +00:00
pooka 4f5a394d32 Support RUMP_ACTION, i.e. compile-time switch to make this execute
rump syscalls to configure raidframe in a rump kernel.
2009-10-11 12:14:05 +00:00
bad 83bbd9b65d Back out previous. Builds for me and on autobuild cluster. 2009-10-11 12:13:45 +00:00
pooka fed1ab4ee0 raidframe works well enough now to initialize parity, so install it. 2009-10-11 11:26:40 +00:00
haad 4d85867fc4 Cast physmem to (uint64_t) so it works on a amd64 system with more than 4Gb ram.
undef btop if it was already included from other NetBSD header file.
2009-10-11 10:58:06 +00:00
haad 44fda7f84b undef ptob if it was already defined/included in some NetBSD header file. 2009-10-11 10:56:13 +00:00
haad 38619bb29f Properly return error when namei_kernel_simple fails. 2009-10-11 10:54:52 +00:00