#
✕ nick:_jannau_
#asahi-re · 2022-10-18 13:59
_jannau_I'd hope that SEP is overall much smaller than DCP
#asahi-re · 2022-10-07 09:26
_jannau_dottedmag: based on the ADT all three ports are identical. usb is just cursed, especially on this platform. ask s v e n
#asahi-re · 2022-10-04 15:23
_jannau_mmal, their v4l2 decoder is only frontend for that but at least the h264 v4l2 decoder works using a recent (anything from this year should be fine) BSP kernel
#asahi-re · 2022-10-04 15:18
_jannau_rcombs: ffmpeg has no support yet? the hevc decoder on the rpi4 uses the stateless api as well but I guess there are alternative API for that
#asahi-re · 2022-10-04 13:57
_jannau_it would be a bad match for the v4l2 m2m api if we have to provide slice header params but have to decode the whole frame at once. I can only think of buffering the encoded slice data inside the kernel atm
#asahi-re · 2022-10-04 13:28
_jannau_if per slice parameters have to be submitted the decoder probably supports slice based decoding and macos just delivers all slices at ones. Have you tested with a video stream with more than 1 slice?
#asahi-re · 2022-10-04 13:09
_jannau_it will essentially provide the same information as macos in that 0xB7504 byte large structure
#asahi-re · 2022-10-04 13:08
_jannau_no, we should be using the stateless v4l2 m2m decoder api which requires parsing in userspace
#asahi-re · 2022-10-04 13:07
_jannau_yes, someone from ProjectZero complained that Apple moved the parsing into the kernel. which is a bad idea. I suspect apple might be planning to move the parsing to a co-processor/firmware
#asahi-re · 2022-08-17 09:16
_jannau_someone was faster than me
#asahi-re · 2022-07-20 15:27
_jannau_git reflog if those where at least committed
#asahi-re · 2022-06-15 14:40
_jannau_zx2c4: do you have by any chance a register which is guaranteed to have the top 14 bits set? `add x1, x1, xY, lsr #49`
#asahi-re · 2022-06-15 14:13
_jannau_zx2c4: no immediate plans. the iommus use a page size of 16k and there is some effort needed to support that with smaller CPU page size. there is wip tree to so some of the work to support that: https://github.com/AsahiLinux/linux/tree/iommu-4k/dev
#asahi-re · 2022-05-19 16:51
_jannau_user space access is possible after setting bit 30 in SYS_APL_PMCR0_EL1. I only tested reads from SYS_APL_PMCx though
#asahi-re · 2022-05-19 16:00
_jannau_the ARM performance registers have an userspace toggle as well, forcefully disabled in the kernel
#asahi-re · 2022-05-19 15:58
_jannau_overview about the apple registers: https://github.com/AsahiLinux/docs/wiki/HW:ARM-System-Registers#performance-counter-registers
#asahi-re · 2022-05-19 15:57
_jannau_https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/perf/apple_m1_cpu_pmu.c
#asahi-re · 2022-05-19 15:55
_jannau_a driver for it is already in the kernel
#asahi-re · 2022-05-19 15:55
_jannau_haichenzhou[m]: not directly with an unmodified kernel. Apple doesn't have the ARM performance counters but their custome implementation
#asahi-re · 2022-04-04 12:43
_jannau_the first will give you load/store exclusive atomics the later has explicit atomic instructions
#asahi-re · 2022-04-04 12:42
_jannau_do you target armv8-a. or armv8.1-a (or later)
#asahi-re · 2022-03-28 09:54
_jannau_not sure if the isp includes it's on scaler, i.e. you would use the scaler on the isp output
#asahi-re · 2022-03-28 09:53
_jannau_I'd guess the seperate scalers are for camera input/isp
#asahi-re · 2022-02-28 15:44
_jannau_assuming t6002 is jade 2c-die (M1 Max with interconnect) maybe jade 4c-die using a vastly different interconnect which supports PCIe x16 slots, external RAM (low bandwidth, high-latency but better and nvme swap)
#asahi-re · 2021-12-02 10:03
_jannau_PTM_RES_CAP seems so important that it has to be repeated
#asahi-re · 2021-07-14 08:26
_jannau_https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor has instructions how to prepare mac os to boot with m1n1's hypervisor
#asahi-re · 2021-07-14 08:25
_jannau_and the more recent mmio tracing streams
#asahi-re · 2021-07-14 08:24
_jannau_I don't think we have documentation for it. marcan's hypervisor recap youtube stream https://www.youtube.com/watch?v=igYgGH6PnOw might be helpful
#asahi-re · 2021-07-14 08:22
_jannau_hanetzer: current tracers live in https://github.com/AsahiLinux/m1n1/tree/main/proxyclient/hv