Age | Commit message (Collapse) | Author |
|
in a seperate header file. This will become a dumping ground for similar code.
ok jsg@
|
|
ok kettenis@, deraadt@
|
|
ok millert
|
|
ok guenther
|
|
|
|
This should make bus_dmamap_load(9) and bus_dmamap_unload(9) "mpsafe".
As a bonus this gets rid of a potential memory allocation in the IO path.
ok miod@
|
|
processors, every time a new text page is mapped in a pmap, the L1 I$ is
flushed for the va spanned by this page.
Since we map pages of our binaries upon demand, as they get faulted in, but
uvm_fault() tries to map the few neighbour pages, this can end up in a
bunch of pmap_enter() calls in a row, for executable mappings. If the L1
I$ is small enough, this can cause the whole L1 I$ cache to be flushed
several times.
Change pmap_enter() to postpone these flushes by only registering the
pending flushes, and have pmap_update() perform them. The cpu-specific
cache code can then optimize this to avoid unnecessary operations.
Tested on R4000SC, R4600SC, R5000SC, RM7000, R10000 with 4KB and 16KB
page sizes (coherent and non-coherent designs), and Loongson 2F by mikeb@ and
me. Should not affect anything on Octeon since there is no way to flush a
subset of I$ anyway.
|
|
the pmap_update() to the end of the loop, rather than after each loop
iteration - which might not even end up invoking pmap_enter()!
Quiet blessing from guenther@ deraadt@
|
|
any context if they feel like it.
ok deraadt@, guenther@
(who both suggested we could probably grab it even earlier)
|
|
|
|
before suspending the machine.
Prior to this commit, devices were logically disconnected after
resuming the machine leading to funny races since the controller
was reset in between.
ok deraadt@
|
|
call bufq_quiesce() after executing the DVACT_QUIESCE handlers.
This should be safe since no disk nor controller drivers have such
handler but it will allow us to detach sd(4) devices attached to a
USB bus.
Another benefit pointed out by kettenis@ is that drivers that need
to read a firmware from the disk should be able to do it at resume
time in a DVACT_WAKEUP handler.
ok kettenis@, deraadt@
|
|
local devices it has logged in to. This will also be useful for hotplug
later on.
|
|
u_int32_ts rather than u_int64_ts.
ok jmatthew@
|
|
|
|
ok jmatthew@
|
|
ok jmatthew@
|
|
Be a bit cynical about firmware fitting, of course..
ok jmatthew
|
|
|
|
better ops and alignment.
ok jmatthew@ who was cruel and made me test hibernate before he oked it.
|
|
|
|
struct ucred; struct process then directly links to the ucred
Based on a discussion at c2k10 or so before noting that FreeBSD and
NetBSD did this too.
ok matthew@
|
|
afterwards, for some prom misbehave if the network interface is opened twice;
repairs boot.net operation on at least SS5 PROM v2.21; found the hard way by
sebastia@. Crank boot version; verified not to hurt disk boot.
|
|
ok deraadt@
|
|
From Alex Deucher
2e673e623ba5a604c02fadcad9bf75e6a0ee9705 in ubuntu 3.8
9ef4e1d000a5b335fcebfcf8aef3405e59574c89 in mainline linux
|
|
From Christian Koenig
ea0e5ee12a70badcdfee846bfaf5d4338dc285ca in ubuntu 3.8
5e386b574cf7e1593e1296e5b0feea4108ed6ad8 in mainline linux
|
|
From Jani Nikula
b4cdadf2591e12c61f895556cf93a8b61a36892c in ubuntu 3.8
f51a44b9a6c4982cc25bfb3727de9bb893621ebc in mainline linux
|
|
From Jani Nikula
6048560066737a87621b9169ef4bdab0e3cef620 in ubuntu 3.8
04eada25d1f72efdecd32d702706594f81de65d5 in mainline linux
|
|
From Ville Syrjala
0828f7607cee51cabf00b984dad3a8ef200beb41 in ubuntu 3.8
f66fab8e1cd6b3127ba4c5c0d11539fbe1de1e36 in mainline linux
|
|
From Ville Syrjala
0320c449d2a820ed2a1972e23d8f20f8024a5872 in ubuntu 3.8
753b1ad4a281b0663329409d410243e91825c323 in mainline linux
|
|
ok matthieu@
|
|
supposedly provided by newer PMON firmware (on Loongson 2Gq and Loongson 3A
systems).
|
|
ok dlg@ mpi@ deraadt@
|
|
board revisions < 4 (found on Indigo) and >= 4 (found on Indy and Indigo2).
Paint the cursor as an inverted glyph, instead of exchanging bg and fg colours
(matching the current practice on other frame buffers).
Speed-up overlapping copy operations by attempting to perform them in
larger chunks whenever possible; this speeds up console jump scrolling.
|
|
option is pflowproto 10. Also it duplicates a lot of code from
pflowproto 10 and will get in the way in the future.
OK benno@
|
|
half of the source value to both the hi and lo parts. writing both
of the source halves to just lo isnt going to work good.
found by naddy@. sorry guys.
|
|
<uvm/uvm.h> if possible and remove double inclusions.
ok beck@, mlarkin@, deraadt@
|
|
ok mpi@
|
|
reported by brad@.
|
|
obviously time out. That is what happen when pipes are closed after
unplugging an xhci(4) express card for example. In such case, make
sure the command TRB is reset.
|
|
for localhost connections. discussed with deraadt@
|
|
the alignment the driver guarantees.
with and ok jmatthew@
|
|
the effects will be.
sgi will follow after i fix some known fallout first.
|
|
to a struct with the necessary alignment.
analysis and ok kettenis@
|
|
from mpii.
disappointment from deraadt@
|
|
as the northbridge, have the per-platform early setup code register functions
providing access to the PCI configuration space, for the wscons code to walk the
PCI space in search of a graphics board.
No functional change yet.
|
|
|
|
(such as 2E and 3A systems).
|
|
|
|
ok mpi@
|