| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-07-19 | Code cleanuplockdoc-10.99.5 | Merlin Scholz | |
| 2023-07-11 | Re-enable LINUX_COMPAT in GENERIC for easier testabilitylockdoc-10.99.5-0.1 | Merlin Scholz | |
| 2023-07-10 | Remove function we backportet from NetBSD 10 earlier | Merlin Scholz | |
| 2023-07-10 | Add file, line, func logging for memory allocs/frees | Merlin Scholz | |
| 2023-07-10 | Change asm logging to specify line -1 so that FAIL* doesn't replace it with NULL | Merlin Scholz | |
| 2023-07-10 | Fix incorrect IRQs for serial ports in the kernel config | Merlin Scholz | |
| 2023-07-10 | Fix GENERIC build and add proper bootloader config | Merlin Scholz | |
| 2023-07-10 | Fix wrong logged function name for asm calls and pointer size | Merlin Scholz | |
| 2023-07-10 | Add tracing for interrupts/exceptions | Merlin Scholz | |
| 2023-07-10 | Code cleanup to prepare for proper interrupt handling | Merlin Scholz | |
| 2023-07-10 | Fix kmutexes in the same way we fixed rwlocks in the last commit | Merlin Scholz | |
| 2023-07-10 | Fix rwlock_exit logging order bug | Merlin Scholz | |
| 2023-07-10 | Add IRQ tracing | Merlin Scholz | |
| 2023-07-10 | Implement missing Mutex and RW logging | Merlin Scholz | |
| 2023-07-10 | Implement logging for rwlock_enter() and rwlock_exit(), move from do-while ↵ | Merlin Scholz | |
| macros to dedicated functions to allow for return values. | |||
| 2023-07-10 | Implement file and line logging for mutex locks | Merlin Scholz | |
| This commit implements proper file and line logging as a proof of concept for mutex locks. The previous versions only logged the location inside the mutex_enter function, which was useless. To get correct filenames, calls to mutex_enter (which usually go directly to ASM) are replaced through the macro defined in lockdoc.h. This logs the according information and passes on the function call to the old ASM code. Furthermore, some other things like apm.c or patch.c had to be modified, to keep the code compilable, even with this new replacement macro. Also, the old logging methods in lockdebug.h have been removed, since we can not get the proper file and line by going through there. This commit only implements these changes for mutex_enter, mutex_spin_enter, mutex_exit and mutex_spin_exit, and serves as a template for changes in the other lock functions and types. | |||
| 2023-07-10 | Implement sending of LOCKDOC experiment information on startup | Merlin Scholz | |
| 2023-07-10 | Fix broken wait-methods in lockdoc-test | Merlin Scholz | |
| 2023-07-10 | Implement stubbed out lockdoc functions; update lockdoc_event.h | Merlin Scholz | |
| 2023-07-10 | Remove tsleep timeout from lockdoc-test to adapt to the recent changes in ↵ | Merlin Scholz | |
| the FreeBSD port | |||
| 2023-07-10 | Ignore Carrier Detect on tty when runngin under LOCKDOC kernel to curcumvent ↵ | Merlin Scholz | |
| Bochs's interesting implementation | |||
| 2023-07-10 | Implement lockdoc_test kernel module; hook run-bench.sh in/etc/rc; add ↵ | Merlin Scholz | |
| network drivers to LOCKDOC config | |||
| 2023-07-10 | Decouple LOCKDEBUG and LOCKDOC kernel flags | Merlin Scholz | |
| 2023-07-10 | First working lock logs | Merlin Scholz | |
| 2023-07-10 | Undo previous log_lock functions only used for testing | Merlin Scholz | |
| 2023-07-10 | Hook into lockdebug.h | Merlin Scholz | |
| 2023-07-10 | Separate LOCKDEBUG and LOCKDOG kernel flags | Merlin Scholz | |
| 2023-07-10 | First proper lockdoc hooks | Merlin Scholz | |
| 2023-07-10 | Fix memory padding by replacing char with enum in log_action | Merlin Scholz | |
| 2023-07-10 | Continue implementation | Merlin Scholz | |
| 2023-07-10 | Port over code skeleton | Merlin Scholz | |
| 2023-07-10 | Add sterilized LOCKDOC kernel config | Merlin Scholz | |
| 2023-07-07 | sys/param.h: Welcome to 10.99.5, courtesy of heartbeat(9). | riastradh | |
| 2023-07-07 | heartbeat(9): Fix grammaro in man page. | riastradh | |
| 2023-07-07 | Replace main(9) reference with code location | wiz | |
| 2023-07-07 | Sort SEE ALSO | wiz | |
| 2023-07-07 | amd64/ALL: Turn on heartbeat checks. | riastradh | |
| 2023-07-07 | heartbeat(9): New mechanism to check progress of kernel. | riastradh | |
| This uses hard interrupts to check progress of low-priority soft interrupts, and one CPU to check progress of another CPU. If no progress has been made after a configurable number of seconds (kern.heartbeat.max_period, default 15), then the system panics -- preferably on the CPU that is stuck so we get a stack trace in dmesg of where it was stuck, but if the stuckness was detected by another CPU and the stuck CPU doesn't acknowledge the request to panic within one second, the detecting CPU panics instead. This doesn't supplant hardware watchdog timers. It is possible for hard interrupts to be stuck on all CPUs for some reason too; in that case heartbeat(9) has no opportunity to complete. Downside: heartbeat(9) relies on hardclock to run at a reasonably consistent rate, which might cause trouble for the glorious tickless future. However, it could be adapted to take a parameter for an approximate number of units that have elapsed since the last call on the current CPU, rather than treating that as a constant 1. XXX kernel revbump -- changes struct cpu_info layout | |||
| 2023-07-07 | crashme(9): New crash methods with raised ipl or kpreempt disabled. | riastradh | |
| 2023-07-07 | doc/HACKS: Document PR port-alpha/57511 | rin | |
| 2023-07-07 | PR port-alpha/57511 Temporally disable secure PLT for alpha | rin | |
| until support is added to ld.elf_so(1). | |||
| 2023-07-07 | Fix locking error when setting the multicast filter to accept all | martin | |
| multicast frames, pointed out by Lwazi Dube. | |||
| 2023-07-07 | virtio(4): Fix byte order of DMA data for armeb in the same manner as | rin | |
| aarch64eb. Fix comments to explain what is going on for {arm,aarch64}eb on QEMU. This is not due to QEMU bugs; it correctly configures everything for little-endian environment, and we forcibly change byte order only for CPU cores during kernel bootstrap. | |||
| 2023-07-07 | Remove extra whitespace inserted during merge. No binary changes. | rin | |
| 2023-07-07 | Remove duplicate OpenBSD RCSID. | rin | |
| 2023-07-07 | lint: only skip 'unused' warnings after errors, not other warnings | rillig | |
| Previously, in -w mode, any warning suppressed further 'unused' warnings, even though there was no need to do that. This can be seen in the test gcc_attribute_var.c, where only the last unused variable from a function was marked as unused, the others slipped through. Fixed by counting the errors and the warnings separately and only combining them if actually desired. | |||
| 2023-07-07 | tprof(8): Add support for Skylake-X and Cascade Lake. | msaitoh | |
| 2023-07-07 | Modify comment. No functional change. | msaitoh | |
| 2023-07-07 | select(2), poll(2): Clarify return values. | riastradh | |
| 2023-07-07 | tests/lint: test all combinations of {func,obj}_{decl,def} | rillig | |
| For a non-static function definition that is not declared in a header, lint doesn't currently warn. The previous test didn't notice this. | |||
