m1n1/src
Asahi Lina 5a389fe87b kboot_gpu: Add another pwcalc difference for T602x
This doesn't make any sense... M2 Ultra should be 2x M2 Max, so there's
no reason for this constant to be different.

I get the feeling Apple messed this one up too...

Also clean up some other constants.

Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-08-17 19:46:07 +09:00
..
dlmalloc Fix warnings when building/linking with clang/llvm 2021-11-08 13:53:04 +09:00
libfdt Fix libc header dependencies 2021-03-08 01:31:14 +09:00
math math: Add powf() 2023-06-27 18:35:00 +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 Add a space between '//' and '#' to satisfy clang-format 15 2023-02-02 09:51:08 +09:00
adt.h adt: Add adt_setprop() 2022-03-09 20:55:34 +09:00
afk.c afk: Accept message type TYPE_REPLY in start_interface 2023-04-27 04:11:18 +09:00
afk.h afk: Add AFK/EPIC subsystem 2022-01-17 04:42:00 +09:00
aic.c aic: Add support for multi-die AIC2 as seen on the M1 Ultra 2022-04-19 21:29:30 +09:00
aic.h aic: Add support for multi-die AIC2 as seen on the M1 Ultra 2022-04-19 21:29:30 +09:00
aic_regs.h aic: Add support for multi-die AIC2 as seen on the M1 Ultra 2022-04-19 21:29:30 +09:00
arm_cpu_regs.h hv: Implement ECV on M2 and later chips 2023-04-18 23:37:18 +09:00
asc.c nvme: Add nvme_ensure_shutdown() 2023-04-12 00:40:06 +09:00
asc.h nvme: Add nvme_ensure_shutdown() 2023-04-12 00:40:06 +09:00
chainload.c chainload: Properly reserve memory for everything up to bootargs 2022-03-16 01:56:57 +09:00
chainload.h chainload: Add new m1n1-side chainloader (raw images only) 2022-03-09 20:55:34 +09:00
chainload_asm.S chainload: Add new m1n1-side chainloader (raw images only) 2022-03-09 20:55:34 +09:00
chickens.c cpu_regs,apple_regs.json: More registers 2023-05-05 04:46:11 +09:00
chickens.h startup: Implement setting CPU chicken bits for Icestorm 2021-01-25 19:11:54 +09:00
chickens_avalanche.c chickens: Add preliminary T6020 support 2023-04-09 19:46:12 +09:00
chickens_blizzard.c cpu_regs,apple_regs.json: More registers 2023-05-05 04:46:11 +09:00
chickens_firestorm.c cpu_regs,apple_regs.json: More registers 2023-05-05 04:46:11 +09:00
chickens_icestorm.c cpu_regs: Add more chicken bit names 2022-07-17 03:17:13 +09:00
clk.c clk: Initialize MCA clock muxes 2022-03-08 00:02:06 +09:00
clk.h clk: Initialize MCA clock muxes 2022-03-08 00:02:06 +09:00
cpu_regs.h cpu_regs.h: Typo fix 2023-05-05 19:20:48 +09:00
cpufreq.c Initial t6022 support 2023-08-07 19:27:47 +09:00
cpufreq.h cpufreq: Fix m1n1 stage 1 bugs 2023-04-18 21:55:12 +09:00
dapf.c dapf: Initialize DAPFs from the ADT 2022-07-03 23:27:50 +09:00
dapf.h dapf: Initialize DAPFs from the ADT 2022-07-03 23:27:50 +09:00
dart.c dart: Detect locked t8110 DARTs 2023-04-12 00:40:06 +09:00
dart.h dart: Use "vm-base" as start when installing L2 tables 2023-02-02 09:50:33 +09:00
dcp.c dcp: Offset temporary IOVA space from vm-base 2023-02-02 09:50:33 +09:00
dcp.h display: Put DCP to sleep if display is external 2022-06-01 01:54:11 +09:00
dcp_iboot.c dcp_iboot: Support macOS 13.3 DCP firmware 2023-04-27 04:11:18 +09:00
dcp_iboot.h dcp: Add DCP and iBoot protocol support 2022-01-17 04:42:00 +09:00
devicetree.c devicetree: Add dt utils for "ranges" based address translation 2022-10-23 17:21:26 +09:00
devicetree.h devicetree: Add dt utils for "ranges" based address translation 2022-10-23 17:21:26 +09:00
display.c display: Make M2+ desktop disable hack more generic 2023-08-07 19:27:47 +09:00
display.h hv: Don't touch DCP on laptops 2022-06-28 01:47:02 +09:00
exception.c exception: Improve IRQ/FIQ log messages 2023-05-05 00:31:05 +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 memory: Normalize naming of Normal-NC memory attributes 2022-06-19 16:12:16 +09:00
fb.h fb: Support XBGR pixel format for fb_blit() 2022-06-19 01:36:41 +09:00
firmware.c firmware: Add 13.5b4 and 13.5 versions 2023-07-19 13:12:24 +09:00
firmware.h firmware: Add 13.5b4 and 13.5 versions 2023-07-19 13:12:24 +09:00
gxf.c gxf, smp: Allocate stacks dynamically 2021-12-17 21:46:55 +09:00
gxf.h gxf: Per-CPU gxf stack 2021-09-15 23:24:37 +09:00
gxf_asm.S gxf, smp: Allocate stacks dynamically 2021-12-17 21:46:55 +09:00
heapblock.c heapblock: Remove payload_end logic for heap start 2021-12-17 22:26:54 +09:00
heapblock.h Add heapblock and dlmalloc for managing memory 2021-01-29 16:25:15 +09:00
hv.c hv: Make breadcrumbs per-CPU and introduce panic handler 2023-06-03 12:47:39 +09:00
hv.h hv: Make breadcrumbs per-CPU and introduce panic handler 2023-06-03 12:47:39 +09:00
hv_aic.c aic: Add support for multi-die AIC2 as seen on the M1 Ultra 2022-04-19 21:29:30 +09:00
hv_asm.S exception: Clean up FIQ state on secondary startup 2022-08-29 17:02:40 +09:00
hv_exc.c hv_exc: Remove PMC0 CNT enable shadowing from fast sysreg path 2023-05-22 00:27:08 +09:00
hv_virtio.c hv: Add 9P virtio peripheral 2023-01-13 17:25:25 +09:00
hv_vm.c hv_vm: Fix CTRR hugepage issue 2023-04-09 19:46:13 +09:00
hv_vuart.c iodev: usb: replace secondary usb iodevs with single vuart iodev 2021-11-12 23:48:32 +09:00
hv_wdt.c hv: Make breadcrumbs per-CPU and introduce panic handler 2023-06-03 12:47:39 +09:00
i2c.c i2c: Increase low-level timeouts to 50ms. 2022-02-06 15:36:22 +09:00
i2c.h i2c: Make error paths wait for bus in i2c_smbus_read 2021-10-10 23:49:51 +09:00
iodev.c Add a space between '//' and '#' to satisfy clang-format 15 2023-02-02 09:51:08 +09:00
iodev.h iodev, uartproxy: Fix write interleaving causing corruption 2022-08-29 17:02:40 +09:00
iova.c dcp: Free iovad_dcp including dart L2 tables on shutdown 2022-05-30 23:01:01 +09:00
iova.h dcp: Free iovad_dcp including dart L2 tables on shutdown 2022-05-30 23:01:01 +09:00
kboot.c kboot: Add 13.5 firmware compats 2023-07-20 11:54:11 +09:00
kboot.h kboot: Replace kboot_set_bootargs with kboot_set_chosen 2022-03-09 20:55:34 +09:00
kboot_gpu.c kboot_gpu: Add another pwcalc difference for T602x 2023-08-17 19:46:07 +09:00
keyboard_types.h kboot: Pass keyboard layout ID & country code in HID device 2023-03-19 18:14:44 +09:00
main.c cpufreq: Fix m1n1 stage 1 bugs 2023-04-18 21:55:12 +09:00
mcc.c mcc: Reuse existing T6000 impl for T6020 2023-04-09 19:46:13 +09:00
mcc.h hv: Map RAM via tracer infra, handle carveouts in Python 2022-05-21 03:54:12 +09:00
memory.c memory: Map lowmem using 16K pages only 2022-09-27 06:02:28 +09:00
memory.h memory: Add GRE and nGRE mappings for experiments 2022-06-19 21:53:06 +09:00
memory_asm.S MMU: add cache operations by set/way 2021-01-28 23:20:15 +09:00
nvme.c nvme: Add nvme_ensure_shutdown() 2023-04-12 00:40:06 +09:00
nvme.h nvme: bring up controller and implement nvme_read 2022-01-26 15:38:40 +09:00
payload.c payload: Do cpufreq init before smp_start_secondaries() 2023-06-04 15:56:42 +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: T602X APCIE-GE support 2023-08-07 21:05:25 +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 pmgr: Add a helper to test for pmgr features in the ADT 2023-06-04 17:02:48 +09:00
pmgr.h pmgr: Add a helper to test for pmgr features in the ADT 2023-06-04 17:02:48 +09:00
proxy.c payload: Do cpufreq init before smp_start_secondaries() 2023-06-04 15:56:42 +09:00
proxy.h payload: Do cpufreq init before smp_start_secondaries() 2023-06-04 15:56:42 +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
rtkit.c rtkit: Drop oslog support 2023-04-16 21:23:46 +09:00
rtkit.h rtkit: Align naming with Linux version 2022-06-01 00:57:17 +09:00
sart.c sart: fix sart3_set_entry 2022-02-02 22:57:54 +09:00
sart.h sart: Add SART support 2022-01-16 18:53:29 +09:00
sep.c sep: add simple SEP TRNG API 2022-03-19 02:33:54 +09:00
sep.h sep: add simple SEP TRNG API 2022-03-19 02:33:54 +09:00
smp.c Initial t6022 support 2023-08-07 19:27:47 +09:00
smp.h smp: Add smp_stop_secondaries() 2023-04-19 03:21:58 +09:00
soc.h Initial t6022 support 2023-08-07 19:27:47 +09:00
start.S Configure early debug features by SoC type 2021-11-01 13:36:42 +09:00
startup.c startup: Direct primary CPU RVBAR entry to m1n1 main 2023-04-19 03:21:58 +09:00
string.c string: Add atol 2022-03-27 17:23:50 +09:00
tps6598x.c tps6598x: Add a delay in the command poll loop 2021-11-18 22:15:38 +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_static: New module to set up static tunables 2022-09-27 06:04:41 +09:00
tunables_static.c tunables_static: improve sequence iter 2023-03-28 17:19:45 +09:00
types.h cpu_regs: Make fields usable from assembler 2023-04-19 02:37:02 +09:00
uart.c iodev: Protect iodevs with spinlocks 2021-11-04 03:53:39 +09:00
uart.h Remove hardcoded UART/WDT addresses 2021-11-01 11:27:29 +09:00
uart_regs.h uart: Add more UART reg defines and use them 2021-08-23 17:00:53 +09:00
uartproxy.c iodev, uartproxy: Fix write interleaving causing corruption 2022-08-29 17:02:40 +09:00
uartproxy.h exception: Make space in the stack for full exception context 2021-09-21 20:29:19 +09:00
usb.c dart: Handle locked DARTs & preserving page tables 2022-01-17 04:42:00 +09:00
usb.h Revert "usb: Add usb_idx_from_address() to find a dev by its MMIO addr" 2021-11-23 23:36:14 +09:00
usb_dwc3.c usb_dwc3: Populate serial number with the actual serial number 2023-04-18 22:07:21 +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: Populate serial number with the actual serial number 2023-04-18 22:07:21 +09:00
utils.c display: Report time spent modesetting 2022-06-01 02:03:32 +09:00
utils.h utils: Add cpu_sleep() function 2023-04-19 03:21:58 +09:00
utils_asm.S utils: Add cpu_sleep() function 2023-04-19 03:21:58 +09:00
vsprintf.c Add a space between '//' and '#' to satisfy clang-format 15 2023-02-02 09:51:08 +09:00
vsprintf.h Initial commit 2021-01-15 04:03:35 +09:00
wdt.c Remove hardcoded UART/WDT addresses 2021-11-01 11:27:29 +09:00
wdt.h Remove hardcoded UART/WDT addresses 2021-11-01 11:27:29 +09:00
xnuboot.h Import UART proxy 2021-01-15 04:04:12 +09:00