Age | Commit message (Collapse) | Author |
|
or reordering accesses to the variable. Assume that the assembler
preserves the correct sequence of instructions, which allows the
removal of the explicit noreorder/reorder toggles from the C code.
With ci_ipl being volatile, drop mips_sync() calls that follow
the accesses of the variable. The sync is redundant as a compiler
barrier. In addition, the MIPS64 CPU designs should not need the
sync for pipeline or write buffer control. According to miod@,
the use of the instruction is a carryover from code targeting
early MIPS designs that lack tight integration with the cache
and write buffer.
Discussed with and testing help from miod@.
Tested on CN5020, CN6120, CN7130, CN7360, Loongson 2F and 3A1000,
R4400, R8000, R10000 and R16000.
|
|
|
|
Fixes 'make install' when /bsd is not present for some reason.
ok rob florian, "fine with me" deraadt
|
|
definitive list of block devices supported on an architecture.
ok kettenis@ deraadt@
|
|
Suggested by kettenis@
|
|
required by upcoming MI mutex change.
|
|
the value matches with the number of cores that GENERIC.MP uses.
OK deraadt@, krw@, pirofti@
|
|
|
|
|
|
OK mpi@
|
|
OK dlg@
|
|
|
|
|
|
ok deraadt@ krw@
|
|
ok millert@ krw@
|
|
This makes the API usable with edge triggered interrupt sources.
|
|
delivery entry.
|
|
for blocks re-fetchable from the filesystem. However at reboot time,
filesystems are unmounted, and since processes lack backing store they
are killed. Since the scheduler is still running, in some cases init is
killed... which drops us to ddb [noted by bluhm]. Solution is to convert
filesystems to read-only [proposed by kettenis]. The tale follows:
sys_reboot() should pass proc * to MD boot() to vfs_shutdown() which
completes current IO with vfs_busy VB_WRITE|VB_WAIT, then calls VFS_MOUNT()
with MNT_UPDATE | MNT_RDONLY, soon teaching us that *fs_mount() calls a
copyin() late... so store the sizes in vfsconflist[] and move the copyin()
to sys_mount()... and notice nfs_mount copyin() is size-variant, so kill
legacy struct nfs_args3. Next we learn ffs_mount()'s MNT_UPDATE code is
sharp and rusty especially wrt softdep, so fix some bugs adn add
~MNT_SOFTDEP to the downgrade. Some vnodes need a little more help,
so tie them to &dead_vnops.
ffs_mount calling DIOCCACHESYNC is causing a bit of grief still but
this issue is seperate and will be dealt with in time.
couple hundred reboots by bluhm and myself, advice from guenther and
others at the hut
|
|
of system model. The early boot code already prints them, but
that output is not buffered and tends to be left out from
dmesg submissions.
|
|
unused code. POW interrupts are now handled in if_cnmac.c.
|
|
|
|
packets. Otherwise, a skosh of traffic may be handled using hardware
default settings. One of the consequences is that packets can end up
into a wrong POW group, causing a panic in cnmac_intr().
Panic reported by and testing help from Janne Johansson
|
|
Not tested with the hardware.
|
|
Prompted by Justin Hibbits
|
|
in many other NIC drivers. This reduces submission overhead.
|
|
a layer of abstraction that would complicate upcoming changes.
|
|
This is now possible because each port has a dedicated work queue
interrupt.
|
|
This also makes the code a bit less noisy to read.
|
|
From Justin Hibbits, thanks!
|
|
using a mutex. This lets octmmc_intr() run without the KERNEL_LOCK().
Tested on CN6120, CN7130 and CN7360.
|
|
from the intended group.
|
|
|
|
|
|
For now, the kernel does enforce one-to-one mapping between logical
cpuids and hardware coreids, but the reliance on that should be
removed eventually.
|
|
|
|
end of rc we call reorder_kernel which creates a /obsd hard link to
the same kernel.
In the past obsd was only created when doing a manual make install in
the kernel sources.
There is no need for two backup hard links during boot, rearange the
kernel Makefiles to restore previous behaviour and thus stopping
reorder_kernel from scribbling over /obsd.
Makes muscle memory of some kernel developers work again: /obsd can
serve as a known good kernel; and there was much rejoycing...
Discussed at length with benno, rpe, phessler and tb at
p2k17.
Seems like a good idea to deraadt.
OK benno, phessler, rpe, tb
|
|
|
|
|
|
|
|
that have been disabled since r1.1.
|
|
|
|
the interrupt processing of each work group to one of the available
CPUs. This enables some parallelism in the early stages of packet Rx.
|
|
|
|
the correct address space for direct referencing. Previous code has
worked because the address conversion has only set bits that are
already on.
|
|
ok mpi@
|
|
|
|
the kernel makefiles was removed which lead to C files not being re-
compiled when a dependency changed. This can lead to panics in odd
places and generally a broken system.
ok deraadt@
|
|
Those are shared by SD/MMC buses.
|
|
|
|
This makes the system a bit harder to corner when paging to SD/MMC.
In addition, limit the maximum DMA segment size to MAXPHYS.
|