summaryrefslogtreecommitdiff
path: root/sys/arch/arm
AgeCommit message (Collapse)Author
2009-05-24Improve the ARMv7 support, still work in progress.Dale Rahn
2009-05-11Better config for v7.Dale Rahn
2009-05-11Add some (not used yet) control regiser bit definitions.Dale Rahn
2009-05-09Missed adding this file.Dale Rahn
2009-05-08Pieces of arm11 and armv7 support for newer cpus. This is work in progressDale Rahn
and not complete.
2009-04-20Add a BUS_DMA_ZERO flag for bus_dmamem_alloc() to return zeroed memory.Owain Ainsworth
Saves every damned driver calling bzero(), and continues the M_ZERO, PR_ZERO symmetry.
2009-04-19Mutexes for arm and sh softinterrupts.Owain Ainsworth
ok miod@
2009-04-14Convert the waitok field of uvm_pglistalloc to "flags", more will be added soon.Owain Ainsworth
For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that one of the two is provided. Switch over every caller in the tree to using the appropriate flag. ok art@, ariane@
2009-04-08Cleanup arm soft interrupt handling; remove the unused IPL_SERIAL and renameMark Kettenis
IPL_SOFTSERIAL to IPL_SOFTTTY. tested by oga@ ok miod@
2009-03-30bzero pci attach argsMark Kettenis
2009-03-27convert iopiic lockmgr to rwlock.Owain Ainsworth
ok drahn@, sthen@ tested.
2009-03-27convert arm apm lock to rwlock.Owain Ainsworth
ok drahn@, todd@ tested.
2009-03-26Remove cpu_wait(). It's original use was to be called from the reaper soOwain Ainsworth
MD code would free resources that couldn't be freed until we were no longer running in that processor. However, it's is unused on all architectures since mikeb@'s tss changes on x86 earlier in the year. ok miod@
2009-03-23Processor affinity for processes.Artur Grabowski
- Split up run queues so that every cpu has one. - Make setrunqueue choose the cpu where we want to make this process runnable (this should be refined and less brutal in the future). - When choosing the cpu where we want to run, make some kind of educated guess where it will be best to run (very naive right now). Other: - Set operations for sets of cpus. - load average calculations per cpu. - sched_is_idle() -> curcpu_is_idle() tested, debugged and prodded by many@
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
levels. This will allow for platforms where soft interrupt levels do not map to real hardware interrupt levels to have soft ipl values overlapping hard ipl values without breaking spl asserts.
2009-03-07When allocating memory in bus_dmamem_alloc() with uvm_pglistalloc(), do notMiod Vallat
try to be smart for the address range, uvm_pglistalloc() is smart enough nowadays.
2009-02-26fix tree break with two missing charsTodd T. Fries
please commit miod@
2009-02-26Add a two new ioctls to the apm(4) interface.Owain Ainsworth
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend where a call to zzz suspended the machine immediately, not giving anyone listening for apm events (other than apmd) a chance to deal with the upcoming change. This hit X hard since the introduction of drm, since it needs to have time to idle the 3d engine and otherwise get the device into a recoverable state. Such things are needed until we support modesetting in the kernel. Now, instead of forcing a suspend, using ioctl sends out an event similar to if you had put the lid down, giving all userland applications a chance to reply. tested by sthen@ and beck@, especial thanks to sthen for sitting there while I tried to debug this remotely, I owe him beer. Prompted by and ok deraadt@
2009-02-23When jumping out of the interrupt handler early, clear conditions we knowMiod Vallat
are likely set but don't need specific handling. This silences the interrupt handler if DIAGNOSTIC in some cases. ok grange@ deraadt@
2009-02-20Let the sdmmc adapters tell the sdmmc layer how much sectors they canMiod Vallat
transfer with one command. Build on this and the recent minphys() changes in the sdmmc layer to crank transfers at the maximum possible size instead of a sad DEV_BSIZE. Depending on your controller, this can speed up sdmmc I/O up to 2.5 times.
2009-01-28Add missing braces in trunc_page() call from vmapbuf().Alexander Yurchenko
ok miod@
2009-01-25Remove /dev/drum and related code.Miod Vallat
2009-01-05- add $OpenBSD$ where needed and add missing '$' in s3c24x0reg.h's tagJasper Lievisse Adriaanse
ok drahn@
2009-01-02remove code that was never used, closer to readable.Dale Rahn
2009-01-02support display found on GTA01, not used on GTA02 however.Dale Rahn
2008-12-30dont enable unwanted interrupts, set t_dev, make certain device is initedDale Rahn
on first open.
2008-12-30IPL_SERIAL should be shot.Dale Rahn
2008-12-30allow 3 uarts to attach, use local cache of variable.Dale Rahn
2008-12-30fix locator order.Dale Rahn
2008-12-30some progress on working on hardware, small steps.Dale Rahn
2008-12-24cleanup, work around issue with interrupt getting enabled too early.Dale Rahn
2008-12-15Let tty subsystem know when transmit is finished so ioctls do not hang.Dale Rahn
2008-12-08some sscom and interrupt cleanup, closer to usable userland.Dale Rahn
2008-12-06revert all changes related to the mpsafe intr handler. i screwed up the commitTed Unangst
and even then it didn't work. we have higher standards than this.
2008-12-06mpsafe intr_establish that doesn't get biglock, so that we may dream of the ↵Ted Unangst
day when this is useful. mostly macro magic that does nothing. only actually useful on amd64 for now, compliments of art.
2008-11-29add sscom here too. Fixes armish build.Matthieu Herrb
2008-11-27Add sscom to cdevswitch like fcom used to be.Dale Rahn
2008-11-27tx starting to work.Dale Rahn
2008-11-27better.Dale Rahn
2008-11-26Add some files missed in the original checkin.Dale Rahn
2008-11-26Add a number of driver files necessary for OpenMoko support,Dale Rahn
from NetBSD with mods
2008-11-25rename zaurus_reg.h to machine_reg and rename some of the internal fieldsDale Rahn
so that arm/xscale/... is not referring to zaurus specific defines. ok miod kevlo, with some suggested changes from deraadt@
2008-11-22freq is specific to APM, and it is reaching out to grab the APM variable,Dale Rahn
however this global variable doesn't exist with out apm, ifdef the variable.
2008-11-22scoop is specific to zaurus, it should have some other mechansim toDale Rahn
make this associate, however ifdef zaurus it for now.
2008-11-05since mmclose() is only called once for the final close,Matthieu Herrb
set ap_open_count = 0 in mmclose() instread of decrementing it. ok miod@, oga@.
2008-10-28Do not leave pmap_cache_state pointing to freed memory if it was theDale Rahn
last process running.
2008-10-23a better fix for the "uvm_km thread runs out of memory" problem.Ted Unangst
add a new arg to the backend so it can tell pool to slow down. when we get this flag, yield *after* putting the page in the pool's free list. whatever we do, don't let the thread sleep. this makes things better by still letting the thread run when a huge pf request comes in, but without artificially increasing pressure on the backend by eating pages without feeding them forward. ok deraadt
2008-10-23Move the va_copy define to <sys/stdrag.h> making sure it is uniformalyMark Kettenis
protected by __ISO_C_VISIBLE > 1999. With a little help from miod@. ok miod@
2008-10-15make random(9) return per-cpu values (by saving the seed in the cpuinfo),Theo de Raadt
which are uniform for the profclock on each cpu in a SMP system (but using a different seed for each cpu). on all cpus, avoid seeding with a value out of the [0, 2^31-1] range (since that is not stable) ok kettenis drahn
2008-10-10Add empty cpu_unidle() macros for architectures that currently don't doArtur Grabowski
anything special to prod a cpu to leave the idle loop in signotify. powerpc, i386, amd64 and sparc64 will follow soon so that everyone has the same interface to wake an idling cpu.