Commit Graph

236780 Commits

Author SHA1 Message Date
msaitoh affb7484ec Print interrupt type correctly. 2015-07-28 07:15:03 +00:00
skrll a356d4b44c Remove unnecessary #include 2015-07-28 07:14:48 +00:00
mlelstv 1c4e86730e Be more verbose about errors. 2015-07-28 06:19:47 +00:00
mlelstv ff5bbabe6f cosmetic change only. 2015-07-28 06:17:53 +00:00
dholland e6aad7b613 Use lfs_accessors.h in conjunction with the cleaner's struct clfs.
Remove previous hacks.
2015-07-28 05:14:23 +00:00
dholland 62d11b422e Move struct salfs back inside libsa now that lfs_accessors.h is separate. 2015-07-28 05:13:14 +00:00
dholland 34f0d74c9e Add a new lfs header file: lfs_accessors.h.
This contains all the accessor functions and macros out of lfs.h.
Add an include of lfs_accessors.h after all uses of lfs.h... except
for code that wants to define its own struct lfs-alike that the
accessors are supposed to play along with. For these, set STRUCT_LFS
and include lfs_accessors.h after the necessary structure has been
defined, so that lfs_accessors.h can emit functions in terms of it.
2015-07-28 05:09:34 +00:00
knakahara 158635859e fix: panic at doing "vmstat -ev" after a PCIe device detached. 2015-07-28 01:57:55 +00:00
riastradh 76652ac562 ttm_bo_unreserve in case of ttm_bo_uvm_fault_idle restart.
Better chance of fixing PR kern/49862 by avoiding leaking a buffer
ww_mutex lock.
2015-07-28 01:25:00 +00:00
riastradh 1cb1e70748 Fix error branch: ttm_bo_unreserve on failure after ttm_bo_reserve.
Tiny chance this will fix PR kern/49862 by not leaking a ww_mutex
lock.
2015-07-27 22:26:50 +00:00
macallan 3940e348fc add a sysctl to optionally ender ddb when pressing the power button 2015-07-27 19:27:04 +00:00
martin 6ab712103f Make this work with newer perl versions.
Ok: mrg@
2015-07-27 18:09:27 +00:00
msaitoh 122c565fcd Add NVMe. 2015-07-27 15:46:03 +00:00
msaitoh 766e6e09f1 KNF. 2015-07-27 15:45:20 +00:00
martin 7b553b530b Add driver debug entries 2015-07-27 09:59:49 +00:00
maxv 66b146ac99 Several changes and improvements in KMEM_GUARD:
- merge uvm_kmguard.{c,h} into subr_kmem.c. It is only user there, and
   makes it more consistent. Also, it allows us to enable KMEM_GUARD
   without enabling DEBUG.
 - rename uvm_kmguard_XXX to kmem_guard_XXX, for consistency
 - improve kmem_guard_alloc() so that it supports allocations bigger than
   PAGE_SIZE
 - remove the canary value, and use directly the kmem header as underflow
   pattern.
 - fix some comments

(The UAF fifo is disabled for the moment; we actually need to register
the va and its size, and add a weight support not to consume too much
memory.)
2015-07-27 09:24:28 +00:00
skrll a85df79f98 Don't timeout waiting for ld_sdmmc_dobio in the IO thread to start.
XXX why does it take >1s to get scheduled?
2015-07-27 07:53:46 +00:00
pooka 4169abe3e4 Print the "halted\n" from previous commit to stdout, not stderr.
The putchar hypercall writes to stdout, so this change restores
the original "functionality" (which was not intended to change).

from gson, via tests
2015-07-27 07:31:00 +00:00
msaitoh 53b3110f9e Add ACPI_RESOURCE_TYPE_END_TAG and ACPI_RESOURCE_TYPE_ADDRESS64. 2015-07-27 04:50:50 +00:00
wiz d54956fea0 Spacing; Fn -> Xr for jemalloc. 2015-07-26 22:32:03 +00:00
wiz 66d1cd0cb5 Use An in AUTHORS section. 2015-07-26 22:22:24 +00:00
kamil f7f1e07c2d Update the ACPICA entry
Version:       20150410
Current Vers:  20150717
2015-07-26 19:31:19 +00:00
jmcneill 8e8646698a - Support multi-channel (> 2) output to HDMI sinks.
- Fix a bug in hdafg_set_params that could program converters using the
  wrong audio_params_t if auconv is in use
- Force Tegra124 HDMI codec to a fixed rate 44.1kHz
2015-07-26 19:06:26 +00:00
jmcneill 9ac658bba2 set HDAUDIO_FLAG_NO_STREAM_RESET quirk 2015-07-26 17:54:46 +00:00
jmcneill fd314950d4 Skip stream reset if HDAUDIO_FLAG_NO_STREAM_RESET flag is set. 2015-07-26 17:54:33 +00:00
kamil 01f63c44fd Bump date for recent changes 2015-07-26 17:37:38 +00:00
kamil 28de1b8a34 Sync parameter name with efun.c
This change is non-functional.
2015-07-26 17:36:38 +00:00
martin def993fa14 Defer using pthread keys until we are threaded.
From Christos, fixes PR port-arm/50087 by allowing malloc calls prior
to libpthread initialization.
2015-07-26 17:21:55 +00:00
kamil 13f3706081 Add history of allocators
Idea accepted by <christos>
No objctions from <riastradh>
2015-07-26 17:09:29 +00:00
christos c0c6a84ba3 From Timo Buhrmester: Fix wrong parameter description 2015-07-26 17:03:06 +00:00
kamil 4f643221a3 mandoc lint 2015-07-26 17:00:37 +00:00
abs df80c91dd1 Avoid NULL dev_priv->vlv_pctx-> deref in a WARN check on Lenovo B50-30,
add an additional check for the NULL dev_priv->vlv_pctx.
System now boots (though does not recognise any of the USB(3) ports)
pullup#7
2015-07-26 15:30:36 +00:00
kamil 382f8944d9 Bump shlib minor for new function: ereallocarr(3)
Noted by <mrg>
2015-07-26 15:15:31 +00:00
jmcneill 773727c6cf fix a few typos in the audio infoframe we build 2015-07-26 15:12:03 +00:00
tsutsui 5636e147a4 Don't set garbages into BAT registers, which was broken in rev 1.25.
Should fix PR port-macppc/50018 (though there is no response for 3 weeks),
and should be pulled up to netbsd-7.
2015-07-26 14:24:29 +00:00
kamil c4c10ad1a1 Add reallocarr(3) to tools/compat
This should unbreak libutil(3) creation on systems withot reallocarr(3).
2015-07-26 14:01:53 +00:00
mrg 69f3e6744c properly copy regs for kgdb, and define the number of registers properly.
from openbsd via Vicente Chaves and PR port-amd64/50091.
2015-07-26 10:49:05 +00:00
jmcneill 41a4a26eaf disable DEBUG and LOCKDEBUG 2015-07-26 10:09:53 +00:00
mrg 4bebf46978 remove unused files. 2015-07-26 09:04:15 +00:00
hannken cc0ff39f8b Remove bogus "mutex_enter(&mntvnode_lock)". 2015-07-26 08:33:53 +00:00
hannken 0d4b7ea93d lfs_flush_pchain: replace vget() with vcache_get(). 2015-07-26 08:13:23 +00:00
skrll e9327279d7 Whitespace 2015-07-26 07:23:10 +00:00
kamil dc83c1546e Add license header (the NetBSD 2-clause version) with (C) TNF 2015-07-26 02:29:44 +00:00
kamil ec6de4df8b reallocarray(3) cleanup
Add missing NetBSD CVS Id
Don't define twice _OPENBSD_SOURCE
2015-07-26 02:22:33 +00:00
kamil 2cf5f6af2b Add ereallocarr(3) to libutil
ereallocarr(3) wraps reallocarr(3) and embeds return status validation.

Older version reviewed by <riastradh> and <christos>
2015-07-26 02:20:30 +00:00
matt a9f3026e70 KASSERT->KASSERTMSG 2015-07-26 00:15:53 +00:00
sevan bf748072f6 Drop the case '?' which is defined after case 'default'.
case 'default' statement introduced in the last commit to cat.c in the CSRG archive.
Obtained from OpenBSD bin/cat/cat.c r1.3.
2015-07-25 16:17:01 +00:00
jmcneill 2b9ac15191 remove debug printfs, dont force hdmi mode 2015-07-25 15:55:31 +00:00
jmcneill 0397e14b90 Add HDMI audio support 2015-07-25 15:50:42 +00:00
jmcneill d080cb0210 Fix block offsets for ddc_read_edid_block. 2015-07-25 15:20:49 +00:00