Age | Commit message (Collapse) | Author |
|
From Qingqing Zhuo
27e01f10d183cd444eb4a0919934391de4db4ff5 in linux 5.15.y/5.15.27
d738db6883df3e3c513f9e777c842262693f951b in mainline linux
|
|
default to glass console.
ok miod@, patrick@
|
|
|
|
true. This enables the discovery and probing of other LUNs the
target has to offer.
Add uk* to amd64 RAMDISK_CD so such devices are configured.
Allows bsd.rd as well as bsd[.mp] to boot on Oracle Cloud amd64
instances.
Issue reported by Ryan Kavanagh and Scott Nicholas via bugs@.
Original diff and much subsequent testing by Scott. Thanks!
ok dlg@ jmatthew@
|
|
M1 Ultra.
ok patrick@
|
|
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.
ok jmc@
|
|
ok miod@ deraadt@
|
|
disk, and would fall through to the active partition selection
from crystal kolipe, ok miod krw
|
|
to unbreak build of amd64 GENERIC
makes sense to jsing
|
|
If a host suspends or hibernates, a task in the middle of using
vcpu state may be rescheduled to another cpu. This is primarily a
problem for Intel hosts as vcpu state is kept local to the physical
cpu and must be flushed back to physical memory before another cpu
can issue certain vmx instructions.
This change ensures no tasks are actively using the vmm device,
flushes all vcpu state (if Intel hardware), and turns off virtualization
mode on the host cpus. Upon wakeup, we reverse the process.
Reported on bugs@ by mpi@. OK mlarkin@
|
|
|
|
Testing by hastings@ and myself.
i386 has a media size issue, deraadt@ will sort it out.
|
|
M1 Pro/Max machines and will hopefully continue to work on future models
by abstracting the magic flag that needs to be set using device tree
properties.
ok patrick@
|
|
requested by miod@
|
|
"Old debugging code obviously" deraadt@
|
|
that we can detect which instruction set extensions are supported without
relying in catching SIGILL.
ok deraadt@
|
|
nodes and properties to it like we do on arm64 and armv7.
ok patrick@
|
|
reflect the size of the new buffer like we do on arm64.
ok patrick@
|
|
in a register at call-time.
with & ok jsg@
|
|
ok jsg@
|
|
FreeBSDism we have no need for.
ok jsg@
|
|
address zero, as done on all other platforms.
ok deraadt@ kettenis@
|
|
of the MI fallback code; ok deraadt@ jsg@
|
|
ok mpi@ ratchov@ "More const is good" deraadt@
|
|
(works better with `cvs rm' prior to commit...)
|
|
|
|
appropriate byte swapping.
|
|
the size of the FDT to reflect the size of that buffer. This prevents
an FDT overflow if the original FDT doesn't have enough space for the
additional properties that we add to it in our bootloader.
Fixes boot on the mcbin.
tested by bluhm@, ok patrick@
|
|
detect when we read a key that isn't supported by the firmware.
Only provide RTC functionality if the "CLKM" key is implemented.
Fixes reading the time on machines with old SMC firmware from macOS 11.x.
ok jsg@
|
|
memory beyond the actual FDT data structure when adding information to the
device tree. This is especially problematic on ACPI systems where we add
lots of information to the device tree based on ACPI tables. Fix the FDT
code to never write beyond the end of the data structure and panic if we
run out of free space. Raise the amount of free space frm 4K to 16K for
the proto-FDT we use on ACPI systems. Bump the version number of the
arm64 bootloader.
ok visa@, patrick@
|
|
equivalent of bus_dmamap_unload(9) if active mappings exist. This fixes
the kerenal panics seen with bringing bwfm(4) down and up again.
ok jsg@, patrick@
|
|
ok miod@
|
|
ok miod@
|
|
ok patrick@
|
|
bindings before it was accepted in Linux. But handling both the
preliminary and (hopefully) final bindings can be done in a fairly clean
way.
ok jsg@
|
|
Firmware is available via fw_update(8).
ok stsp@
|
|
the "msi-ranges" property and converts it into a proper interrupt descriptor
for MSIs.
ok jsg@
|
|
ok mpi@
|
|
file.
No functional change, tested by me.
|
|
This was useful in early days of porting OpenBSD to LUNA-88K, but now
more detailed information is shown in dmesg.
Tested by me.
|
|
ok jsg@
|
|
has a method to read the counter that forms the base of the RTC. This seems
to be the preferred way to access the RTC going forward. The RTC offset is
still stored in the SPMI PMU, but we can use the nvmem interface to read
and write that. This makes the RTC work on systems with the M1 Pro/Max SoC.
Sprinkle some #ifdef SMALL_KERNEL around and enable the driver on RAMDISK
kernels.
ok patrick@
|
|
the RTC interface to the "sera" PMU found on Apple M1 systems.
ok patrick@
|
|
This version appears to be more scalable (supports more cores, more
interrupts) but is still fairly similar to the previous generation so
it makes sense for them to share a driver. One major difference is that
it seems that the new interrupt controller no longer has the ability to
have external interrupts target specific CPU cores. Instead it delivers
them to whichever core is willing to handle the interrupt. Since this
currently isn't compatible with what OpenBSD wants we disable the
delivery of external interrupts to the secondary cores by setting some
bits in an implementation-defined system register.
This makes OpenBSD run on M1 Pro/Max machines.
ok jsg@
|
|
that DART enabled with the mappings provided by the firmware. Otherwise
the display controller can no longer access the framebuffer and the
display goes black.
ok jsg@
|
|
layout where the physical (CPU) address needs to be shifted to allow for the
larger physical address space implemented in these SoCs. Make apldart(4)
handle this new page table layout based on the compatible property.
ok jsg@
|
|
|
|
ok jsg@
|
|
OK kettenis@
|
|
Pad trapframe and switchframe structs so that their size is a multiple
of 16 bytes. This makes context switching and exception handlers keep
kernel stack properly aligned.
OK kettenis@
|