Age | Commit message (Collapse) | Author |
|
|
|
|
|
honour this setting and consider them level-triggered instead of `polarity
decided by the first driver to use it'.
Add explicit code to turn registration of edge-triggered interrupts 3 and 4
into level-triggered, if they were set up a level-triggered by the SRM.
Based upon a NetBSD diff which eventually got reverted in NetBSD. However,
it turns out this is necessary for the kernel to correctly run with serial
console on my Multia.
|
|
stack, for {e,}isa drivers might have a need for them way after autoconf - at
least pcic@isa does.
|
|
|
|
isa_chipset_tag_t, not an isa_chipset_tag_t *, as isa_chipset_tag_t is already
a pointer.
|
|
|
|
make its start routine point to cpu_halt, just in case.
|
|
sections that may be encountered when using larger than normal ramdisks.
No binary change.
Requested by and diff provided by
Nathanael Rensen <nathanael at list.polymorpheus.com>
|
|
there's no real functional advantage to this, except that it will
make it easier to add deadlock detection to the code.
this is modelled on the c mutex implementation thats on alpha,
mips64, and hppa.
ok mpi@ kettenis@
|
|
PAGE_SIZE boundaries. This is required to enforce proper separation of
sections when adding page protections (coming shortly).
This was in snaps before release with no reported side effects.
ok deraadt@
|
|
ok miod@
found by Maxime Villard / Brainy Code Scanner. thanks.
|
|
ok kettenis@, guenther@
|
|
ok miod@
|
|
uses it. On ramdisk kernels built with -Os, (accidental termination) did
not occur, leading to heisenbug occurances....
Found by Mike Larkin, ok kettenis
|
|
uses it. On ramdisk kernels built with -Os, (accidental termination) did
not occur, leading to heisenbug occurances....
|
|
Okay deraadt@, jasper@.
|
|
physmem on i386, which we don't support anymore. And since we removed the
physmem ranges above 4GB in machdep.c, this code did nothing anyway.
ok beck@, deraadt@
|
|
avoid a potential deadlock.
ok miod@, deraadt@
|
|
ok pirofti@
|
|
ok miod@, deraadt@
|
|
faultbuf. But 1/ sr was only restored for machine check exceptions, and 2/ the
way it was saved was unsafe if interrupts were enabled, and could cause %r2
to be lost.
Discussing this with deraadt@ at the end of c2k15, this was probably needed
for the old VI boards which were the target of the original powerpc port,
came with a worse-than-Genesi openfirmware. Since then, machine check
exceptions have been unheard of; or, if they happen, they do not need the
status register to be restored.
ok mpi@ deraadt@
|
|
stated here as I have been asked to be polite in this commit message.
ok deraadt@
|
|
non-blocking. This improves performance on systems that have more than
a few cores and where there is a heavy IPI load. Currently the only
place where coalescing must not happen is rendezvous processing, but
there invocations are serialized by the rendezvous mutex.
ok miod@
|
|
problem noted by landry@
ok dlg@
|
|
behind a bridge, if the SRM didn't pick an interrupt line for them.
|
|
|
|
Requested by deraadt@
|
|
Found the hardway by benoit@.
|
|
Tested on VMware-GENERIC-i386.
OK mlarkin@
|
|
maybe related to the small size of such media)
|
|
Problem found on GENERIC by mlarkin.
OK mlarkin@
|
|
ok miod@
|
|
|
|
ok mpi@ looks correct miod@
|
|
|
|
vmt(4) is moved from mainbus0 to pvbus0, more devices will follow.
OK sf@ deraadt@
|
|
since they are now relative to chunks. Use 'blkno' as normal variable
name for daddr_t items rather than mix of 'blkno, blk, offset.
Change field name ssd_data_offset to ssd_data_blkno since it is a
block and not byte quantity.
No intentional functional change.
|
|
memory on (at least) D-Link DSR500 machines.
This follows the CFI specification with code borrowed from zrouter
(FreeBSD). The idea, once the current driver is thoroughly tested, would
be to move it to MI land.
The prerequisites to MI are width, shift and row detection and handling.
In the long run I hope to be able to also add wdc support.
For now write support is disabled.
Okay miod@, deraadt@.
|
|
stash the address of the user structure to avoid having to always
follow two pointers to get to the address of the onfault handler.
this lets the code shrink and avoids some register use.
while here, move the range checking of the arguments before saving
the callers args onto the stack so we can ret faster on error.
ok miod@
|
|
therefore remove unneeded ifdef blocks.
ok miod@ pirofti@
|
|
machines work again with the unlocked reaper.
ok mpi@, deraadt@
no objection from miod@
|
|
this allows us to get rid of the static list of children devices, using only
a lookup table for address hints where needed. as a bonus this removes the
'octcf0: [..] not configured' mesage on machines w/o octcf(4).
tested by pirofti@ on DSR-500 and ERL by me
ok miod@
|
|
their match functions with (g)aa_name not set.
ok miod@
|
|
Nobody uses its return value.
|
|
Nobody uses its return value. This fixes it returning an undefined
value since the previous commit.
|
|
|
|
prevent race conditions that could corrupt amap entries, among other
things.
ok miod@ pirofti@
|
|
propagate to all threads. Otherwise early-started kernel threads run
IPIs disabled, which will lead to a deadlock soon after other cores
have started.
ok miod@ pirofti@
|
|
where appropriate. Noop for disks with 512-byte sectors. i.e. the
only kind currently allowed in softraid volumes. But starts laying
the groundwork to allow disks with other sector sizes.
ok jsing@
|