Commit Graph

229779 Commits

Author SHA1 Message Date
riastradh
587af62e94 Don't forget to lock wq_lock around handling wq_delayed. 2014-08-29 15:22:18 +00:00
msaitoh
c48b7cccfd No binary change:
- Move some NVM related macros from if_wm.c to if_wmreg.h.
- Rename some macros for consistency.
2014-08-29 12:14:29 +00:00
christos
5cad352e4f remove unused assignment 2014-08-29 09:35:19 +00:00
christos
aeacc22675 undo eating the trailing backslash now that the shell has been fixed. 2014-08-29 09:27:43 +00:00
christos
d03f4b6b66 Eat trailing backslash like bash and pdksh (not zsh). CBACK+CEOF = TEOF 2014-08-29 09:26:39 +00:00
matt
bf4c8a3ff7 Instead of printing cubie, use the BOARDTYPE instead. This allows other
boards to use the cubie code but see a more useful BOARDTYPE.  We could
also use it to enable more apporpriate configuration for the board.
2014-08-29 07:29:07 +00:00
manu
38582b4fe4 We used to remove the trailing zeros in FUSE readlink replies, but
it seems it does not always happen. Just remove them if present.
2014-08-29 04:58:40 +00:00
mrg
cb87482f69 hack around an evergreen attach crash for now: provide a hard coded
name for the i2c.
2014-08-28 20:40:57 +00:00
snj
4c564a94f0 tyop police 2014-08-28 20:29:05 +00:00
sjg
a1caebb65d Enter/leave flag is -w not -dw 2014-08-28 19:55:00 +00:00
riastradh
cc5c10ea14 Make dk(4) discard from partition start, not from disk start.
Otherwise, anything mounted with `-o discard' will pretty quickly
munch itself up and barf up an unrecoverably corrupted file system!

XXX pullup to netbsd-7
2014-08-28 19:37:46 +00:00
reinoud
cb766d6720 Implement CPU speed control for Exynos4 and Exynos5 CPUs using APLL frequency
adjustment.
2014-08-28 18:02:36 +00:00
reinoud
947e82e572 Add comments to Exynos4 PLL registers and add Exynos5 PLL registers 2014-08-28 17:59:46 +00:00
msaitoh
50a698e26d Add Internal SERDES mode support newer than or equal to 82575.
Currently, it supports fiber device only. If you use 1000BaseT SFP module,
it won't work. We have to write code to read SFP ROM and set SGMII mode
if the module is copper.
2014-08-28 16:22:59 +00:00
christos
98e4fd4ef7 don't leave trailing backlashes on commands, just like gmake does. What does
POSIX have to say?
2014-08-28 14:39:13 +00:00
riastradh
a2eca9ebfa Make Linux io_mapping actually work.
Can't use bus_space_map/bus_space_unmap in interrupt context, where
Linux uses this io_mapping abstraction.  Instead, do uvm_km_alloc up
front and then use bus_space_mmap/pmap_kenter_pa to map it.

XXX Should bus_space_reserve the region (but that's x86-only for now).
XXX Should use direct map if possible.
XXX Should set an MTRR WC too in case of direct map or no PAT.
2014-08-28 13:45:59 +00:00
joerg
9d3b3e9cc5 Fix ldd on LP64 platforms by splitting the symbol versioning stuff for
elf64 as well.
2014-08-28 12:23:29 +00:00
reinoud
8c4977fbed Substract just one each time instead of the periods missed. This will create a
more even representation of missed interrupts.

Also fix typo
2014-08-28 12:00:58 +00:00
reinoud
6e0baf565e Add PLL registers and PLL conversion macros 2014-08-28 11:51:02 +00:00
reinoud
10f25a6619 Add CMU PLL offsets 2014-08-28 11:48:22 +00:00
reinoud
7b63dc4e05 Move the mct's interrupt from a shared SPI interrupt to a private PPI
interrupt so all possible cpus get them.
2014-08-28 11:38:14 +00:00
hannken
accb62aedc Change puffs from hashlist to vcache.
- field "pa_nhashbuckets" of struct "puffs_kargs" becomes a no-op.
  and should be removed on the next protocol version bump.
2014-08-28 08:29:50 +00:00
skrll
9ecad865d7 pull in opt_arm_debug.h for VERBOSE_INIT_ARM 2014-08-28 06:36:48 +00:00
riastradh
05033b64b7 Lock irq_lock around i915_error_wake_up in i915_error_work_func. 2014-08-27 23:30:26 +00:00
palle
55c42a9310 Use device_lookup() to locate device instances 2014-08-27 19:02:17 +00:00
riastradh
ff92100382 Use direct map if available in linux_kmap.
Yields 20% increase in glxgears framerate.
2014-08-27 16:41:50 +00:00
riastradh
d9db38b5ac Tweak style.
No functional change intended.  Assembly differences appear to be
only related to kassert line numbers.
2014-08-27 16:19:54 +00:00
riastradh
f21065750d __diagused, not __unused. 2014-08-27 16:11:24 +00:00
riastradh
0e9b339d0c Assert sleepable in Linux kmap/kunmap. 2014-08-27 16:09:16 +00:00
riastradh
809fbbc14a Simplify empty test for linux_kmap_entries. 2014-08-27 16:06:38 +00:00
riastradh
ee81707c83 Convert linux_kmap_lock to an adaptive lock.
kmap/kunmap can't be used in interrupt context anyway, so there is no
need for this to be a spin lock.
2014-08-27 16:05:38 +00:00
riastradh
84eae6ff7f Fix two mistakes in previous.
- i915_error_wake_up is given irq_lock, so it need not take that.
- Unlock irq_lock on exit from i915_hangcheck_elapsed if ring_hung.

XXX This introduces the lock order irq_lock -> pending_flip_lock.
How about just using irq_lock for pending flips?
2014-08-27 15:31:08 +00:00
apb
8ce568ce88 Split some long lines. 2014-08-27 13:56:02 +00:00
gson
3583bc35d3 The 4 second timeout of the invafd test case is not always enough when
running under qemu; increase it to 10 seconds.
2014-08-27 13:32:16 +00:00
riastradh
d17e3cf8d3 Fix i915 locking around error handling. 2014-08-27 13:21:15 +00:00
christos
2fac5fd5c7 use .INVISIBLE to hide random.S, instead of extra rules. 2014-08-27 08:51:37 +00:00
christos
f50c40cd6c Make .INVISIBLE nodes be ignored by suffix transformations. 2014-08-27 08:50:38 +00:00
christos
7c0a299a7f mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules. 2014-08-27 04:30:25 +00:00
christos
94e1a89978 remove unused define 2014-08-27 04:07:04 +00:00
matt
90434a55e3 Make the initial svcstack is doubleword aligned if EABI. 2014-08-27 03:35:32 +00:00
matt
1937568221 Don't use ${MACHINE} but zaurus instead. 2014-08-27 03:17:21 +00:00
matt
9df1af8b8a Use .S instead of .s 2014-08-27 00:18:25 +00:00
joerg
c1a71e8076 Restore parenthesis to cast in the right order. 2014-08-26 21:20:05 +00:00
reinoud
3a135a96ea Make it compile without DIAGNOSTIC 2014-08-26 20:33:35 +00:00
joerg
b88be9f652 Replace casts in the inline version of _rtld_call_function_void of
_rtld_call_function_addr with ifdef on RTLD_LOADER.
2014-08-26 19:49:33 +00:00
riastradh
89b4554f68 Partial viadrm2 snapshot.
To do:

- autoconf attachment (shouldn't be hard)
- viafb (maybe steal unichromefb and adapt attachment structure)
- actually run it (no hardware here)
2014-08-26 17:28:14 +00:00
riastradh
894179c374 Add Linux timer_pending and del_timer. 2014-08-26 17:26:05 +00:00
joerg
6c18385369 Really revert to the original version. 2014-08-26 17:13:42 +00:00
matt
7c92a4b3cd Allow STT_GNU_IFUNC to be dynamic symbols 2014-08-26 17:03:51 +00:00
matt
d885ef237f Allow STT_GNU_IFUNC to be a dynamic symbol. 2014-08-26 16:39:49 +00:00