summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-02-15Add cvs tagMarco Peereboom
2009-02-15Add sleep plumbing code for amd64 making it the sameish as i386. CommittingMarco Peereboom
per mlarkin request. Code from mlarkin, mptramp code from kurt Lots of comments weingart, art & others Tested in snaps for weeks ok kurt, marco
2009-02-14Make spstrcpy() return ENAMETOOLONG if the string being copied is too long.Mark Kettenis
ok miod@
2009-02-14Limit the amount of physical memory to 2GB. Using more causes memoryMark Kettenis
corruption on PA-RISC 2.0 systems (and there are very few PA-RISC 1.1 systems that support more than 2GB). ok miod@
2009-02-14Fix logic error in copyinstr() when deciding whether to return EFAULTMiod Vallat
or ENAMETOOLONG.
2009-02-14Sync device lists with GENERIC.Miod Vallat
2009-02-14Add vsbic(4), a drive for the MVME327A SCSI and floppy controller, only forMiod Vallat
the SCSI part so far.
2009-02-14Fix a few defines.Miod Vallat
2009-02-14enable Attansic L1 Ethernet (age/atphy)Kevin Lo
ok deraadt@
2009-02-14Don't call cpu_setup() twice on non-MULTIPROCESSOR kernels. Fixes problemsMark Kettenis
with longrun on the Transmeta Crusoe. tested by ian@, grange@ ok hshoexer@, weingart@
2009-02-13Use a different dispatcher for the NMI traps on 88110, these are tooMiod Vallat
different from regular hardware interrupts to be worth handling the same way. Disable IPI reception while we are handling pending IPIs. And do not reenable them by mistake if we need to send an IPI in return. This lets GENERIC.MP boot single user on a MVME197DP. There are still many bugs to fix.
2009-02-13Release the secondary processor initialization interlock a bit later,Miod Vallat
after the currently running processor has advertized itself as ready.
2009-02-13Allow IPIs on the secondary processors later in the bootstrap process, whenMiod Vallat
we are sure the NMI stack exists.
2009-02-13When switching processes, do not reenable interrupts until pmap_activate()Miod Vallat
has been invoked on the new process.
2009-02-13Provide a specific delay() routine using separate timers for the two cpusMiod Vallat
on MVME197DP boards running the MP kernel.
2009-02-13Make delay() a per-board function pointer.Miod Vallat
2009-02-13Make "boot -d" work on amd64 MP.Andreas Gunnarsson
Prodded by oga@ (a long time ago) and mikeb@ Also ok by kettenis@ and grange@
2009-02-12BPP routines for ``intelligent'' Motorola MVME boards. Currently not usedMiod Vallat
by anything, will eventually be used by the vx(4) MVME332 driver (once I take the time to fix it) and the vsbic(4) MVME327 driver being worked on.
2009-02-12Add a pm_statistics struct to all pmap, and keep track of residentMiod Vallat
pages. Use this to provide a real pmap_resident_count() function. ok kettenis@
2009-02-12Keep track of resident pages in pm_stats, and use this to implement a realMiod Vallat
pmap_resident_count(). From NetBSD
2009-02-10remove run(4) from some RAMDISKDamien Bergamini
2009-02-10enable run(4) everywhere where ural(4) and rum(4) are enabled.Damien Bergamini
run(4) has been reported to work on sparc64 by Maxim Belooussov so I'm pretty confident that it works on all arches.
2009-02-10Unbreak sgivol. When writing to the raw device use the native blocksize.Joel Sing
Whilst here, check the return value of fread() and improve error messages. ok krw@ miod@
2009-02-08Oops, initialize the nmi stack correctly for the boot processor.Miod Vallat
2009-02-08On 88110 processors, use a separate stack to handle NMI; these can occurMiod Vallat
while we are switching pcbs and all sort of bad things could happen.
2009-02-08Don't bother trying to recover from DSR_WE data faults in kernel mode,Miod Vallat
pmap makes sure these can't happen.
2009-02-08Move to 4.5-BETAMiod Vallat
2009-02-08Spacing nit.Alexander Yurchenko
2009-02-08Enable ips(4) on CD install media so people can try it.Alexander Yurchenko
ok miod@
2009-02-08Make sure than cpu_hardclock() never sets a ``next interrupt value'' which hasMiod Vallat
already been hit by the running timer; this happens very often on oosiop-based machines, due to these machines being among the slowest hppa, and oosiop being interrupt greedy. Unfortunately, when this happened, one had to wait for the timer to wrap, which would take up to 128 seconds on the 33MHz machines. Also, invoke hardclock() as many times as necessary if it turns out that we had to delay the interrupt 1/hz seconds to avoid the aforementioned wrap problem. With help from kettenis@; ok kettenis@
2009-02-08Use the correct flags when bus_dmamap_sync()ing the s/g lists.Miod Vallat
2009-02-08Add missing mux locators to non-USB keyboards and mice.Mark Kettenis
ok miod@
2009-02-06Split sti structures into rom-related information and screen-relatedMiod Vallat
information. This is preliminary work to help eventually supporting the dual-head ELK model. Also split the initialization code in several routines, this makes the code easier to read, and makes it easier to release resources upon failure. Finally, don't forget to clear the text planes on non-console displays when initializing.
2009-02-06typoMiod Vallat
2009-02-05Mirroring the i386 commit just made. Add MD PMAP_NOCACHE flag to pmap,Owain Ainsworth
and use it to implement BUS_DMA_NOCACHE for uncached mappings of dma memory. Needed for some broken hardware. Discussion with art, miod, kettenis and toby, ok miod.
2009-02-05add MD PMAP_NOCACHE flag to i386 and use it to implement theOwain Ainsworth
BUS_DMA_NOCACHE flag with guarantees that the dma memory will be mapped uncached. Some broken/odd hardware needs this. discussion with miod, toby, art and kettenis. ok miod.
2009-02-04Handle PCXS data protection traps. Unlike other PA1.1 chips, there is aMiod Vallat
single trap code for alignment and protection faults, so we have to figure out which kind of problem we are facing. ok kettenis@
2009-02-04On systems with split BTLB, do not bother trying to insert DBTLB entries,Miod Vallat
as PDC will lie to us pretending it did while it didn't. ok kettenis@
2009-02-04On systems with viper memory controllers, always print its revision,Miod Vallat
and allow asp interrupts to pass through even if not revision 0. ok kettenis@
2009-02-04Unify memory size reports a bit more: always report size in MB, and reportMiod Vallat
reserved memory on alpha and hppa on its own line (as done on sgi).
2009-02-03Free TSS on the stack of the dead process.Mike Belopuhov
In order to do that we have to remove all sleeping parts: sleeping memory allocation and a sleeping lock. Thus we're moving this code to the spinning lock (mutex) and getting rid of the GDT grow code. Downside is that now we're pre-allocating 64kb of memory per CPU from the start, but this might be optimized in future. This also unifies GDT code and MAXGDTSIZ define across i386 and amd64. With help from mickey. ok toby, art
2009-02-01Nuke whitespace at EOL.Miod Vallat
2009-02-01Revert 1.28, rumoured to cause problems on some machines.Miod Vallat
2009-02-01Fix the logic in mbus_add_mapping() to correctly handle requests spanningMiod Vallat
more than one flex ``tile'', when the first one is already mapped. Some sti(4) devices have such requests. ok kettenis@
2009-02-01Remove unused _pfthresh member from struct alpha_bus_dma_tag.Miod Vallat
2009-02-01"Ethernet" is a family of networking technologies developed at Xerox PARC,Igor Sobrado
not a generic name. we must use the right capitalization for this term. ok jmc@
2009-02-01Remove dma_cachectl() and rename dma_cachectl_pa() to dma_cachectl() now thatMiod Vallat
the old vs(4) code is gone.
2009-02-01Get the cpu speed from the pcctwo configuration on MVME187.Miod Vallat
2009-02-01Finally switch this driver to bus_dma.Miod Vallat
2009-01-31Don't cast pointer to int, use register_t here.Alexander Yurchenko
ok miod@ tedu@