Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-02 | Enable fanpwr(4), move sypwr(4) where it belongs. | Mark Kettenis | |
2018-06-01 | With option WITNESS we need to have a bit more KVA available during early | Mark Kettenis | |
bootstrap so allocate page tables for the first GB. ok deraadt@ | |||
2018-06-01 | Clear aesni_sc if the context is freed, to avoid leaving a dangling | Frederic Cambus | |
pointer behind. OK visa@ | |||
2018-06-01 | Add a kludge that fixes the build until com_fdt.c is ready for octeon. | Visa Hankala | |
2018-06-01 | Clear vc3_sc if the context is freed, to avoid leaving a dangling | Frederic Cambus | |
pointer behind. Pointed out by visa@, thanks! OK visa@ | |||
2018-06-01 | Enable witness(4) on select architectures to help the current MP work. | Visa Hankala | |
Requested by deraadt@ | |||
2018-05-31 | Return error values directly where appropriate, instead of using the err | Frederic Cambus | |
variable. While there, remove TODO about bitching. We haven't felt the need to bitch since the driver was commited, and we do not bitch in aesni_setup() either. OK visa@ | |||
2018-05-31 | Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now. | Mark Kettenis | |
ok patrick@ | |||
2018-05-31 | Enable bwfm(4) on Loongson for USB devices. | Frederic Cambus | |
Tested on a Lemote Yeeloong 8101B. OK visa@ | |||
2018-05-31 | Remove comcnspeed and comcnmode. They serve no purpose anymore. Configuring | Mark Kettenis | |
the serial port speed can be done through the device tree and these days everybody uses 8N1 for the mode. ok patrick@, visa@, jsg@ | |||
2018-05-31 | Remove comcnspeed and comcnmode. They serve no purpose anymore. Configuring | Mark Kettenis | |
the serial port speed can be done through the device tree and these days everybody uses 8N1 for the mode. ok patrick@, visa@, jsg@ | |||
2018-05-30 | Add sizes for free() for octeon. | Frederic Cambus | |
OK deraadt@, visa@ | |||
2018-05-30 | Define IPL_MPFLOOR on SP archs. | Martin Pieuchot | |
From Mathieu <naabed at poolp.org>, ok visa@ | |||
2018-05-30 | Remove comcnspeed variable, which gets set but is never actually used. | Mark Kettenis | |
This removes the (no-op) -1 and -9 kernel boot arguments. ok visa@ | |||
2018-05-28 | More steps for i386 Meltdown fix: | Alexander Bluhm | |
- name gdt explicitly in struct cpu_info_full - identfiy ARCH_CAPABILITIES_RDCL_NO and print in identifycpu() - in pmap.c build U-K table, handle PG_G accordingly - in pmap_switch() do not unmap the kernel, yet; but all pieces are in place - pmapae.c: on boostrap transfer pmap to pmapae tables, build U-K table and wire it, handle PG_G from hshoexer@; OK mlarkin@ | |||
2018-05-28 | Cleanup bootconfig.h and use strlcpy() to copy boot arguments. | Mark Kettenis | |
ok drahn@ | |||
2018-05-28 | Remove unused include file. | Mark Kettenis | |
ok drahn@ | |||
2018-05-28 | Drop include of <arm64/swi.h> and remove it. | Mark Kettenis | |
ok drahm@ | |||
2018-05-28 | Call readdisksector() instead of rolling our own. Drop <sys/systm.h> | Mark Kettenis | |
include. Reduces the diffs to the amd64/i386 version of this code. ok drahn@ | |||
2018-05-26 | Delete obsolete reference to setting segment registers | Philip Guenther | |
2018-05-26 | Only set fpu_save_len once and assert if it's too big or would differ | Philip Guenther | |
between CPUs ok kettenis@ mlarkin@ | |||
2018-05-26 | CR0_WP is already set in CR0_DEFAULT | Philip Guenther | |
2018-05-26 | Initialize ci_idle_pcb->pcb_cr0 just once, in cpu_attach(). | Philip Guenther | |
For secondary CPUs, %cr0 is initially loaded in cpu_spinup_trampoline so don't load it again in cpu_hatch(). ok kettenis@ | |||
2018-05-26 | Update comment to reflect xsave | Philip Guenther | |
2018-05-24 | vmm(4): unbreak i386 VMM_DEBUG build | Mike Larkin | |
2018-05-23 | Enable ccpmic(4) and tipmic(4). | Mark Kettenis | |
2018-05-23 | Enable bwfm(4). | Patrick Wildt | |
ok stsp@ | |||
2018-05-23 | Remove unused pmap_steal_memory_implementation(). It doesn't actually work | Mark Kettenis | |
and implementing this interface only really makes sense for architectures that use a direct map. ok patrick@, visa@ | |||
2018-05-23 | Move CR4_DEFAULT to specialreg.h where the CR4_* values are defined | Philip Guenther | |
ok mlarkin@ | |||
2018-05-22 | Define CR0_DEFAULT with our default CR0_* flags for various .S files. | Philip Guenther | |
Replace a hex constant with the correct CR0_* define in mptramp.S. Clean up lots and lots of whitespace glitches. no binary change. ok mlarkin@ | |||
2018-05-22 | Factor out the common FPU handling from vcpu_run_{vmx,svm}() into | Philip Guenther | |
vmm_fpu{restore,save}() ok mlarkin@ | |||
2018-05-22 | Delete antique sigdebug definitions | Philip Guenther | |
ok kettenis@ | |||
2018-05-20 | Stash the syscall number in tf_err so it can be reported by the SPL check | Philip Guenther | |
ok mlarkin@ mpi@ | |||
2018-05-17 | Make VMM_DEBUG kernels compile again; ok mlarkin | Mike Belopuhov | |
2018-05-16 | Move the code that decodes the i.MX6 PLLs and PFDs into imxanatop(4) | Patrick Wildt | |
instead of having imxccm(4) map more than it should and access the memory space that imxanatop(4) should be responsible for. ok kettenis@ | |||
2018-05-16 | Add glue for the USB3 controller on the i.MX8MQ SoC. | Patrick Wildt | |
Discussed with kettenis@ | |||
2018-05-16 | Implement pmap_growkernel(). Bump VM_MAX_KERNEL_ADDRESS now that we no | Mark Kettenis | |
longer pre-allocate the complete kernel page tables. ok patrick@, visa@ | |||
2018-05-15 | Remove a4x bus space hack. | Mark Kettenis | |
ok patrick@ | |||
2018-05-15 | Remove a4x bus space hack. | Mark Kettenis | |
ok patrick@ | |||
2018-05-14 | Add support for register shift/io-width to the console code as well. | Mark Kettenis | |
ok visa@, patrick@ | |||
2018-05-14 | Relax the way irqs are assigned. This diff does: | Mark Kettenis | |
- dynamic allocation of interrupts for dino(4) and gsc(4) - only mention irq locators for devices which use interrupts. - for gsc(4), this actually postpones interrupt allocation until gsc(4) attaches, so asp(4)/lasi(4)/wax(4) won't route the interrupt yet, but the gsc(4) child will take care of this. - remove the irq locator for the drivers which do not need a fixed assignment. siop and moongoose could benefit from this but don't work at the moment so this is left as an exercize to future kernel hackers. A side effect from this is that we do not need multiple sti(4) attachment lines, so PCI sti(4) devices will now attach as sti0 rather than sti2. With this diff, multiple dino(4) devices attached to the same parent will use different interrupt sources, and more than two dino(4) devices can attach. Tested on 715/75 (old-gen using asp), 715/100/XC (new-gen using lasi), B132L+, B180L, C240, B2000, C3650. From miod@ | |||
2018-05-14 | Expose memory barriers to userland. | Mark Kettenis | |
ok visa@, mpi@ | |||
2018-05-14 | Delete unused/obsolete labels | Philip Guenther | |
2018-05-13 | Fix code which is #ifdef TRAP_SIGDEBUG or DEBUG: wrong variable and | Philip Guenther | |
format string mismatch | |||
2018-05-11 | Fix fallout from i386 Meltdown preparation which is using interrupt | Alexander Bluhm | |
gates now. Interrupts for dna, fpu, and f00f_redirect were not properly enabled. Thus npxintr() tried to get the kernel lock with interrupts disabled causing a deadlock in pmap_tlb_shootwait(). Enable interrupts for dna, fpu, and f00f_redirect. dna and fpu leave the kernel directly, thus they have to disable interrupts again; f00f_redirect goes through calltrap which will enable interrupts. from hshoexer@; OK mlarkin@ | |||
2018-05-11 | Compile the EFI bootloader with -mfloat-abi=soft to prevent the compiler from | Mark Kettenis | |
using FPU instructions. Makes the bootloader work again after we switched clang to use -mfloat-abi=softfp by default. ok jsg@, patrick@ | |||
2018-05-09 | Fix a linking error in the IP26 kernel. This is a regression caused | Visa Hankala | |
by the addition of db_save_stack_trace(). sys/arch/mips64/mips64/trap.c:(.text+0x410): undefined reference to `u_intr' Pointed out by deraadt@ | |||
2018-05-09 | Avoid locking two vm_pages simultaneously in pmap_enter(). To achieve | Visa Hankala | |
that, remove any existing mapping before locking the new vm_page. This fix prevents a deadlock. Issue pointed out by witness(4). | |||
2018-05-09 | vm_page lookup does not need locking. Hoist it outside the pmap lock. | Visa Hankala | |
2018-05-09 | Implement stack trace saving on mips64. | Visa Hankala | |
OK mpi@ |