summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2007-11-10weel -> wellJoel Sing
2007-11-10Remove a fair amount of duplicated code by making cpu_mp_startup callMark Kettenis
cpu_initialize.
2007-11-10For single-processor kernels, only match the CPU we're running on.Mark Kettenis
2007-11-09Call prom_set_trap_table for secondary CPUs too.Mark Kettenis
2007-11-09Use the interrupt stack as the initial stack for spinning up secondary CPUs.Mark Kettenis
Inspired by a change in NetBSD pointed out by miod@.
2007-11-06Close a race where we might save/drop the fpu state of the wrong process inMark Kettenis
the ipi handlers.
2007-11-05Sprinkle a few holy membars around memory writes.Miod Vallat
ok kettenis@
2007-10-31Overhaul fpu context save/restore code, making it more similar to what we doMark Kettenis
on i386 and amd64. Don't let IPIs in when saving fpu context by disabling interrupts.
2007-10-31Remove some XXX code that has been #ifdef'ed out for ages.Mark Kettenis
2007-10-31Remove idle_u; it's been unused for a while.Mark Kettenis
2007-10-31Remove some comments about 32-bit mode.Mark Kettenis
2007-10-31Garbage collect ienab_bis() and ienab_bic().Mark Kettenis
Suggested by miod@
2007-10-29UltraSPARC CPUs (and other SPARC V9 implementations) don't have aMark Kettenis
floating-point deferred-trap queue. Remove redundant code inherited from sparc that deals with this. Also remove the code dealing with saving and restoring the FPU state from unaligned memory; we always allocate properly aligned memory for storing the FPU state.
2007-10-28UltraSPARC CPUs don't have a floating-point queue, so cpu_reset_fpustate() isMark Kettenis
redundant since there is no queue to flush.
2007-10-28Match on compatible: 'pcf8584', such that we attach on the V210 again.Mark Kettenis
2007-10-27get rid of btoc/ctob in favor of atop/ptoaMartin Reindl
2007-10-27Since ipis are not synchronous, make sure that ci_fpproc is not NULL beforeMiod Vallat
invoking savefpstate in ipi_save_fpstate. ok kettenis@
2007-10-27Don't do unecessary work in cpu_switchto().Mark Kettenis
2007-10-25Don't forget the channel number; makes sure we don't always read channel 0Mark Kettenis
(and actually get reasonable values for the MB0 and MB1 sensors on the E250).
2007-10-25Remove some coded that has been #ifdef'ed out for quite a while now.Mark Kettenis
2007-10-25allocate 1 byte extra in getprop(), for the NUL that some callers likeTheo de Raadt
to place. This is a nightmare, and we must move away from these stupid wrapper APIs. ok kettenis
2007-10-25another case of product encoding is "Sun (TM) modelname", on the E250Theo de Raadt
2007-10-24Enable power supply temperature sensors on the E450.Mark Kettenis
2007-10-24Add support for power supply temperature sensors on the E450.Mark Kettenis
2007-10-22alipm0 can now be enabled because of the crash workaroundTheo de Raadt
2007-10-22let alipm0 still be used for spdmem probes, but skip sensors. alipm (orTheo de Raadt
more likely psycho) still has a bug where the pci bus croaks on the intermittent i2c accesses. the spdmem accesses are safe, though. if you wish to help us find out when this bug gets fixed, please run your machine WITHOUT this diff, though. ok kettenis jsg
2007-10-22Add support for SUNW,envctrl as found on the E450.Mark Kettenis
2007-10-22CPU temperature sensors on the E450 have a conversion factor of 1/1 instead ofMark Kettenis
0/0 like the E250. Handle both.
2007-10-22the invalid flag is never set in these two drivers, so don't test if it is; ↵Constantine A. Murenin
ok djm@ kettenis@
2007-10-22stoped -> stoppedJoel Sing
ok miod@
2007-10-21Don't use next_tick() to start the clock ticking on secondary CPUs. ThisMark Kettenis
would fail from time to time on UltraSPARC-I and UltraSPARC-II CPUs. Inspired by code in FreeBSD. ok miod@
2007-10-20Ack IRQ *after* fetching IPI args. From NetBSD.Mark Kettenis
2007-10-20Provide sensor status based on the limits found in OpenFirmware.Mark Kettenis
There's enough code in here now, to add myself to the list of copyright holders.
2007-10-20Add support for the temperature sensors on the SUNW,envctrltwo device foundMark Kettenis
on the Sun Enterprise 250. This device (and SUNW,envctrl found on the Enterprise 450) is a PCF8584 I2C controller with several generic I2C chips attached to it. ok deraadt@
2007-10-20Make sure to send an ipi to the processor a given proc runs on in signotify(),Miod Vallat
in the MULTIPROCESOR case. ok kettenis@
2007-10-20enuf -> enoughMiod Vallat
2007-10-19Don't use "counter-timer" as clock interrupt source on MULTIPROCESSOR kernelsMark Kettenis
for now.
2007-10-19Use HDL2CELL when passing an OpenFirmware handle in prom_start_cpu. MakesMark Kettenis
bsd.mp boot on an E250.
2007-10-19remove old-school "cpu%d running" messages from default code pathsTheo de Raadt
2007-10-18Don't try to send IPIs to CPUs that aren't running (yet).Mark Kettenis
2007-10-17Use ldx (instead of ld) to load a pointer.Mark Kettenis
ok deraadt@
2007-10-17Let other people build sparc64 bsd.mp too.Mark Kettenis
2007-10-17MULTIPROCESSOR kernels need clock interrupts on secondary CPUs too, so don'tMark Kettenis
mark interrupts as busy.
2007-10-17Spin up secondary CPUs on MULTIPROCESSOR kernels. Works on UltraSPARC-IIIMark Kettenis
CPUs.
2007-10-17Do not clean up vers.c as it is not autogenerated anymore.Hans-Joerg Hoexer
ok deraadt.
2007-10-17Get proc_trampoline() ready for MULTIPROCESSOR.Mark Kettenis
2007-10-17Sanitize debug printf.Mark Kettenis
2007-10-17Proper TLB flushing for MULTIPROCESSOR kernels.Mark Kettenis
2007-10-16For MULTIPROCESSOR kernels, make cpu_switchto() set p->p_cpu.Mark Kettenis
2007-10-16Make lazy fpu context switching work for MULTIPROCESSOR kernels. Tested byMark Kettenis
many. ok deraadt@