summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2009-12-04ahc fits againTheo de Raadt
2009-12-01Don't claim to know about nehalem until we can be sureJonathan Gray
the the msr paths are sane. ok deraadt@
2009-12-01The MD ACPI PSS paths are using MSRs they shouldn't beJonathan Gray
so don't try to do EST on machines we don't know the bus_clock on for now. ok deraadt@
2009-11-30KNFPaul Irofti
2009-11-30Bump up array size to prevent overflow when probing memoryCan Erkin Acar
on machines reporting > 32 memory regions. ok kettenis@
2009-11-29At suspend time there is no need for a fancy cr3 dance to decide ifTheo de Raadt
pmap_activate() should be called to force the kthread into the kernel pmap. If it is i386 it is lazy pmap it may not be in the kernel kthread, so it must be called so that pmap_activate can decide. If it is amd64 without lazy pmap, it must not be called. A comment is added to remind us about this in the future in case these assumptions change. ok kettenis
2009-11-29Reload mtrr state on all CPUs after updates. Seems to speed up X on MPMark Kettenis
systems, at least with Intel graphics. ok marco@, deraadt@
2009-11-27Move MB_LEN_MAX into the machine-independent sys/limits.h header,Philip Guenthe
rather than defining it separately for each architecture. Also set it to 4, to accommodate for future UTF-8 support (rfc3629). Diff by stsp, committing to catch the libc major bump ok kettenis@, guenther@
2009-11-26Reset the wakeup vector to ensure that we don't resume on reboot.Mike Larkin
Temporarily disabled for debugging purposes, but can be turned on if needed. ok deraadt@
2009-11-26do not pull acpi_wakecode.o into RAMDISKSTheo de Raadt
2009-11-26move gcu* to near what it is used byTheo de Raadt
2009-11-26Add an explicit check for supported models (10, 13, 15) before setting up theNicholas Marriott
Via CPU temperature sensor task, otherwise it is added for model 9 as well which is not supported. ok kevlo
2009-11-25Repair typo in commented-out DRM option, 'sure' oga@Ian Darwin
2009-11-25add gcu(4) to GENERIC and RAMDISK_CDDariusz Swiderski
ok deraadt@
2009-11-25Make sure we get a clean gdt from the BIOS.Paul Irofti
Some vendors screw us up on resume giving back a dirty gdt which prevents us to go into protected mode. This makes sure the gdt is clean, its the only way to do this and its the only way to be sure we're clean on resume. This fixes quite a few laptops that didn't resume but rebooted or did other screwy things because of a dirty gdt. Worked with mlarkin@ for quite a few houres last night. Tested by many on both amd64 and i386. Okay deraadt@.
2009-11-24Save FPU state before suspend.Mike Larkin
ok deraadt@, kettenis@
2009-11-24Poke CR3 one last time before resuming. Suggested by deraadt@.Mike Larkin
ok deraadt@
2009-11-24enable uthum(4), and rearrange some nearby goopTheo de Raadt
2009-11-23diffable against amd64Theo de Raadt
2009-11-23bios* devices need to call their children on suspend/resume.Mike Larkin
ok deraadt@
2009-11-23Remove ACPI_SLEEP_ENABLED checks.Paul Irofti
This enables by default the suspend/resume paths in the kernel. Okay deraadt@.
2009-11-23pchb must walk children tooTheo de Raadt
2009-11-23Use config_activate_children() for our cf_activate functionTheo de Raadt
ok mlarkin pirofti
2009-11-22Repost the vbios and remove a spurious cli on i386 ACPI resume code.Mike Larkin
Makes i386 and amd64 behave the same way with respect to vbios repost. ok pirofti@
2009-11-18Don't whinge about not knowing the bus_clock for EP80579 (model 0x15)Jonathan Gray
as there is no FSB and the processors don't have speedstep anyway.
2009-11-15athn(4) has a future in here.Theo de Raadt
2009-11-14athn(4), a driver for Atheros 802.11a/g/n devices.Damien Bergamini
written from scratch based on the vendor driver for Linux (ath9k). AR9285 and AR9287 parts are 100% untested. only basic functionnalities are enabled for now. committed over an AR9281. "commit" deraadt
2009-11-12oops my slow editor conspired against meTheo de Raadt
2009-11-12if the table got messed up, early loop termination is not gauranteed, andTheo de Raadt
subsequent code will be out of bounds; unlikely situation. found by parfait ok weingart
2009-11-08update description for iwn(4)Damien Bergamini
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
2009-11-03fix previous commit.Damien Bergamini
do not ignore BUS_DMA_NOCACHE (used by some variants of auich and ati drm only). ok kettenis "That looks right" deraadt
2009-10-31s/Mhz/MHz/, MHz is a multiple of the SI unit hertz (whose symbol is Hz).Igor Sobrado
2009-10-30correct interrupt status bits; patfbsd@davenulle.orgTheo de Raadt
2009-10-28delete balony comment; ok kettenisTheo de Raadt
2009-10-28 no more eisa, sorryTheo de Raadt
2009-10-26Load %mxcsr when initializing the FPU on machines that support SSE.Mark Kettenis
ok deraadt@
2009-10-24Match on `esm' as the device name, not `anything starting with esm'; ok dlg@Miod Vallat
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-10-07This file is supposed to compile.Theo de Raadt
2009-10-07add support for the temperature sensor of VIA Nano and C7-M CPUs.Kevin Lo
some improvements suggested by jsg@ "commit" deraadt@
2009-10-06Allow MD limits for allocating PCI io and mem space and specify limits onMark Kettenis
i386 and amd64 to make avoid legacy ISA I/O registers. Fixes issues with ThinkPad T-series Dock II units as reported by sobrado@ ok miod@
2009-10-05wrap an annoying long line (like amd64)Theo de Raadt
2009-10-03Properly handle XMM exceptions instead of panicing the kernel. Fixes theMark Kettenis
issue reported by Slava Pestov. ok deraadt@
2009-09-30Fix comments to match reality.Tobias Weingartner
Thank you Vladimir Kirillov <proger () hackndev ! com>
2009-09-28Make video buffer area and BIOS areas unavailable for PCI resource allocation.Mark Kettenis
This should prevent problems on systems where these areas are not reserved in the BIOS memory map. ok miod@, oga@, marco@
2009-09-20Back out via nano temperature sensor changes.Jonathan Gray
They break ramdisks as noticed by jasper, and have not been adequately discussed.
2009-09-20add support for VIA Nano cpu core temperature sensorKevin Lo
ok deraadt@
2009-09-18For some dark reason there's a bit on the VLINK device of this chipsetMark Kettenis
that makes the PCIE device show up as a host bridge instead of a PCI-PCI bridge. As a result any devices sitting behind it won't be detected. Whack the device into PCI-PCI mode such that we can walk the PCI bus hierarchy the normal way and detect all devices. Fixes PR 6215. ok dlg@
2009-08-25Legacy-free PC hardware do not have a real PS/2 keyboard controller, butMiod Vallat
rather have the USB HCI emulate it during boot, while legacy mode is enabled. This causes pckbd0 to attach as the console device, but is lost as soon as the USB HCI driver attaches. The disappearance of the emulated PS/2 controller can however be detected in pckbc(4) - which is supposed to attach after [eou]hci(4), with the controller refusing to ack commands and replying ``please resend'' instead. In that case, the kernel will now no longer attach pckbd, and will perform a new console input device selection, allowing the (real) usb keyboard to become the console. Thanks to krw@ for countless tests on legacy-free hardware; also tested on more conventional hardware by naddy@ and I. Only amd64 and i386 platforms are affected by this change.