Age | Commit message (Collapse) | Author |
|
sbin/fsck_ffs build. bad natano!
reported by naddy
|
|
ffs code.
ok mpi tedu
|
|
ok mpi tedu
|
|
|
|
function for platforms that have it, rework the code a bit such that it can
be used before agtimer(4) attaches. Introduce a new agtimer_init()
function that checks whether the CPU implements the Generic Timer feature
and switches to agtimer_delay() if that feature is present. Call this
function from the generic platform initialization code.
ok jsg@
|
|
Remove the code to do so from cpuswitch().
ok guenther@
|
|
hang seen on the allwinner,sun5i-r8.
ok kettenis
|
|
Lets Bacula find the end of medium on LTO5 drive.
Reported & fix tested by Kor son of Rynar.
ok mikeb@ deraadt@
|
|
don't think we'll ever go back. So let's ditch the code that tries to
check and patch up incorrect memory attributes.
Also realize that pmap_clean_page(pg, FALSE) doesn't do anything
anymore so remove those calls and drop the 2nd argument from
pmap_clean_page(pg, TRUE) calls.
Last but not least, get rid of pmap_pte_init_generic() here. The only
useful thing it did was setting pmap_copy_page_func() and
pmap_zero_page_func().
This diff should not introduce any change in behaviour.
ok visa@
|
|
background, similar to a non-blocking socket. Return EALREADY whenever
already connecting, not just for non-blocking sockets. Fix from {Free,Net}BSD
Prompted by a report from Michael Reed (m.reed (at) mykolab.com)
ok millert@
|
|
atomic instructions don't work unless the data cache is enabled. This happens
in cpu_setup(), but that gets currently called from cpu_startup() which runs
after a number of kernel subsystems have been initialized. Since some of
these subsystems use locks, which need atomic instructions, we fault on
Cortex-A53. Since at the end of initarm() we're done setting up the pmap
and initializing other low-level sense, calling cpu_setup() here makes much
more sense.
Remove setting up proc0paddr as well from cpu_startup(), since that already
happens in initarm().
Tested on zaurus by deraadt@.
ok jsg@, patrick@
|
|
"wxallowed" filesystems. mmap(2) & mprotect(2) now return ENOTSUP.
(To diagnose buggy programs, consider using sysctl kern.wxabort=1 and
looking at the coredumps)
ok kettenis tedu naddy
|
|
|
|
to non-cachable is retarded. Fix this by introducing PMAP_NOCACHE and
PMAP_DEVICE flags that can be or'ed into the physical address passed to
pmap_kenter(9), like we have on many of our other architectures. This way we
can also properly distinguish between device memory and normal (non-cachable)
memory.
ok visa@
|
|
This matches what IPv4 is doing and unbreak carp(4) when the same
address is set twice, for example when running netstart(8) multiple
times.
Issue reported by and fix from Simon Mages.
|
|
and see the BCM4330 wireless (for which we don't have a driver yet).
ok jsg@
|
|
no need to clean and/or invalidate cached pages. So remove most of the
cache cleaning and invalidation from the pmap. We still need to synchronize
the instruction cache with the data cache in various places though. And we
also need to make sure that we clean and invalidate when we make a page
non-cachable.
Tested by Daniel Bolgheroni, mglocker@ and jsg@. on Cortex-A8 and myself on
Cortex-A9.
ok visa@
|
|
interface marked UP and scheduling the init task. Matches iwn(4) behaviour.
|
|
some debug crap that I accidentally committed.
|
|
Spotted by patrick@
|
|
just cleaned things up a bit. Any bugs introduced in that process are
entirely mine.
This doesn't work yet. But when it does, you'll need recent firmware from
the Raspberry Pi Foundation git repository at
https://github.com/raspberrypi/firmware
The device tree for the Raspberry Pi is somewhat in flux as bits and pieces
to support the Raspberry Pi 2 and 3 are committed to the mainline Linux
kernel.
|
|
|
|
No functional change.
|
|
Switch from calling obsolete sig{block,setmask} to directly using the
sigprocmask syscall.
ok deraadt@ kettenis@
|
|
|
|
Requested by and ok kettenis@
|
|
Requested by and ok kettenis@
|
|
driver. This allows us to use to hook up the Ethernet interrupt
on the Nitrogen6x, SabreLite and WandBoard like it's described
in the device tree.
ok kettenis@
|
|
This will be helpful for interrupt combiner that need to re-establish
their main interrupt when their interrupt priorities change.
ok kettenis@
|
|
ok patrick@
|
|
generic arm files list. There is no point in building it on armish or
zaurus.
ok patrick@
|
|
ok patrick@
|
|
the page tables coherently and also skip flushing modified ptes out of the
cache in that case. Speeds up building a kernel with a factor of two on
Cortex-A9 (tested by me) and Cortex-A8 (tested by mglocker@).
ok patrick@
|
|
unicast mode, multicast is not yet supported.
ifconfig vxlan0 tunnel fd00::1 fd00::2
Roughly based on an earlier diff by goda@
OK yasuoka@
|
|
MCAST flags have to be cleared from the mbuf after decapsulating
packets. This fixes tunneled broadcast packets, eg. ARP. It used to
work before the input path was changed the flags got cleared later in
the stack.
OK yasuoka@
|
|
its job. Recalculate the mask after the handler is taken from the
list to properly set the new prioritization.
ok kettenis@
|
|
drivers that use the FDT over to the FDT interrupt establish API.
ok kettenis@
|
|
future changes as it establishes an interrupt but hasn't been converted
to attach with the fdt.
ok kettenis@
|
|
|
|
While here, remove unused PIP error code aliases.
|
|
|
|
ok kettenis@ patrick@
|
|
ok kettenis@ patrick@
|
|
ok kettenis@ patrick@
|
|
the same way as for those that attach to simplebus.
ok kettenis@ patrick@
|
|
|
|
|
|
|
|
|
|
|