Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-11 | Increase/decrease the per-CPU interrupt depth variable around APIC interrupts | Mark Kettenis | |
like we do for PIC interrupts. ok art@, deraadt@, oga@ | |||
2010-01-10 | Fix two bugs in IPsec/HMAC-SHA2: | Markus Friedl | |
(1) use correct (message) block size of 128 byte (instead of 64 bytes) for HMAC-SHA512/384 (RFC4634). (2) RFC4868 specifies that HMAC-SHA-{256,384,512} is truncated to nnn/2 bits, while we still use 96 bits. 96 bits have been specified in draft-ietf-ipsec-ciph-sha-256-00 while draft-ietf-ipsec-ciph-sha-256-01 changed it to 128 bits. WARNING: this change makes IPsec with SHA-256 (the default) incompatible with older OpenBSD versions and other IPsec-implementations that share this bug. ok+tests naddy, fries; requested by reyk/deraadt | |||
2010-01-03 | enable aibs | Theo de Raadt | |
2009-12-20 | compile in utrh | Theo de Raadt | |
2009-12-09 | add uhts(4). | Matthieu Herrb | |
2009-12-09 | Remove the clean gdt bit and leave the idt part in. | Paul Irofti | |
Fixes most laptops out there on resume. Okay deraadt@. | |||
2009-12-09 | add two new MD only pmap apis to amd64 and i386 (not to be used in MI | Owain Ainsworth | |
code): pmap_flush_cache(vaddr_t, vsize_t) and pmap_flush_page(paddr_t) to flush the cache for virtual addresses and physical pages respectively using the clflush instruction. These apis will shortly be used by the agp bus_dma functions to avoid doing a wbinvd on each dmamap_sync. ok kettenis@, some comments from miod@ | |||
2009-12-09 | add cpufunc functions for the clflush instruction and the mfence | Owain Ainsworth | |
instruction. ok kettenis@ as part of a larger diff. | |||
2009-12-09 | Detect the cache line size for the clflush instruction when we identify | Owain Ainsworth | |
the cpu. ok kettenis@ as part of a larger diff. | |||
2009-12-04 | ahc fits again | Theo de Raadt | |
2009-12-01 | Don't claim to know about nehalem until we can be sure | Jonathan Gray | |
the the msr paths are sane. ok deraadt@ | |||
2009-12-01 | The MD ACPI PSS paths are using MSRs they shouldn't be | Jonathan Gray | |
so don't try to do EST on machines we don't know the bus_clock on for now. ok deraadt@ | |||
2009-11-30 | KNF | Paul Irofti | |
2009-11-30 | Bump up array size to prevent overflow when probing memory | Can Erkin Acar | |
on machines reporting > 32 memory regions. ok kettenis@ | |||
2009-11-29 | At suspend time there is no need for a fancy cr3 dance to decide if | Theo 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-29 | Reload mtrr state on all CPUs after updates. Seems to speed up X on MP | Mark Kettenis | |
systems, at least with Intel graphics. ok marco@, deraadt@ | |||
2009-11-27 | Move 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-26 | Reset 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-26 | do not pull acpi_wakecode.o into RAMDISKS | Theo de Raadt | |
2009-11-26 | move gcu* to near what it is used by | Theo de Raadt | |
2009-11-26 | Add an explicit check for supported models (10, 13, 15) before setting up the | Nicholas Marriott | |
Via CPU temperature sensor task, otherwise it is added for model 9 as well which is not supported. ok kevlo | |||
2009-11-25 | Repair typo in commented-out DRM option, 'sure' oga@ | Ian Darwin | |
2009-11-25 | add gcu(4) to GENERIC and RAMDISK_CD | Dariusz Swiderski | |
ok deraadt@ | |||
2009-11-25 | Make 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-24 | Save FPU state before suspend. | Mike Larkin | |
ok deraadt@, kettenis@ | |||
2009-11-24 | Poke CR3 one last time before resuming. Suggested by deraadt@. | Mike Larkin | |
ok deraadt@ | |||
2009-11-24 | enable uthum(4), and rearrange some nearby goop | Theo de Raadt | |
2009-11-23 | diffable against amd64 | Theo de Raadt | |
2009-11-23 | bios* devices need to call their children on suspend/resume. | Mike Larkin | |
ok deraadt@ | |||
2009-11-23 | Remove ACPI_SLEEP_ENABLED checks. | Paul Irofti | |
This enables by default the suspend/resume paths in the kernel. Okay deraadt@. | |||
2009-11-23 | pchb must walk children too | Theo de Raadt | |
2009-11-23 | Use config_activate_children() for our cf_activate function | Theo de Raadt | |
ok mlarkin pirofti | |||
2009-11-22 | Repost 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-18 | Don'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-15 | athn(4) has a future in here. | Theo de Raadt | |
2009-11-14 | athn(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-12 | oops my slow editor conspired against me | Theo de Raadt | |
2009-11-12 | if the table got messed up, early loop termination is not gauranteed, and | Theo de Raadt | |
subsequent code will be out of bounds; unlikely situation. found by parfait ok weingart | |||
2009-11-08 | update description for iwn(4) | Damien Bergamini | |
2009-11-04 | Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it. | Mark Kettenis | |
ok jsing@, miod@ | |||
2009-11-03 | fix 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-31 | s/Mhz/MHz/, MHz is a multiple of the SI unit hertz (whose symbol is Hz). | Igor Sobrado | |
2009-10-30 | correct interrupt status bits; patfbsd@davenulle.org | Theo de Raadt | |
2009-10-28 | delete balony comment; ok kettenis | Theo de Raadt | |
2009-10-28 | no more eisa, sorry | Theo de Raadt | |
2009-10-26 | Load %mxcsr when initializing the FPU on machines that support SSE. | Mark Kettenis | |
ok deraadt@ | |||
2009-10-24 | Match on `esm' as the device name, not `anything starting with esm'; ok dlg@ | Miod Vallat | |
2009-10-19 | Correct a target name so that we don't rebuild vers.o (and then | Philip 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-07 | This file is supposed to compile. | Theo de Raadt | |
2009-10-07 | add support for the temperature sensor of VIA Nano and C7-M CPUs. | Kevin Lo | |
some improvements suggested by jsg@ "commit" deraadt@ |