summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-04-13lear CPUF_RUNNING when halting a CPU. Fixes problems with powering dowmMark Kettenis
MP amd64 systems for quite a few people. ok deraadt@, krw@
2008-04-13garbage collect the cpus_running global variable;Thordur I. Bjornsson
pointed out by and ok drahn@, toby@;
2008-04-12Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).Miod Vallat
2008-04-12typosMiod Vallat
2008-04-12Introduce macros to get and set the MMU context ID in asm code and switch toMark Kettenis
use the .section based mechanism to patch them up for sun4v.
2008-04-12Get rid of acpi_s5 global variables; simply send SIGUSR2 instead of SUGUSR1Mark Kettenis
to tell init(8) to power down the machine. ok krw@
2008-04-12Initialize comconsiot in comcninit().Mark Kettenis
ok deraadt@
2008-04-12There are so many reasons why a printf in an ipi is a very bad idea.Mark Kettenis
Especially since it doesn't add anything but spam during reboot.
2008-04-10Make sun4v_broadcast_ipi() do its job by making a single hypervisor callMark Kettenis
instead of repeatedly calling sun4v_send_ipi(). Makes compiling a kernel almost 20% faster.
2008-04-09Add new stub uvm_shutdown() and call it from the right place in MD boot()Theo de Raadt
2008-04-09Don't grab the kernel biglock for syscalls marked SY_NOLOCK;Thordur I. Bjornsson
matches what amd64 and sparc64 do. tested by johan@ and laurent@ ok toby@,dlg@
2008-04-08For some reason access to io space using ASI_PHYS_NON_CACHED_LITTLE doesn'tMark Kettenis
work, so go through the MMU just like we do for mem space. Makes puc(4) work on the t1k, and hopefully fixes the problems on the t2k.
2008-04-08Split the cdev makro for bpftun into two seperate definitions. tun(4) andClaudio Jeker
bpf(4) are different enough so that the split makes sense -- this is necessary to make bpf(4) cloneable. requested deraadt@, OK thib@
2008-04-07SGI 1-Wire Number-In-a-Can drivers. These are regular Dallas/Maxim append-onlyMiod Vallat
EEPROM, with knowledge of how SGI formats their contents. They are needed by IOC to figure out the Ethernet address of its Ethernet subdevice (yes, verily).
2008-04-07Simple com@ioc (with interrupt handling disabled until ioc interrupt code isMiod Vallat
written). Joint work with jsing@
2008-04-07Preliminary IOC3 multi-function chip driver, from jsing@ and I. CurrentlyMiod Vallat
missing a driver for the ethernet part, and interrupt handling is not written yet.
2008-04-07RegenMiod Vallat
2008-04-07A first cut at XBow bus support, very minimal, limited to a local bus only;Miod Vallat
HUB driver (for IP27) is a stub, and interrupt support is a shoot in the dark and will need some serious debugging until it is sane, but I want to reduce the weight of these diffs first. Based on a lot of tinkering and experiments, as well as knowledge extracted from the Linux source code.
2008-04-07Platform-specific bits for IP30 (Octane). Based on knowledge extracted fromMiod Vallat
Linux source code.
2008-04-07Allow for up to 32 memory segments.Miod Vallat
2008-04-07Add a freelist member to the ARCBios memory information. For now, all ARCBiosMiod Vallat
available memory regions will be reported to be in VM_FREELIST_DEFAULT. Add a few quirks to cope with (some) IP27 and IP30 weirdness.
2008-04-07Add ``guarded'' word read and write routines, to be used by machine-dependentMiod Vallat
code soon. Similar to what ddb does, but does not need ddb to be compiled in.
2008-04-07Split clock attachment in two parts: a timecounter attachment (at mainbus),Miod Vallat
and a time-of-day chip (wherever it gets found).
2008-04-07Since uncached virtual addresses will depend upon space identifiers on R1xkMiod Vallat
systems, switch to the PHYS_TO_UNCACHED macro to compute proper addresses. Not really necessary for the O2 which does not implement spaces, but can't hurt either.
2008-04-07Unclutter machdep.c by moving the IP32-specific initialization code to itsMiod Vallat
own file. While there, more dead beef removal in struct sys_rec.
2008-04-07Use CCA_CACHED as the default CCA for all cached mappings and addresses.Miod Vallat
2008-04-07Define the pte cacheability bits from the cpu.h cache coherency constants.Miod Vallat
2008-04-07Define more cache coherency attributes, as well as R10k space identifiers.Miod Vallat
Define a symbolic ``cached'' attribute, to be used for cached mappings regardless of the system's cache coherency.
2008-04-07In _dmamem_map(), be sure to convert the address from the device view toMiod Vallat
a real physical address in the single-segment short-circuit code.
2008-04-07Don't grab the kernel biglock for syscalls marked SY_NOLOCK;Thordur I. Bjornsson
make the amd64 code a bit nicer and make the sparc64 match that. tested by a few; OK toby@, dlg@, kettenis@ (for the sparc64 part).
2008-04-07sdtemp* devices could occur on these machinesTheo de Raadt
2008-04-06SH is not ARM.Dale Rahn
2008-04-03Use atomic operations to invalidate TSB entries.Mark Kettenis
2008-04-03Switch it(4) back to PnP config mode. Avoid possibleOleg Safiullin
conflicts with SMSC or similar chips.
2008-04-03Make ebus(4) work on sun4v.Mark Kettenis
2008-04-03Some cosmetic changes.Mark Kettenis
2008-04-02Add nsgphy(4).Mark Kettenis
2008-04-02Rewrite the startup code for the mvme88k bootblocks, once again. Some ofMiod Vallat
them (especially the netboot ones) will now self-relocate, which makes BUG configuration much simpler. WARNING: for disk-based systems, you need to update bootxx and bootsd at the same time. New bootsd will not run when loaded from an older bootxx. This doesn't matter much since you need both with installboot.
2008-04-02For some reason using the ASI_SCRATCHPAD register at offset 0x08 makes theMark Kettenis
t1k freak out upon reboot/halt/powerdown. Use the register at offset 0x10 instead.
2008-04-01typoMiod Vallat
2008-03-31Switch bootloaders to mi loadfile().Miod Vallat
2008-03-31Make MULTIPROCESSOR kernels work on sun4v. Won't gracefully halt, powerdownMark Kettenis
or reboot yet, but that will (hopefully) be fixed in the near future.
2008-03-31Compile libsa with -D_STANDALONE.Miod Vallat
2008-03-31Re-enable lii(4).Brad Smith
ok deraadt@
2008-03-31Oops, a chunk was commited too early.Miod Vallat
2008-03-30nam2blk[] clearly must contain "rd" ... found by krwTheo de Raadt
2008-03-30nam2blk[] clearly must contain "rd" ... found by krwTheo de Raadt
2008-03-30Implement bus_space_*8 and bus_space_vaddr.Miod Vallat
2008-03-30Remove former idle_stack.Miod Vallat
2008-03-30Allow the machine-specific headers to overwrite the number of memoryMiod Vallat
segments and the number of freelists.