Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-31 | Recommit preparation for i386 Meltdown fix after OpenBSD 6.3 release. | Alexander Bluhm | |
- provide a cpu_softc for cpu_attach() etc. - replace per PCB TSS with per CPU TSS The first change prepares for cpu_info being embedded in a cpu_full_info. Therefore during autoconf/cpu_attach we hand down a softc. The second change removes the per PCB TSS. We now have one TSS per CPU, thus in cpu_switchto() we only have to patch the ring 0 stack pointer instead of loading a new TSS. This also allows for cleaning up the GDT, so we only have a single slot for the TSS. from hshoexer@; OK deraadt@ | |||
2018-03-31 | r1.7 of xhci_fdt.c pulls in the regulator API. | Visa Hankala | |
Add ofw_regulator.c and its dependencies to fix build. | |||
2018-03-30 | Enable imxanatop(4). | Patrick Wildt | |
2018-03-30 | Move imxanatop(4) to sys/dev/fdt. | Patrick Wildt | |
2018-03-30 | No need to include armv7var.h. | Patrick Wildt | |
2018-03-30 | No need to include armv7var.h and imxccmvar.h. | Patrick Wildt | |
2018-03-30 | Remove unused PCIe code from imxiomuxc(4). I'm sure we can do this | Patrick Wildt | |
better now with the FDT framework when we actually tackle PCIe. | |||
2018-03-30 | Enable imxiic(4). | Patrick Wildt | |
2018-03-30 | Move imxiic(4) to sys/dev/fdt. | Patrick Wildt | |
2018-03-30 | Attach imxesdhc(4) to i.MX8M as well. | Patrick Wildt | |
2018-03-30 | Enable imxesdhc(4). | Patrick Wildt | |
2018-03-30 | Move imxesdhc(4) to sys/dev/fdt. | Patrick Wildt | |
2018-03-30 | Enable imxgpio(4). | Patrick Wildt | |
2018-03-30 | Move imxgpio(4) to sys/dev/fdt so it can be shared between arm64 and armv7. | Patrick Wildt | |
2018-03-30 | Replace MD disable/restore interrupt in the establish and disestablish | Patrick Wildt | |
code in imxgpio(4) with splhigh() and splx() which is MI and should be good enough for the job. Discussed with kettenis@ | |||
2018-03-30 | Cut down imxgpio(4) with a big axe. There were plenty of pieces that | Patrick Wildt | |
were not needed anymore since we switched to the FDT-based GPIO code. | |||
2018-03-30 | Add sizes to some free() calls. | David Hill | |
OK visa@ | |||
2018-03-30 | Store the allocation size in inpcbhead for free(). | David Hill | |
OK visa@ | |||
2018-03-30 | Remove a premature newline print. A later print already does it and | Patrick Wildt | |
thus creates an erroneous line break. | |||
2018-03-30 | Unlock the NET_LOCK() before calling vn_lock(9) to avoid a lock ordering | Martin Pieuchot | |
issues with upcoming NFSnode's locks. ok visa@ | |||
2018-03-30 | Attach imxgpc(4) to i.MX8M as well. | Patrick Wildt | |
ok kettenis@ | |||
2018-03-30 | Enable imxgpc(4). | Patrick Wildt | |
2018-03-30 | Move imxgpc(4) to sys/dev/fdt so it can be shared between arm64 and armv7. | Patrick Wildt | |
ok kettenis@ | |||
2018-03-30 | Add some sensible error checking in the hibernate io path, helpfully | Jonathan Matthew | |
suggested by coverity (via daniel@) | |||
2018-03-29 | Call imxuart(4) early attach on arm64. | Patrick Wildt | |
2018-03-29 | Move imxuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7. | Patrick Wildt | |
Discussed with kettenis@ | |||
2018-03-29 | Initialize the secondary core's schedstate before spinning them up. | Patrick Wildt | |
ok kettenis@ | |||
2018-03-29 | Set p->p_cpu in cpu_switchto() like we do on other MP architectures. | Patrick Wildt | |
ok kettenis@ | |||
2018-03-29 | Enable mvclock(4), mvicu(4), mvpinctrl(4), mvgpio(4) and mvrtc(4). This | Mark Kettenis | |
brings us very basic support for the SolidRun MACCHIATOBin. | |||
2018-03-29 | Add mvrtc(4), a driver for the RTC integrated on various Marvell Armada SoCs. | Mark Kettenis | |
2018-03-29 | Use "marvell,spi-ranges" property to map GICP interrupts numbers into GIC | Mark Kettenis | |
SPI numbers. Makes higher numbered GICP interrupts actually work. | |||
2018-03-29 | Add support for legacy binding used in device trees for Marvell devices for | Mark Kettenis | |
USB PHY support and add support for "usb-nop-xceiv" PHYs. ok patrick@, jsg@ | |||
2018-03-29 | Make sparc64 ofwboot open the softraid boot chunk early on and keep the | Stefan Sperling | |
handle open until a kernel has been loaded from the softraid volume. This works around an apparent memory leak in the firmware on T5220 which fails to load an ldom guest kernel from softraid with a "Fast Data Access MMU Miss" trap after many OF_open()/OF_close() calls. This problem goes away when we call OF_open()/OF_close() just once instead of for every block we want to read. Crank ofwboot version to 1.10. Make sure to keep working boot media around before upgrading! Softraid boot of an T5220 ldom guest (CRYPTO), and a v240 (RAID 1), have been tested and are known to work. Please report issues to bugs@. ok kettenis@ | |||
2018-03-29 | NET_LOCK is also required in pppxwrite and pppxclose. | Jonathan Matthew | |
ok dlg@ mpi@ | |||
2018-03-29 | Remove RDTSCP from the CPUID flags reported to the guest VM. The instruction | Mike Larkin | |
was already disabled, but reporting it as available and then failing it caused SmartOS to crash during boot. ok pd@ | |||
2018-03-29 | KNF (wrap a long line) | Mike Larkin | |
2018-03-29 | Explicitly declare the gdt storage in struct cpu_info_full instead of | Philip Guenther | |
implicitly putting it in the padding to page-size. This eliminates a couple Coverity issues from the Meltdown work. testing daniel@ ok mlarkin@ | |||
2018-03-28 | Use RWL_IS_VNODE with locks that are acquired through VOP_LOCK(), | Visa Hankala | |
to appease WITNESS. ext2fs and ffs already use the flag. The same locking pattern appears with other file systems too, so this patch addresses the remaining cases. OK mpi@ | |||
2018-03-28 | - memory leak occurs when adding same table twice. | Alexandr Nedvedicky | |
(tj found fix in FreeBSD repo for us) OK @bluhm, @henning | |||
2018-03-28 | Call FREF() right after fd_getfile() in getsock(). | Martin Pieuchot | |
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, bluhm@ | |||
2018-03-28 | Call FREF() right after fd_getfile() in sys_flock(). | Martin Pieuchot | |
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, bluhm@ | |||
2018-03-28 | Call FREF() right after fd_getfile*() in pread(), prwrite() & co. | Martin Pieuchot | |
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, tedu@, bluhm@ | |||
2018-03-28 | Check for possible race after sleeping instead of using a rwlock to | Martin Pieuchot | |
protect insertions in `nm_ntree'. This will prevent a future lock ordering problem with NFSnode's lock. ok tedu@, visa@ | |||
2018-03-28 | Mark ext2fs inode recursive lock as RWL_IS_VNODE like for ffs to let it | Martin Pieuchot | |
play with WITNESS. ok visa@ | |||
2018-03-28 | Configure tx and rx chain delay based on device tree properties. | Mark Kettenis | |
ok mlarkin@ | |||
2018-03-28 | drm/edid: set ELD connector type in drm_edid_to_eld() | Jonathan Gray | |
From Jani Nikula b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123 1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux | |||
2018-03-28 | drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off) | Jonathan Gray | |
From Chris Wilson 1b3ec39d3b6d1d252e03a86fcdcc8f8a2970258e in linux 4.4.y/4.4.123 608b20506941969ea30d8c08dc9ae02bb87dbf7d in mainline linux | |||
2018-03-27 | Add acpicmos(4), a driver that implements SystemCMOS OperationRegion | Mark Kettenis | |
access support. This fixes machines where the AML doesn't check whether support for this OperationRegion type has been registered by the OS. ok mlarkin@ | |||
2018-03-27 | Use memcpy instead of bcopy when the memory does not overlap. | David Hill | |
OK deraadt@ florian@ | |||
2018-03-27 | Make sure that programs violating a pledge(2) promise or some memory | Martin Pieuchot | |
protection cannot block the final SIGABRT. While here apply the same logic to ddb(4)'s kill command. From semarie@, ok deraadt@ |