Commit Graph

229737 Commits

Author SHA1 Message Date
tsutsui e58317de49 Rename padding macros to reflect and clarify the original intention.
No binary changes on luna68k (which has -DLIBSA_PRINTF_WIDTH_SUPPORT).
2014-08-30 12:23:38 +00:00
gson 56e22ea3cf On systems that have only 32M of memory, the stress_short and
stress_long tests thrash a lot, and the stress_long test sometimes
times out, so skip them if we don't have at least 64M.
2014-08-30 12:14:17 +00:00
apb bb7c004bd3 When converting a disklabel partition type integer to a wedge partition
type string, use the strings defined in DKW_PTYPE_* in <sys/disk.h>, not
the strings defined in FSTYPE_DEFN in <sys/disklabel.h>.

This corrects a problem introduced in revision 1.21 dated 2014-08-18.
That change was intended to add additional case to the list, but it
accidentally also changed from the strings in the DKW_PTYPE_* macros to
the strings in the FSTYPE_DEFN macro.  Many of the strings are the same,
but there are differences such as "RAID" versus "raidframe" and "MSDOS"
versus "FAT".

XXX: There seems to be no good reason for the differences in string
names for partition types.  One or both of the lists should probably be
edited to align them.
2014-08-30 09:35:10 +00:00
apb c26d630ad3 Ensure each symbol used in FSTYPE_DEFN in <sys/disklabel.h>
has a corresponding DKW_PTYPE_* definition, by adding some aliases.

XXX: Compatibility between the symbols in FSTYPE_DEFN and the symbols
in DKW_PTYPE_* could be addressed by renaming some of them, instead of
by adding aliases here, but that's a job for the future.
2014-08-30 09:23:29 +00:00
christos addbc7f884 Cleanup the confusion with getting the pid of a sparc debugged process.
If the comments were correct, then this should be factored out to the
OS-specific native code, and the general code should remain sane.
2014-08-30 07:55:44 +00:00
sjg 294be283d0 *.rawout are out-of-date if ${TEST_MAKE} is newer. 2014-08-29 20:03:27 +00:00
gson 1beb02a6c3 Don't pass an uninitialized variable as the times[] argument of
rump_sys_utimes().  Instead, pass combinations of values representing
edge cases: the farthest possible past, the epoch, and the farthest
possible future.  Now the excessive runtime reported in PR bin/49144
occurs reliably, on multiple architectures, and not only with udf, but
also with msdosfs.
2014-08-29 17:39:18 +00:00
sjg 75abee676e posix1.mk and suffixes.mk need to cleanup in order to achieve
repeatable results.
posix1.mk's lib.a target still looks dubious.
2014-08-29 15:55:44 +00:00
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