m1n1/src
Hector Martin 2736f0dd07 hv: Transfer ACTLR_EL1 (not just EL2) to secondaries
Also capture config at cpu0 guest entry time, to make sure we don't
carry over guest changes to EL1 regs after that.

Signed-off-by: Hector Martin <marcan@marcan.st>
2021-09-24 10:57:27 +09:00
..
dlmalloc Fix libc header dependencies 2021-03-08 01:31:14 +09:00
libfdt Fix libc header dependencies 2021-03-08 01:31:14 +09:00
minilzlib minilzlib: fix support for non-CRC32 checksum types 2021-02-06 16:44:10 +09:00
tinf tinf, minzllib: support unknown input sizes 2021-02-06 16:44:10 +09:00
adt.c utils: move sys_reg and is_ecore() to utils.h 2021-01-30 22:00:00 +09:00
adt.h clang-format: Add include block configs, reformat 2021-02-06 16:44:10 +09:00
aic.c aic: Add trivial AIC scaffolding, move regs to aic_regs.h 2021-08-23 17:01:33 +09:00
aic.h aic: Add trivial AIC scaffolding, move regs to aic_regs.h 2021-08-23 17:01:33 +09:00
aic_regs.h aic: Add trivial AIC scaffolding, move regs to aic_regs.h 2021-08-23 17:01:33 +09:00
arm_cpu_regs.h hv_exc: Add ACTLR_EL1 sysreg forwarding 2021-05-28 00:37:48 +09:00
chickens.c cpu_regs.h: s/SYS_APL/SYS_IMP_APL/ to match Linux 2021-04-29 15:45:44 +09:00
chickens.h startup: Implement setting CPU chicken bits for Icestorm 2021-01-25 19:11:54 +09:00
cpu_regs.h cpu_regs.h: Add more registers needed for HV config 2021-09-15 23:24:37 +09:00
dart.c dart: shutdown to bypass mode 2021-06-10 00:00:37 +09:00
dart.h dart: add code to setup the DART iommu 2021-04-14 17:40:07 +09:00
exception.c hv_vm: Fix guest SError handling 2021-09-21 22:17:52 +09:00
exception.h exception: Make space in the stack for full exception context 2021-09-21 20:29:19 +09:00
exception_asm.S exception: Make space in the stack for full exception context 2021-09-21 20:29:19 +09:00
fb.c fb: Do not restore logo when using kboot 2021-08-31 14:10:52 +09:00
fb.h fb: Do not restore logo when using kboot 2021-08-31 14:10:52 +09:00
gxf.c gxf: Per-CPU gxf stack 2021-09-15 23:24:37 +09:00
gxf.h gxf: Per-CPU gxf stack 2021-09-15 23:24:37 +09:00
gxf_asm.S exception: Make space in the stack for full exception context 2021-09-21 20:29:19 +09:00
heapblock.c heapblock: Assert if not initialized 2021-05-13 17:33:57 +09:00
heapblock.h Add heapblock and dlmalloc for managing memory 2021-01-29 16:25:15 +09:00
hv.c hv: Transfer ACTLR_EL1 (not just EL2) to secondaries 2021-09-24 10:57:27 +09:00
hv.h hv_vm: Guard emulated read/writes to catch SErrors/aborts 2021-09-21 21:18:13 +09:00
hv_aic.c hv_vm: Guard emulated read/writes to catch SErrors/aborts 2021-09-21 21:18:13 +09:00
hv_asm.S proxy/uartproxy/hv_asm: Add syncs to flush SErrors 2021-09-21 20:31:52 +09:00
hv_exc.c hv_vm: Fix guest SError handling 2021-09-21 22:17:52 +09:00
hv_vm.c hv_vm: Fix guest SError handling 2021-09-21 22:17:52 +09:00
hv_vuart.c hv_vm: Guard emulated read/writes to catch SErrors/aborts 2021-09-21 21:18:13 +09:00
hv_wdt.c hv_wdt: Make HV WDT CPU configurable and WDT optional 2021-09-15 23:24:37 +09:00
i2c.c i2c: add i2c support 2021-06-09 19:45:38 +09:00
i2c.h i2c: add i2c support 2021-06-09 19:45:38 +09:00
iodev.c iodev, exception: Remove gratuitous UART usage 2021-09-19 22:33:20 +09:00
iodev.h iodev: Make iodev_can_read() return the queued byte count 2021-08-23 17:00:14 +09:00
kboot.c smp: Allow switching back to wfe for the smp spinloop 2021-09-19 02:17:04 +09:00
kboot.h Revert "kboot: move SEPFW to initrd before booting" 2021-08-23 15:27:20 +09:00
main.c main: Fix compiler error 2021-09-03 10:59:46 +09:00
memory.c memory: Add mmu_init_secondary() to init MMU for secondaries 2021-09-15 23:24:37 +09:00
memory.h memory.h: Add mmu_active() function 2021-09-15 23:24:37 +09:00
memory_asm.S MMU: add cache operations by set/way 2021-01-28 23:20:15 +09:00
payload.c Rework kboot/chainload flow to shut down before calling the next stage 2021-04-17 18:12:59 +09:00
payload.h Rework kboot/chainload flow to shut down before calling the next stage 2021-04-17 18:12:59 +09:00
pcie.c pcie: Only initialize ports that are actually present 2021-08-31 02:07:24 +09:00
pcie.h pcie: Add a pcie_shutdown() function and call it on hv init 2021-05-28 00:03:11 +09:00
pmgr.c formatting: Sort main include first 2021-05-01 18:31:58 +09:00
pmgr.h pmgr: add functions to enable/disable clocks 2021-04-11 05:26:29 +09:00
proxy.c proxy/uartproxy/hv_asm: Add syncs to flush SErrors 2021-09-21 20:31:52 +09:00
proxy.h hv, m1n1.hv: Add cpu() command to switch CPU contexts 2021-09-21 13:18:06 +09:00
ringbuffer.c ringbuffer: add a simple ringbuffer data structure 2021-04-15 18:39:33 +09:00
ringbuffer.h ringbuffer: add a simple ringbuffer data structure 2021-04-15 18:39:33 +09:00
smp.c hv_exc: Avoid delivering spurious HV-triggered IPIs to the guest 2021-09-21 17:13:03 +09:00
smp.h hv_exc: Avoid delivering spurious HV-triggered IPIs to the guest 2021-09-21 17:13:03 +09:00
start.S utils: In EL1, instead of rebooting, break into HV 2021-05-15 20:42:50 +09:00
startup.c smp: Add smp_id() and use TPIDR_EL[12] to keep the SMP ID 2021-09-15 23:19:37 +09:00
string.c Fix libc header dependencies 2021-03-08 01:31:14 +09:00
tps6598x.c usb: disable tps6598x interrupts 2021-06-18 14:26:54 +09:00
tps6598x.h usb: disable tps6598x interrupts 2021-06-18 14:26:54 +09:00
tunables.c tunables: add tunables_apply_local_addr 2021-04-08 20:32:12 +09:00
tunables.h tunables: add tunables_apply_local_addr 2021-04-08 20:32:12 +09:00
types.h utils.h: Do sysreg defines in a way that allows extracting the fields 2021-05-25 19:51:08 +09:00
uart.c uart: avoid relying on UTRSTAT_RXD == 1 2021-08-24 22:11:19 +09:00
uart.h hv_vuart: Implement RX & enough to support Linux 2021-08-23 17:02:28 +09:00
uart_regs.h uart: Add more UART reg defines and use them 2021-08-23 17:00:53 +09:00
uartproxy.c proxy/uartproxy/hv_asm: Add syncs to flush SErrors 2021-09-21 20:31:52 +09:00
uartproxy.h exception: Make space in the stack for full exception context 2021-09-21 20:29:19 +09:00
usb.c iodev: Make iodev_can_read() return the queued byte count 2021-08-23 17:00:14 +09:00
usb.h usb: disable tps6598x interrupts 2021-06-18 14:26:54 +09:00
usb_dwc3.c usb_dwc3: Properly handle CDC status separately per pipe 2021-08-30 23:53:05 +09:00
usb_dwc3.h iodev: Make iodev_can_read() return the queued byte count 2021-08-23 17:00:14 +09:00
usb_dwc3_regs.h usb: add more registers and removed linux-specific code from usb_dwc3_regs.h 2021-04-15 18:39:33 +09:00
usb_types.h usb_dwc3: Implement CLEAR FEATURE, tweak things 2021-05-28 17:52:48 +09:00
utils.c utils: Make spinlocks reentrant 2021-09-15 23:24:37 +09:00
utils.h smp: Use wfi and put idle CPUs in deep sleep 2021-09-17 00:15:52 +09:00
utils_asm.S smp: Use wfi and put idle CPUs in deep sleep 2021-09-17 00:15:52 +09:00
vsprintf.c clang-format: Add include block configs, reformat 2021-02-06 16:44:10 +09:00
vsprintf.h Initial commit 2021-01-15 04:03:35 +09:00
wdt.c wdt: move WDT disable code to wdt.c & use ADT regs 2021-01-28 23:48:35 +09:00
wdt.h wdt: move WDT disable code to wdt.c & use ADT regs 2021-01-28 23:48:35 +09:00
xnuboot.h Import UART proxy 2021-01-15 04:04:12 +09:00