Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-03 | use DEVICE_IS_VGA_PCI in vga_pci_match() | Martin Reindl | |
ok brad@ fgsch@ also tested by oga@ | |||
2007-11-03 | don't spam dmesg with huge, whitespace padded bios strings. | Chris Kuethe | |
ok beck, gwk | |||
2007-11-03 | change what happens when acpi is enabled to include "relatively safe" | Bob Beck | |
stuff and have acpi actually do something. note acpi is still disabled by default, but now will do more stuff when enabled with config -e/boot -c ok gwk@, weingart@, canacar@, deraadt@ | |||
2007-11-03 | APM switchto cleanup diff. This uses the switchto functionality to | Tobias Weingartner | |
significantly clean up the APM idle loop things. I actually can make sense of what the APM idle loop is supposed to do. Ok gwk@, beck@, and theo says ramdisks compile. | |||
2007-11-03 | Add acpi_acquire_global_lock() and acpi_release_global_lock() in MD locore.s | Tobias Weingartner | |
because it is easier to write these here in asm than it is to put them inline with gcc's __asm() construct. Also, chances are amd64's versions will need to be written in a different manner. Basically yanked from ACPI spec V3, section 5.2.10.1. Ok canacar@, beck@, gwk@ | |||
2007-11-02 | replace ctob/btoc with ptoa/atop (plus the usual round_page() where needed) | Martin Reindl | |
2007-11-02 | Use the same cache cleaning address computation as done in cpufunc_asm_xscale, | Miod Vallat | |
for there be dragons in xscale cache and it would not be cleaned correctly, leading to wrong pcb data being restored on resume and eventually causing panics. | |||
2007-11-01 | Remove curproc definition. It is supposed to be in proc.h only. | Mike Belopuhov | |
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-31 | for now, workaround MP timeout/splhigh/scsi race at reboot time using a | Theo de Raadt | |
delay. will be revisited. ok art | |||
2007-10-31 | comment fixes. | Joel Sing | |
ok miod@ | |||
2007-10-30 | avoid intermediate files with same name (ie. a.out) for parallel make | Theo de Raadt | |
ok miod | |||
2007-10-29 | run depend so that SFILES depend on assym.h, which allows them to build | Marc Espie | |
with make -j on fast SMP boxes. noticed by robert@, input by miod, kettenis, okay toby@, robert@, and tested to work if people build kernels correctly... | |||
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-29 | Make sure the dma_cachectl*() functions actually do their work on all | Miod Vallat | |
affected processors if option MULTIPROCESSOR. It's amazing bsd.mp could boot multiuser without this. | |||
2007-10-29 | When a secondary cpu gets its interrupt pin stuck, be sure to savectx | Miod Vallat | |
and put the process it was running back on the run queue (unless this was the idle proc). | |||
2007-10-28 | This is a horrible kluge: invoke sched_init_cpu for seconday processors | Miod Vallat | |
before they are started (and not skipping gaps for machine setups with holes in cpu slots). Since we start secondary cpus very late in the boot process, and sched_init_cpu() has to be invoked before proc0 execve's init, I don't think there is a better way to do this. This lets MVME188 systems with more than one processor boot multiuser. | |||
2007-10-28 | Start secondary processors synchronously. This only wins us a nicer dmesg | Miod Vallat | |
output, and nothing else. | |||
2007-10-28 | Do not flag a processor as ``alive'' until it really is ready to accept IPIs. | Miod Vallat | |
2007-10-28 | add new envy(4) driver for ICE1712 (aka VIA Envy24) audio devices. The | Alexandre Ratchov | |
device uses 32bit samples, up to 96kHz sample rate, 12 input channels and 10 output channels. Currently AK4524 codecs are supported, so M-Audio Delta cards should work. Playback and capture work, but the mixer is still incomplete. ok jakemsr@ | |||
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-28 | get rid of btoc/ctob in favor of atop/ptoa | Martin Reindl | |
2007-10-28 | When handling a userland data fault occuring in kernel mode, take the kernel | Miod Vallat | |
lock with KERNEL_LOCK, not KERNEL_PROC_LOCK. This lets bsd.mp run multiuser on a single-processor board. | |||
2007-10-28 | Disable interrupts around changing curproc and curpcb so these always match. | Miod Vallat | |
2007-10-27 | Grab kernel lock before calling interrupt handlers. | Mark Kettenis | |
ok miod@, deraadt@ | |||
2007-10-27 | Grab kernel lock for EXC_DSI. | Mark Kettenis | |
Requested by deraadt@ | |||
2007-10-27 | get rid of btoc/ctob in favor of atop/ptoa | Martin Reindl | |
2007-10-27 | Use the same assembly constraints for all inline assembler xmem constructs. | Miod Vallat | |
2007-10-27 | In __cpu_simple_lock() and __cpu_simple_lock_try(), use a local u_int instead | Miod Vallat | |
of a local __cpu_simple_lock_t (which is volatile), so that the compiler can optimize it to a register, instead of using a memory location (and doing stores into it when __cpu_simple_lock() is spinning). This makes the MP code a bit smaller and a bit faster. | |||
2007-10-27 | No need for an explicit pipeline synchronization in invalidate_pte(), the | Miod Vallat | |
xmem instruction does it for us. | |||
2007-10-27 | Be more strict when disassembling {f,}{st,x}cr and [bt]cnd instructions, | Miod Vallat | |
and display incorrect opcode encodings as invalid opcodes. | |||
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 | Be sure to enable interrupts on return from ddb if they were enabled before | Miod Vallat | |
the break. | |||
2007-10-25 | another case of product encoding is "Sun (TM) modelname", on the E250 | Theo de Raadt | |
2007-10-24 | Rely on 16 byte pcb alignment, and use double loads and stores during | Miod Vallat | |
context switches. Should have been commited ages ago (when pcb alignment was fixed). No functional change. | |||
2007-10-24 | Remove sir_lock, superseded by the atomic bit operations. | Miod Vallat | |
2007-10-24 | Turn curcpu() into an inline function instead of a macro relying on a GCC | Miod Vallat | |
extension. | |||
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-24 | pipleine -> pipeline | Miod Vallat | |
2007-10-24 | In cpu_switchto(), load pmap->pm_tlbpid manually, instead of expecting | Miod Vallat | |
pmap_update() to return with this value in v0. A void function. Bwahahaha. |