Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-02 | Add functions to allow the use of the FPU in the kernel. | Mark Kettenis | |
ok drahn@ | |||
2018-07-02 | vmm: wrap a long line and prefix a hex value printed in a debug printf | Mike Larkin | |
with 0x | |||
2018-07-02 | clarify what is actually needed from a header file being included | Mike Larkin | |
(previous comment was wrong, or outdated) | |||
2018-07-01 | Revert bit I didn't intend to commit. | Mark Kettenis | |
2018-07-01 | acpi: clean up some inconsistent style in the hid matching arrays | Mike Larkin | |
ok millert, kettenis, jcs, phessler, deraadt, mpi | |||
2018-07-01 | Hook up acpi(4) on arm64. Various bits of driver glue are still missing | Mark Kettenis | |
but this is enough to boot multi-user on the mcbin with suitable firmware. ok mlarkin@ | |||
2018-07-01 | Use generated string for the bus number extent. | Mark Kettenis | |
2018-07-01 | Lock the file descriptor table when accessing the `fd_ofileflags' array. | Visa Hankala | |
This prevents the array from being freed too early. In the function unp_internalize(), the locking also ensures the per-fdp flags stay coherent with the file instance. OK mpi@ | |||
2018-07-01 | Update IDTVEC, KIDTVEC, and KUENTRY to align with _ALIGN_TRAPS instead of | Philip Guenther | |
ALIGN_TEXT. For the places where IDTVEC and KIDTVEC are used in ways that would fail if a trap was inserted, provide IDTVEC_NOALIGN for use directly after other IDTVEC uses, and KIDTVEC_FALLTHROUGH for places where the code intentionally falls through to a KIDTVEC. "objdump -d" shows that this just converts nop-sleds to trap-sleds immediately after an unconditional jmp, or a retq, iretq, or sysretq. ok mortimer@ kettenis@ deraadt@ | |||
2018-07-01 | Allow ahci(4) to attach to acpi(4). | Mark Kettenis | |
ok deraadt@ | |||
2018-07-01 | Move acpi(4) attach glue into acpi_machdep.c. | Mark Kettenis | |
ok guenther@, deraadt@ | |||
2018-07-01 | Add retguard asm macros. | mortimer | |
ok guenther@ | |||
2018-07-01 | Use fnew() to allocate a struct file. Simplifies the code. | Mark Kettenis | |
ok mpi@, visa@ | |||
2018-07-01 | Remove semicolon before printing the AML name. | Mark Kettenis | |
spotted by deraadt@ | |||
2018-07-01 | Allow com(4) to attach to acpi(4). For now we will only use this on arm64 | Mark Kettenis | |
where this is needed to support serial console in ACPI mode. ok mlarkin@ | |||
2018-07-01 | Add support for _DSD Device Properties. | Mark Kettenis | |
ok mlarkin@ | |||
2018-07-01 | Add definitions for SPCR tables. | Mark Kettenis | |
ok mlarkin@ | |||
2018-07-01 | Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE. | Martin Pieuchot | |
ok tb@, sthen@ | |||
2018-07-01 | Provide _ALIGN_TRAPS macro for text alignment with a trap-sled, then | Philip Guenther | |
use it where that was manually written before. No binary change. ok deraadt@ | |||
2018-06-30 | Don't try to set XCR0_X87 when XSAVE isn't supported at all. Fixes | Philip Guenther | |
vmm on CPUs without XSAVE. Problem reported by Ax0n (ax0n (at) h-i-r.net) ok mlarkin@ deraadt@ | |||
2018-06-30 | Some tweaks such that ACPI 5.1 tables are recognized as well. | Mark Kettenis | |
2018-06-30 | Typo in comment in previous file which I said I'd address in the original | Mike Larkin | |
commit and forgot to do. (Sufrace -> Surface) | |||
2018-06-30 | acpisurface(4): driver for Surface Pro 4 and Surface Book hardware | Mike Larkin | |
buttons. ok phessler, deraadt, kettenis | |||
2018-06-30 | Remove strange /* End of file */ style. | Theo de Raadt | |
2018-06-30 | Don't steal processes from other CPUs if we're not scheduling processes on | Mark Kettenis | |
a CPU. ok deraadt@ | |||
2018-06-30 | Add intr_enable() here as well. | Mark Kettenis | |
2018-06-30 | Add intr_enable() function, intended for MI use to amd64 and i386 and use | Mark Kettenis | |
this in the acpi(4) suspend/resume code paths. ok deraadt@ | |||
2018-06-29 | Use <stdint.h> types. | Mark Kettenis | |
ok mpi@, jung@, krw@, deraadt@ | |||
2018-06-29 | ACPI: Allow (with warning) GPE handler reassignment, instead of returning | Mike Larkin | |
a failure code. ok kettenis | |||
2018-06-29 | vmm: add more information to a debug printf when the guest %xcr0 doesn't | Mike Larkin | |
match the host's mask | |||
2018-06-28 | Add missing <sys/param.h>. | Mark Kettenis | |
ok krw@, millert@, drahn@ | |||
2018-06-28 | remove other chunk of accidentally committed test code, spotted by deraadt | Stuart Henderson | |
2018-06-28 | remove accidentally committed test code, spotted by deraadt | Stuart Henderson | |
2018-06-28 | Add ci_acpi_proc_id member to struct cpu_info; needed by acpi(4). | Mark Kettenis | |
ok patrick@, drahn@ | |||
2018-06-28 | regen | Kevin Lo | |
2018-06-28 | Add Microchip Ethernet device IDs. | Kevin Lo | |
ok deraadt@ | |||
2018-06-28 | Remove unused/redundant prototypes. | Mark Kettenis | |
Pointed out by patrick@ | |||
2018-06-27 | regen | Martin Pieuchot | |
2018-06-27 | Revert previous, at least one pool need its IPL to be IPL_MPFLOOR as | Martin Pieuchot | |
found by visa@. | |||
2018-06-27 | Raise file_pool's IPL to prevent deadlocks with the newly unlocked | Visa Hankala | |
system calls. OK mpi@ | |||
2018-06-27 | Refactor to simplify - no functional change. | helg | |
ok mpi@ | |||
2018-06-27 | regen | Martin Pieuchot | |
2018-06-27 | Unlock 12 network-related syscalls. | Martin Pieuchot | |
This is possible now that the code doing file refcounting is mp-safe. Tested by many, ok tb@, visa@ | |||
2018-06-27 | Rework vbus(4) interrupt handling to be similar to cbus(4). Expose functions | Mark Kettenis | |
to ack and enable/disable interrupts and don't enable interrupts by default. Also don't ack interrupts by default. Make use of this in vcons(4) to avoid interrupt storms that may occur because of a race between the interrupt handler and the software interrupt handler. Don't enable the interrupt handler unless somebody actually has the console open. Ack the interrupt at the end of the softintr handler. Fixes console issue on SPARC T3 machines. ok claudio@ | |||
2018-06-26 | The disk specification in an Open Firmware device path depends on the bus | Mark Kettenis | |
binding for the disk interface. For traditional SCSI is is simply a number; i.e. the disk at target 0 is specified by @0. For SAS there are several options but newer Oracle firmware no longer accepts the traditional SCSI target specification. The best alternative is the PHY number and the disk at PHY number 0 is specified by @p0. To determine which binding to use, we look up the device_type of the parent. If that is "scsi-sas", use the PHY number instead of the SCSI target. Fixes booting from softraid on SPARC T3 and later. ok claudio@, stsp@ | |||
2018-06-26 | Make the system cache a small number of free lock list entries per CPU. | Visa Hankala | |
This reduces the contention of the `w_mtx' lock. OK mpi@ | |||
2018-06-26 | Remove a duplicate fd_used() call. The new file descriptor passed | Visa Hankala | |
to dupfdopen() has already been registered with fd_used() in fdalloc(). The duplicate call distorted the number of open file descriptors returned by getdtablecount(2) if a file was opened via /dev/fd/. While there, assert that the file instance should already be in the file list. OK mpi@ | |||
2018-06-26 | Make ast() call refreshcreds(). Tweak this code to be similar to the amd64. | Mark Kettenis | |
ok phessler@, guenther@ | |||
2018-06-26 | knf | Mike Larkin | |
2018-06-26 | Let acpi(4) pass down the bus dma tag. | Mark Kettenis | |
ok deraadt@ |