summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-04-21oopsTheo de Raadt
2007-04-21Introduce a smp aware hw.setperf mechanism, it will scale all CPUs orGordon Willem Klok
cores by the same amount, i.e. if you do hw.setperf=50 both cores will be scaled to the opearting state corresponing to 50%. Tested by many with est (mainly on core2duo machines like X60 thinkpads). Only enable est during GENERIC.MP build no one tested powernow. ok art@
2007-04-21do not ignore linker failures; ok miodTheo de Raadt
2007-04-21No more vtophys() on arm.Miod Vallat
2007-04-21developers keep killing ramdisk driversTheo de Raadt
2007-04-21Fix the rcs tags.Gordon Willem Klok
2007-04-21Add blinkenlights(4) a driver to control the 16 leds found on the frontGordon Willem Klok
panel of the Xserve G4 and G5. The leds will provide an indication of the system load slowing as the load climbs, and system health e.g. no lights means its dead or in DDB. Split some of the shared registers and clock divisors from i2s into i2sreg.h while there nuke some evil C++ style comments. Man page to follow shortly. ok deraadt
2007-04-21Do a simple switch to VM_PAGE_MD. Just the path of least resistance for now,Artur Grabowski
more work coming soon. kettenis@ ok
2007-04-20Remove leftover trapwrite() prototype from... 80386 support.Miod Vallat
2007-04-20Segment tables are integral multiples of the page size in LP64 mode, soMiod Vallat
do not manage a freelist ourselves, but release them in pmap_destroy().
2007-04-19When doing pmap_collect, skip wired mappings when removing.Artur Grabowski
From NetBSD, miod@ ok
2007-04-19Do the late freeing of ptps in pae pmap as well.Artur Grabowski
From mickey.
2007-04-19sili(4) works fine here.David Gwynne
2007-04-18Use atomic operations to change the pending software interrupt mask.Miod Vallat
2007-04-18tidy - number unused cdev_/bdev_ slotsTodd T. Fries
ok miod@ kettenis@
2007-04-18Contrary to the comment in cia_dma_get_tag(), there are machines with ciaMartin Reindl
that have over 1.0G. Allow direct dma requests to fall back to SGMAPs. From NetBSD via brad; discussed with Miod, tested by myself
2007-04-18if possible, fill in hw.serialno;Martin Reindl
tsunami chipset alphas set this, maybe older ones as well
2007-04-16Crank MAXPHYS to the regular 64KB.Miod Vallat
2007-04-16macppcs can boot off usb disks, so treat "/usb" controllers in the ofw treeDavid Gwynne
as storage controllers. this lets ottos macppc root off the usb disk he booted off.
2007-04-14Crank KVM from a ridiculous pedro-sized 256MB to 1GB; needed for upcoming MIMiod Vallat
changes.
2007-04-14Correctly handle pv_flags for pages used to store ptes, so that theyMiod Vallat
are in a correct state when we uvm_pagefree() them.
2007-04-13While splitting flags and pqflags might have been a good idea in theoryArtur Grabowski
to separate locking, on most modern machines this is not enough since operations on short types touch other short types that share the same word in memory. Merge pg_flags and pqflags again and now use atomic operations to change the flags. Also bump wire_count to an int and pg_version might go int as well, just for alignment. tested by many, many. ok miod@
2007-04-13Timecounters for macppc. As clean and simple as sparc64. Uses the %tbMark Kettenis
special register. ok drahn@
2007-04-13Relax the cache flags logic in pmap_kenter_pa, to make sure that mappingsMiod Vallat
entered before vm_physmem[] are initialized will be cached. This is a temporary measure until this pmap implements pmap_steal_memory(). Help and ok drahn@
2007-04-13Update install media generation to the new semantics of the -c flag.Todd C. Miller
Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
2007-04-13When freeing PTP pages, we need to wait until TLB shootdown has beenArtur Grabowski
done until we put them on the freelist and risk them being reused. If the page is reused before being shot, there's a risk that it's still in the PDE TLB and speculative execution might use data from it to load TLBs. If the page isn't zeroed anymore we risk loading bogus tlbs from it. Inspired by a similar change in NetBSD. toby@ ok, tested by many at the hackathon.
2007-04-13Move the proc0 stack below the proc0 page tables so that in case weArtur Grabowski
overflow the stack, we run into the symbol table (not critical) instead of overwriting the page tables. From mickey, ok art@, ok toby@
2007-04-13map peeing -> mappingMiod Vallat
2007-04-13get alpha SMP into a state where it at least compiles:Martin Reindl
- add machine-dependent spinlock operations - add basic interprocessor interrupt sending and receiving code from NetBSD; ok miod@
2007-04-12Remove the lk_interlock from struct lock; Also remove the LK_INTERLOCKThordur I. Bjornsson
flag. This effectively makes the simplelock argument to lockmgr() fluff. ok miod@
2007-04-12Faster signal delivery on i386/MP.Artur Grabowski
We need to poke the other CPU so that it processes the AST immediately and doesn't wait for the next interrupt or syscall. Since IPIs really shouldn't process ASTs, we need to trigger a soft interrupt on the destination CPU to process the AST. But since we can't send soft interrupts to other CPUs, we send an IPI, that triggers a soft interrupt that in turn processes the AST. Also, this marks the beginning of moving to slightly better IPI mechanism of short and optimized IPIs instead of the large and complicated IPI infrastructure we're using now. tested by many, ok tholo@
2007-04-12untypoArtur Grabowski
2007-04-12Discard .comment sections in the final a.out file.Miod Vallat
2007-04-12__HAVE_CPUINFO for alpha, with bits from netbsdMartin Reindl
ok miod@
2007-04-12Remove __BUS_SPACE_ADDRESS_SANITY correctly, no cookie for me. Spotted byMiod Vallat
djm@
2007-04-11Instead of managing pages for intrsafe maps in special objects (aka.Artur Grabowski
kmem_object) just so that we can remove them, just use pmap_extract to get the pages to free and simplify a lot of code to not deal with the list of intrsafe maps, intrsafe objects, etc. miod@ ok
2007-04-11sili(4) works, why not enable it?David Gwynne
2007-04-10Add support for a fourth axis on wsmouse devices, e.g. on the Apple MightMiod Vallat
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
2007-04-10Remove long dead definitions. No functional change.Miod Vallat
2007-04-10Long forgotten stub.Miod Vallat
2007-04-10Add bbc(4) and pmc(4).Mark Kettenis
2007-04-10Driver for the BootBus Controller; sets some magic bits that makes pmc(4)Mark Kettenis
actually work.
2007-04-10New driver for watchdog time on NatSemi PC87317 SuperIO chip.Mark Kettenis
2007-04-10More typos from my list.Miod Vallat
2007-04-10Remove ARM32_BUFTYPE_RAW, it's never used.Miod Vallat
2007-04-10``prob ably'' can be written in one word.Miod Vallat
2007-04-10Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY andMiod Vallat
__BUS_SPACE_ALIGNED_ADDRESS.
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-10privledges -> privilegesMiod Vallat
2007-04-10Do not compile unused dump_tlb() unless option DEBUG.Miod Vallat