Age | Commit message (Collapse) | Author |
|
|
|
Clue stick from miod@
|
|
|
|
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs
polishing; most of this work done during h2k9 last month, although the
porting effort started earlier this year.
|
|
The work on the platform was made possible by a hardware donation
from Loongson Technology.
|
|
and put the pieces together by platform glue.
Feedback from miod@
|
|
Tested on a Lemote Yeeloong 8101B.
OK visa@, looks good to deraadt@
|
|
ok martijn@
|
|
- Remove the 'lint' target. lint has been removed with OpenBSD 5.2.
- Remove the 'tags' target. It does nothing of value.
- Replace 'clean::' with 'clean:', as requested by espie and millert,
and remove files from the 'clean' target, that are never generated.
- Don't create a file called 'depend' in 'make depend', but just do
nothing instead.
ok mpi tb
|
|
|
|
This makes the serial console work properly and makes Cubieboard4 go
multi-user.
|
|
|
|
|
|
|
|
|
|
|
|
ok deraadt@
|
|
initial thread
ok jsing@ kettenis@
|
|
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.
joint work with & ok natano, "let's try it" deraadt
|
|
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.
joint work with & ok natano, "let's try it" deraadt
|
|
Feedback from miod@
|
|
1) Replace '.elif !exists(${OBJDIR}/Makefile)' with just '.else'. espie
pointed out, that if the file existed, make wouldn't be reading this
file, so the check is superflous. Less clutter.
2) Unconditionally define the 'clean' and 'cleandir' targets, also when
obj doesn't exist. This changes the behaviour of 'make clean' to be
successful (doing nothing) without obj@ or obj/.
ok tb millert deraadt
|
|
outside bonito(4).
ok miod@
|
|
|
|
interrupt drives all the cnmac ports.
ok stsp@
|
|
reinstate the original of 115200
spotted by brad
|
|
Asked by and ok stsp@, ok jasper@
|
|
change the behavior on the system whose x2apic is disabled by BIOS.
ok sf
|
|
Skip a network port if its PHY cannot be found.
Tested on Lanner MR-326B (has fdt) by pirofti@, and
on EdgeRouter Pro (has fdt) and on EdgeRouter Lite (no fdt) by me.
|
|
when the system board is unhandled.
|
|
Further improve vmm's security model by restricting pledged vmm
processes to only do VMM_IOC_ ioctls on their associated VM (these
ioctls are _RUN, _RESETCPU, _INTR, _READREGS, or _WRITEREGS at
present). The vmm monitor (parent) process or any non-pledged
processes can still do ioctls on any VM. For example, a VM can only
terminate itself but vmctl or the monitor can terminate any VM.
This prevents reachover into other VMs: while escaping from a VM to
the host side (eg. through a bug in virtio etc.) pledge already kept
the attacker in a pledged and privsep'ed process, but now it also
prevents vmm ioctls on "other VMs".
OK mlarkin@
|
|
processes to only do VMM_IOC_ ioctls on their associated VM (these
ioctls are _RUN, _RESETCPU, _INTR, _READREGS, or _WRITEREGS at
present). The vmm monitor (parent) process or any non-pledged
processes can still do ioctls on any VM. For example, a VM can only
terminate itself but vmctl or the monitor can terminate any VM.
This prevents reachover into other VMs: while escaping from a VM to
the host side (eg. through a bug in virtio etc.) pledge already kept
the attacker in a pledged and privsep'ed process, but now it also
prevents vmm ioctls on "other VMs".
OK mlarkin@
|
|
reference to eddep in the kernel Makefile I could find is in 4.3BSD,
released some 30 years ago.
ok tb millert
|
|
without it.
|
|
|
|
fixes percpu allocations, like visa@ just did on mips64.
|
|
that percpu data areas get allocated properly on mips64 platforms. It is
too late to set the value during launch of secondary CPUs.
ok jasper@ kettenis@ dlg@
|
|
1. Include ioctls needed for pledge support (to be used with the upcoming
i386 vmd diff)
2. Don't assume we can enter an IA32e mode guest on entry when the host
doesn't have unrestricted guest capability
3. Don't enable PAE in the guest CR4 when launching on hosts without
unrestricted guest capability (vmd does not set up PAE bootstrap page
tables)
4. Don't use a bitfield for the MSR bitmap index (same fix as just committed
for amd64)
5. Store and restore EFER properly on exit to ensure that the host NXE
is recovered on exit
|
|
initializing the unused bits, leading to VMABORTs during vmentry. Found the
hard way on i386 vmm, but the problem could occur on amd64 as well.
|
|
ok kettenis@ patrick@
|
|
|
|
|
|
SRAM for the EMAC. Instead we rely on u-boot setting this up for us.
ok jsg@, patrick@
|
|
the 64-bit counter that we use as timecounter. Those SoCs have a generic
timer so we don't need the SoC-specific one.
|
|
The consensus is that this was done before the bugs in the cache
flushing code were fixed. The pl310 has been enabled on imx for some
time now and it works fine here on pandaboard as well.
ok patrick@ kettenis@ bmercer@
|
|
it happened on a kernel page, we need to consult the kernel pmap
instead of the current proc's pmap. Fixes panic when using tmpfs.
ok kettenis@
|
|
|
|
This can lead to tsleep in an interrupt context.
Tested by and ok kettenis@
|
|
This can lead to tsleep in an interrupt context, which resulted in the
following panic:
kernel diagnostic assertion "p->p_wchan == NULL" failed: file
"/usr/src/sys/kern/kern_sched.c", line 333
TID PPID PGRP UID S FLAGS WAIT COMMAND
86009 0 0 0 2 0x40014200 miiaut idle0
Reported by matthieu@ with sabre lite, analysis by guenther@
ok kettenis@
|
|
that lets e.g. the CPU access a USB controller or the USB controller
access the system's RAM. The bridge needs to be configured for the
devices before we can access the controller or a controller our memory.
Since it otherwise acts like a simplebus, simply attach simplebus once
we are finished.
"looks good to me" kettenis@
|