Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-03 | changes for isc fuse support. not enabled. ok beck deraadt. | Ted Unangst | |
from Sylvestre Gallon ccna.syl gmail.com | |||
2013-06-02 | Start working on hibernate support for Loongson | Paul Irofti | |
This is work in progress. Nothing to test or play with for now. Commiting it now so that I can work on it in-tree. Okay miod@ | |||
2013-06-02 | Revert previous: libsa/ufs.c was fixed to not use big types when not | Philip Guenther | |
necessary. If something crawls in again that needs these we want to know ok deraadt@ | |||
2013-06-02 | move octeonreg.h to a more generic location and add multiple inclusion | Jasper Lievisse Adriaanse | |
guards while here. ok uebayasi@ | |||
2013-06-02 | compile with -fno-builtin-exit | Jasper Lievisse Adriaanse | |
ok miod@ pirofti@ | |||
2013-06-02 | remove unneeded octeonreg.h include | Jasper Lievisse Adriaanse | |
2013-06-02 | - remove double rcs ids | Jasper Lievisse Adriaanse | |
2013-06-02 | Fix a bug where the calibration loop could show wrong CPU frequencies. | Gerhard Roth | |
In case the 'starttick' had a rather large value, the code could miss one or more cycles of the i8254 timer. ok tedu@ | |||
2013-06-02 | Hide members of __va_list in the implementation namespace | Philip Guenther | |
ok miod@ | |||
2013-06-02 | Fix descriptions of structures | Philip Guenther | |
2013-06-02 | Add the TLS relocations | Philip Guenther | |
2013-06-02 | Don't need gdt.h here | Philip Guenther | |
2013-06-02 | fix tpyo | Philip Guenther | |
2013-06-02 | To prevent lock ordering problems with the kernel lock, we need to make sure | Mark Kettenis | |
we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always raise the ipl to the highest level that has interrupts that grab the kernel lock. This will allow us to have "mpsafe" interrupt handlers at lower priority levels. No change for non-MULTIPROCESSOR kernels. discussed with many ok mpi@, tedu@ | |||
2013-06-01 | remove unused octeon prefetch macros which won't work due to the fact it | Jasper Lievisse Adriaanse | |
uses '.set arch=octeon' and as has only gotten support for that after the gplv3 switch. ok uebayasi@ | |||
2013-06-01 | Introduce a new amd64 IPI, x86_ipi_halt_realmode to park CPUS into real | Mike Larkin | |
mode and halt them. Needed for hibernate. ok deraadt@ kettenis@ "there's no risk there" | |||
2013-06-01 | as discussed with uebayasi@ we should only use the "sync" instruction on octeon, | Jasper Lievisse Adriaanse | |
instead of syncs/syncw etc. so remove the OCTEON_SYNC* macros and use mips_sync() directly. ok uebayasi@ | |||
2013-06-01 | Call x86_ipi_halt_realmode to park APs in real mode before unpacking image | Mike Larkin | |
ok deraadt@ | |||
2013-06-01 | as discussed with uebayasi@ we should only use the "sync" instruction on octeon, | Jasper Lievisse Adriaanse | |
instead of syncs/syncw etc. so remove the OCTEON_SYNC* macros and use mips_sync() directly. ok uebayasi@ | |||
2013-06-01 | unbreak tree (will take a shot at flash_activate later) | Theo de Raadt | |
2013-06-01 | - whitespace cleanup | Jasper Lievisse Adriaanse | |
- add a comment explaining how OCTEON_MAXCPUS was derived | |||
2013-06-01 | - remove more backward compat code and switch the callers over to the new ↵ | Jasper Lievisse Adriaanse | |
function ok uebayasi@ | |||
2013-06-01 | - remove an __mips_o32 block which'll never be used on openbsd | Jasper Lievisse Adriaanse | |
- remove some defines intended for backward compat, but that are unused now. ok uebayasi@ | |||
2013-06-01 | add missing license (PD) block | Jasper Lievisse Adriaanse | |
ok guenther@ | |||
2013-06-01 | cleanup and consolidate the spinlock_lock (what a name!) code. | Ted Unangst | |
it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread) | |||
2013-06-01 | Fix offset error when clearing the resume time stack pages | Mike Larkin | |
2013-06-01 | Add code to drop a CPU from long mode back to real mode, will be used to | Mike Larkin | |
park CPUs back to a known state in preparation for re-INIT/SIPIing them later in the hibernate resume cycle. | |||
2013-06-01 | add GENERIC.MP | Jasper Lievisse Adriaanse | |
ok miod@ pirofti@ | |||
2013-06-01 | corectly initialize the number of cores/cpus on the board. this fixes a NULL | Jasper Lievisse Adriaanse | |
deref in cpuattach() since we advertised only a single CPU, but tried to attach two. with this diff bsd.mp boots up on the ERL. discussed with pirofti@ ok miod@ pirofti@ | |||
2013-06-01 | remove bogus XXX comment, 32 is just the way it is. | Jasper Lievisse Adriaanse | |
2013-06-01 | Add vmx(4) to the kernel config, but comment it out for now. | Reyk Floeter | |
ok deraadt@ | |||
2013-06-01 | make the way of doing debug printfs generic | Jasper Lievisse Adriaanse | |
2013-05-31 | Replace shutdownhooks with activate functions, properly doing those | Theo de Raadt | |
operations only if device is console ok kettenis | |||
2013-05-31 | We need to halt the APs on MP hibernate resume or else they will be | Mike Larkin | |
executing code possibly causing side effects during the image unpack operation. But before we can halt the APs, we need to complete their init (as they will be hatched but idling, possibly with interrupts off). Introduces MD function hibernate_quiesce_cpus to do this, called from the MI hibernate resume code. ok deraadt | |||
2013-05-31 | Rename tpms(4), the driver for Apple USB touchpads, to utpms(4) and move | Martin Pieuchot | |
it to dev/usb because it could be used on intel based mac laptops. Discussed with jcs@, ok deraadt@ | |||
2013-05-31 | Change option -mcpu=armv5 to -march=armv6 and move it to Makefile.beagle. | rapha | |
ok bmercer@ | |||
2013-05-31 | remove counters for simplelocks | Ted Unangst | |
2013-05-31 | Unbreak after recent shutdown-hook removal. | Martin Pieuchot | |
2013-05-30 | Fix a bug in amd64 hibernate introduced when we moved the kernel to load at | Mike Larkin | |
16MB physical. Document the same in i386 (i386 was not affected, just commented for diffability) | |||
2013-05-30 | Make interrupt handling in hibernate resume MI by providing MD-specific | Mike Larkin | |
functions to enable and disable interrupts, if needed. If a platform doesnt need interrupt handling in this way, the MD function can be a no-op. discussed with pirofti and deraadt | |||
2013-05-30 | Even though we reserve 3 pages for the amd64 hibernate stack, we set the | Mike Larkin | |
resume time stack pointer to the first page reserved, effectively giving us only one page to work with. Found when I was debugging some unrelated stack issues in the resume code. | |||
2013-05-30 | If ACPI is not compiled in, pci_min_powerstate() has no facts to support | Theo de Raadt | |
is should return D3. It should return the current power state. ok kettenis mlarkin | |||
2013-05-30 | Enforce ca_activate tree-walks over the entire heirarchy for all events, | Theo de Raadt | |
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too | |||
2013-05-30 | fix typos in some comments | Mike Larkin | |
2013-05-30 | Switch to using unhyphenated VIA padlock mnemonics. VIA abandoned the | Matthew Dempsky | |
hyphen in their official programming guide sometime between 2003 and 2005, and Clang's integrated assembler does not support hyphenated mnemonics. ok jsg, deraadt | |||
2013-05-29 | Add PMAP_PA_MASK to mips64. Needed for loongson hibernate. | Paul Irofti | |
Okay miod@. | |||
2013-05-29 | remove non-existing kernel configurations | Jasper Lievisse Adriaanse | |
ok miod@ | |||
2013-05-27 | Use FLUSH_PIPELINE instead of rolling our own. No functional change. | Miod Vallat | |
2013-05-27 | Drop lvalue casts; allows this to compile with gcc 4. | Miod Vallat | |
2013-05-27 | Correctly specify the visible part of the rightmost tile when the current | Miod Vallat | |
resolution is not a multiple of the tile size, in emulation (text) mode. The usual 1280x1024 resolution ended up with the correct value, by chance, but a width of 1600 would be wrong. (X11 was running fine) Tested on the 1600x1024 resolution of the 1600SW display. Thanks to Johan Sanchez for lending me a 1600SW monitor and an adapter board. |