arm: apple: rtkit: Support allocating OSLog out of SRAM in helper
authorHector Martin <marcan@marcan.st>
Sun, 20 Apr 2025 11:58:08 +0000 (13:58 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 28 Apr 2025 19:16:45 +0000 (13:16 -0600)
commit4a55e7f0311df145662831576bbe0ed2113227ce
treeb0afdb12ee03f701cbb40cb9a085a755db072517
parentfe593cc8ed9b9616eca9d094be1b1557824dcea4
arm: apple: rtkit: Support allocating OSLog out of SRAM in helper

The new OSLog region in MTP (firmware 13.3+) persists on handoff to
Linux. To avoid having to come up with some weird DART handoff or DAPF
tricks, let's just steal some of the coprocessor's dedicated SRAM. This
keeps it happy and Linux doesn't need any special handoff then.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
arch/arm/mach-apple/rtkit_helper.c