Age | Commit message (Collapse) | Author |
|
|
|
|
|
nested inside of splhigh/splx just disable and enable interrupts
once with inline cps instructions.
Remove uneeded pcb_pl1vec block as well, suggested by kettenis.
ok kettenis@
|
|
|
|
Original diff from Taavi Tani in 2005 (!), adapted to -current by Mart
Tonso. ok mpi@
|
|
This is another little step towards deprecating 'struct route{,_in6}'.
ok florian@
|
|
|
|
New RTF_CLONING routes don't have children, but the kernel might end up
removing routes from a compatible route. This bug has been introduced
with the support for multiple RTF_CLONING routes.
Also make sure to release possible RTF_CACHED route *before* flushing
RTF_CLONED children when deleting a route.
KASSERT() reported by akfaew, sthen@ and martijn@
ok benno@
|
|
ok sthen@, deraadt@, dlg@
|
|
used internally by low-level drivers from sys/audioio.h to
dev/audio_if.h instead of deleting them.
|
|
ok markus@
|
|
ok claudio@ mpi@
|
|
ok yasuoka@
|
|
couldn't interate the ConsOut modes properly on qemu.
input NONAKA Kimihiro
|
|
ok deraadt
|
|
This caused garbage to be written instead of blocks of 0-bytes if a
file is extended by seeking past the end. This happens for example
when extracting files containing lots of 0-bytes with tar.
ok mpi@
Details of original commit:
msdosfs_vnops.c revision 1.105
denode.h revision 1.28
date: 2016/01/13 10:00:55; author: mpi; commitid: ru9jHQwQX09BC5Bw;
Implement VFS read clustering for MSDOSFS.
The logic used in msdosfs_bmap() to loop calling pcbmap() comes from
FreeBSD and is not really efficient but it is good enough since it is
only called when generating I/O.
With this diff I get a 100% improvement when reading big files from a
crappy USB stick.
With this and bread_cluster(9) modified to not re-fetch B_CACHED buffers,
reading large contiguous files with chunk sizes of MAXPHYS is almost as
fast as physio(9) on the same device.
For a 'real world' example, when copying music files from a USB stick I
see a speed jump from 15MB/s on -current to 24Mb/s with this diff.
While here rename some 'lbn' variables into 'cn' to better reflect what
we're dealing with.
Tested by Mathieu, with support from deraadt@
|
|
vattr in userspace is suboptimal as some related helpers are not
available, e.g. VATTR_NULL() and IFTOVT(). The conversion is now done in
the kernel where it belongs. As a side effect the <sys/vnode.h> include
can be removed from libfuse.
tweaks and ok guenther
|
|
ok guenther@
|
|
reset by mouse and keyboard instead of mouse and mouse.
|
|
Couldn't find someone with a loongson 2e to test this on hardware.
"looks ok" visa@
|
|
Fixes "audio0: different play and record parameters ... " errors, and
probably other unreported errors.
help and ok landry@
|
|
taking the kernel lock.
ok mpi@ dlg@
|
|
ok natano@
|
|
ok natano@
|
|
with NetBSD/luna68k.
LUNA has 128KB so-called '3 port RAM' starting at 0x71000000.
Originally, first 64KB of this area is designed for I/O processor
HD647180, and next 64KB is designed for LANCE.
This makes possible to support I/O processor in the future:-)
|
|
|
|
|
|
When bus_dmamap_load fails to load one of the buffers in the mbuf
chain, we need to revert all changes to transmit descriptors. The
code to do that was prototyped but not tested. However due to how
the Tx ring is set up in xnf(4) and generic lack of proper fragment
support in the Netfront design we're always limited to having 256
entries for distinct shared memory pages. The mbuf chain is
traversed and attempt is made to load every data chunk into a 4k
sized DMA map segment which makes it impossible to reference a
buffer composed of multiple pages. Current implementation lacks
support for this preventing reliable transmission of frames larger
than 4k.
Bug reported by Kirill Miazine <km at krot ! org>, thanks!
|
|
|
|
|
|
These were didn't work as I expected, and returned the wrong offsets. As a
result, pinctrl and gpio code was twiddling the wrong bits.
|
|
operates again.
ok kettenis
|
|
GREGADDRD, GRESPROTO, and GREGPROTO. They have been replaced by
generic ioctls some time ago (eg. the "ifconfig gre0 tunnel") and
there is no need to keep the old ones around. They are neither used
in base nor in ports.
OK sthen@
|
|
sequencing like we have for imxesdhc(4). Unfortunately that doesn't seem to
be enough to be able to see the onboard sdio wireless on my Banana Pi 2+.
|
|
|
|
|
|
sximmc(4).
|
|
|
|
enable it on CPUs that support it. When enabled, this prevents the kernel
from executing userland code.
ok jsg@, tom@
|
|
slightly different register layout. Also fix the watchdog such that it
actually disables itself when you set the period to 0 and actually gives you
a period that is close to what you asked for.
|
|
the A31 and later SoCs.
|
|
contains a single clock control unit node that handles most clocks. The
driver handles this through tables that describe the gating, reset signals
and the clock hierarchy. This description is (deliberately) incomplete. We
will add clocks on an as-needed basis. You will need a recent device tree,
that includes a "allwinner,sun8i-h3-ccu" compatible node for things to work.
ok patrick@
|
|
ok deraadt@
|
|
ok deraadt@
|
|
xhci(4) on ARM. The only way the load raw operation can get to know
about the coherent flag is via the segments. Store it there when the
memory is initially mapped. Also store the virtual address which we
need to know when we have to flush the caches on a non-coherent mapping.
ok kettenis@
|
|
|
|
to explicitly check for the flag.
ok kettenis@
|
|
ok tom@
|
|
basically a relic from the past. Using them doesn't make a lot of sense
the way our pmaps work. Support for MMU domains isn't present in
long-descriptor translation table format, so it is clearly on its way out.
Based on a diff from Artituri Alm.
ok patrick@
|
|
ok kettenis
|