Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-20 | Correctly compute the userland pte index in a pte page in the userland tlb miss | Miod Vallat | |
handler; from Naruaki Etomi (nullnilaki on gmail), thanks! | |||
2015-09-20 | Reset the `pending I$ flushes' flag in tfp_InvalidateICache() if invalidating | Miod Vallat | |
the whole I$. | |||
2015-09-19 | trivial "if(x) free(x)" replacement by "free(x)" | Sebastien Marie | |
ok miod@ | |||
2015-09-19 | No need for wsmux on these installation media, which lack USB support. | Miod Vallat | |
2015-09-19 | intr_barrier(9) for arm | Jonathan Gray | |
ok kettenis@ | |||
2015-09-18 | Go back to the previous approach when managing individual HPC DMA descriptors: | Miod Vallat | |
provide again an optional storage for a copy of the descriptor in the `sync' (fetch) function, and use the returned address afterwards. On IP22 systems (in the broader sense of the term, thus IP20/IP22/IP24), descriptors will remain in uncached memory and no local copies need to be made. On IP28 systems, descriptors will remain in cached memory (so as to avoid switching to `slow mode'), but a local copy will be performed with the necessary cache eviction work, so that speculative code execution on R10000 will not touch the real descriptor. With this in place, all the explicit descriptor cache operations in if_sq, some of them being redundant or operating on the wrong number of descriptors, can be removed, with the HPC DMA wrappers taking care of doing the right thing. Tested on IP22 and IP28. IP26 still unhappy but no worse than before. | |||
2015-09-18 | Use the local unixdev.h file rather than the outdated libsa one. | Miod Vallat | |
2015-09-18 | Remove support for building the boot blocks with DEBUGFLAGS=-D_TEST, which is | Miod Vallat | |
supposed to create a userland binary in order to test non-boot related functionality. This feature has been bitrotting in a non-compiling state for years, and causes a too-many-ifdefs disease now that there are intrusive EFI changes. No functional change. | |||
2015-09-18 | Drop the workarounds allowing SMALL_KERNEL (i.e. installation media) to be | Miod Vallat | |
booted from old (< 2.10) bootblocks. | |||
2015-09-18 | Fix an uninitialized variable found by Maxime Villard's Brainy. | Visa Hankala | |
While here, fix the size parameter of bus_dmamem_unmap() in iec_alloc_physical(). ok miod@ | |||
2015-09-16 | Fix uninitialized variable found by Maxime Villard's Brainy Code Scanner. | Daniel Dickman | |
ok uebayasi@, mlarkin@ | |||
2015-09-15 | Fix overlapping memcpy found by Maxime Villard's Brainy Code Scanner. | Mark Kettenis | |
2015-09-14 | unify free(NULL,size) behaviour by allowing passing NULL | Sebastien Marie | |
ok millert@ jasper@ | |||
2015-09-14 | Fix more ifmedia64 fallout in the kernel. It's hiding everywhere... | Stefan Sperling | |
2015-09-13 | intr_barrier(9) for loongson, octeon and sgi. | Mark Kettenis | |
2015-09-13 | intr_barrier(9) for alpha. | Mark Kettenis | |
2015-09-13 | intr_barrier(9) for hppa. | Mark Kettenis | |
2015-09-13 | remove delta | Theo de Raadt | |
2015-09-13 | intr_barrier(9) for macppc and socppc. | Mark Kettenis | |
2015-09-13 | Locators are long now. | Miod Vallat | |
2015-09-13 | Needs <sys/systm.h> before <sys/syscall_mi.h> now. | Miod Vallat | |
2015-09-13 | intr_barrier(9) for i386. | Mark Kettenis | |
2015-09-13 | Introduce intr_barrier(4), an interface that guarantees that an interrupt | Mark Kettenis | |
handler that was running has finished. ok miod@, guenther@ (both for the equivalent sparc64 diff) | |||
2015-09-13 | Introduce intr_barrier(4), an interface that guarantees that an interrupt | Mark Kettenis | |
handler that was running has finished. ok miod@, guenther@ | |||
2015-09-13 | Adjust printf for the fact that device locators are now long. | Mark Kettenis | |
2015-09-13 | <sys/systm.h> must be before <sys/syscall_mi.h> now. | Miod Vallat | |
2015-09-12 | Restore SMBIOS detection in ISA. OK yasuoka@ | Masao Uebayashi | |
2015-09-12 | Add missing free() in efid_io(). Found by jsg. | YASUOKA Masahiko | |
ok kettenis jsg | |||
2015-09-12 | Explicitely include <arm/armreg.h> here instead of expecting previously | Miod Vallat | |
included files to bring it in. | |||
2015-09-12 | Add a few -fno-builtin-foo to silence the build. | Miod Vallat | |
2015-09-12 | Rework fb_setsize() logic to get rid of gotos. | Miod Vallat | |
2015-09-12 | Also print the error registers in the ddb callback. | Miod Vallat | |
2015-09-11 | Make the powerpc pmap (more) mpsafe by protecting both the pmap itself and the | Mark Kettenis | |
pv lists with a mutex. This should make pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) safe to use without holding the kernel lock. ok visa@, mpi@, deraadt@ | |||
2015-09-11 | Build actual boot code with -D_STANDALONE so that we do not include userland | Miod Vallat | |
headers by mistake. | |||
2015-09-11 | Save/restore MSR_APICBASE during suspend/resume | Stefan Fritsch | |
This register contains the x2apic enable bit. Restoring it re-enables x2apic on the application processors at resume. On the boot processor, the normal initialization code path is used. Tested by many OK mlarkin@ "Go for it" deraadt@ | |||
2015-09-11 | Make room for media types of the future. Extend the ifmedia word to 64 bits. | Stefan Sperling | |
This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq. Old ifconfig and dhclient binaries can still assign addresses, however the 'media' subcommand stops working. Recompiling ifconfig and dhclient with new headers before a reboot should not be necessary unless in very special circumstances where non-default media settings must be used to get link and console access is not available. There may be some MD fallout but that will be cleared up later. ok deraadt miod with help and suggestions from several sharks attending l2k15 | |||
2015-09-10 | Fix error value in ktrace syscall records. ok deraadt@ dlg@ guenther@ | Miod Vallat | |
2015-09-10 | Now that the GPT code tries really hard not to get in the way and | Kenneth R Westerback | |
accidentally capture disks ... Eliminate kernel option GPT and associated #ifdef GPT/#endif. Let everybody get on the GPT bandwagon and we'll see what wheels fly off. Requested by & ok deraadt@ | |||
2015-09-10 | reduce .Nd to one line and kill .Tn while here | Ingo Schwarze | |
2015-09-10 | Fix a zx_putchar() stupid bug I introduced nine years ago by actually | Miod Vallat | |
initializing variables before they get used. | |||
2015-09-10 | Initialize `pc' earlier so that the siginfo pc value is correct in case of | Miod Vallat | |
genuine FPU exception. | |||
2015-09-10 | Call readgptlabel() from readdoslabel() instead of MD readdisklabel(). | Kenneth R Westerback | |
Call it if and only if there is an MBR on sector 0 that contains 1 and only 1 partition; that partition is an EFI partition; and it covers the entire disk or as much of the disk as can be covered in an MBR partition. Be paranoid about restoring any possible tweaks to the label being built in the case that readgptlabel() fails, and in that case return to the readdoslabel() code. ok deraadt@ | |||
2015-09-09 | The mplock implementations on MP-enabled mips64 platforms, octeon and | Visa Hankala | |
sgi, are identical. Put one implementation in mips64 and drop the platform-specific copies, to remove duplicated code. ok miod@ | |||
2015-09-08 | Give the pool page allocator backends more sensible names. We now have: | Mark Kettenis | |
* pool_allocator_single: single page allocator, always interrupt safe * pool_allocator_multi: multi-page allocator, interrupt safe * pool_allocator_multi_ni: multi-page allocator, not interrupt-safe ok deraadt@, dlg@ | |||
2015-09-08 | sizes for free(); ok semarie | Theo de Raadt | |
2015-09-08 | sizes for free(); ok semarie | Theo de Raadt | |
2015-09-08 | sizes for free(); ok semarie | Theo de Raadt | |
2015-09-08 | sizes for free(); ok semarie | Theo de Raadt | |
2015-09-08 | sizes for free(), when known; ok semarie | Theo de Raadt | |
2015-09-08 | sizes for free(); ok semarie | Theo de Raadt | |