Hector Martin
|
3f9bd38b6f
|
afk: Add AFK/EPIC subsystem
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
ae1d7c4348
|
rtkit: Fix bug with version selection
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
476710410c
|
rtkit: Change initial power state to 0x220
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
ca77566441
|
rtkit: Make rtkit_recv() return an int
This allows distinguishing between error and no message conditions.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
15bce29775
|
rtkit: Add basic crashlog support
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
9b5cb569e4
|
rtkit: Buffer handling refactor
This adds support for using preallocated buffers & more
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
8f3118d99f
|
rtkit: Add syslog support
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
94bc563433
|
rtkit: Add dummy OSLog support
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
7fc207eb35
|
iova: Add range arguments to iovad_init()
This allows restricting the IOVA range so as to not overlap with
prealloc'd ranges.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
847036b2ce
|
iodev: Bump console buffer to 8K
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
18ceb3b3ff
|
asc: Use 0x8000 offset for mbox regs
Not sure where 0x4000 came from?
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
a4c5b64655
|
asc: Add asc_get_iop_node()
The IOP child node in the ADT contains properties that the RTKit driver
needs to handle it properly.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
42c4334675
|
dart: Add dart_translate() & dart_search()
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
18408d37b1
|
dart: Handle locked DARTs & preserving page tables
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:42:00 +09:00 |
|
Hector Martin
|
2127de59c1
|
utils: Add is_heap()
This lets us mix iBoot-allocated and heap-allocated pointers and
distinguish them at cleanup time.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-17 04:10:24 +09:00 |
|
Hector Martin
|
e3e2d05967
|
experiments/dcp_iboot.py: New experiment
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 20:23:01 +09:00 |
|
Hector Martin
|
d2535159a5
|
m1n1.fw.dcp.iboot: Add iBoot DCP interface client
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
17e0dfceab
|
hv/trace_dcp.py: Add EPIC support and refactor
This now partially uses the scaffolding in m1n1.fw.afk.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
1d79711e79
|
m1n1.fw.afk: Add AFK/EPIC endpoint support
These cover the non-dcpep endpoints of the DCP interface, including
the iBoot interface (disp0).
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
b2da9faac7
|
m1n1.fw.dcp.ipc: Add some more struct fields
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
0e326923cf
|
m1n1.fw.common: Move some common defs here from m1n1.fw.dcp.ipc
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
23b9b45040
|
hv/trace_all.py: Use async tracing by default
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
72b7dfed5f
|
m1n1.fw.asc: Stop endpoints on global stop
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
b388093d33
|
m1n1.hw.dart: Wait for invalidations to complete
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
78d1e5fd93
|
m1n1.hw.dart: Remove stray print
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
4482ae634d
|
m1n1.hv: Add a .started variable to indicate HV is running
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
deb728adb9
|
m1n1.fw.asc: Invalidate DART after making new mappings
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
fb9cdcb1e9
|
m1n1.fw.asc.crash: Raise exception on ASC crashes
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
df481228b7
|
m1n1.gpiola: Add load_regmap()
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
1ecf7de936
|
m1n1.gpiola: Make Reloadable
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
3d523f27ad
|
hv/trace_i2c.py: New example trace script
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
9012247cdd
|
m1n1.trace.i2c: Add I2C dev tracer
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 19:39:03 +09:00 |
|
Hector Martin
|
430e8d2e8a
|
m1n1.hw.i2c: Rename registers to PASemi names, add all bit defs
This can serve as hardware documentation of the PASemi peripheral,
in lieu of public docs.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2022-01-16 18:55:44 +09:00 |
|
Sven Peter
|
0b9829e227
|
proxyclient: add nvme_{init,shutdown}
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Sven Peter
|
2307e756d3
|
nvme: Add stub ANS NVMe driver
Right now it only initializes the co-processor and makes sure
the firmware has booted successfully.
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Sven Peter
|
1521978a6c
|
pmgr: add pmgr_reset
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Sven Peter
|
1254b4bee6
|
pmgr: s/clock/power/
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Sven Peter
|
734f8cc1b4
|
rtkit: Add RTKit library
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Sven Peter
|
c0cc000ce3
|
iova: Add a simple IOVA allocator
Not well tested because I realized too late that NVMe doesn't
actually need any DART support...
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Sven Peter
|
2b792ffc34
|
sart: Add SART support
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Sven Peter
|
65816f1bd8
|
asc: Add ASC mailbox driver
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-16 18:53:29 +09:00 |
|
Zzzec
|
bad788e67e
|
hv_vm: fix an alignment problem in hv_map
Signed-off-by: Zzzec <1223544545@qq.com>
|
2022-01-03 18:23:39 +09:00 |
|
Sven Peter
|
5763569d9c
|
hv/trace_nvme: Add NVMe tracer
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-01 16:49:14 +09:00 |
|
Sven Peter
|
6445cf61ba
|
proxyclient: utils.py: allow to specify print function to chexdump
Signed-off-by: Sven Peter <sven@svenpeter.dev>
|
2022-01-01 16:49:14 +09:00 |
|
mmhj
|
0a4d2ca222
|
Focused on the Asahi Linux Contributors
Signed-off-by: mmhj <mhj@protonmail.com>
|
2022-01-01 16:48:33 +09:00 |
|
mmhj
|
8505a55802
|
Consistency for (c)
Could also used the symbol: ©
Signed-off-by: mmhj <mhj@protonmail.com>
|
2022-01-01 16:48:33 +09:00 |
|
Hector Martin
|
40894439cb
|
m1n1.trace: Fix redundant MMIO logs
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2021-12-28 21:09:58 +09:00 |
|
Hector Martin
|
90cf4baf85
|
m1n1.gpiola: Bugfixes
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2021-12-28 21:09:48 +09:00 |
|
Hector Martin
|
ba258dc805
|
hv/trace_gpio.py: Work on both t8103 and t6000
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2021-12-28 21:09:30 +09:00 |
|
Hector Martin
|
9496803b18
|
hv/trace_dcp.py: Add Shutdown commands for IOEp
Signed-off-by: Hector Martin <marcan@marcan.st>
|
2021-12-28 21:09:06 +09:00 |
|