Commit Graph

227347 Commits

Author SHA1 Message Date
christos 87d253a1f6 I like riastradh's kmem/pool explanation. 2014-05-27 17:05:44 +00:00
msaitoh 63fbbc0246 Print "range: not set" if the decode window isn't set. 2014-05-27 16:50:31 +00:00
msaitoh 11bc96b558 - Add some register definition for MSI and MSI-X
- print MSI-X capability
2014-05-27 16:26:15 +00:00
msaitoh 74db3c4f3a Fix typo in a comment. 2014-05-27 16:17:55 +00:00
plunky 6fbec3793c use -Wno-traditional only for GCC rather than !CLANG 2014-05-27 16:16:01 +00:00
plunky 4eab4174d7 we use C99 syntax but with some GCC extensions, so signal that depending
on the compiler in use
2014-05-27 16:14:03 +00:00
msaitoh ab84bc60b1 - Fix incorrect calculation in PCI_MSIX_CTL_TBLSIZE().
- The PCI_MSIX_CTL_TBLSIZE bit field is in N-1, so add +1.
2014-05-27 16:10:33 +00:00
skrll 550a0399de Optimise the BUS_DMASYNC_PREREAD operation by only using wbinv for partial
cachelines. Full cachelines are now invalidated only.

From the same change in various mips ports not least cobalt.
2014-05-27 15:56:18 +00:00
ryoon 9ba05f47f2 Related to PR kern/48533
Prism GT 1/2 is Conexant products.
Noted by skrll@, thank you.
2014-05-27 13:44:25 +00:00
ryoon 2642c29051 Regen. 2014-05-27 13:41:48 +00:00
ryoon 0be6d0e193 Related to PR kern/48533
Prism GT is Conexant products.
2014-05-27 13:41:01 +00:00
riastradh a09bccc2cc Suppress uninitialized variable warnings in older and dumber GCC. 2014-05-27 12:51:04 +00:00
skrll 42c994dfc7 Note 4.8.3 gcc 2014-05-27 09:24:56 +00:00
skrll ed96d2512e Note gcc 4.8.3 import. 2014-05-27 09:23:10 +00:00
skrll e0000582f3 Update with-pkgversion date for gcc 4.8.3 import. 2014-05-27 09:19:30 +00:00
skrll 6fac5056c2 Resolve conflicts 2014-05-27 09:18:53 +00:00
skrll 9c8f586f64 Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254 2014-05-27 08:50:03 +00:00
skrll 0f2e98845a Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254 2014-05-27 08:39:52 +00:00
skrll 5f4cdc7d41 Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254 2014-05-27 08:29:46 +00:00
msaitoh 404b63ff2f Move forward read pointer to the next line in the buffer
to prevent corrupting the most old line.
2014-05-27 05:14:02 +00:00
msaitoh cb672750d7 If -v is set and unknown cacheinfo desc is found, print it. 2014-05-27 04:18:00 +00:00
riastradh 7d41993c06 Rework agp_i810 attachment code a little.
- Fix up error branches in agp_i810_attach.

- Use a separate bus space handle for the GTT, whether it is in a
separate BAR or a subregion of the MMIO device registers, so that

(a) agp_i810_write_gtt_entry and agp_i810_post_gtt_entry are easier to
follow, and

(b) we can map the GTT prefetchable eventually.
2014-05-27 03:17:33 +00:00
tls 9ba7c7ea46 From dyoung@ -- bump max TX DMA size to avoid pathological condition with TSO. 2014-05-27 02:21:29 +00:00
dholland e1383560ba Don't check lfs flags on ffs vnodes. 2014-05-26 20:07:25 +00:00
pooka 77684a56d8 mvphy is not configured, so don't try to build it 2014-05-26 19:55:53 +00:00
dholland b85f717916 Fix previous. Anyone have a brown paper bag? 2014-05-26 19:16:39 +00:00
riastradh 8a9811c58d Use correct address for 64-bit flush page config register. 2014-05-26 19:15:39 +00:00
riastradh 3f262dd548 Avoid xcall(9) while cold. 2014-05-26 19:13:20 +00:00
ryoon 31862f646a Close comments 2014-05-26 19:12:43 +00:00
rmind ce079fc9c0 tmpfs_mknod: it is not our responsibility to call vput() on the directory
vnode, so remove it (and ensure *vpp is NULL while here).
2014-05-26 19:12:07 +00:00
dholland f4a58ec096 remove ffs-only IN_SPACECOUNTED 2014-05-26 18:58:32 +00:00
dholland fc1073487c Remove lfs-only inode flags. 2014-05-26 18:52:50 +00:00
dholland 4f72a2758b TFOA = things falling off aircraft 2014-05-25 21:49:29 +00:00
christos 202570e1e0 use macro. 2014-05-25 19:33:28 +00:00
christos 50f00297b4 use standard dirty vnode test. 2014-05-25 19:32:36 +00:00
bouyer 2745b95e5c As proposed in
https://mail-index.netbsd.org/tech-kern/2014/05/21/msg017098.html
remove dk_start() and dk_iodone() from dksubr.c and move the related code
to the underlying driver.
This increase complexity only marginally: the underlying drivers have
to do the while() loop themselves, but this can now be done properly with
bufq_peek()/bufq_get(), removing the buffer from the queue at the right time.
This handle both the recursion and reordering issues (the reordering
issue is described here:
https://mail-index.netbsd.org/tech-kern/2014/05/19/msg017089.html
the recursion isssue is PR #25240).

Difference with the patch posted to tech-kern@: KASSERT() that the
buffer we remove with bufq_get() is the same as the one we bufq_peek()'d
just before.
Hopefully this will allow more disk drivers to use dksubr.c
2014-05-25 19:23:49 +00:00
christos 1b2d99ce97 create on attach needs destroy on detach. 2014-05-25 19:15:50 +00:00
riastradh e951f85b1a Allow VM_NFREELIST in uao_set_pgfl, meaning any freelist is OK. 2014-05-25 18:55:11 +00:00
hannken e03668ca99 The pageflush_selector gets a vnode with v_interlock held.
Remove the mutex_enter()/mutex_exit() and simplify.

Hi christos...
2014-05-25 17:43:47 +00:00
pooka bc09db942d Call biodone() in the bdev_strategy() error via a pointer. Decouples
subr_devsw from VFS -- not that I/O buffers are _VFS_ entities -- and
eliminates the last weak alias from librump, which means things now
fully work on glibc (w/o LD_DYNAMIC_WEAK) and musl.

The whole code path is suspect anyway, since nothing prevents the device
from escaping after the lookup, suggesting that the whole error path
should be handled by the caller, but oh well.
2014-05-25 16:31:51 +00:00
njoly 093e8063d6 Regen for GeForce GT 640M. 2014-05-25 16:19:08 +00:00
njoly 6590d5224e Add GeForce GT 640M. 2014-05-25 16:17:41 +00:00
jnemeth 88eea82455 Happy Towel Day! 2014-05-25 16:08:11 +00:00
wiz c309e73942 Sort SEE ALSO. Wording improvements. Remove unnecessary Pp. 2014-05-25 15:51:26 +00:00
rmind 0132815be0 softint: implement softint_schedule_cpu() to trigger software interrupts
on the remote CPUs and add SOFTINT_RCPU flag to indicate whether this is
going to be used; implemented using asynchronous IPIs.
2014-05-25 15:42:01 +00:00
rmind 3da69dd68c MI IPI interface:
- Implement support for the asynchronous IPI calls.
- Rework synchronous IPI code to reuse the asynchronous mechanism.
- Add ipi(9) manual page; needs wizd(8).

Note: MD code can now provide a low level primitive for the ipi(9) and
reuse this interface instead of open-coding.  Portmasters are encouraged
to convert.  Ride 6.99.43!
2014-05-25 15:34:19 +00:00
njoly b8e866a463 Do not crash if subclassp == NULL, seen while attaching rstx(4) which
match PCI_CLASS_UNDEFINED class.
2014-05-25 14:56:46 +00:00
rmind d5f4abf709 pcu(9) man page: correct PCU_REENABLE description, add pcu_discard_all(),
improve some wording.
2014-05-25 14:56:23 +00:00
rmind 77f33c2aef pcu: replace xcall(9) used for messaging with ipi(9). This provides
a better performance of the PCU (e.g. FPU) state synchronisation.
2014-05-25 14:53:55 +00:00
hannken 6e91d8f4bf Remove ext2fs_checkpath(). It is a relic from the pre-genfs_rename era. 2014-05-25 14:07:19 +00:00