Age | Commit message (Collapse) | Author |
|
and move it to the end of machdep.c. Rework the actual implementation
for te MC14818 compatible RTC into something that can be used as a todr_handle.
ok mpi@
|
|
and move it to the end of machdep.o.
ok mpi@
|
|
|
|
can't be enabled.
|
|
perfectly happy without it.
ok patrick@
|
|
arrm32_machdep.c.
ok mpi@
|
|
implementation.
ok mpi@
|
|
that aren't claimed by kernel drivers can be used from userland.
ok sthen@
|
|
ok kettenis@
|
|
|
|
- move implementations next to eachother in the same file
- remove pointless call to resettodr() in inittodr()
- use OpenBSD define to get a minimum plausible time
- if RTC time is before minimum plausible time, reject it
- don't print "clock gained N days" on ramdisk
Hopefully this implementation can serve as a model for unification
into an MI implementation.
ok mpi@
|
|
This is really just an I2C controller.
ok patrick@
|
|
|
|
|
|
Actual gpio support (possibly including gpio(4) support) will come later.
ok jsg@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
|
|
ok jsg kettenis, testing by kmos also
|
|
driver to as well as nodes that start with a double underscore.
ok patrick@
|
|
found on the Raspberry Pi.
The driver was ported from NetBSD by Neil Ashford and tobhe@.
ok patrick@, tobhe@
|
|
ok kettenis@
|
|
present. Make sure bus_dmamap_alloc(9) allocates memory that meets that
constraint.
ok patrick@
|
|
to an appropriate value for the Raspberry Pi 4.
ok patrick@
|
|
low_mask as already used on high_mask to convince compiler to use 64
bits.
CID 1480717
CID 1480778
ok pd@
|
|
|
|
the Raspberry Pi 4.
ok deraadt@
|
|
random stack garbage.
CID 1492655
ok pd@
|
|
In its current state the driver relies on the firmware for initializing
the controller. Therefore it only really works when using the EDK2-based
UEFI firmware.
ok jsg@
|
|
ok jsg@
|
|
Upgrade stacktrace_save() to stacktrace_save_at() on architectures where
the latter is missing. Define stacktrace_save() as an inline function
in header <sys/stacktrace.h> to reduce duplication of code.
OK mpi@
|
|
|
|
|
|
Reduce differences with others architectures and make it possible to use
WITNESS on it.
Rename & keep the current recursive lock implementation as it is used by
the pmap.
Tested by Peter J. Philipp, otto@ and cwen@.
ok kettenis@
|
|
ok patrick@
|
|
bus_space_read_region_n, bus_space_write_region_n and
bus_space_set_region_n functions were all broken.
Same fix as arm64; Thanks to patrick@ for noting that mips64 had the same
code.
ok visa@
|
|
bus_space_read_region_n, bus_space_write_region_n and
bus_space_set_region_n functions were all broken.
Fixes mvneta(4) on arm64.
ok patrick@
|
|
cache-coherent or not. To implement this, acpi(4) gets two bus_dma tags
and passes the appropriate one when attaching devices based on _CCA.
On i386/amd64, where for all practical purpose DMA is always cache-coherent,
the two tags are the same. But on arm64 they are distinct.
ok patrick@
|
|
structure that is used in current mainline Linux device trees.
ok jsg@
|
|
ok gkoehler@
|
|
This exposes VMM_IOC_MPROTECT_EPT which can be used by vmd to lock in physical
pages. Currently, vmd just terminates the vm in case it gets a protection fault
in the future.
This feature is used by solo5 which uses vmm(4) as a backend hypervisor.
ok mpi@
Patch from Adam Steen <adam@adamsteen.com.au>
|
|
* Switch to using vcpu->vc_vmx_cr0_fixed[1|0] to check must be 0|1 bits,
rather than the cpu capabilities.
* Add the checks on the new values as per the SDM 2.5 CONTROL REGISTERS.
2.1 Bits 63:32 of CR0 and CR4 are reserved and must be written with zeros.
Writing a nonzero value to any of the upper 32 bits results in a
general-protection exception, #GP(0).
2.2 setting the PG flag when the PE flag is clear causes a general-protection
exception (#GP).
11.5.1 Cache Control Registers and Bits, Table 11-5. Cache Operating Modes
2.3 CD: 0, NW: 1, Invalid setting. Generates a general-protection exception
(#GP) with an error code of 0.
*. Don't alway assume, if the guest is not disabling paging, they are
enabling it, check the guest is actually enabling paging. also only read
cr4 when we actually need it, not right at the start.
ok mpi@
Patch from Adam Steen <adam@adamsteen.com.au>
|
|
for example, with locking assertions.
OK mpi@, anton@
|
|
ok jsg@
|
|
|
|
ok jsg@
|
|
ok jsg@
|
|
but the linker does not complain about missing symbols.
Prompted by miod@
|
|
ok jsg@
|
|
ok jsg@
|