Commit Graph

201662 Commits

Author SHA1 Message Date
rmind
e225b7bd09 Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
2011-06-12 03:35:36 +00:00
tsutsui
c69eb063d7 Fix printf formats in DEBUG case. 2011-06-12 03:29:33 +00:00
rmind
089890a0b3 Fix the build of ALL kernel (hi matt@). 2011-06-12 03:26:20 +00:00
tsutsui
90bc6e5821 No need to initialize interrupt evcnt(9) so earlier, so remove phase arg
from intr_init() and initialize all stuff in cpu_configure(9) as other ports
rather than in mach_init() and mbattach().
2011-06-12 03:21:21 +00:00
tsutsui
9dc6c88b06 - misc KNF
- use device_xname(), device_unit(), and device_class()
2011-06-12 03:14:03 +00:00
mrg
471a1d4c0c note that sparc MODULAR works and is enabled now. 2011-06-12 01:45:00 +00:00
mrg
475fbccd2d enable options MODULAR, now that it is tested to work. 2011-06-12 01:44:06 +00:00
mrg
87bf821974 sparc relative reloctions are busted here; copy the sparc64 style
which seems to make things work fine, and also seems to follow what
ld.elf_so does.

this makes modules work in my limited testing.
2011-06-12 01:29:58 +00:00
tsutsui
54d6901ea4 Set iospace and virtual_end address properly.
Fixes TLB miss panic during device attach on emips.
2011-06-12 01:28:29 +00:00
christos
6793b1da06 Change i_len in ieee80211req to be unsigned and fix other signed/unsigned
issues. From Dan Rosenberg (drosenberg at vsecurity dot com).
2011-06-12 00:07:19 +00:00
christos
7267577190 turn on printf warnings for all the printf-like atf functions. 2011-06-11 18:03:57 +00:00
christos
2a18cea9f4 Turn warns on for all tests and fix all the bugs. 2011-06-11 18:03:17 +00:00
christos
abf33ee14d format fixes, prototype fixes, const fixes 2011-06-11 16:54:56 +00:00
nonaka
51ff92dd24 split device_t/softc. 2011-06-11 16:34:36 +00:00
christos
6f94afca58 document OLDPWD and cd - 2011-06-11 14:37:36 +00:00
nonaka
2733867f91 Added LCD-8000UD-DVI entry. 2011-06-11 13:52:46 +00:00
nonaka
6dea84baed regen. 2011-06-11 13:51:45 +00:00
nonaka
2c8ebb6a79 Added LCD-8000UD-DVI entry. 2011-06-11 13:50:06 +00:00
nonaka
665e83d2f3 MBR magic exists at the beginning of 'a' partition, BPB is cleared.
Avoid to detect msdosfs incorrectly at boot time.
2011-06-11 11:43:23 +00:00
uebayasi
064389cedb Fix build; p was not used, but l was passed to kauth. Use curlwp directly. 2011-06-11 03:00:19 +00:00
sjg
0277db2f8c Use %zu rather than cast 2011-06-11 02:10:48 +00:00
matt
bdbb859bae Use KASSERTMSG so if these trigger, we can see what exactly caused them to fire. 2011-06-11 01:07:33 +00:00
matt
408fc28bdd If compiled with -msoft-float, make the compiler emit soft float code
by default.
2011-06-11 00:59:44 +00:00
matt
8798b98c60 If we are compiling -msoft-float, define _SOFT_FLOAT 2011-06-11 00:57:29 +00:00
matt
d6f7495a01 Add missing no options GUR_BASE 2011-06-11 00:52:42 +00:00
sjg
af8b888000 size_t on amd64 doesn't like %u, use a cast. 2011-06-10 23:57:39 +00:00
matt
1f1f4e99e8 l isn't used. nuke it. 2011-06-10 21:02:46 +00:00
njoly
88309ba987 Do not print sizeof values in skip message. 2011-06-10 17:10:43 +00:00
matt
5680b567be Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
2011-06-10 16:38:17 +00:00
matt
865180f6f7 If building the cross gcc for softfloat, add --with-float=soft so it will
default to it.
2011-06-10 16:31:18 +00:00
njoly
ec49331b57 Remove unneeded prototypes. 2011-06-10 15:52:44 +00:00
njoly
6be560f8ad Remove newlines from various messages. 2011-06-10 15:43:59 +00:00
njoly
86d9fe0273 Do not call exit() after atf_tc_fail(). 2011-06-10 15:21:25 +00:00
matt
c05b329398 Protoize the inline to C89 and use const.
Optimizie KERNHIST_LOG slightly (saves 40KB over previous version).
2011-06-10 14:59:35 +00:00
jmcneill
ea250cb42b ehci_set_qh_qtd: terminate alternate next qTD pointer with EHCI_NULL, not 0 2011-06-10 14:20:34 +00:00
njoly
5fdba0ad5a nanl() do use strtold(), not strtod(). 2011-06-10 14:10:18 +00:00
uebayasi
282c08f330 do_sys_rename: Kill an unused variable. 2011-06-10 13:07:14 +00:00
tsutsui
097168d022 - split device_t/softc
- struct proc -> struct lwp

XXX: this driver is not in the default kernels.
2011-06-10 09:29:07 +00:00
tsutsui
c1b2bf5a29 Split device_t/softc. Compile test only. 2011-06-10 09:27:51 +00:00
joerg
67ef870a8e Disable integrated assembler for clang until the RNG instructions are
supported
2011-06-10 04:45:41 +00:00
joerg
bff766af54 Add a few more cases that need GNU as. One of the padlock instructions
is missing in LLVM. spl.S and lock_stubs.S break with patchfunc
otherwise.
2011-06-10 03:19:25 +00:00
joerg
ed3851a47f Disable LLVM MC for spl.S for now. The different spllower sizes break
patchfunc.
2011-06-10 03:18:27 +00:00
joerg
59a7130266 Explicitly disable use of SSE. LLVM generates SSE by default on AMD64
and we certainly don't want that in the kernel.
2011-06-10 03:17:35 +00:00
uebayasi
82e9aece89 Support $OLDPWD. (christos@ will update the manual.)
Reviewd By:	christos
2011-06-10 02:19:10 +00:00
matt
d8b60e6f0b Appease rump. 2011-06-10 00:32:52 +00:00
christos
eb8da70733 setting things once is enough. 2011-06-10 00:10:35 +00:00
christos
453164da22 fix compilation. 2011-06-09 21:23:29 +00:00
drochner
813bea3edb catch a case where an ip6 address with scope embedded was compared with
one without -- interestingly this didn't break the connection but just
caused a useless encapsulation
(this code needs to be rearranged to get it clean)
2011-06-09 21:04:37 +00:00
christos
23ffdf5bd3 share more code. 2011-06-09 19:57:50 +00:00
drochner
2cd69bbbad more "const" 2011-06-09 19:54:18 +00:00