Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-27 | Like i386 and amd64 - make the __mp_lock not spin at splhigh. | Mark Kettenis | |
help from & ok art@ | |||
2007-11-27 | intr_disable() returns an u_int64_t. | Mark Kettenis | |
2007-11-26 | Move the implementation of __mp_lock (biglock) into machine dependent | Artur Grabowski | |
code. At this moment all architectures get the copy of the old code except i386 which gets a new shiny implementation that doesn't spin at splhigh (doh!) and doesn't try to grab the biglock when releasing the biglock (double doh!). Shaves 10% of system time during kernel compile and might solve a few bugs as a bonus. Other architectures coming shortly. miod@ deraadt@ ok | |||
2007-11-26 | few more dribbles of LIBKERN cleanup | Theo de Raadt | |
2007-11-25 | libkern, begone. Move to a new mechanism where config(8)'s "file" | Theo de Raadt | |
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner.. | |||
2007-11-25 | Get rid of the kernel 'libcompat' framework, and instead use conf/files to | Theo de Raadt | |
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options. | |||
2007-11-25 | Give the CarBus side of CardBus-PCI bridges a bus number, since OpenFirmware | Mark Kettenis | |
doesn't do it for us. | |||
2007-11-18 | Add missing locking around ktrsyscall() call. | Mark Kettenis | |
2007-11-16 | Pass name of CPU nodes instead of "cpu" such that we see it for unconfigured | Mark Kettenis | |
CPUs on UP kernels. | |||
2007-11-16 | Fix typo in comment. | Mark Kettenis | |
2007-11-16 | UltraSPARC-IIIi CPUs are different and choose the BUSY/NACK pair based on the | Mark Kettenis | |
target CPU ID. Make sure we check the right bits. | |||
2007-11-15 | Attach to "rsc-console". Hopefuly this will give us a proper console on | Mark Kettenis | |
the Sun Fire 280R/V480/V880 when the console is directed to the RSC card. | |||
2007-11-14 | Remove eeprom.h. | Mark Kettenis | |
2007-11-13 | Fix printf format string. | Mark Kettenis | |
2007-11-13 | Remove bsd_openprom.h. | Mark Kettenis | |
2007-11-11 | Replace next_tick() with simpler C code that I can actually understand. | Mark Kettenis | |
2007-11-10 | weel -> well | Joel Sing | |
2007-11-10 | Remove a fair amount of duplicated code by making cpu_mp_startup call | Mark Kettenis | |
cpu_initialize. | |||
2007-11-10 | For single-processor kernels, only match the CPU we're running on. | Mark Kettenis | |
2007-11-09 | Call prom_set_trap_table for secondary CPUs too. | Mark Kettenis | |
2007-11-09 | Use 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-06 | Close a race where we might save/drop the fpu state of the wrong process in | Mark Kettenis | |
the ipi handlers. | |||
2007-11-05 | Sprinkle a few holy membars around memory writes. | Miod Vallat | |
ok kettenis@ | |||
2007-10-31 | Overhaul fpu context save/restore code, making it more similar to what we do | Mark Kettenis | |
on i386 and amd64. Don't let IPIs in when saving fpu context by disabling interrupts. | |||
2007-10-31 | Remove some XXX code that has been #ifdef'ed out for ages. | Mark Kettenis | |
2007-10-31 | Remove idle_u; it's been unused for a while. | Mark Kettenis | |
2007-10-31 | Remove some comments about 32-bit mode. | Mark Kettenis | |
2007-10-31 | Garbage collect ienab_bis() and ienab_bic(). | Mark Kettenis | |
Suggested by miod@ | |||
2007-10-29 | UltraSPARC CPUs (and other SPARC V9 implementations) don't have a | Mark 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-28 | UltraSPARC CPUs don't have a floating-point queue, so cpu_reset_fpustate() is | Mark Kettenis | |
redundant since there is no queue to flush. | |||
2007-10-28 | Match on compatible: 'pcf8584', such that we attach on the V210 again. | Mark Kettenis | |
2007-10-27 | get rid of btoc/ctob in favor of atop/ptoa | Martin Reindl | |
2007-10-27 | Since ipis are not synchronous, make sure that ci_fpproc is not NULL before | Miod Vallat | |
invoking savefpstate in ipi_save_fpstate. ok kettenis@ | |||
2007-10-27 | Don't do unecessary work in cpu_switchto(). | Mark Kettenis | |
2007-10-25 | Don't forget the channel number; makes sure we don't always read channel 0 | Mark Kettenis | |
(and actually get reasonable values for the MB0 and MB1 sensors on the E250). | |||
2007-10-25 | Remove some coded that has been #ifdef'ed out for quite a while now. | Mark Kettenis | |
2007-10-25 | allocate 1 byte extra in getprop(), for the NUL that some callers like | Theo de Raadt | |
to place. This is a nightmare, and we must move away from these stupid wrapper APIs. ok kettenis | |||
2007-10-25 | another case of product encoding is "Sun (TM) modelname", on the E250 | Theo de Raadt | |
2007-10-24 | Enable power supply temperature sensors on the E450. | Mark Kettenis | |
2007-10-24 | Add support for power supply temperature sensors on the E450. | Mark Kettenis | |
2007-10-22 | alipm0 can now be enabled because of the crash workaround | Theo de Raadt | |
2007-10-22 | let alipm0 still be used for spdmem probes, but skip sensors. alipm (or | Theo 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-22 | Add support for SUNW,envctrl as found on the E450. | Mark Kettenis | |
2007-10-22 | CPU temperature sensors on the E450 have a conversion factor of 1/1 instead of | Mark Kettenis | |
0/0 like the E250. Handle both. | |||
2007-10-22 | the invalid flag is never set in these two drivers, so don't test if it is; ↵ | Constantine A. Murenin | |
ok djm@ kettenis@ | |||
2007-10-22 | stoped -> stopped | Joel Sing | |
ok miod@ | |||
2007-10-21 | Don't use next_tick() to start the clock ticking on secondary CPUs. This | Mark Kettenis | |
would fail from time to time on UltraSPARC-I and UltraSPARC-II CPUs. Inspired by code in FreeBSD. ok miod@ | |||
2007-10-20 | Ack IRQ *after* fetching IPI args. From NetBSD. | Mark Kettenis | |
2007-10-20 | Provide 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-20 | Add support for the temperature sensors on the SUNW,envctrltwo device found | Mark 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@ |