summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2006-07-10The setperf mechanism cannot handle multiprocessor systems. Ensure thatGordon Willem Klok
p4tcc and speedstep are not initialized in multiprocessor kernels. ok kettenis@
2006-07-07ANSIfyGordon Willem Klok
ok deraadt@, brad@, toby@
2006-07-02Oh what the heck. Enable zyd* even though it does not work yet :)Theo de Raadt
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR u_int32_t fields dp_size and dp_start. No functional change.
2006-06-26add commented out entries for bnx.Brad Smith
2006-06-25reorganize the code to be more sane.Brad Smith
ok toby@
2006-06-23we choose more drivers/firmwares over ext2fsTheo de Raadt
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-19pcn no longer fits, sighTheo de Raadt
2006-06-17Don't return low level errors to userspace in p4tcc_setperf().Dimitry Andric
requested by deraadt@, ok gwk@
2006-06-17In p4tcc, only check cpu stepping for the Pentium 4 family. Also killDimitry Andric
some trailing whitespace. ok gklok@
2006-06-16- add rum(4). commented out for now.Niall O'Higgins
2006-06-16From k*_powernow_setperf() always return 0, i.e.Gordon Willem Klok
Do not return low level errors to userspace where they will not/can not be coped with. : ----------------------------------------------------------------------
2006-06-15switch to using mpi instead of mpt; ok marcoTheo de Raadt
2006-06-15make the clock error calculation match dev/ic/com.c so that things with,Jason Wright
say, a 10x clock work.
2006-06-15Add proper masking of reserved bits, when we test if the thermalDimitry Andric
control MSR was written successfully. ok tedu@
2006-06-15In p3_get_bus_clock() don't fall through if we have in fact correctlyGordon Willem Klok
matched a model. Found in a dmesg from Craig Barraclough craigba AT creative.com.au. ok deraadt@
2006-06-14Missed a part of the kvm86 commit, if option KVM86 is defined it would beGordon Willem Klok
a good idea to actually call the init function, this was lost it was part of the diff ok toby@, mickey@
2006-06-13Do not compare apple with oranges when checking if the thermal controlMiod Vallat
register write was successful.
2006-06-13kvm86, missed a file.Gordon Willem Klok
ok mickey@, toby@
2006-06-13Kernel virtual mode 8086, currently disabled in GENERIC.Gordon Willem Klok
lots of help at c2k6 and after from toby@, ok toby@, mickey@
2006-06-13When adjusting the performance of the processor using p4tcc, the CPUsGordon Willem Klok
frequency remains unaltered. Remove the unecessary call to update_cpuspeed(), and add check the sucess of the operation, returing EIO in the event of failure. ok tedu@
2006-06-13Change the value returned if the CPU fails to honor a request toGordon Willem Klok
adjust frequency from 1 (EPERM) to EIO. Suggested by and ok tedu@
2006-06-12Some more improvements to EST:Dimitry Andric
- If an unknown EST CPU is encountered, use the known highest and lowest (and if different, the current) power state to generate a fake power state table on the fly. Thanks to canacar for the idea. - Calculate system bus clock speed before calling est_init(); it is needed to display proper MHz values from MSR values. - Also use the bus clock to identify EST CPU's, which is needed to differentiate e.g. Pentium M 715 and 760, which unfortunately have exactly the same MSR values. - Store power states directly as MSR values. Tested by many, "so when does it go in?" deraadt@
2006-06-12ANSIfy, and nuke newline at end of file.Gordon Willem Klok
ok toby@, "slap it in" deraadt@
2006-06-12Add stray interrupt reporting to the apicvec.s, fix the code for strayGordon Willem Klok
interrupt reporting in vector.s. Stray interrupts will only be reported if a kernel is compiled with option DEBUG, in the case of a non-ioapic kernel some stray interrupts may be erroneously reported durring the boot process. ok toby@, "get it in" deraadt@
2006-06-11Ansify. No binary change on amd64 and i386, not yet built on sgi. ok miod@Matthieu Herrb
2006-06-11Get rid of the wdt(4) char device. We have watchdog(4) andMichael Knudsen
watchdogd(4), so there's no point in supporting old, unused, non-generic interfaces. Tested by < jg , rilk - com>. The sensors available on the WDT501 model will be supported later using the sensors framework. ok mickey markus
2006-06-10ANSIfy, KNF and remove a silly comment.Gordon Willem Klok
ok toby@, "absolutely" deraadt@
2006-06-10ANSIfy, KNFGordon Willem Klok
ok toby@, deraadt@
2006-06-07enable azalia; ok jasonTheo de Raadt
2006-06-06use _C_LABEL() instead of _Michael Shalayeff
2006-06-02Spelling.Christopher Pascoe
2006-06-01Right at the end of a debug kernel build, the current Makefile copies bsdChristopher Pascoe
(with symbols) to bsd.gdb, then strips bsd. This diff makes it rename the file with symbols, and then asks strip to output the stripped version as bsd. Avoids a potentially lengthy wait when we would otherwise copy the large (50MB+) kernel with debug symbols. ok reyk@ ketennis@
2006-06-01Compile broken ipmi into GENERIC, so it's easy for marco to fixBob Beck
it by enabling it, but leave it disabled by default so it doesn't screw people over until it is fixed. ok dlg@, asked for by deraadt@
2006-06-01enable xge(4) on the CD RAMDISKs.Brad Smith
2006-06-01Disable ipmi in GENERIC for the moment - it breaks too much stuffBob Beck
on any of my sun amd64's as well as other ones (hp). We can re-enable it again when marco fixes it to be stable. ok deraadt@ and the crocodile hunter..
2006-05-31enable mpiDavid Gwynne
ok deraadt@
2006-05-31do not call acpi_powerdown() unless acpi has successfully initializedTodd T. Fries
ok gwk@ canacar@
2006-05-31enable mpi in GENERIC on amd64, i386, and macppc. jason already enabled itDavid Gwynne
on sparc64 last night. macppc gets it in RAMDISK as well.
2006-05-31Enable wdt(4) by default. ok deraadtMichael Knudsen
2006-05-29Remove unused NetBSD new-style %b strings.Miod Vallat
2006-05-29implement reliable microtime on smp (joint work w/ otto):Michael Shalayeff
send a bcast ipi from the cpu0 to all others to timestamp tsc on every clock intr. this way using local tsc provides accurate microtime() measurements. thus gettimeofday test passes now. otto@ deraadt@ ok
2006-05-29GENERICCan Erkin Acar
2006-05-28Remove obvious EST table dupe: Pentium M 733 and Pentium M 773 (VID #H),Dimitry Andric
and zap trailing spaces. No functional change.
2006-05-28Support for standard SD host controllers like the Ricoh 5C822, a smallUwe Stuehler
generic bus layer, and SCSI emulation for SD/MMC memory cards.
2006-05-28remove sc_ic member from struct com_softc as it is not used anywhereFelix Kronlage
ok miod@, martin@
2006-05-28do not print "root on ..." twice for the -a case, also cope with systemsTheo de Raadt
configured for 'root on nfs'