Age | Commit message (Collapse) | Author |
|
|
|
other ARMv7 CPUs have a L2 cache that is larger than 32KB. And some of those
even have L1 caches larger than that. So bailing out after 32KB will leave
the cache partially dirty.
Fixes the SATA problems on Allwinner A20 based boards.
ok patrick@
|
|
main attachment, the serial port is now longer recognized as console.
To fix this, store the OFW node of the initial console and check it
in the attachment driver.
ok kettenis@
|
|
be known as sximmc(4) and is somewhat functional. Still needs proper clock
support and some further cleanup.
|
|
and 1. As a result rgephy(4) attaches twice. Prevent this from happening
by passing the PHY address, which is part of the device tree, down from the
bus-specific glue to the generic driver code.
|
|
This typically works for every simplebus client, but com(4) did not
make use of the supplied bus tag. Instead it references the global
a4x bus tag. This is needed as the ARM com(4) controllers use 4-byte
spaced registers, while com(4) operates on 1-byte. To be able to make
use of the address translation, copy the a4x bus tag and replace the
cookie and map function with the one supplied by simplebus.
ok kettenis@
|
|
rename it to fit the typical scheme of such an attachment driver.
ok kettenis@ jsg@
|
|
IWM_CMD_* values are bit flags. The same was done 2 years ago
in Linux git commit a10229271946731959b2269370d0492d88cfab23.
|
|
ok mpi@ visa@
|
|
ok jsg@
|
|
Tested by Daniel Bolgheroni on a Cubietech Cubieboard2.
ok jsg@
|
|
under the assumption, that fuse_vget() has reasonable semantics, while
this is not the case. fusefs_vget() only functions correctly, if the
file in questions has recently been accessed and is still in the vnode
cache of the userspace daemon associated with the mount point.
As a matter of fact the fuse api doesn't feature a reasonable way to map
inode numbers to a handle at all (see struct fuse_operations).
ok guenther
|
|
already does it.
|
|
for the reference counting.
ok dlg@
|
|
and bpfwrite(), all of which will need to grabe a lock to protect the
buffers.
ok dlg@
|
|
descriptor is referenced before it is inserted in the global list.
ok dlg@
|
|
trigger to 1 character. This fixes a hang seen on the allwinner,sun5i-r8
board during boot when the driver switches to interrupts and no terminal
is attached.
ok kettenis
|
|
by patrick@.
ok deraadt@
|
|
ok kettenis@
|
|
Generic xscale support and support for pxa2x0 used by zaurus remains.
|
|
toggling the bit, clearing it when already set. On Cortex-A7 setting the SMP
bit is essential since without it the CPU doesn't actually use its caches.
The SMP bit supposed to be set before turning on the caches and the MMU, so
move the setting of the Auxiliary Control Register before setting the
System Control Register.
ok jsg@
|
|
ok tedu@
|
|
|
|
that support the Execute-Inhibit exception. This makes user space W^X
effective on Octeon Plus and later Octeon versions.
Feedback from miod@, thanks!
No objection from deraadt@
|
|
de is amazing(tm). it really should be cut back and simplified a bit.
|
|
drivers that fill that field in too.
quad types are going away.
|
|
guenther is proposing the removal of u_quad_t. uint64_t is more portable.
tested on a perc5 and perc6, no functional change.
|
|
working gigabit on the Allwinner A20. Probably won't work yet on other
Allwinner SoCs due to differences in how the clocks get set up.
Based on an earlier diff from patrick@.
|
|
|
|
|
|
ok kettenis@ krw@ natano@ dlg@ espie@
|
|
GMAC core which is used on the Allwinner A20 SoCs and later SoCs in the
Allwinner family. Since this core is very likely to show up the base of
other devices, it gets to live here in dev/ic.
Ported from NetBSD (where it is named awge(4)) by patrick@. Some further
fixes by me.
ok deraadt@
|
|
|
|
|
|
cast from FUSE_ROOTINO, as it is already included in the #define.
ok kettenis
|
|
|
|
|
|
ok jsg@, patrick@
|
|
This fixes coredumps of processes that use relro to make part of their
writable address space read-only.
ok guenther@
|
|
vtype in struct fusefs_node and v_type in struct vnode. Given the fact,
that fusefs_node structs are never allocated without an associated vnode
and those two fields are always in sync, one of those locations is
superfluous.
While there remove the unused nlookup field.
ok mpi
|
|
|
|
as well.
ok deraadt@, millert@
|
|
retarded, requiring tables to map text strings to the apropriate numbers.
These tables were generated automatically from data extracted from the
Linux kernel and are kept in a separate file. This should make it easy
to add support for more SoCs from the same family.
ok deraadt@, millert@
|
|
ok kettenis@
|
|
ok mpi
|
|
am335x has a compatible string of "ti,omap4-gpio" and has the same
offsets as omap4, so combine the omap4 and am335x cases when setting up
function pointers.
|
|
ok kettenis@ patrick@
|
|
no functional change.
|
|
free static entries are kept in a simple linked list, so use SLIST
to make this obvious. the RB_PARENT manipulations are ugly and
confusing.
ok kettenis@
|
|
the big reason for this is to let us use rw locks in the network
stack, which is how at least two major efforts outside the tree
have approached making pf mpsafe.
this was discussed at length at n2k16. there was general agreement
that this is necessary for us to move smp work forward in the stack.
|