summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/conf
AgeCommit message (Collapse)Author
2018-04-02Enable imxccm(4).Patrick Wildt
2018-04-02Enable dwpcie(4).Mark Kettenis
2018-03-31Enable mvtemp(4).Mark Kettenis
2018-03-30Enable imxanatop(4).Patrick Wildt
2018-03-30Enable imxiic(4).Patrick Wildt
2018-03-30Enable imxesdhc(4).Patrick Wildt
2018-03-30Enable imxgpio(4).Patrick Wildt
2018-03-30Enable imxgpc(4).Patrick Wildt
2018-03-29Move imxuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.Patrick Wildt
Discussed with kettenis@
2018-03-29Enable mvclock(4), mvicu(4), mvpinctrl(4), mvgpio(4) and mvrtc(4). ThisMark Kettenis
brings us very basic support for the SolidRun MACCHIATOBin.
2018-03-12Remove dependencies for non-existing files.Mark Kettenis
From Artturi Alm.
2018-02-24Enable bcmrng(4).Mark Kettenis
2018-02-24Enable bcmtemp(4).Mark Kettenis
2018-02-20Add GENERIC.MP.Mark Kettenis
2018-02-15use the arm64 openprom.c on arm64Jonathan Gray
ok patrick@
2018-02-11Move .openbsd.randomdata into .rodata. This makes things morePatrick Wildt
consistent across architectures. Requested by deraadt@ ok kettenis@
2018-02-10Enable axppmic(4).Mark Kettenis
2018-02-09Check for the existence of /bsd before trying to back it up to /obsd.Theo Buehler
Fixes 'make install' when /bsd is not present for some reason. ok rob florian, "fine with me" deraadt
2018-01-29Attach ampintc/ampintcmsi early so pci devices can be attached withJonathan Gray
msi when using qemu -M virt. ok kettenis@
2018-01-28trampoline.o depends on assym.hMark Kettenis
2018-01-25Move common mutex implementations to a MI place.Martin Pieuchot
Archs not yet converted can to the jump by defining __USE_MI_MUTEX. ok visa@
2018-01-10Implement FUCKWIT for arm64; unmap the kernel almost entirely while userlandMark Kettenis
is running. This provides protection against meltown on cores that are vilnerable (just Cortex-A75 so far) but also seems to be an essential to protect against spectre-like attacks against the kernel. This implementation only exposes a single treampoline page that does not contain any kernel virtual addresses and also hides the real virtual address of the exception vectors, which helps on cores vulnerable to "variant 3a" (Cortex-A57, Cortex-A72). The implementation is inspired by the work done by Will Deacon for Linux, but there are no knobs to turn it off. The overhead is fairly limited: around 3-4% slowdown on Cortex-A57. ok patrick@, deraadt@
2018-01-04Implement support for calling EFI runtime services and use it to implementMark Kettenis
a time-of-day clock device based on the GetTime() and SetTime() services. The virtual memory mappings for the runtime services calls are implemented through a separate pmap that is only activated when we make a runtime services call. ok tom@, visa@ tested by naddy@
2018-01-02Enable rkpcie(4).Mark Kettenis
2017-12-31Enable sxitemp(4).Mark Kettenis
2017-12-31Enable sypwr(4).Mark Kettenis
2017-12-17Add wsdisplay options needed for X and VT switching.Mark Kettenis
ok patrick@
2017-12-16Enable sxirsb(4).Mark Kettenis
2017-11-13Add support for the i2c controller variant found on the Allwinner A31 andMark Kettenis
above and enable the driver on arm64. From Artturi Alm. Tested by Stephen Graf.
2017-11-04Since rev 1.502 of rc(8) it creates a /bsd.booted hard link. At theFlorian Obser
end of rc we call reorder_kernel which creates a /obsd hard link to the same kernel. In the past obsd was only created when doing a manual make install in the kernel sources. There is no need for two backup hard links during boot, rearange the kernel Makefiles to restore previous behaviour and thus stopping reorder_kernel from scribbling over /obsd. Makes muscle memory of some kernel developers work again: /obsd can serve as a known good kernel; and there was much rejoycing... Discussed at length with benno, rpe, phessler and tb at p2k17. Seems like a good idea to deraadt. OK benno, phessler, rpe, tb
2017-10-24In ld scripts, an output section with no input sections is always markedPhilip Guenther
writable, so the stub gap.o has .rodata flagged as RW. Instead of letting that propagate to the final :rodata PT_LOAD section, force the flags on the section to 4 (==PF_R) in the PHDRS block. problem noted by mortimer@ ok deraadt@ kettenis@
2017-10-24Attach syscon(4) early. Also attach psci(4) early such that cpuresetfnMark Kettenis
and powerdowfn are initialized in the same way as before. ok patrick@, jsg@
2017-10-13Use gap.o on arm64. After the recent llvm/lld 5.0.0 update the linkerJonathan Gray
script can be used. ok kettenis@
2017-10-04Due to changes in LLD where sections are sorted in a different way,Patrick Wildt
the .got section was put into the randomdata segment. This caused the bootloader to overwrite parts of the .got and leads to broken pointers. Explicitly put the .got section into the .data segment. ok kettenis@
2017-09-28When option DDB_STRUCTINFO was removed from the kernel, too much fromPatrick Wildt
the kernel makefiles was removed which lead to C files not being re- compiled when a dependency changed. This can lead to panics in odd places and generally a broken system. ok deraadt@
2017-09-21Add dwxe(4), a driver the Synopsis DesignWare Ethernet controller usedPatrick Wildt
on the Allwinner A64, H3 and H5 SoCs. This makes the onboard ethernet usable on the popular Pine A64 and NanoPi Neo2. The skeleton used for this driver is taken from tsec(4). ok kettenis@
2017-09-19Enable syscon(4).Patrick Wildt
2017-09-12Remove option DDB_STRUCTINFO. Now that ddb(4) is CTF aware, similarMartin Pieuchot
functionnalities are available in GENERIC. ok jasper@, deraadt@, guenther@, dlg@
2017-08-28swap ualea for urngJasper Lievisse Adriaanse
2017-08-28Add rkpmic(4), a driver for the RK808 Power Management IC. For now, thisMark Kettenis
driver only provides support for the RTC embedded on this device. Support for the voltage regulators will come later. With this diff the Firefly-RK3399 gains a proper clock (if you connect a battery to the board).
2017-08-27Add rkiic(4) a driver for the i2c controllers found on the Rockchip RK3399.Mark Kettenis
2017-08-27Add glass console support for arm64. This uses the "stdout-path" propertyMark Kettenis
of the /chosen node in the device tree to decide whether the framebuffer should be used as the console device. Most, if not all, machines will have that set to use a serial console and there is no easy way yet to change that. ok jsg@
2017-08-25Add rktemp(4), a driver for the temperature sensors on the Rockchip RK3399Mark Kettenis
SoC.
2017-08-12Use ctfstrip(1) by default to strip kernels.Martin Pieuchot
ok deraadt@, jasper@
2017-08-11Add rkdwusb(4) here as well.Mark Kettenis
2017-08-11Add glue for the USB3 controller on the rk3399-firefly.Mark Kettenis
2017-07-29Add a bcmaux(4) driver that handles clocks and interrupts for theMark Kettenis
auxilliary UART. Makes serial console work with newer device trees. ok jsg@
2017-07-18Stop automatically regenerating gap.o (and hence linking a new kernel)Theo Buehler
whenever make is issued. Only do this when there are actual source changes below /sys. This restores the behavior prior to the KARL implementation. Problem noticed and patiently explained by mpi implementation with a lot of help from espie ok mpi, espie, deraadt
2017-07-16Pass the linker from make environment to makegap.sh. This is (only)Visa Hankala
a partial solution to cross compiling the kernel with KARL. OK deraadt@ a while ago
2017-07-05Enable NFSCLIENT to let installation over NFS work.Visa Hankala
OK kettenis@, deraadt@